-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2/6/2011 21:27, Chris Sutcliffe wrote: > Hi All, > > I've run in to a crash issue in my app when compiled with > i686-w64-mingw32, yet it works fine when compiled with x64-w64-mingw32 > or MSVC++ (both as 32-bit and 64-bit). I'm using the mingw-w64 cross > compilers under Cygwin. > > Running under gdb isn't providing much valued input, since it seems like > the crash is coming from the OS (there are no symbols at the memory > address it's complaining about), I'm getting a SIGILL, but I don't know > if the signal type is valid when running gdb under Windows. I assume > it's some kind of stack corruption, but I have no idea how to further > narrow it down. The crash is triggered by a call to SHCreateDesktop in > the code in the link below (line 344): > > http://emerge.hg.sourceforge.net/hgweb/emerge/emerge/file/9fde7b2fb150/Source/emergeCore/Desktop.cpp > > I assume it has to do with the interface I've defined: > > http://emerge.hg.sourceforge.net/hgweb/emerge/emerge/file/9fde7b2fb150/Source/emergeCore/ShellDesktopTray.cpp > > But I'm at a loss in terms of figuring out why it's only an issue for > 32-bit MinGW. > > I realize that this very vague report, but I'm not sure where to go from > here in terms of being able to further narrow down what the actual issue > is. Any help in terms of next steps would be greatly appreciated. > > Thank you, > > Chris >
Hi, I'm not too sure what to make of it either. Can you make sure that line 334 "new TShellDesktopTray" will always create a valid object? I suggest you watch the object until the point before it crashes at line 344. It could also be bad interface declaration. Well, I have nothing solid to fix the problem at the moment. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) iEYEARECAAYFAk1OqNwACgkQp56AKe10wHdz9QCfYVtajFdyniDt5Q8tdj0Cpbdh IPIAnRupzynL/v8DjAEfYyguir7m5zK1 =AHqm -----END PGP SIGNATURE-----
0xED74C077.asc
Description: application/pgp-keys
------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
