[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] Segfault in lmi with wxWidgets-2009-03-10
From: |
Greg Chicares |
Subject: |
[lmi] Segfault in lmi with wxWidgets-2009-03-10 |
Date: |
Wed, 11 Mar 2009 06:01:42 +0000 |
User-agent: |
Thunderbird 2.0.0.19 (Windows/20081209) |
To reproduce, with luck:
start lmi
open any file of any type, and leave its window open
close lmi (forcing the open MDI child window to be closed)
Crash report from 'Dr. MinGW' JIT debugger below [0], FWIW. It says:
lmi_wx_shared.exe caused an Access Violation at location 10319acb \
in module wxmsw290u_gcc_344-20090310T1057Z.dll Reading from location 00000054.
and another run gives:
lmi_wx_shared.exe caused an Access Violation at location 00000000 \
Reading from location 00000000.
while yet another gives:
lmi_wx_shared.exe caused an Access Violation at location 40180000 \
Reading from location 40180000.
'addr2line' doesn't seem to shed much light:
$/MinGW_/bin/addr2line -if -e
/opt/lmi/local/lib/wxmsw290u_gcc_344-20090310T1057Z.dll 0x010319acb
_onexit
d:/src/mingw/build/runtime/../../runtime/dllcrt1.c:183
[I guess the mingw-runtime maintainer used "d:" on his build machine.]
'dllcrt1.c' is here:
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/dllcrt1.c?annotate=1.4&cvsroot=src
and I'm guessing that it's the onexit() function in the MinGW-built
wx dll I'm using, though I don't know what that might really indicate.
I'm unable to reproduce the problem when I run lmi under gdb. IIRC, gdb
does some zero-initialization that can mask stray-pointer problems.
If I uninstall 'Dr. MinGW', lmi still crashes.
I did not observe this problem with wxWidgets-2009-03-08. That's not
conclusive proof of anything, but it seems to suggest that something
that changed in wx between the 2009-03-08 and 2009-03-10 snapshots
might contribute to this segfault. A cockpit error here is always
conceivable; I'll 'rm' my lmi build directory and rebuild from
scratch in an attempt to rule that out.
What else should I try?
---------
[0] "Crash report from 'Dr. MinGW' JIT debugger"
lmi_wx_shared.exe caused an Access Violation at location 10319acb in module
wxmsw290u_gcc_344-20090310T1057Z.dll Reading from location 00000054.
Registers:
eax=03374ce0 ebx=03468b68 ecx=03478e38 edx=00000000 esi=03468b40 edi=0051511c
eip=10319acb esp=0022ec50 ebp=0022eca8 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
Call stack:
AddrPC AddrReturn AddrFrame AddrStack Params
10319ACB 00482CA9 0022ECA8 0022EC50 03478E38 03429C40 0347F800
03468B68
10319ACB wxmsw290u_gcc_344-20090310T1057Z.dll:10319ACB _onexit dllcrt1.c:183
_onexit_t _onexit(
_onexit_t pfn =
&C:\opt\lmi\local\lib\wxmsw290u_gcc_344-20090310T1057Z.dll: No symbol found
0x03478e38
[...snip many lines similar to that]
77D67AD7 77D6CCD4 0022F3F4 0022EC50 10206130 17750BFA 00000010
00000000
77D67AD7 USER32.dll:77D67AD7 SetWindowPlacement
77D6CCD4 77D445BD 0022F45C 0022EC50 00000000 10206130 17750BFA
00000010
77D6CCD4 USER32.dll:77D6CCD4 DefRawInputProc
77D445BD 77D447D4 0022F4B0 0022EC50 0301E138 00000010 00000000
00000000
77D445BD USER32.dll:77D445BD TranslateMessageEx
77D447D4 77F75DA3 0022F4D8 0022EC50 0022F4E8 00000018 0301E138
00000010
77D447D4 USER32.dll:77D447D4 DefWindowProcA
77F75DA3 77D5B339 0022F550 0022EC50 17750BFA 00000112 0000F060
00000000
77F75DA3 ntdll.dll:77F75DA3 KiUserCallbackDispatcher
77D5B339 77D7E913 0022F5B8 0022EC50 17750BFA 0BB10B18 00000112
0000F060
77D5B339 USER32.dll:77D5B339 CreateDialogIndirectParamAorW
77D7E913 1026FAF2 0022F5D8 0022EC50 17750BFA 0BB10B18 00000112
0000F060
77D7E913 USER32.dll:77D7E913 DefFrameProcW
1026FAF2 1020F91C 0022F5F8 0022EC50 03462880 00000112 0000F060
00000000
[...snip many "No symbol found" lines]
77D67AD7 77D6CCD4 0022FAF4 0022EC50 10206130 17750BFA 00000112
0000F060
77D67AD7 USER32.dll:77D67AD7 SetWindowPlacement
77D6CCD4 77D44455 0022FB5C 0022EC50 00000000 10206130 17750BFA
00000112
77D6CCD4 USER32.dll:77D6CCD4 DefRawInputProc
77D44455 77D495D5 0022FBBC 0022EC50 0022FC00 00000000 1016CC15
0022FC00
77D44455 USER32.dll:77D44455 TranslateMessageEx
77D495D5 1016CC5C 0022FBE8 0022EC50 0344A348 0022FC00 00000000
00000000
77D495D5 USER32.dll:77D495D5 DispatchMessageW
1016CC5C 1003471A 0022FC28 0022EC50 0344A348 0022FAE0 0022FB94
00000040
[...snip many "No symbol found" lines]
- [lmi] Segfault in lmi with wxWidgets-2009-03-10,
Greg Chicares <=