fwknopd crashed with SIGSEGV in pthread_getspecific()

Bug #355993 reported by fred
8
Affects Status Importance Assigned to Milestone
fwknop (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: fwknop-server

1) /etc/init.d/fwknop-server can not start or get status.
2) I use fwknopd command directly, it wil crash when i use GPG key to knop.

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/sbin/fwknopd
InterpreterPath: /usr/bin/perl
Package: fwknop-server 1.9.10-1
ProcAttrCurrent: unconfined
ProcCmdline: /usr/bin/perl -w /usr/sbin/fwknopd
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
Signal: 11
SourcePackage: fwknop
StacktraceTop:
 pthread_getspecific ()
 Perl_safesysmalloc ()
 Perl_sv_grow ()
 Perl_sv_setpvn ()
 Perl_pp_regcomp ()
Title: fwknopd crashed with SIGSEGV in pthread_getspecific()
Uname: Linux 2.6.28-11-generic i686
UserGroups: fuse

Revision history for this message
fred (fred-ms3) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:pthread_getspecific ()
Perl_safesysmalloc ()
Perl_sv_grow ()
Perl_sv_setpvn ()
Perl_pp_regcomp ()

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in fwknop (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
thialme (franck-mail) wrote :

Hi,

Please have a look at the following bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508432

libnet-pcap-perl allows the pcap_loop function to be interrupted by signal which causes segfault.

In a first time a fix has been added to fwknop since 1.9.10-2

[quote]
fwknop (1.9.10-2) unstable; urgency=low
   * Added quilt framework along with README.source
   * Added patch to fwknopd in order to bypass #508432.
     Thanks to Martin Ferrari.
[/quote]

By the way, the libnet-pcap-perl module has also been patched to behave the
same way as its previous release.

It has been uploaded in Debian Sid this week.

[quote]
libnet-pcap-perl (0.16-2) unstable; urgency=low
   [ gregor herrmann ]
   * debian/control: Added: ${misc:Depends} to Depends: field.

   [ Franck Joncourt ]
   * Do not allow the pcap loop function to be interrupted by signals.
     It happens this causes segfault. (Closes: #508432)
       - Documented the usage of quilt through README.source.
       - Added Build-dependency on quilt in d.control
       - Updated d.rules
       - Added safe_signal.patch.
     This patch makes Net::Pcap behave the same way as its previous release.
[/quote]

To fix it, upgrade to libnet-pcap-perl 0.16-2 and/or upgrade to fwknop 1.9.10-2

We still do not know why Net::Pcap crashes :(

Regards,

Revision history for this message
thialme (franck-mail) wrote :

Hi,

Any news about this bug on karmic? (I consider it closed in both Debian Sid and testing)

About jaunty, fwknop must be unusable on i386. Is there any chances you upgrade the package?

Regards,

Revision history for this message
dino99 (9d9) wrote :

This version has died long ago; no more supported

Changed in fwknop (Ubuntu):
status: New → Invalid
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.