Bug 474894 - gscan2pdf crashes with segmentation fault.
Summary: gscan2pdf crashes with segmentation fault.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gscan2pdf
Version: 10
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Bernard Johnson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 482882
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-05 20:18 UTC by Luis Felipe Marzagao
Modified: 2009-02-25 21:58 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-25 21:58:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Luis Felipe Marzagao 2008-12-05 20:18:48 UTC
Description of problem:

gscan2pdf crashes with segmentation fault.


Version-Release number of selected component (if applicable):

gscan2pdf-0.9.26-1.fc10.noarch


How reproducible:

Always


Steps to Reproduce:
1. Run gscan2pdf

  
Actual results:

[aps@localhost ~]$ gscan2pdf 
Constant subroutine main::LC_CTYPE redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_CTYPE () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_NUMERIC redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_NUMERIC () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_TIME redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_TIME () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_COLLATE redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_COLLATE () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_MONETARY redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_MONETARY () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_MESSAGES redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_MESSAGES () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_ALL redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_ALL () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Warning: Unrecognized image file format at /usr/bin/gscan2pdf line 1422.

`' is not of type Gtk2::Gdk::Pixbuf at /usr/lib/perl5/vendor_perl/5.10.0/Gtk2/Ex/Simple/TiedCommon.pm line 65.
Segmentation fault


Expected results:

The app should open.

Comment 1 Bernard Johnson 2008-12-07 06:41:13 UTC
I'm not able to reproduce this.  Can you try to look in .gscan2pdf and see what is listed as "session =" and move that file out of the way and try again?

Comment 2 Luis Felipe Marzagao 2008-12-08 15:56:32 UTC
Ok, I have:

session = /tmp/PqBV6HId2N

Then I renamed the file and the program has started, although I got these messages (i think it's ok now, right?!):

[aps@localhost ~]$ gscan2pdf 
Constant subroutine main::LC_CTYPE redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_CTYPE () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_NUMERIC redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_NUMERIC () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_TIME redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_TIME () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_COLLATE redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_COLLATE () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_MONETARY redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_MONETARY () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_MESSAGES redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_MESSAGES () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Constant subroutine main::LC_ALL redefined at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118
Prototype mismatch: sub main::LC_ALL () vs none at /usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 118

Thanks

Comment 3 Bernard Johnson 2008-12-08 16:10:17 UTC
Yes, those messages are harmless and part of a perl bug.

It seems that something in your session file is corrupt.

If there should be nothing (scanned images) in your session file that is private, attach it to the bug and I'll address it with the author of the program.  If you think you might have private information in there, you can send me a copy by email and I'll take it up with the author.

If you think it's too private to share, then we probably can't do much past here :)

Comment 4 Bernard Johnson 2009-01-28 17:17:18 UTC
A similar problem is fixed in 0.9.27.  I'll be preparing an update soon.

Comment 5 Fedora Update System 2009-02-07 22:24:11 UTC
gscan2pdf-0.9.27-3.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gscan2pdf'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-1486

Comment 6 Penelope Fudd 2009-02-08 06:21:59 UTC
I just wanted to add that 0.9.26 would refuse to start if the file mentioned in the session= line in ~/.gscanpdf file did not exist (ie: after a reboot).  Removing the session= line fixed the problem.  Looking forward to 0.9.27.

Comment 7 Bernard Johnson 2009-02-25 21:58:15 UTC
(In reply to comment #6)
> I just wanted to add that 0.9.26 would refuse to start if the file mentioned in
> the session= line in ~/.gscanpdf file did not exist (ie: after a reboot). 
> Removing the session= line fixed the problem.  Looking forward to 0.9.27.

If you find that behavior still exists in 0.9.27 please run gscan2pdf from a terminal, open a new bug, and post the output.


Note You need to log in before you can comment on or make changes to this bug.