-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03.04.2014 19:41, Damian Kaczmarek wrote:
> 2014-04-03 17:21 GMT+02:00 LRN <lrn1...@gmail.com>:
> 
>> What's the exit code of the program? Create a batch file (on
>> Windows) with these two lines:
>> 
> The exit code was invalid -257332231 or something.
> 
> 
>> Or just run under gdb.
>> 
> 
> $ gdb dot.exe GNU gdb (GDB) 7.6.1 Copyright (C) 2013 Free Software
> Foundation, Inc. License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html
>> 
> This is free software: you are free to change and redistribute it. 
> There is NO WARRANTY, to the extent permitted by law.  Type "show
> copying" and "show warranty" for details. This GDB was configured
> as "mingw32". For bug reporting instructions, please see: 
> <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from
> e:\dot.exe...done. (gdb) run Starting program: e:\dot.exe [New
> Thread 3120.0x380]
> 
> Program received signal SIGSEGV, Segmentation fault. 0x70d05329 in
> dtsize () from e:\libgraphviz_lib_cdt.dll (gdb) bt #0  0x70d05329
> in dtsize () from e:\libgraphviz_lib_cdt.dll #1  0x00000128 in ??
> () #2  0x0028fdd4 in ?? () #3  0x004013de in
> _fu0___set_invalid_parameter_handler () at 
> /storage/mxe/tmp-gcc-i686-w64-mingw32.shared/gcc-4.8.2/mingw-w64-v3.1.0/m
>
> 
ingw-w64-crt/crt/crtexe.c:332
> #4  0x7580336a in KERNEL32!BaseThreadInitThunk () from
> C:\Windows\syswow64\kernel32.dll #5  0x77a19f72 in
> ntdll!RtlInitializeExceptionChain () from
> C:\Windows\system32\ntdll.dll #6  0x77a19f45 in
> ntdll!RtlInitializeExceptionChain () from
> C:\Windows\system32\ntdll.dll #7  0x00000000 in ?? () (gdb)
> 
> Any ideas what's going on?

No.
crtexe.c:332 is the call to main(). What happens if you put a
breakpoint on main()?

Is dot.exe (at least) built with -g? -O0? Obviously, -g -O0 is much
easier to debug.

- -- 
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJTPYPmAAoJEOs4Jb6SI2CwsDYH/jhUxPgAWqgJu/Zr0cghcMGq
ixopxVwKXgW2p4Lf5F16UO8XikiMcgdBaUsoEiqjKNOF+6pAE0nvO/fONDwhX+RE
dvqJvXuyQaI1Tr8AnOq+vfkrKe8voPicbZYxwkEv3pQBVPfWF85UCLJoN4YqfF5c
6r0KA5u7Z7Xw429jdwm67Q8+/2OORBOxHvjGDuGHQ7k3te33h7TYvDs+A68hbDXt
suDWqFoElKbcgx5mSZXF8A96quNGxH5Rt3cGMuC8HlqKb/Fe+EY2n3WeZRRn/Q6l
dg6aNwdgQCyaggOAi0wN7wCtFr3WH7GSNDKu8FJgRkWD9dg38WA1BBufT2iLyZo=
=O2Fw
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to