Bug 250534
Summary: | xsane coredumping trying to access Epson scanner | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jonathan Kamens <jik> | ||||
Component: | gtk2 | Assignee: | Matthias Clasen <mclasen> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | erik-fedora, nphilipp | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-09-17 08:47:56 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jonathan Kamens
2007-08-02 02:56:50 UTC
I've got the same trace, but with a Mustek 600CU scanner : (gdb) bt full #0 0x080c058e in xsane_device_dialog () at xsane.c:5231 vbox = <value optimized out> hbox = <value optimized out> button = <value optimized out> frame = <value optimized out> infobox = <value optimized out> menubar = (GtkWidget *) 0x83e68f8 menubar_item = <value optimized out> current_style = <value optimized out> devname = (const gchar *) 0x83d52d0 "mustek_usb:libusb:003:002" buf = "Mustek:600 CU\000busb:003:002\000\020\001%\b(���O;�\000\020\001%\b\0009%\b", '\0' <repeats 12 times>, "\200\003\222\006\0009%\bt��\000\b9%\b\0009%\bX����\202�\000\0009%\b����\000\000\000\000\000\000\000\000\0009%\bP\000\000\000\0049%\bt��\000\0009%\b\0009%\bx���\b\206�\000\0009%\bP\000\000\000\000\000\000\0010^�\0060^�\006(8$\b\230���\222�\177\006\0009%\bP\000\000\000����0^�\006\0009%\b@&$\b�����\223\221\006\0009%"... windowname = "Geavanceerde opties 600 CU:002\000\000\000\000��\203\000\b\000\000\000\020\000\000\000\v\\�\000t��\000�Q(\b\220~>\b������\203\000��!\b\002\000\000\0002\000\000\000��!\b\020\000\000\000\030\000\000\000����\020\000\000\000��!\b\001\000\000\000\b\000\000\000��!\b\b\000\000\000\020\000\000\000\001\000\000\000\030�\213\000\b9%\b@Y)\b����\f�\200\000\020\000\000\000@Y)\b\000\000\000\000��\177\006\0009%\b(8$\b<�\213\000<�\213\000\0009%\b\0009%\b\000\000\000\0001w\204\000\000\000"... devicetext = "600 CU:002\000'\b(����\r\221\006\200\026'\b\021�X\000��!\b\030\000\000\000�og\000@\201g\000 \000\000\000(����\000Y\000\021�X\0008����g\200\000\000�#\b \000\000\000\000\000\000\000t��\000\001\000\000\000\030\000\000\000x�����d\000�-%\b\002\000\000\200\001\000\000\200BH�\000�-%\b\001\000\000\000\002\000\000\000\001\000\000\200�Q(\b\005\000\000\000\v\\�\000t��\000\000\000\000\000�og\000@\201g\000�-%\b����@\026Y\000@\201g\000�-%\b\005\000\000\000�Q(\b\030����-%\b�Q("... textptr = <value optimized out> xsane_window = (GtkWidget *) 0x8271998 xsane_vbox_main = (GtkWidget *) 0x82714f0 xsane_vbox_standard = <value optimized out> xsane_vbox_advanced = <value optimized out> colormap = (GdkColormap *) 0x823c420 status = <value optimized out> sane_handle = (SANE_Handle) 0x83b3318 It seems this bug is caused by the fact that xsane isn't compatible with the new GTK tooltips API yet. Attached patch works around this problem by removing the tooltip code which causes this crash. It doesn't cause any side effects as far as I've tested it now. Actually upstream should fix this by supporting the GTK 2.12 tooltips API, but this should suffice for now. Created attachment 161141 [details]
Workaround which makes xsane work with GTK 2.12
Before I forget, this also fixes the 2 critical warnings which were mentioned in the original report. Any news on this issue? (In reply to comment #4) > Before I forget, this also fixes the 2 critical warnings which were mentioned in > the original report. These warnings show the real problem AFAICS, the old tooltips API would be derpecated but still there, but if you try to set things on non-existent styles, bad things happen. I don't see this problem with gtk2-2.11.6-9.fc8 installed. I'll update to 2.12.0 and try this one out. Hmm, seems 2.12.0 hasn't even hit Rawhide yet. Which version of gtk2 do you use? You're right, with the latest GTK (2.11.6-9) the problem doesn't exist anymore. I guess it's because of this change in GTK: * Wed Aug 08 2007 Matthias Clasen <mclasen> - 2.11.6-6 - Improve tooltip compatibility to make acroread work again I'm going to investigate whether this change is really responsible for fixing this bug. Same with gtk2-2.12.0-1.fc8 fetched directly from koji. GTK 2.11.6-6 indeed fixes this problem. I've tried pulling both 2.11.6-5 and 2.11.6-6 from koji and with 2.11.6-5 xsane crashes at startup while with 2.11.6-6 xsane doesn't crash. This bug can be closed as it is solved now in the GTK package |