Re: Gtk2::SimpleList crashes
- From: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
- To: Peter Daum <gator_ml yahoo de>
- Cc: gtk-perl-list gnome org
- Subject: Re: Gtk2::SimpleList crashes
- Date: Sun, 16 Aug 2009 21:24:45 +0200
On Sun, Aug 16, 2009 at 9:14 PM, Peter Daum
<gator_ml yahoo de> wrote:
muppet wrote:
Can you post a script and your software versions? ÂI can't reproduce on my (rather ancient) system with this:
... I had to slightly rearrange your script so it can produce some output:
(with your script, there is no error message, just the segfault)
use Gtk2 -init;
use Gtk2::SimpleList;
print "Gtk2::VERSION Â Â Â Â Â Â Â$Gtk2::VERSION\n";
print "Gtk2::SimpleList::VERSION Â$Gtk2::SimpleList::VERSION\n";
print "Gtk2->GET_VERSION_INFO Â Â ".join(".",Gtk2->GET_VERSION_INFO)."\n";
print "Gtk2->get_version_info   ".join(".",Gtk2->get_version_info)."\n";
my $slist = Gtk2::SimpleList->new ('Stuff' => 'text');
@{ $slist->{data} } = qw(one two three four five six seven);
my @data = "" $slist->{data} };
@{ $slist->{data} } = @data;
Gtk2::VERSION Â Â Â Â Â Â Â1.190
Gtk2::SimpleList::VERSION Â0.15
Gtk2->GET_VERSION_INFO Â Â 2.12.11
Gtk2->get_version_info   2.12.12
Segmentation fault
As far as I can tell this happens in general on Debian "Lenny" (x86 and amd64);
On older systems that I tried, it worked. Obviously, the problem isn't really
in my code but somewhere else.
This reminds me of this thread
http://www.mail-archive.com/gtk-perl-list gnome org/msg05608.html where Gtk2::Ex::Simple::List would crash in perl 5.10 (Debian Lenny) but not in perl 5.8. What I also remember was that running the same program through the perl debuger (perl -d script.pl) wouldn't crash but running it normally (perl script.pl) would crash it.
--
Emmanuel Rodriguez
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]