Re: [Bug 459920] Re: Crash at startup
2010/11/20 Aviv <459...@bugs.launchpad.net>: > Firewall configuration as suggested by 1guess on 2010-10-05 did not help > me. > > #...@###-desktop:~$ gscan2pdf --debug > (12556): Couldn't connect to query server: IO::Socket::INET: connect: > Connection refused at /usr/lib/perl5/forks.pm line 3620 > threads::_croak('Couldn\'t connect to query server: IO::Socket::INET: > connect:...') called at /usr/lib/perl5/forks.pm line 2128 gscan2pdf does not depend directly on IO::Socket::INET, so this is not a bug in gscan2pdf. However, assuming that this is a problem with forks, try swapping forks for threads, as per this patch[1] [1] http://patch-tracker.debian.org/patch/series/dl/gscan2pdf/0.9.31-2 /replace-forks-with-threads -- Crash at startup https://bugs.launchpad.net/bugs/459920 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 459920] Re: Crash at startup
Firewall configuration as suggested by 1guess on 2010-10-05 did not help me. #...@###-desktop:~$ gscan2pdf --debug (12556): Couldn't connect to query server: IO::Socket::INET: connect: Connection refused at /usr/lib/perl5/forks.pm line 3620 threads::_croak('Couldn\'t connect to query server: IO::Socket::INET: connect:...') called at /usr/lib/perl5/forks.pm line 2128 threads::_init_thread('HASH(0x9f9ffe0)') called at /usr/lib/perl5/forks.pm line 1341 threads::_init_main(1) called at /usr/lib/perl5/forks.pm line 1285 threads::_init() called at /usr/lib/perl5/forks.pm line 498 require forks.pm called at /usr/bin/gscan2pdf line 106 main::BEGIN() called at /usr/lib/perl5/forks.pm line 0 eval {...} called at /usr/lib/perl5/forks.pm line 0 Compilation failed in require at /usr/bin/gscan2pdf line 106. BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 106. Occurs when typing gscan2pdf in terminal DistroRelease: Ubuntu 10.04 Perl version: 5.10.1-8ubuntu2 Package: gscan2pdf 0.9.29-1ubuntu1 ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7 Uname: Linux 2.6.32-25-generic i686 Architecture: i386 Date: Mon Nov 15 10:01:56 2010 InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) PackageArchitecture: all ProcEnviron: LANG=en_US.utf8 SHELL=/bin/bash SourcePackage: gscan2pdf -- Crash at startup https://bugs.launchpad.net/bugs/459920 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 459920] Re: Crash at startup
After modifying forks.pm to output the $PORT in the croak at line 2126 and 2131, I could confirm it was not a reserved port. I then realized that my firewall was blocking the connection (127.0.0.1). I disabled the firewall (iptables) and the application ran perfectly without issue. My issue has been resolved. The steps I used to disable my firewall are: #iptables --flush #iptables -X #iptables --policy INPUT ACCEPT #iptables --policy FORWARD DROP #iptables --policy OUTPUT ACCEPT I manually modified my firewall settings and re-enable to permanently resolve this issue. -- Crash at startup https://bugs.launchpad.net/bugs/459920 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 459920] Re: Crash at startup
** Attachment added: "List of packages when gscan2pdf is installed" https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/459920/+attachment/1672973/+files/list_of_pkgs_gscan2pdf_re_installed -- Crash at startup https://bugs.launchpad.net/bugs/459920 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 459920] Re: Crash at startup
** Attachment added: "List of packages when gscan2pdf is un-installed" https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/459920/+attachment/1672972/+files/list_of_pkgs_gscan2pdf_uninstalled -- Crash at startup https://bugs.launchpad.net/bugs/459920 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 459920] Re: Crash at startup
I attempted a basic un-install and re-install and it appears to have had no effect and the list of packages install is the same before un-install and after re-installing. I will attach the list of packages installed when gscan2pdf is installed and also when it is un-installed. -- Crash at startup https://bugs.launchpad.net/bugs/459920 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 459920] Re: Crash at startup
I have the same issue: $ gscan2pdf (2151): Couldn't connect to query server: IO::Socket::INET: connect: Connection timed out at /usr/lib/perl5/forks.pm line 3620 threads::_croak('Couldn\'t connect to query server: IO::Socket::INET: connect:...') called at /usr/lib/perl5/forks.pm line 2128 threads::_init_thread('HASH(0x1969af0)') called at /usr/lib/perl5/forks.pm line 1341 threads::_init_main(1) called at /usr/lib/perl5/forks.pm line 1285 threads::_init() called at /usr/lib/perl5/forks.pm line 498 require forks.pm called at /usr/bin/gscan2pdf line 106 main::BEGIN() called at /usr/lib/perl5/forks.pm line 0 eval {...} called at /usr/lib/perl5/forks.pm line 0 Compilation failed in require at /usr/bin/gscan2pdf line 106. BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 106. I have the latest current stable version (10.04) with updates. $ uname -a Linux 2guess 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux -- Crash at startup https://bugs.launchpad.net/bugs/459920 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 459920] Re: Crash at startup
Marked as invalid, I can't reproduce on an updated karmic. ** Changed in: gscan2pdf (Ubuntu) Status: New => Invalid -- Crash at startup https://bugs.launchpad.net/bugs/459920 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 459920] Re: Crash at startup
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/34329575/Dependencies.txt ** Attachment added: "XsessionErrors.txt" http://launchpadlibrarian.net/34329576/XsessionErrors.txt -- Crash at startup https://bugs.launchpad.net/bugs/459920 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs