Segmentation Fault

Bug #60713 reported by Pablo Catalina
8
Affects Status Importance Assigned to Milestone
netstat-nat (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: netstat-nat

The binary of netstat-nat crash when ejecute.

The last version solves the problem.

description: updated
Revision history for this message
Vassilis Pandis (pandisv) wrote :

Can you please be a bit more descriptive? Which version do you have, and which version fixes the problem? Are you on x86? Can you also please try to get a backtrace of the crash (see http://wiki.ubuntu.com/DebuggingProgramCrash for more information on how to do this). Thanks in advance.

Changed in netstat-nat:
importance: Untriaged → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Pablo Catalina (xkill) wrote :

[...]
old_mmap(NULL, 40680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7e20000
old_mmap(0xb7e29000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x8000) = 0xb7e29000
close(4) = 0
munmap(0xb7e2a000, 18279) = 0
open("/etc/protocols", O_RDONLY) = 4
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=2478, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e00000
read(4, "# Internet (IP) protocols\n#\n# Up"..., 131072) = 2478
close(4) = 0
munmap(0xb7e00000, 131072) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

If the nat table is empty the program crash becouse it try to map into mem nothing. It's a know bug, and it is solved in the last version as the autor of nestat-nat said in the changelog:

Changelog:
--------------------------------------------------------------------------------
version: 1.4.7
- fix for read-in (ip_conntrack), previous versions could sometimes hang or
  segfault on some systems.
- fix for displaying dnat over snat connections.
- changed my email to <email address hidden> and changed homepage url

Changed in netstat-nat:
status: Needs Info → Confirmed
Revision history for this message
jcfp (jcfp) wrote :

Still exists in feisty (with netstat-nat 1.4.5-2)

Revision history for this message
Oibaf (oibaf) wrote :

This bug should be fixed in 1.4.7 and Ubuntu 8.04 ships 1.4.8.

Changed in netstat-nat:
status: Confirmed → Fix Released
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.