View Single Post
Posts: 46 | Thanked: 0 times | Joined on Dec 2008 @ Grenoble (France)
#1
Hello,

I'm using glade-3 to build my GUI. And I have a strange behaviour. I often get a seg. fault when opening the File menu on my main window. When I have such crash, all I have to do is to save again the glade file, and then rebuild the package, without any other modification.

But this bug comes back very often, when I make modifications in my GUI.

A few days ago, I had a bigger problem: my app didn't start anymore on OS2008 (but work fine os OS2007). I discovered that it crashes when calling the wTree.signal_autoconnect() method. In fact, the problem comes from these lines in the signal dict:

Code:
{...
 "on_dialog_key_press_event": self.__onKeyPressed,
 "on_dialog_key_release_event": self.__onKeyReleased,
...}
If I remove them, and bind these signals using the dialog connect() method, it works fine.

So, I think that the problem comes from the glade file, and might be related to the other one.

Does anyone has experienced such problem? How can I debug it?

Thanks for any idea.