Re: [semi-OT] gdb backtrace on windows



Il giorno lun 19 ott 2009 21:52:38 CEST, Tor Lillqvist ha scritto:

my problem is that when my program crash i get from the backtrace only these
two rows

#0 Â0x77c035e4 in ?? ()
#1 Â0x00000000 in ?? ()

what am I doing wrong?

Nothing, probably, that would cause this unuseful backtrace, you just
have bad luck and the program crashes in an unfortunate context where
gdb is unable to display a meaningful backtrace. Probably because the
code is in some system library that lacks debugging information gdb
would understand, and additionally uses a calling conventions gdb
isn't aware of.

:-(

The most likely cause for weird errors is heap corruption. Does your
program run on Linux?

yes it doesn't crash

Have you tried running it under valgrind to find
heap corruption errors? (See http://live.gnome.org/Valgrind for
instructions, in particular the use of G_SLICE=always-malloc is
important.)

i tried but i don't know how to interpret the result


instead, i think to have found the problem but i don't know why on linux it works and on windows not; i think it is a problem on libgda or on the use that i did it




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]