Segmentation Fault with Gtk2

Segmentation Fault with Gtk2

am 10.08.2005 15:10:05 von Guenther Sohler

I have a problem with List Widgets in Gtk2-perl

I have simplified my program to this one.
But it still produces a segmentation fault on my sparc sun solaris 2.9
machine. Do i use it in a wrong way ?

#!/usr/bin/env perl
use Gtk2 '-init';
use strict;

my @list_items = ( new Gtk2::ListItem->new_with_label( "test" ) );
my $lst=new Gtk2::List();
$lst->append_items(@list_items);

my $window = new Gtk2::Window( "toplevel" );
$window->add( $lst ) ;
$window->show_all();
Gtk2->main;

Re: Segmentation Fault with Gtk2

am 17.08.2005 19:22:37 von Eric Schwartz

Guenther Sohler writes:
> I have a problem with List Widgets in Gtk2-perl
>
> I have simplified my program to this one.
> But it still produces a segmentation fault on my sparc sun solaris 2.9
> machine. Do i use it in a wrong way ?

I don't know, but I can confirm this on Debian unstable, with
libgtk-perl at version 0.7009-3, and gtk at libgtk1.2 at 1.2.10-17.

-=Eric