Re: Interesting segfaults



/--- On Tue, Feb 27, 2001 at 06:49:51PM +0100, Paolo Molaro wrote:
| You *NEED* to initialize Gtk before building widgets: this is usually
| done in two ways:
|
| *) Gtk->init; # if you use only the Gtk widgets *)
| Gnome->init($appname, $version); # if you use Gnome
|

| It is not clear from the above description if you did that.

This is ok. I've done this.

| Anyway, try to provide a possibly small test case that shows
| the problem
| (i.e. a .glade file and the .pl file).

I will make a new branch in the CVS for this, and I will check why
anoncvs doesn't work.

| You could get some insight on the problem running the program under
| debugperl in gdb:
|
| $ gdb debugperl (gdb) r myprogram.pl ... program crashes... (gdb) bt
| ... program stack.... look at this info or mail it to me.
|
| It helps a lot if you have the libraries and the module compiled with
| debugging information (make OPTIMIZE=-g for Gtk/Perl).
|
\---

Thanks, it is a very good starting point. I will report something
very soon.

Regards,

dLux
--
This Message is Powered by VI




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