Opened 10 years ago

Closed 8 years ago

#784 closed defect (fixed)

GTK CRITICAL error locks down Padre and X

Reported by: garu Owned by:
Priority: major Milestone:
Component: editor Version: 0.51
Keywords: gtk crash wx editor critical x Cc:


How to reproduce (beware: if it works, the entire X Windowing System will lock, and you'll have to go to a console (usually via ctrl-alt-f2), login and kill the offending perl process. After that, X will be restored and you can do ctrl-alt-f7 to get back to it).

Fire up Padre with only one open file, and the "syntax check" and "output" bottom panels. While reproducing this we also had the Project Tree left panel opened, but I don't think that's necessary.

All set? Okay, close the document so Padre has no open documents, and click on the "Plugins" menu option. If all went well, the "Plugin" menu item completely vanished, leaving an empty box open and locking Padre and X. You will still be able to move the mouse, but that's about it. The terminal window where Padre was started will have several "Gtk-CRITICAL gtk_widget_event assertion WIDGET_REALIZED_FOR_EVENT failed." messages.

This is perl, v5.10.0 built for i486-linux-gnu-thread-multi

Wx Version=(0.94) wxWidgets 2.8.10 unicode=(1)

Change History (2)

comment:1 Changed 10 years ago by Sewi

Same on Wx 0.91, Widgets 2.8.9

I got the same behavior while working on the menus some time ago, it usually happens if a menu object is used twice (trying to push a menu object to the menu bar which has already been used there, no matter if it was removed before).

comment:2 Changed 8 years ago by bowtie

  • Resolution set to fixed
  • Status changed from new to closed

plugin load and unload works in 0.95

Note: See TracTickets for help on using tickets.