Description of problem: After upgrading xsane to 0.95 I'm unable to start it any more. Version-Release number of selected component (if applicable): 0.95-1 How reproducible: 100% Steps to Reproduce: 1. Start xsane 2. I get a requester with license stuff 3. xsane segfaults Additional info: Backtrace follows: (gdb) run Starting program: /usr/bin/xsane Program received signal SIGSEGV, Segmentation fault. 0x0806a532 in preview_create_preset_area_menu (p=0x82124e0, selection=0) at xsane-preview.c:4104 4104 preset_area_item = gtk_menu_item_new_with_label(preferences.preset_area[i]->name); (gdb) bt #0 0x0806a532 in preview_create_preset_area_menu (p=0x82124e0, selection=0) at xsane-preview.c:4104 #1 0x080737eb in preview_new () at xsane-preview.c:4436 #2 0x080b4c49 in xsane_device_dialog () at xsane.c:7839 #3 0x080b6e67 in xsane_interface (argc=1, argv=0xbffff944) at xsane.c:8492 #4 0x080b80a4 in main (argc=0, argv=0xbffff944) at xsane.c:8721
Confirmed.
Everything nicely starts and scans if one will rename an existing ~/.sane. I did not try which of files in this directory is really a culprit (they were two in ~/.sane/xsane and now I have three). The reaction is indeed somewhat extreme. :-) 'strace' ends up with --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ This detail that it started to ask me again about accepting a license was a giveaway.
Confirming Michals workaround. Removing ~/.sane/xsane/xsane.rc made xsane work again (though of course all my settings were gone).
It will ask about the license *anyway* when you upgrade versions. I think this is due to some settings moving into a different file. I need to talk to Oliver Rauch about it.
Fixed in 0.95-2.