After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771264 - Glade 3.20.0 segfault on Mac OS when clicking on dialog
Glade 3.20.0 segfault on Mac OS when clicking on dialog
Status: RESOLVED OBSOLETE
Product: glade
Classification: Applications
Component: general
3.20.x
Other Mac OS
: Normal critical
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-11 20:43 UTC by James Macfarlane
Modified: 2018-03-26 15:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A Glade UI file is attached. Click into "run_notes_dialog" to reproduce bug. (15.94 KB, application/xml)
2016-09-11 20:43 UTC, James Macfarlane
Details

Description James Macfarlane 2016-09-11 20:43:05 UTC
Created attachment 335322 [details]
A Glade UI file is attached. Click into "run_notes_dialog" to reproduce bug.

Glade segfaults when loading a UI file. See attached file. Clicking to select the lower window ("run_notes_dialog") results in a near instantaneous segfault.

Version is glade 3.20.0 installed via Homebrew on Mac OS 10.11.6

Console output (note that all the output, apart from the segfault message itself, is produced at start-up.)

bash$ glade daqng_gui.ui
2016-09-11 21:25:23.210 glade[11277:895362] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
GladeUI-Message: No DevHelp installed on your system, devhelp feature will be disabled.
GladeUI-Message: Glade needs artwork; a default icon will be used for the following classes:
       	GThemedIcon    	needs an icon named 'widget-gtk-themedicon'
       	GtkApplicationWindow   	needs an icon named 'widget-gtk-applicationwindow'

(glade:11277): Gtk-CRITICAL **: gtk_box_reorder_child: assertion 'old_link != NULL' failed

(glade:11277): Gtk-CRITICAL **: gtk_box_reorder_child: assertion 'old_link != NULL' failed

(glade:11277): Gtk-CRITICAL **: gtk_box_reorder_child: assertion 'old_link != NULL' failed

(glade:11277): Gtk-CRITICAL **: gtk_box_reorder_child: assertion 'old_link != NULL' failed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Segmentation fault: 11



lldb debugging session:
bash$ lldb -- glade daqng_gui.ui
(lldb) target create "glade"
Current executable set to 'glade' (x86_64).
(lldb) settings set -- target.run-args  "daqng_gui.ui"
(lldb) run
Process 82939 launched: '/usr/local/bin/glade' (x86_64)
2016-09-11 21:33:17.657 glade[82939:980174] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
GladeUI-Message: No DevHelp installed on your system, devhelp feature will be disabled.
GladeUI-Message: Glade needs artwork; a default icon will be used for the following classes:
       	GThemedIcon    	needs an icon named 'widget-gtk-themedicon'
       	GtkApplicationWindow   	needs an icon named 'widget-gtk-applicationwindow'

(glade:82939): Gtk-CRITICAL **: gtk_box_reorder_child: assertion 'old_link != NULL' failed

(glade:82939): Gtk-CRITICAL **: gtk_box_reorder_child: assertion 'old_link != NULL' failed

(glade:82939): Gtk-CRITICAL **: gtk_box_reorder_child: assertion 'old_link != NULL' failed

(glade:82939): Gtk-CRITICAL **: gtk_box_reorder_child: assertion 'old_link != NULL' failed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Process 82939 stopped
* thread #1: tid = 0xef4ce, 0x00007fff892ce4dd libobjc.A.dylib`objc_msgSend + 29, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
    frame #0: 0x00007fff892ce4dd libobjc.A.dylib`objc_msgSend + 29
libobjc.A.dylib`objc_msgSend:
->  0x7fff892ce4dd <+29>: andl   0x18(%r11), %r10d
    0x7fff892ce4e1 <+33>: shlq   $0x4, %r10
    0x7fff892ce4e5 <+37>: addq   0x10(%r11), %r10
    0x7fff892ce4e9 <+41>: cmpq   (%r10), %rsi
(lldb) bt
* thread #1: tid = 0xef4ce, 0x00007fff892ce4dd libobjc.A.dylib`objc_msgSend + 29, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
  * frame #0: 0x00007fff892ce4dd libobjc.A.dylib`objc_msgSend + 29
    frame #1: 0x0000000104ced72f im-quartz.so`quartz_set_cursor_location + 166
    frame #2: 0x00000001003372ad libgtk-3.0.dylib`gtk_text_view_update_im_spot_location + 86
    frame #3: 0x0000000100337d58 libgtk-3.0.dylib`do_update_im_spot_location + 20
    frame #4: 0x0000000100731223 libgdk-3.0.dylib`gdk_threads_dispatch + 50
    frame #5: 0x0000000100b01849 libglib-2.0.0.dylib`g_main_context_dispatch + 279
    frame #6: 0x0000000100b01b38 libglib-2.0.0.dylib`g_main_context_iterate + 413
    frame #7: 0x0000000100b01d8e libglib-2.0.0.dylib`g_main_loop_run + 207
    frame #8: 0x0000000100264426 libgtk-3.0.dylib`gtk_main + 74
    frame #9: 0x000000010001059a glade`main + 867
    frame #10: 0x00007fff8f22c5ad libdyld.dylib`start + 1
(lldb)
Comment 1 GNOME Infrastructure Team 2018-03-26 15:56:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glade/issues/247.