Re: [gtk-list] Re: getpwuid_r() + x io error : What the ... ?



Matt Gushee <mgushee@havenrock.com> writes:
 > OK, that sounds useful. Since I haven't used gdb you explain me how to
> do that? The program I'm trying to run is interpreted python code; the
> bug is presumably in one or another shared library. Also, I'm looking
> at the Info file on gdb, but I can't find anything about a --sync
> option.
> 

The --sync option is a standard option parsed by gtk_init() - I'm not
sure how to get it through to wxWindows/Python. However they really
should have a way, because otherwise this sort of thing is impossible
to debug (you get the error long after you caused it).

Anyway, if you can figure that out: for gdb do this:

$ gdb python
startup messages, etc.
(gdb) run myprogname.py --sync
[wait for crash]
(gdb) backtrace

Havoc



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