gnomescan (flegita) segfaults when logitech quickcam connected

Bug #173575 reported by Taylor Braun-Jones
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnomescan (Ubuntu)
Invalid
Undecided
Étienne BERSAC

Bug Description

Binary package hint: gnomescan

When my Logitech Quickcam is connected flegita crashes with the following output:

(flegita:15938): GnomeScan-DEBUG: gnomescan 0.4.1
(flegita:15938): GnomeScan-DEBUG: sane_init(0x7fffd0490a34, NULL)
(flegita:15938): GnomeScan-DEBUG: SANE Version = 1.0.18
(flegita:15938): GnomeScan-DEBUG: sane_get_devices (0x7fffd0490a18, FALSE)
(flegita:15938): GnomeScan-DEBUG: Creating unknown Scanner Noname Logitech QuickCam Communicate S (v4l:/dev/video0)
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 15
(flegita:15938): GnomeScan-DEBUG: Creating option mode(2) 'Scan mode'
(flegita:15938): GnomeScan-DEBUG: type = gchararray
(flegita:15938): GnomeScan-DEBUG: value = "Gray"
(flegita:15938): GnomeScan-DEBUG: flags = { enumeration }
(flegita:15938): GnomeScan-DEBUG: enum = { Gray Color }
(flegita:15938): GnomeScan-DEBUG: unit = mm
(flegita:15938): GnomeScan-DEBUG: Creating option channel(3) 'Channel'
(flegita:15938): GnomeScan-DEBUG: type = gchararray
(flegita:15938): GnomeScan-DEBUG: value = ""
(flegita:15938): GnomeScan-DEBUG: flags = { inactive enumeration }
(flegita:15938): GnomeScan-DEBUG: enum = { ZC301-2 }
(flegita:15938): GnomeScan-DEBUG: unit = mm
(flegita:15938): GnomeScan-DEBUG: Creating option tl-x(5) 'Top-left x'
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 0
(flegita:15938): GnomeScan-DEBUG: flags = { inactive range }
(flegita:15938): GnomeScan-DEBUG: range = [0.000000 ; 464.000000] step = 1.000000
(flegita:15938): GnomeScan-DEBUG: unit = pixel
(flegita:15938): GnomeScan-DEBUG: Creating option tl-y(6) 'Top-left y'
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 0
(flegita:15938): GnomeScan-DEBUG: flags = { inactive range }
(flegita:15938): GnomeScan-DEBUG: range = [0.000000 ; 336.000000] step = 1.000000
(flegita:15938): GnomeScan-DEBUG: unit = pixel
(flegita:15938): GnomeScan-DEBUG: Creating option br-x(7) 'Bottom-right x'
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 0
(flegita:15938): GnomeScan-DEBUG: flags = { inactive range }
(flegita:15938): GnomeScan-DEBUG: range = [176.000000 ; 640.000000] step = 1.000000
(flegita:15938): GnomeScan-DEBUG: unit = pixel
(flegita:15938): GnomeScan-DEBUG: Creating option br-y(8) 'Bottom-right y'
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 0
(flegita:15938): GnomeScan-DEBUG: flags = { inactive range }
(flegita:15938): GnomeScan-DEBUG: range = [144.000000 ; 480.000000] step = 1.000000
(flegita:15938): GnomeScan-DEBUG: unit = pixel
(flegita:15938): GnomeScan-DEBUG: Creating option brightness(10) 'Brightness'
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 128
(flegita:15938): GnomeScan-DEBUG: flags = { range }
(flegita:15938): GnomeScan-DEBUG: range = [0.000000 ; 255.000000] step = 0.000000
(flegita:15938): GnomeScan-DEBUG: unit = pixel
(flegita:15938): GnomeScan-DEBUG: Creating option hue(11) 'Hue'
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 0
(flegita:15938): GnomeScan-DEBUG: flags = { range }
(flegita:15938): GnomeScan-DEBUG: range = [0.000000 ; 255.000000] step = 0.000000
(flegita:15938): GnomeScan-DEBUG: unit = pixel
(flegita:15938): GnomeScan-DEBUG: Creating option color(12) 'Picture color'
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 0
(flegita:15938): GnomeScan-DEBUG: flags = { range }
(flegita:15938): GnomeScan-DEBUG: range = [0.000000 ; 255.000000] step = 0.000000
(flegita:15938): GnomeScan-DEBUG: unit = pixel
(flegita:15938): GnomeScan-DEBUG: Creating option contrast(13) 'Contrast'
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 128
(flegita:15938): GnomeScan-DEBUG: flags = { range }
(flegita:15938): GnomeScan-DEBUG: range = [0.000000 ; 255.000000] step = 0.000000
(flegita:15938): GnomeScan-DEBUG: unit = pixel
(flegita:15938): GnomeScan-DEBUG: Creating option white-level(14) 'White level'
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 0
(flegita:15938): GnomeScan-DEBUG: flags = { range }
(flegita:15938): GnomeScan-DEBUG: range = [0.000000 ; 255.000000] step = 0.000000
(flegita:15938): GnomeScan-DEBUG: unit = pixel
(flegita:15938): GnomeScan-DEBUG: Emulating option 'source'
(flegita:15938): GnomeScan-DEBUG: Emulating option 'depth'
(flegita:15938): GnomeScan-DEBUG: Creating unknown Scanner Brother DCP-7020 (net:boobbox:brother2:bus3;dev1)
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 12
(flegita:15938): GnomeScan-DEBUG: Creating option mode(2) 'Scan mode'
(flegita:15938): GnomeScan-DEBUG: type = gchararray
(flegita:15938): GnomeScan-DEBUG: value = "24bit Color"
(flegita:15938): GnomeScan-DEBUG: flags = { enumeration }
(flegita:15938): GnomeScan-DEBUG: enum = { Black & White Gray[Error Diffusion] True Gray 24bit Color 24bit Color[Fast] }
(flegita:15938): GnomeScan-DEBUG: unit = mm
(flegita:15938): GnomeScan-DEBUG: Creating option resolution(3) 'Scan resolution'
(flegita:15938): GnomeScan-DEBUG: type = gint
(flegita:15938): GnomeScan-DEBUG: value = 200
(flegita:15938): GnomeScan-DEBUG: flags = { enumeration }
(flegita:15938): GnomeScan-DEBUG: enum = { 100 150 200 300 400 600 1200 2400 4800 9600}
(flegita:15938): GnomeScan-DEBUG: unit = pixel
(flegita:15938): GnomeScan-DEBUG: Creating option source(4) 'Scan source'
(flegita:15938): GnomeScan-DEBUG: type = gchararray
(flegita:15938): GnomeScan-DEBUG: value = "Automatic Document Feeder"
(flegita:15938): GnomeScan-DEBUG: flags = { enumeration }
(flegita:15938): GnomeScan-DEBUG: enum = { FlatBed Automatic Document Feeder }
(flegita:15938): GnomeScan-DEBUG: unit = mm
(flegita:15938): GnomeScan-DEBUG: Creating option brightness(5) 'Brightness'
(flegita:15938): GnomeScan-DEBUG: type = gdouble
(flegita:15938): GnomeScan-DEBUG: value = 0.000000
(flegita:15938): GnomeScan-DEBUG: flags = { inactive range }
(flegita:15938): GnomeScan-DEBUG: range = [-50.000000 ; 50.000000] step = 1.000000
(flegita:15938): GnomeScan-DEBUG: unit = bit
(flegita:15938): GnomeScan-DEBUG: Creating option contrast(6) 'Contrast'
(flegita:15938): GnomeScan-DEBUG: type = gdouble
(flegita:15938): GnomeScan-DEBUG: value = 0.000000
(flegita:15938): GnomeScan-DEBUG: flags = { inactive range }
(flegita:15938): GnomeScan-DEBUG: range = [-50.000000 ; 50.000000] step = 1.000000
(flegita:15938): GnomeScan-DEBUG: unit = bit
(flegita:15938): GnomeScan-DEBUG: Creating option tl-x(8) 'Top-left x'
(flegita:15938): GnomeScan-DEBUG: type = gdouble
(flegita:15938): GnomeScan-DEBUG: value = 0.000000
(flegita:15938): GnomeScan-DEBUG: flags = { range }
(flegita:15938): GnomeScan-DEBUG: range = [0.000000 ; 215.899994] step = 0.099991
(flegita:15938): GnomeScan-DEBUG: unit = bit
(flegita:15938): GnomeScan-DEBUG: Creating option tl-y(9) 'Top-left y'
(flegita:15938): GnomeScan-DEBUG: type = gdouble
(flegita:15938): GnomeScan-DEBUG: value = 0.000000
(flegita:15938): GnomeScan-DEBUG: flags = { range }
(flegita:15938): GnomeScan-DEBUG: range = [0.000000 ; 355.599991] step = 0.099991
(flegita:15938): GnomeScan-DEBUG: unit = bit
(flegita:15938): GnomeScan-DEBUG: Creating option br-x(10) 'Bottom-right x'
(flegita:15938): GnomeScan-DEBUG: type = gdouble
(flegita:15938): GnomeScan-DEBUG: value = 215.899994
(flegita:15938): GnomeScan-DEBUG: flags = { range }
(flegita:15938): GnomeScan-DEBUG: range = [0.000000 ; 215.899994] step = 0.099991
(flegita:15938): GnomeScan-DEBUG: unit = bit
(flegita:15938): GnomeScan-DEBUG: Creating option br-y(11) 'Bottom-right y'
(flegita:15938): GnomeScan-DEBUG: type = gdouble
(flegita:15938): GnomeScan-DEBUG: value = 355.599991
(flegita:15938): GnomeScan-DEBUG: flags = { range }
(flegita:15938): GnomeScan-DEBUG: range = [0.000000 ; 355.599991] step = 0.099991
(flegita:15938): GnomeScan-DEBUG: unit = bit
(flegita:15938): GnomeScan-DEBUG: Emulating option 'depth'
(flegita:15938): GnomeScan-DEBUG: Scanner Logitech QuickCam Communicate S selected
(flegita:15938): GnomeScan-DEBUG: Area set to 0.000000×0.000000+0.000000+0.000000 (mm)

(flegita:15938): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed

(flegita:15938): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
(flegita:15938): GnomeScan-DEBUG: 0 px @ 50.000000 dpi = 0.000000mm
(flegita:15938): GnomeScan-DEBUG: 0 px @ 50.000000 dpi = 0.000000mm
(flegita:15938): GnomeScan-DEBUG: 1260 px @ 50.000000 dpi = 640.079984mm
(flegita:15938): GnomeScan-DEBUG: 945 px @ 50.000000 dpi = 480.059988mm
(flegita:15938): GnomeScan-DEBUG: Area set to 640.079984×480.059988+0.000000+0.000000 (mm)
Segmentation fault (core dumped)

Revision history for this message
Taylor Braun-Jones (nocnokneo) wrote :
Revision history for this message
Étienne BERSAC (bersace) wrote : Re: [Bug 173575] Re: gnomescan (flegita) segfaults when logitech quickcam connected

Hi,

Gnome Scan does not work well yet with webcam and that's not an
important feature for the following month. I'll fix that one time, after
fixing sheetfed scanner handling.

Étienne.
--
E Ultreïa !

Changed in gnomescan:
assignee: nobody → bersace
status: New → Confirmed
Revision history for this message
Stéphane Maniaci (stephh) wrote :

I get the same with a Creative webcam plugged in. Thanks for the bug report, I hadn't noticed the webcam was the problem source. Works perfectly without it.

Revision history for this message
k_myk (k-myk) wrote :

Hi,

Unfortunately internal TV cards generate the same error... It's a little bit harder to "unplug" internal, PCI TV card, than USB Camera. This bug makes gnomescan absolutely useless in my situation... :(

Revision history for this message
Étienne BERSAC (bersace) wrote : Re: [Bug 173575] Re: gnomescan (flegita) segfaults when logitech quickcam connected

Hi,

In /etc/sane.d/dll.conf , comment out the "v4l" line to avoid loading
libsane-v4l.so (thus reducing probe and avoid such crash). Gnome Scan
0.6 ignore such device, 0.7 should support them (not tested).

Regards,
Étienne.
--
E Ultreïa !

Revision history for this message
Étienne BERSAC (bersace) wrote :

Anyway, please upgrade to 0.6 which is maintained. See my PPA for packages

Étienne.

Changed in gnomescan:
status: Confirmed → Invalid
Revision history for this message
k_myk (k-myk) wrote :

Hi,

first of all, your solution worked, and gui started :) Secondly I wasn't awerethat there is a newer version, I will update right away :)

Thank you :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.