Re: Crash (poss related to accelerator keys)

From: Date: Thu, 21 Mar 2002 12:26:41 +0000
Subject: Re: Crash (poss related to accelerator keys)
References: 1 2 3 4 5 6  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-374@lists.php.net to get a copy of this message
Notices referring to GTK_TYPE_POINTER occur when a signal is used that passes a pointer as a parameter, on some systems (I've seen them on w2k). PHP doesn't deal with that type. Not a clue why that should have made your app unstable, unless it's an indication that you were generating signals you were unaware of? Franks's only made it possible to use libglade with PHP, not written the thing for win32. Don't blame the poor man! ----- Original Message ----- From: "Stefan Kreuzer" <info@lustundliebe.de> To: <php-gtk-general@lists.php.net> Sent: Thursday, March 21, 2002 11:46 AM Subject: Re: [PHP-GTK] Crash (poss related to accelerator keys) > I fighted with this behavior a few days ago and found > out, that if You build a naked notebook with Glade > this error does not occur. The bad message is, that > many notices belonging to GTK_TYPE_POINTER > will be shown (Error_reporting E_All). This made made > my app very unstable with strange effects. Only the manually > building of the damned notebook was a solution. But I have > only one notebook in my app and You have many of them...... > > The hint from Alan (Thank You Alan!), with his glade emulation > wrapper doesn't work on my machine under win and I have to find > out why. The nested widgets will not be shown correctly and > several errors are displayed. I will have a look inside this class > because it fixes the never-load-a-glade-file-twice error which > is also a problem under win. > > Could it be possibly a problem of the Win port of libglade? > Frank Kromann does it, maybe he can say a word to this > problems? > > Stefan > > > > "Michael Dransfield" <mike@blueroot.net> schrieb im Newsbeitrag > news:1016706671.11950.30.camel@home.blueroot.net... > > ive just installed glade on my win machine. > > > > ive found that its not related to the notebooks on the main window, i > > removed all the dialogs one by one, and found that no matter what > > happens, if i have even one of the dialogs still in the project it will > > crash. > > > > *** bit of testing later *** > > > > Ive found that if i use any button (toggle or normal) it crashes still. > > But only on any other dialog boxes / windows - it doesnt seem to occur > > on the main window, but as soon as i add a new dialog and add a button > > to that it crashes. > > > > Is this a libglade/gtk or php error? > > > > Can anyone tell me where to find that log that windows keeps saying it > > is generating - it might help, but theres no help finding it. > > > > > > On Wed, 2002-03-20 at 14:58, Michael Dransfield wrote: > > > oh dear... > > > > > > anyone who has seen the program will know i rely on notebooks heavily > > > for layout, it has nested notebooks. > > > > > > are you sure it is a glade problem? if it is - ill try them to see if > > > they can help.. > > > > > > ill have a play with some basic stuff... see if i can locate exactly > > > where / how the error occurs. > > > > > > On Wed, 2002-03-20 at 14:09, Stefan Kreuzer wrote: > > > > Hello, > > > > > > > > remove the GtkNotebook from the Glade-file. This > > > > is a bug, maybe in libglade? I had the same problem > > > > and removing the notebook from Glade and rebuilding it > > > > manually solved it. Very strange.. > > > > > > > > Hope it helps! > > > > > > > > Stefan > > > > > > > > > > > > "Michael Dransfield" <mike@blueroot.net> schrieb im Newsbeitrag > > > > > > > > news:1016628748.9138.17.camel@home.blueroot.net... > > > > > I am still having this crash - i have tracked it down to the glade > xml > > > > > file. > > > > > > > > > > If anyone can tell me where the debugging log is kept on windows (i > dont > > > > > use it often anymore and only have limited access to a windows > machine) > > > > > > > > > > The glade file is massive, and replacing it by manually drawing all > of > > > > > the widgets will take weeks (thats why im using glade, and i think a > lot > > > > > of people would)... if anyone can track it down to a particular - i > can > > > > > remove it if the fix is not available. > > > > > > > > > > There are no errors reported when running the application on linux. > > > > > > > > > > I am attaching the offending glade file. There are no references to > > > > > allelerator keys, i manually removed them. Could someone who uses > > > > > windows try to load this and see if they get the same crash. > > > > > > > > > > Thats if anyone is still talking to ma after my 'uber geek' > outburst... > > > > > ;) - i do appreaciate you are all volunteers... > > > > > > > > > > > > > > > On Mon, 2002-03-18 at 17:26, Michael Dransfield wrote: > > > > > > Does anyone know what is causing this, windows starts generating > its > > > > > > standard application log, which doesnt ever seem to get generated. > > > > > > > > > > > > It seems to refer to accelerator keys, but i only have one and > there is > > > > > > no errors from linux. > > > > > > > > > > > > Gtk-CRITICAL **: file gtkaccelgroup.c: line 188 > > > > > > (gtk_accel_group_attach): assertion `g_slist_find > > > > > > (accel_group->attach_objects, object) == NULL' failed > > > > > > > > > > > > the message is repeated 4 times and the program dies... > > > > > > > > > > > > > > > > > > -- > > > > > > PHP-GTK General Mailing List (http://gtk.php.net/) > > > > > > To unsubscribe, visit: > > > > > > http://www.php.net/unsub.php > > > > > > > > > > > > > > > > > > > > > -- > > > > PHP-GTK General Mailing List (http://gtk.php.net/) > > > > To unsubscribe, visit: > > > > http://www.php.net/unsub.php > > > > > > > > > -- > > > PHP-GTK General Mailing List (http://gtk.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.gtk.dev (#374) next »