Re: Threads and Gtk2
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Subject: Re: Threads and Gtk2
- Date: Thu, 20 Oct 2005 17:12:06 -0400 (EDT)
Javier Godinez said:
Thanks ofey, it works now, I really appreciate your help...
I don't think this is releated but has anybody seen an error like this:
*** glibc detected *** free(): invalid pointer: 0x086a69c8 ***
It occours when I call Gtk2->main_quit;
(Not in this example, but the application I am writing)
Two ways to track that down:
$ MALLOC_CHECK_=2 gdb perl
(gdb) r myscript.pl
... script will abort() on the bad free() and drop you at the
gdb prompt:
(gdb) backtrace
<this is the info we need>
or:
$ valgrind --tool=memcheck --num-callers=50 perl myscript.pl >log 2>&1
... there will be very helpful information in log.
Works best if you have debugging symbols, but not completely necessary.
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]