http://bugs.winehq.org/show_bug.cgi?id=21388
Summary: "shed skin" compiler output crashes Product: Wine Version: 1.1.36 Platform: x86 URL: http://shedskin.googlecode.com OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: mark.dufour@gmail.com
the following simple python script:
for y in range(50): print y
always crashes after being compiled with shed skin (see test.exe in attachment - I haven't tried test.exe under windows yet).
this is just an extract from one of the shed skin unit tests that fail under WINE (but work under winxp).
http://bugs.winehq.org/show_bug.cgi?id=21388
--- Comment #1 from srepmub mark.dufour@gmail.com 2010-01-16 06:14:59 --- Created an attachment (id=25751) --> (http://bugs.winehq.org/attachment.cgi?id=25751) crashing output (including libgc.dll and libpcre.dll)
http://bugs.winehq.org/show_bug.cgi?id=21388
--- Comment #2 from srepmub mark.dufour@gmail.com 2010-01-16 06:16:17 --- Created an attachment (id=25752) --> (http://bugs.winehq.org/attachment.cgi?id=25752) basic crash log
http://bugs.winehq.org/show_bug.cgi?id=21388
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase Alias|srepmub |
http://bugs.winehq.org/show_bug.cgi?id=21388
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #3 from Andrew Nguyen arethusa26@gmail.com 2010-01-16 19:57:08 --- I'm confirming the crash with wine-1.1.36-83-gc7ccf24. Is it possible to get debug symbols for libgc and libpcre? I imagine that could give more insight into the crash. All I can see from the +relay log is that msvcrt invokes a registered exit handler which then subsequently crashes.
http://bugs.winehq.org/show_bug.cgi?id=21388
--- Comment #4 from srepmub mark.dufour@gmail.com 2010-01-17 05:10:42 --- hmm, no I can't find any debug symbols, and attempts to build gc.dll from scratch using msys/mingw have also failed so far..
libpcre is probably not important in this context, as it's only used for regular expressions that only occur in a few tests.
http://bugs.winehq.org/show_bug.cgi?id=21388
Peter Dons Tychsen donpedro@tdcadsl.dk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |donpedro@tdcadsl.dk
--- Comment #5 from Peter Dons Tychsen donpedro@tdcadsl.dk 2010-01-17 20:11:59 --- I think we crash in __do_global_dtors which gcclib (mingw) has inserted at exit with atexit(). (see gcclib source).
So the crash most likely caused by a failing de-constructor. It is however very hard to debug as winedbg goes bananas when stepping into the exit callback function.
e.g. "break __do_global_dtors" does not work for a mingw binary. It should, as all of the info is there in the binary.
http://bugs.winehq.org/show_bug.cgi?id=21388
--- Comment #6 from Peter Dons Tychsen donpedro@tdcadsl.dk 2010-01-17 20:14:54 --- I am pretty sure something is wrong with winedbg, as i can see __do_global_dtors with winedump for the same binary (at the correct address).
http://bugs.winehq.org/show_bug.cgi?id=21388
--- Comment #7 from Peter Dons Tychsen donpedro@tdcadsl.dk 2010-01-17 20:24:26 --- ah, debugger gets this:
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 1e
probably has something to do with the debug problem.
http://bugs.winehq.org/show_bug.cgi?id=21388
--- Comment #8 from Peter Dons Tychsen donpedro@tdcadsl.dk 2010-01-17 20:29:46 --- No, sorry, that error is displayed every time even for a good breakpoint.
http://bugs.winehq.org/show_bug.cgi?id=21388
--- Comment #9 from Peter Dons Tychsen donpedro@tdcadsl.dk 2010-01-19 19:05:22 --- Added new bug for debugger problem: http://bugs.winehq.org/show_bug.cgi?id=21422
If that gets fixed, it should be easier to pinpoint problem.
http://bugs.winehq.org/show_bug.cgi?id=21388
--- Comment #10 from srepmub mark.dufour@gmail.com 2010-01-20 02:33:30 --- thanks for looking into this!!
http://bugs.winehq.org/show_bug.cgi?id=21388
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25751|crashing output (including |test executable (including description|libgc.dll and libpcre.dll) |libgc.dll and libpcre.dll)
http://bugs.winehq.org/show_bug.cgi?id=21388
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #11 from André H. nerv@dawncrow.de 2010-01-20 05:54:09 --- (In reply to comment #7)
ah, debugger gets this:
fixme:dbghelp_dwarf:compute_location Unhandled attr op: 1e
try patch http://www.winehq.org/pipermail/wine-patches/2010-January/083899.html that should fix that
http://bugs.winehq.org/show_bug.cgi?id=21388
--- Comment #12 from srepmub mark.dufour@gmail.com 2010-05-27 14:02:29 --- the problem still occurs with 1.2-rc1
http://bugs.winehq.org/show_bug.cgi?id=21388
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #13 from André H. nerv@dawncrow.de 2010-11-09 16:43:28 CST --- i do not see it crashing in my git version of today... Fixed!
http://bugs.winehq.org/show_bug.cgi?id=21388
--- Comment #14 from srepmub mark.dufour@gmail.com 2010-11-10 13:40:04 CST --- it seems to work here, too (wine 1.2.1). thanks a lot!! I will run the shed skin unit test again, to see if the problems with some other tests have also disappeared by now..
http://bugs.winehq.org/show_bug.cgi?id=21388
--- Comment #15 from srepmub mark.dufour@gmail.com 2010-11-10 15:42:47 CST --- please see bug 25106 for the results of running the unit tests again.
http://bugs.winehq.org/show_bug.cgi?id=21388
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org 2010-11-12 13:33:29 CST --- Closing bugs fixed in 1.3.7.