Bug fixed in 8.0.4 for Chinese edition only, generally fixed in or before 11.3.

I'm using version 7 on Windows.

After I running one .nb file and just want to close or save the .nb file, Mathematica stop working and the hints are as follows

Question signature: 
Problem event name: BEX64. 
Application name: Mathematica.exe. 
Application version: 
Application timestamp: 499cb2e1. 
Fault module name: Mathematica.exe. 
Fault module version: 
Fault module timestamp: 499cb2e1. 
Abnormal offset: 000000000042ec1e. 
Exception code: c0000409. 
Exception data: 0000000000000000

but in some other .nb files, after I run and close or save the file, there is no problem, maybe because this .nb file has some special codes?

but there are only the following codes that I think is special

approx = With[{k = 1000}, 1/Pi ArcTan[k #] + 1/2 &];
s1 = NDSolve[{Simplify`PWToUnitStep[equa00] /. UnitStep -> approx, 
    x[0] == 0, x'[0] == 0} // SetPrecision[#, Infinity] &, 
  x, {t, 0, ts}, SolveDelayed -> True, MaxSteps -> Infinity]


paverage = 
 NIntegrate[p1, {t, 10, 10 + n*period}, 
   MaxRecursion -> 100]/(n*period)

but what is the reason that it stop working?

and I have found that when I copy some .nb file to other file folder, when I paste it will appera 2 files, one is the same size with the origin file (I didn't verify whether the content is the same with the origin file), and another is one empty .nb file with the size of 0 kb.

I have just found that in version 7 it is because of your file naming, when your file name is too long and it can be named in windows file but can't be showed completed in mma, then if you just want to close or save the file, then it shows stop working.

For example, when the name is so long 试验台建模,自定义摩擦力,自定义摩擦力,自定义摩擦力,自定义摩擦力,2019.12.7,副本, it can't be shown completed in mma, when you want to close or save the file, it appears stop working.

  • $\begingroup$ the above code is from some nice man who helped me and I don't know how to @ you, If you see it, I hope you agree. $\endgroup$
    – dcydhb
    Dec 7, 2019 at 6:30
  • $\begingroup$ when i open the copied .nb file it appears,Mathematica was unable to open the file,If you are trying to open this file from a web browser, try clearing your browser's cache before opening the file again or make a local copy of the file and try opening it from there. Error code = -43. $\endgroup$
    – dcydhb
    Dec 7, 2019 at 6:44
  • $\begingroup$ You post a minimal working example reproducing the issue, or share the Notebook causing the crash. Are you using version 7.0 on Windows? $\endgroup$ Dec 7, 2019 at 6:48
  • $\begingroup$ @Alexey Popkov,yes and it seems that it is because of the File naming. $\endgroup$
    – dcydhb
    Dec 7, 2019 at 7:16
  • $\begingroup$ You can add the link of your previous question from which you obtain the code: mathematica.stackexchange.com/q/210294/1871 . And, it's better to mention you're using version 7 in the main body of the question, too. $\endgroup$
    – xzczd
    Dec 7, 2019 at 9:05

1 Answer 1


for example,when the name is so long 试验台建模,自定义摩擦力,自定义摩擦力,自定义摩擦力,自定义摩擦力,2019.12.7,副本

I partially reproduce the issue with Mathematica 8.0.4 on Windows 7 x64: Mathematica simply can't open a file with such name, and displays a "Why the Beep?" window (when trying to open the file via the File ► Open... menu item):


Note that an attempt to use the short file name results in the same message.

When dropping the file from the Windows Explorer to the Mathematica 8.0.4 window using the mouse, another "Why the Beep?" window appears:


With Mathematica 11.3 and 12.0 both methods work correctly: Mathematica opens the file, displays its full name in the title of the window, and allows to edit and save edited file:


So the bug in handling Notebooks with such file names is fixed in the latest versions of the FrontEnd.

  • $\begingroup$ I guess you're testing in v8.0.4 English edition? Just tested in v8.0.4 Chinese edition, the file is opened without difficulty. $\endgroup$
    – xzczd
    Dec 7, 2019 at 9:11
  • $\begingroup$ @xzczd Yes, I use Mathematica 8.0.4 English edition. $\endgroup$ Dec 7, 2019 at 9:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.