gscan2pdf crashed with SIGSEGV in clamp_value()

Bug #1165713 reported by Dirk Lehmann
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gscan2pdf (Ubuntu)
Expired
Medium
Unassigned
sane-backends (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I have changed the options for scanning and then crashed gscan2pdf complete.

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: gscan2pdf 1.0.4-5
ProcVersionSignature: Ubuntu 3.8.0-16.26-generic 3.8.5
Uname: Linux 3.8.0-16-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Sun Apr 7 12:23:16 2013
ExecutablePath: /usr/bin/gscan2pdf
InstallationDate: Installed on 2011-07-08 (639 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
InterpreterPath: /usr/bin/perl
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/perl /usr/bin/gscan2pdf
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f45c3e96bf3: mov (%r11,%rsi,4),%r8d
 PC (0x7f45c3e96bf3) ok
 source "(%r11,%rsi,4)" (0x7f45e254e000) in non-readable VMA region: 0x7f45e254e000-0x7f45e254f000 ---p None
 destination "%r8d" ok
 Stack memory exhausted (SP below stack segment)
SegvReason: reading VMA None
Signal: 11
SourcePackage: gscan2pdf
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1
 sane_pixma_control_option () from /usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1
 XS_Sane__Device_set_option () from /usr/lib/perl5/auto/Sane/Sane.so
 ?? ()
 ?? ()
Title: gscan2pdf crashed with SIGSEGV in sane_pixma_control_option()
UpgradeStatus: Upgraded to raring on 2013-04-06 (0 days ago)
UserGroups: adm admin audio cdrom dialout lpadmin netdev plugdev sambashare

Revision history for this message
Dirk Lehmann (dlehmann69) wrote :
information type: Private → Public
Revision history for this message
Jeffrey Ratcliffe (jeffreyratcliffe) wrote :

I appreciate that gscan2pdf crashed, but the stacktrace shows it was taken down by the sane-backend:

libsane-pixma.so.1

So I am reassigning this.

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 clamp_value (ss=ss@entry=0x7f45d00675f0, n=n@entry=8, v=v@entry=0x7f45e254ca9c, info=info@entry=0x7f45e254ca1c) at pixma.c:309
 control_option (info=0x7f45e254ca0c, v=0x7f45e254ca9c, a=SANE_ACTION_SET_VALUE, n=8, ss=0x7f45d00675f0) at pixma.c:613
 sane_pixma_control_option (h=<optimized out>, n=8, a=SANE_ACTION_SET_VALUE, v=0x7f45e254ca9c, i=<optimized out>) at pixma.c:1419
 XS_Sane__Device_set_option (my_perl=<optimized out>, cv=<optimized out>) at Sane.xs:223
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gscan2pdf (Ubuntu):
importance: Undecided → Medium
summary: - gscan2pdf crashed with SIGSEGV in sane_pixma_control_option()
+ gscan2pdf crashed with SIGSEGV in clamp_value()
tags: removed: need-amd64-retrace
Revision history for this message
Jeffrey Ratcliffe (jeffreyratcliffe) wrote :

Evidently, the crash occurs when setting a particular option on the scan dialog window.

If you start gscan2pdf from the command line with the --log=log option, then in Edit/Preferences, switch to the scanimage frontend, you will be able to set the same option on the scan dialog window - but I assume that scanimage will crash when you try to scan.

The log file created by gscan2pdf will show the scanimage call that crashed, and the SANE people might be more helpful with a stacktrace from scanimage, as it is their utility - as well as their pixma backend.

Changed in gscan2pdf (Ubuntu):
status: New → Incomplete
Revision history for this message
David Ward (dpward) wrote :

Thank you for reporting this bug to Ubuntu.

Ubuntu 13.04 (raring) reached end-of-life on January 27, 2014.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in.

Changed in sane-backends (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sane-backends (Ubuntu) because there has been no activity for 60 days.]

Changed in sane-backends (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gscan2pdf (Ubuntu) because there has been no activity for 60 days.]

Changed in gscan2pdf (Ubuntu):
status: Incomplete → Expired
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.