[sane-devel] XSane V 0.78/0.79 GTK problem

Joseph R. + Martina Eoff j-m.eoff@t-online.de
Tue, 25 Sep 2001 22:46:52 +0200

I recently upgraded to a 2.4.2 kernel (the best available to me on CD -
I only have a 33.6 modem and didn'T want to download the whole kernel
tree.)  Afterwards, I found that there were some improvements to the
Mustek Sane driver so I installed 1.05 and the newest update from
Henning.  Worked just fine, so I thought I might as well upgrade Xsane
while I was at it.  I was using 0.59.  Version 0.79 seemed to compile
just fine, but gave a seg fault at start up.  I uninstalled it and tried
the 0.78 version since it was listed as the last known stable version. 
Seg fault again.  I reinstalled 0.79, and noticed that it crashed when
trying to display the XSane logo in the preview box.  I removed the file
/usr/local/share/sane/xsane/xsane-startimage, and Xsane started and ran
fine.  I put it back, and then checked for doubled libraries from Sane,
and GTK as suggested in the Problems readme.  I replaced my compiler and
recompiled since I had been using egcs.  Still seg fault.  Now I have
found an indication that I might need to upgrade from gtk 1.2.3 to at
least gtk 1.2.5.  
Before I just go and do this (and possibly break some other gtk
dependent program) I would like to ask if I really need to replace the
GTK library or have I missed something else.  I am tired of shooting in
the dark, and would appreciate a little expert advice.

Joseph Eoff

GDB backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x401648a6 in gtk_signal_real_emit (object=0x8175960, signal_id=33, 
    params=0xbffff0e0) at gtksignal.c:246
(gdb) backtrace
#0  0x401648a6 in gtk_signal_real_emit (object=0x8175960, signal_id=33, 
    params=0xbffff0e0) at gtksignal.c:246
#1  0x40162821 in gtk_signal_emit (object=0x8175960, signal_id=33)
    at gtksignal.c:552
#2  0x4019ae08 in gtk_widget_event (widget=0x8175960, event=0x80f83e8)
    at gtkwidget.c:2790
#3  0x40134a0a in gtk_main_do_event (event=0x80f83e8) at gtkmain.c:769
#4  0x401e4cab in gdk_event_dispatch (source_data=0x0, 
    current_time=0xbffff444, user_data=0x0) at gdkevents.c:2098
#5  0x402144d3 in g_main_dispatch (current_time=0xbffff444) at
#6  0x40214b0b in g_main_iterate (block=1, dispatch=1) at gmain.c:870
#7  0x40214bc4 in g_main_iteration (block=1) at gmain.c:900
#8  0x40134507 in gtk_main_iteration () at gtkmain.c:547
#9  0x8093895 in xsane_device_dialog () at xsane.c:7037
#10 0x8095207 in xsane_interface (argc=1, argv=0xbffff90c) at
#11 0x809587b in main (argc=1, argv=0xbffff90c) at xsane.c:7765