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.
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?
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
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 :)
A similar problem is fixed in 0.9.27. I'll be preparing an update soon.
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
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.
(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.