http://bugs.winehq.org/show_bug.cgi?id=11771
Summary: Mathematica 5.1, crash on bad mathematical expressions. Product: Wine Version: 0.9.55. Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jacobidiego@gmail.com
Hello.
I have previously filed a bug about Mathematica not being able to install: URL: http://bugs.winehq.org/show_bug.cgi?id=11725
And this same bug in one report which will be marked as invalid: http://bugs.winehq.org/show_bug.cgi?id=11765
The error of this report is:
- Writing wrong Mathematical expressions which will lead to errors makes it crash. It is too often that expression will output errors like: "expression does not converge", or "function can not be evaluated on x=...", or mathematical things like that. So if after only one error, Mathematica crashes then it is not usable.
Test with: f[x_]=x+3- The last "-" sign must be followed by another expression. So this has to output an error without crashing.
It also crashed when you write a clossing sign ")" before an openning sign "(" (maybe because one is trying to fix a line).
Wine debug outputs of this is on the first attached file.
Mathematica reproduces a "chord" sound on each error which is not reproduce by wine before crashing.
Also there is a non windows Mathematica console. It is Math.exe on the same dirs as Mathematica.exe It seems like it does work well: Testing with wrong expression does not lead to any results and Mathe.exe doesn't take it as an input. Other expressions like: f[x_]=1/x f[0] Does shows respective errors of complex infinite value. No Plotting available. No help browser available No easy copy&pasting editor.
All this errors were tested on ubuntu 7.10 AMD64 and with wine 0.9.55 (becouse .56 is not available yet for ubuntu on your repos) and with all builtin dlls, but also some natives does the same results.
It is only one of other errors of Mathematica.
I couldnt upload the logs here, so i uploaded it to esnips. Freely doenloadable.
http://www.esnips.com/doc/b78736e6-776f-432c-bd58-ec671da40df7/mathematica_e... http://www.esnips.com/doc/1f2d4af6-da13-42f7-91be-71b22278d4d5/mathematica_e...
Cheers. Diego
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #1 from Diego Jacobi jacobidiego@gmail.com 2008-03-20 15:20:30 ---
I have localiced the error.
It is the beep sound reproduce on almost any action.
It can be disabled and Mathematica can be used. Edit -> Preferences Global Options -> Message Options -> ....Actions Then, disable from each action (WarnningAction, ErrorAction, etc.) the beep output method.
With that, Mathematica doesnt crash in every error.
But being unable to reproduce the beep sound is still a wine bug.
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #2 from Austin English austinenglish@gmail.com 2008-10-23 15:21:36 --- Is this still an issue in current (1.1.6 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #3 from Diego Jacobi jacobidiego@gmail.com 2008-11-01 22:24:09 --- Sorry but yes.
I have installed and tested all the filed errors and they still are unchanged.
Now the mathkernel.exe open in a big window instead of always minimiced as it should be.
http://bugs.winehq.org/show_bug.cgi?id=11771
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Summary|Mathematica 5.1, crash on |Mathematica 5.1 crash on |bad mathematical |beep |expressions. |
--- Comment #4 from Dan Kegel dank@kegel.com 2008-12-26 15:24:46 --- Here's the interesting part of the log:
wine: Unhandled page fault on read access to 0x00004453 Backtrace: =>1 strlen+0xb() in libc.so.6 2 RtlCreateUnicodeStringFromAsciiz+0x29() in ntdll ... 6 PlaySoundA+0x1f() in winmm (0x0034fac8)
I've requested a trial. In the meantime, how about a +winmm log of the crash?
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #5 from Diego Jacobi jacobidiego@gmail.com 2008-12-28 10:52:58 --- Created an attachment (id=18276) --> (http://bugs.winehq.org/attachment.cgi?id=18276) debuglogs for "beep" crash with +winmm
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #6 from Dan Kegel dank@kegel.com 2008-12-28 11:59:37 --- Created an attachment (id=18279) --> (http://bugs.winehq.org/attachment.cgi?id=18279) Patch to avoid crashing on PlaySound(... SND_ALIAS_ID)
Try this patch, it might prevent the crash.
http://bugs.winehq.org/show_bug.cgi?id=11771
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #7 from Diego Jacobi jacobidiego@gmail.com 2008-12-28 16:48:16 --- Yes. It does prevent the crash, but no sound is played, instead the next fixme-line shows on the logs for every beep:
fixme:winmm:MULTIMEDIA_PlaySound SND_ALIAS_ID not supported
http://bugs.winehq.org/show_bug.cgi?id=11771
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #8 from Dan Kegel dank@kegel.com 2008-12-28 16:57:55 --- Excellent. Do you consider that a fix, or do you think the app really needs to beep?
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #9 from Diego Jacobi jacobidiego@gmail.com 2008-12-28 17:53:44 --- I may consider that as a temporary workaround, otherwise the windows api implementation would be always incomplete. And no, i dont think that this application needs this annoying beep. :)
But the drawing errors of another bug report really needs to be fixed.
Cheers.
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #10 from Dan Kegel dank@kegel.com 2008-12-28 18:03:27 --- OK, patch submitted http://www.winehq.org/pipermail/wine-patches/2008-December/066783.html Let's mark this bug fixed once the patch is accepted.
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #11 from Austin English austinenglish@gmail.com 2008-12-28 19:37:41 --- (In reply to comment #9)
But the drawing errors of another bug report really needs to be fixed.
Cheers.
Bug 11773?
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #12 from Diego Jacobi jacobidiego@gmail.com 2008-12-28 21:50:22 --- Yes. Bug 11773. With this bug fixed Mathematica 5.1 could be in Silver state.
Complex mathematical expressions, which are oft used in a mathematical software, are unreadable. The major problem is the fraction bar, but there are some others issues.
http://bugs.winehq.org/show_bug.cgi?id=11771
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr
--- Comment #13 from Eric Pouech eric.pouech@orange.fr 2008-12-30 10:57:01 --- would you mind testing the attached patch: - it reverts Dan's patch, - but it also provides a real implementation for the SND_ALIAS_ID stuff (untested)
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #14 from Austin English austinenglish@gmail.com 2008-12-30 11:29:33 --- (In reply to comment #13)
would you mind testing the attached patch:
- it reverts Dan's patch,
- but it also provides a real implementation for the SND_ALIAS_ID stuff
(untested)
You forgot the patch.
http://bugs.winehq.org/show_bug.cgi?id=11771
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18279|0 |1 is obsolete| | AssignedTo|wine-bugs@winehq.org |eric.pouech@orange.fr Status|NEW |ASSIGNED
--- Comment #15 from Eric Pouech eric.pouech@orange.fr 2008-12-31 07:06:31 --- Created an attachment (id=18345) --> (http://bugs.winehq.org/attachment.cgi?id=18345) tentative patch
with the patch this time
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #16 from Diego Jacobi jacobidiego@gmail.com 2009-01-01 10:39:17 --- I am not sure if this patch has brokened the installation of Mathematica. How can i un-do this patch?
I had to reinstall my computer to remove debian from it. So i needed to reinstall Mathematica in a clean .wine dir. Trying to do so, it gives a Crash-error on the installation:
A windows with this message:
1608:Unable to create InstallDriver instance, Return code: -2147467262
And the logs:
fixme:shell:SHChangeNotify unknown type 00000003 fixme:advapi:LookupAccountNameW (null) L"diego" (nil) 0x33bdf0 (nil) 0x33bdf4 0x33bde8 - stub fixme:advapi:LookupAccountNameW (null) L"diego" 0x133370 0x33bdf0 0x136c28 0x33bdf4 0x33bde8 - stub err:msi:ITERATE_DuplicateFiles Original file unknown L"F1319_IDriver.exe" fixme:msi:msi_unimplemented_action_stub RemoveFolders -> 2 ignored L"CreateFolder" table values err:ole:init_proxy_entry_point GetFuncDesc 8002802b should not fail here. err:ole:proxy_manager_create_ifproxy Could not create proxy for interface {ae8c683f-ec6d-49cd-9b74-a68f8828def6}, error 0x8002802b err:ole:CoUnmarshalInterface IMarshal::UnmarshalInterface failed, 0x8002802b fixme:ole:CoCreateInstance no instance created for interface {ae8c683f-ec6d-49cd-9b74-a68f8828def6} of class {8b1670c8-dc4a-4ed4-974b-81737a23826b}, hres is 0x8002802b err:ole:init_proxy_entry_point GetFuncDesc 8002802b should not fail here. err:ole:proxy_manager_create_ifproxy Could not create proxy for interface {ae8c683f-ec6d-49cd-9b74-a68f8828def6}, error 0x8002802b err:ole:ClientIdentity_QueryMultipleInterfaces Failed to get pointer to interface {ae8c683f-ec6d-49cd-9b74-a68f8828def6}
Because i had reinstalled i needed to recompile wine in this new system and because i dont have now an equivalent of build-dep on suse i had to find and install each dependency using the output of ./configure and searching on zypper.
Wine version is: wine-1.1.11-299-geb4eda2 with both patches applied.
Any idea? Fixing the sound should not break the installation, so it may be another patch in the current wine branch. In that case, how can i go back a couple of days with git?
http://bugs.winehq.org/show_bug.cgi?id=11771
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kennybobs@o2.co.uk
--- Comment #17 from Ken Sharp kennybobs@o2.co.uk 2009-01-08 15:02:25 --- (In reply to comment #16)
I had to reinstall my computer to remove debian from it. So i needed to reinstall Mathematica in a clean .wine dir. Trying to do so, it gives a Crash-error on the installation:
A windows with this message:
1608:Unable to create InstallDriver instance, Return code: -2147467262
See Bug 16849.
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #18 from Austin English austinenglish@gmail.com 2009-07-08 15:04:40 --- Is this still an issue in current (1.1.25 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=11771
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|kennybobs@o2.co.uk |
http://bugs.winehq.org/show_bug.cgi?id=11771
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |ABANDONED
--- Comment #19 from Austin English austinenglish@gmail.com 2010-04-30 17:08:51 --- No response in over 6 months, marking abandoned. If this is still an issue in current (1.1.43 or newer) wine, and you can provide the needed information, feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=11771
--- Comment #20 from Austin English austinenglish@gmail.com 2010-04-30 17:09:11 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=11771
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Austin English austinenglish@gmail.com 2010-04-30 17:13:41 --- Really closing.