Ticket #11835 (new)

Opened 5 years ago

Last modified 5 years ago

MantidPlot crashes on startup with non-default theme on Ubuntu

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Release 3.5
Component: GUI Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

To reproduce:

  • go to the Apperance menu from the Ubuntu launcher
  • select a different theme to Ambiance
  • start MantidPlot
  • bang!

Change History

comment:1 Changed 5 years ago by Martyn Gigg

The backtrace is as follows:

Program received signal SIGSEGV, Segmentation fault.
0x00000000012bbae0 in g_log ()
(gdb) bt
#0  0x00000000012bbae0 in g_log ()
#1  0x00007fffde283610 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#2  0x00007fffe8d570a1 in g_type_module_use () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007fffde2836dd in gtk_theme_engine_get ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4  0x00007fffde20f5ff in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#5  0x00007fffde20ff05 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#6  0x00007fffde21009f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#7  0x00007fffde2102c3 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#8  0x00007fffde210a22 in gtk_rc_reparse_all_for_settings ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9  0x00007fffde22c812 in gtk_settings_get_for_screen ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#10 0x00007fffde1ddaf1 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#11 0x00007fffe8d36487 in g_cclosure_marshal_VOID__OBJECTv ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007fffe8d335e7 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007fffe8d4c088 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007fffe8d4d212 in g_signal_emit_by_name ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007fffdde3527f in gdk_display_open () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#16 0x00007fffdde05f4d in gdk_display_open_default_libgtk_only ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#17 0x00007fffde1c52d4 in gtk_init_check () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#18 0x00007fffde1c52f9 in gtk_init () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007ffff3d53aa7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ffff3a384a5 in QGuiPlatformPlugin::systemIconThemeName() ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007ffff3a7bef4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007ffff3a4102e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007ffff3a45291 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007ffff39d6a78 in QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long)
    () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007ffff39d6cef in QApplication::QApplication(int&, char**, int) ()

The error seems to be from the gtk libraries. I compiled one of the stand alone Qt examples and it worked okay so it could be some compilation problem (library order, compiler define)?

Last edited 5 years ago by Martyn Gigg (previous) (diff)

comment:2 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 12673

Note: See TracTickets for help on using tickets.