Re: [PHP-GTK-DEV] Re: bug
[email protected] (Elizabeth M Smith)
| Newsgroups | php.gtk.dev |
|---|---|
| Message-ID | <[email protected]> |
Pablo DallOglio wrote:
> Hello Elizabeth,
>
> I have already tried your workaround before.
> But for me, it's even worse, because php gives me
> a segmentation fault, and you knows, seg fault says
> nothing at all, hehehe
>
> For testing purposes, I've reduced the test code:
>
> <?php
> $window = new GtkWindow;
>
> $model = new GtkListStore(GObject::TYPE_OBJECT, GObject::TYPE_STRING);
>
> $comboBox = new GtkComboBox;
> $comboBox->set_model($model);// => the error is here
>
> $window->show_all();
> Gtk::main();
> ?>
> *Segmentation Fault*
>
> I'm not sure the message is exactly "Segmentation Fault" because
> it's shown in portuguese "Falha de segmentação" ;-)
>
> *php-gtk2 -v*
> PHP 5.2.8 (cli) (built: Dec 24 2008 16:39:40)
> Copyright (c) 1997-2008 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
>
> phpversion() => *5.2.8*
> phpversion('php-gtk') => *2.0.1*
> gtk::get_version() => *GTK 2.12.0
>
> *Pablo
>
What OS are you on? it does NOT segfault here on windows
Thanks,
Elizabeth