FS#13704 - [xiphos] segfaults under openbox

Attached to Project: Community Packages
Opened by Skottish (skottish) - Sunday, 08 March 2009, 17:57 GMT
Last edited by Stefan Husmann (stefanhusmann) - Saturday, 17 October 2009, 17:10 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Stefan Husmann (stefanhusmann)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Xiphos segfaults under openbox, and there's reports that it won't run under Gnome but will run under KDE. My system is up to date using testing. I'll try to redirect others with problems here. I don't normally run this software.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fe7653997b0 (LWP 6504)]
0x00007fe75e1d10c5 in raise () from /lib/libc.so.6
(gdb) where
#0 0x00007fe75e1d10c5 in raise () from /lib/libc.so.6
#1 0x00007fe75e1d25e3 in abort () from /lib/libc.so.6
#2 0x00007fe75e20c238 in __libc_message () from /lib/libc.so.6
#3 0x00007fe75e2118b8 in malloc_printerr () from /lib/libc.so.6
#4 0x00007fe75e2133f6 in free () from /lib/libc.so.6
#5 0x00007fe757826bed in png_handle_iCCP () from /usr/lib/libpng12.so.0
#6 0x00007fe75783a025 in png_push_read_chunk () from /usr/lib/libpng12.so.0
#7 0x00007fe75783a57b in png_process_data () from /usr/lib/libpng12.so.0
#8 0x00007fe7609600f2 in gdk_pixbuf__png_image_load_increment ()
from /usr/lib/libgdk_pixbuf-2.0.so.0
#9 0x00007fe760955f19 in gdk_pixbuf_loader_write ()
from /usr/lib/libgdk_pixbuf-2.0.so.0
#10 0x00007fe76095460f in load_from_stream ()
from /usr/lib/libgdk_pixbuf-2.0.so.0
#11 0x00007fe7609546aa in gdk_pixbuf_new_from_stream ()
from /usr/lib/libgdk_pixbuf-2.0.so.0
#12 0x00007fe75efb64dd in icon_info_ensure_scale_and_pixbuf ()
from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007fe75efb6aa2 in gtk_icon_info_load_icon ()
from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007fe75efb8dae in gtk_icon_theme_load_icon ()
from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00007fe75efb351e in gtk_icon_set_render_icon ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00007fe75f0f1bc1 in gtk_widget_render_icon ()
from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00007fe75efc9ef1 in gtk_image_calc_size ()
from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00007fe75efc9f19 in gtk_image_size_request ()
from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00007fe75f9640df in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0x00007fe75f977678 in signal_emit_unlocked_R ()
from /usr/lib/libgobject-2.0.so.0
#21 0x00007fe75f979238 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#22 0x00007fe75f979592 in g_signal_emit_by_name ()
from /usr/lib/libgobject-2.0.so.0
#23 0x00007fe75f047df8 in _gtk_size_group_compute_requisition ()
from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007fe75efab786 in gtk_hbox_size_request ()
from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00007fe75f9640df in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#26 0x00007fe75f977678 in signal_emit_unlocked_R ()
from /usr/lib/libgobject-2.0.so.0
#27 0x00007fe75f979238 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#28 0x00007fe75f979592 in g_signal_emit_by_name ()
from /usr/lib/libgobject-2.0.so.0
#29 0x00007fe75f047df8 in _gtk_size_group_compute_requisition ()
from /usr/lib/libgtk-x11-2.0.so.0
#30 0x00007fe75f0e68e6 in gtk_vbox_size_request ()
from /usr/lib/libgtk-x11-2.0.so.0
#31 0x00007fe75f9640df in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#32 0x00007fe75f977678 in signal_emit_unlocked_R ()
from /usr/lib/libgobject-2.0.so.0
#33 0x00007fe75f979238 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#34 0x00007fe75f979592 in g_signal_emit_by_name ()
from /usr/lib/libgobject-2.0.so.0
#35 0x00007fe75f047df8 in _gtk_size_group_compute_requisition ()
from /usr/lib/libgtk-x11-2.0.so.0
#36 0x00007fe75f0f92d0 in gtk_window_size_request ()
from /usr/lib/libgtk-x11-2.0.so.0
#37 0x00007fe75f96418d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#38 0x00007fe75f977678 in signal_emit_unlocked_R ()
from /usr/lib/libgobject-2.0.so.0
#39 0x00007fe75f979238 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#40 0x00007fe75f979592 in g_signal_emit_by_name ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/libgobject-2.0.so.0
#41 0x00007fe75f047df8 in _gtk_size_group_compute_requisition ()
from /usr/lib/libgtk-x11-2.0.so.0
#42 0x00007fe75f0f96b2 in gtk_window_compute_configure_request ()
from /usr/lib/libgtk-x11-2.0.so.0
#43 0x00007fe75f1027ec in gtk_window_show () from /usr/lib/libgtk-x11-2.0.so.0
#44 0x00007fe75f96418d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#45 0x00007fe75f977678 in signal_emit_unlocked_R ()
from /usr/lib/libgobject-2.0.so.0
#46 0x00007fe75f979238 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#47 0x00007fe75f979733 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#48 0x00007fe75f0f35ec in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#49 0x00007fe75ef6f0b7 in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#50 0x000000000042cd4c in gui_alert_dialog ()
#51 0x000000000042da67 in gui_yes_no_dialog ()
#52 0x000000000046cc1e in settings_init ()
#53 0x000000000045dc1d in main ()




This task depends upon

Closed by  Stefan Husmann (stefanhusmann)
Saturday, 17 October 2009, 17:10 GMT
Reason for closing:  Fixed
Comment by Mike Ressler (mike_r) - Sunday, 22 March 2009, 14:29 GMT
  • Field changed: Percent Complete (100% → 0%)
Does not work for me. Segfaults under Xfce and Openbox on both 32-bit and 64-bit Arch boxes. Seems to have something to do with reading png files with gdk_pixbuf.

Mike
Comment by Stefan Husmann (stefanhusmann) - Sunday, 24 May 2009, 00:46 GMT
filed upstream, no solution yet.
Comment by Richard McPheeters (tankmcp) - Tuesday, 02 June 2009, 18:08 GMT
Openbox, arch64, still segfaults as normal user, but not if run as root.
Upstream apparently thinks its arch and closed the bug report.
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 18 June 2009, 14:52 GMT
Try this workaround to run with less efficient malloc checking [#1] al least this solves similar issue with bad apps [#2]

MALLOC_CHECK_=0 xiphos

[#1] http://www.gnu.org/s/libc/manual/html_node/Heap-Consistency-Checking.html
[#2] http://bbs.archlinux.org/viewtopic.php?id=73421
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 05 August 2009, 14:19 GMT
people any status on this in these +2 months? Anybody was try with the above workaround?
Comment by Dan Griffiths (Ghost1227) - Friday, 14 August 2009, 04:45 GMT
I tried it, it doesn't work
Comment by Richard McPheeters (tankmcp) - Tuesday, 22 September 2009, 11:18 GMT
I can get Xiphos working with certain icon sets (hicolor, High contrast) under openbox (likely GNOME) & x86_64. Seems to be looking for missing cancel icon in most gnome icon sets and segfaults when not present.
Comment by Stefan Husmann (stefanhusmann) - Tuesday, 22 September 2009, 18:40 GMT
Interesting. Can you give examples which icon-sets work and which do not?
Comment by Richard McPheeters (tankmcp) - Tuesday, 22 September 2009, 19:18 GMT
Working: hicolor, oxygen. I believe it also worked when I used High Contrast from gnome, but I could not retest today.

Not working: gnome, gnome-alternative, Tango, Human

All using OpenBox & Arch x86_64 stock kernel. Set icon theme in ~/.gtkrc-2.0.mine
gtk-icon-theme-name="hicolor" #or other theme name.

also works if .gtkrc-2.0.mine line is set as follows:
gtk-icon-theme-name=""

BTW, thank you for your work on this program. I use it every week for work.

Comment by Richard McPheeters (tankmcp) - Wednesday, 23 September 2009, 13:28 GMT
Tried the above workaround.
MALLOC_CHECK_=0 xiphos
It does not work.

Comment by Richard McPheeters (tankmcp) - Saturday, 03 October 2009, 15:56 GMT
Seems everything with
Inherits=gnome
in the index.theme crashes with segmentation fault, even svg icon sets
Comment by Richard McPheeters (tankmcp) - Saturday, 10 October 2009, 14:26 GMT
I installed gnome-icon-theme 2.28.0-1 from [gnome-unstable] and everything works fine in i686 and x86-64 in Openbox.
Does that mean the problem was with our gnome-icon-theme package?
Comment by Stefan Husmann (stefanhusmann) - Thursday, 15 October 2009, 05:40 GMT
xiphos 3.1.1 should, according to the upstream changelog, solve this "archlinux problem". Can someone confirm?
Comment by Jeroen Maris (jealma) - Thursday, 15 October 2009, 12:57 GMT
I just installed xiphos 3.1.1-1, using xmonad and Tango icon theme. Segfaults immediately. When using hicolor-icon-theme, xiphos starts normally. But I want to use Tango...
Comment by Richard McPheeters (tankmcp) - Thursday, 15 October 2009, 15:52 GMT
I just upgraded to xiphos 3.1.1-1 in x86_64 and Openbox. No segfaults on the 12 or so icon themes I have installed. xiphos runs properly. Most of the problems (but not all) went away when I installed gnome-icon-theme 2.28.0-1 last week. Tango now works, too. Hope this helps. Will try i686 and Gnome later today.

Loading...