FS#26745 - [lazarus] [gtk2] crash at exit <reported to upstream>

Attached to Project: Community Packages
Opened by Fabien Wang (fabienwang) - Friday, 04 November 2011, 09:55 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 12 November 2011, 16:32 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The Lazarus IDE seems to crash when exiting the IDE.
It stay opens until we can force quit it.

Steps to reproduce:
Open a project, then exit.

Additional:
I guess we would just need to make a new version of the package with latest lazarus revision.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Saturday, 12 November 2011, 16:32 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Friday, 04 November 2011, 10:49 GMT
Confirmed. x86_64. This is the output at exit (GUI hangs):

TApplication.HandleException Access violation
Stack trace:
$00007FA6B81308B8
$0000000003E2F400
exception at 00007FA6B81308B8:
Access violation.
TApplication.HandleException Access violation
Stack trace:
$00007FA6B79FFCBB
exception at 00007FA6B79FFCBB:
Access violation.
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A
Comment by Sergej Pupykin (sergej) - Monday, 07 November 2011, 11:17 GMT
0.9.30.2 does the same. Looks like upstream bug.
Comment by Alexander F. Rødseth (xyproto) - Monday, 07 November 2011, 14:29 GMT
lazarus 0.9.30.2-1 crashes in a slightly different way at exit:

% lazarus
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/alexander/.lazarus"
SecondaryConfigPath="/etc/lazarus"
NOTE: help options config file not found - using defaults

(lazarus:26947): Gdk-CRITICAL **: IA__gdk_window_get_state: assertion `GDK_IS_WINDOW (window)' failed

(lazarus:26947): Gtk-CRITICAL **: IA__gtk_widget_unrealize: assertion `GTK_IS_WIDGET (widget)' failed

(lazarus:26947): Gtk-CRITICAL **: IA__gtk_widget_is_toplevel: assertion `GTK_IS_WIDGET (widget)' failed
TApplication.HandleException Access violation
Stack trace:
$00007F8AF448E8B8
$000000000337EC00
exception at 00007F8AF448E8B8:
Access violation.
**
GLib-GObject:ERROR:gsignal.c:711:emission_pop: code should not be reached
[1] 26947 abort (core dumped) lazarus
Comment by Alexander F. Rødseth (xyproto) - Monday, 07 November 2011, 14:34 GMT Comment by Fabien Wang (fabienwang) - Monday, 07 November 2011, 22:30 GMT
It seems to be a Gtk2 problem since 2.24-7

when downgrading to 2.24-6-2 it works

http://schlunix.org/archlinux/extra/os/i686/gtk2-2.24.6-2-i686.pkg.tar.xz
or for 64 bits:
http://schlunix.org/archlinux/extra/os/x86_64/gtk2-2.24.6-2-i686.pkg.tar.xz

(so... duplicate as  bug 26742  for Opera i guess)

Comment by Alexander F. Rødseth (xyproto) - Monday, 07 November 2011, 22:33 GMT
Is there a gtk2 bug that both this one and the opera one could be duplicates of? Would that be better?
Comment by Fabien Wang (fabienwang) - Monday, 07 November 2011, 22:49 GMT
I'm not sure if there is one corresponding.
i.e.: https://bugzilla.gnome.org/show_bug.cgi?id=662138
?
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 08 November 2011, 13:01 GMT
Not sure either, that one didn't mention any crashes, just "critical".
Comment by Sergej Pupykin (sergej) - Friday, 11 November 2011, 15:57 GMT
it looks fixed in gtk2-2.24.8-1

Loading...