#491 lxappearance won't start

closed-works-for-me
nobody
5
2012-11-24
2012-05-18
No

When I try to run lxappearance 0.3.0 on NetBSD I receive:

(lxappearance:2712): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Memory fault (core dumped)

(gdb) bt
#0 0x00007f7ff462e681 in g_type_check_instance_cast ()
from /usr/pkg/lib/libgobject-2.0.so.0
#1 0x000000000040a343 in ?? ()
#2 0x0000000000408b51 in ?? ()
#3 0x000000000040621c in ?? ()
#4 0x0000000000405faf in ?? ()
#5 0x00007f7ff7ffa000 in ?? ()
#6 0x0000000000000001 in ?? ()
#7 0x00007f7ffffffe10 in ?? ()
#8 0x0000000000000000 in ?? ()

Sorry not built with debugging symbols. But looks like fault was last at libgobject-2.0.so.0

Running with ktrace I see it checks for various icon themes and then finally fails here:

4920 1 lxappearance NAMI "/home/reed/.local/share/icons/hicolor/index.th
eme"
4920 1 lxappearance RET __stat30 -1 errno 2 No such file or directory
4920 1 lxappearance CALL __stat30(0x7f7ff1679cc0,0x7f7fffffd7a0)
4920 1 lxappearance NAMI "/usr/pkg/share/icons/hicolor/index.theme"
4920 1 lxappearance RET __stat30 0
4920 1 lxappearance CALL gettimeofday(0x7f7fffffd700,0)
4920 1 lxappearance RET gettimeofday 0
4920 1 lxappearance CALL gettimeofday(0x7f7fffffd700,0)
4920 1 lxappearance RET gettimeofday 0
4920 1 lxappearance CALL gettimeofday(0x7f7fffffd700,0)
4920 1 lxappearance RET gettimeofday 0
4920 1 lxappearance CALL gettimeofday(0x7f7fffffd700,0)
4920 1 lxappearance RET gettimeofday 0
4920 1 lxappearance CALL gettimeofday(0x7f7fffffd700,0)
4920 1 lxappearance RET gettimeofday 0
4920 1 lxappearance CALL gettimeofday(0x7f7fffffd700,0)
4920 1 lxappearance RET gettimeofday 0
4920 1 lxappearance CALL gettimeofday(0x7f7fffffd700,0)
4920 1 lxappearance RET gettimeofday 0
4920 1 lxappearance PSIG SIGSEGV SIG_DFL: code=SEGV_MAPERR, addr=0xf1f25
e70, trap=6)
4920 1 lxappearance NAMI "lxappearance.core"

Well I read some postings saying that page size should be zero: http://developer.gnome.org/gtk/unstable/GtkAdjustment.html#GtkAdjustment--page-size

--- src/demo-ui.c.orig 2012-05-17 23:17:33.000000000 -0500
+++ ./src/demo-ui.c 2012-05-17 23:18:01.000000000 -0500
@@ -292,7 +292,7 @@
gtk_widget_show (hbox3);
gtk_box_pack_start (GTK_BOX (vbox7), hbox3, FALSE, TRUE, 0);

- spinbutton1_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
+ spinbutton1_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 0);
spinbutton1 = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton1_adj), 1, 0);
gtk_widget_show (spinbutton1);
gtk_box_pack_start (GTK_BOX (hbox3), spinbutton1, TRUE, TRUE, 0);

But still core dumps but not longer get that error.

Program terminated with signal 11, Segmentation fault.
#0 0x00007f7ff482e681 in g_type_check_instance_cast ()
from /usr/pkg/lib/libgobject-2.0.so.0
(gdb) bt
#0 0x00007f7ff482e681 in g_type_check_instance_cast ()
from /usr/pkg/lib/libgobject-2.0.so.0
#1 0x000000000040a313 in show_demo (wid=4060194416) at demo.c:103
#2 0x0000000000408b21 in main_dlg_init (dlg=0x7f7ff20980a0) at main-dlg.c:546
#3 0x00000000004061ec in main (argc=1, argv=0x7f7fffffdc18) at main.c:80

Discussion

  • wolfpython

    wolfpython - 2012-06-06

    I can reproduce it. NetBSD 6.0 Beta2.

     
  • Jeremy C. Reed

    Jeremy C. Reed - 2012-11-24

    lxappearance-0.5.2 works for me.

     
  • Jeremy C. Reed

    Jeremy C. Reed - 2012-11-24
    • status: open --> closed-works-for-me
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks