[Bug 910] New: Segmentation Fault

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Mon Mar 24 15:57:39 CET 2014


https://bugzilla.netfilter.org/show_bug.cgi?id=910

           Summary: Segmentation Fault
           Product: conntrack-tools
           Version: unspecified
          Platform: x86_64
        OS/Version: Debian GNU/Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: conntrack-daemon
        AssignedTo: netfilter-buglog at lists.netfilter.org
        ReportedBy: jann at wh-netz.de
   Estimated Hours: 0.0


Created attachment 439
  --> https://bugzilla.netfilter.org/attachment.cgi?id=439
Configuration file for conntrackd

Version-Information:
Connection tracking userspace daemon v1.4.2. Licensed under GPLv2.
(C) 2006-2009 Pablo Neira Ayuso <pablo at netfilter.org>

Error:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000414cdb in ct_build_u8 (b=22, n=0x635240, a=12, ct=0x127fe40) at
build.c:49
49              memcpy(ptr, nfct_get_attr(ct, a), sizeof(uint8_t));

Stack trace:

#0  0x0000000000414cdb in ct_build_u8 (b=22, n=0x635240, a=12, ct=0x127fe40) at
build.c:49
No locals.
#1  build_l4proto_icmp (ct=ct at entry=0x127fe40, n=n at entry=0x635240) at
build.c:150
No locals.
#2  0x0000000000414f97 in ct2msg (ct=0x127fe40, n=n at entry=0x635240) at
build.c:228
        l4proto = 58 ':'
#3  0x000000000040ed4e in cache_ct_build_msg (obj=0x179dd80, type=0) at
cache-ct.c:326
        __net = "\020\000,\000\257\271JY\000\f\000\000dG\026z
\001\a\300\000\b\000\005\000\000\001\230\000\005\000\002:\000\000\000\000\005\000\026\334\000\000\000\000\b\000\006\000\000\000\036\000\b\000\006\000\000\000<\000\b\000\f\212\372H\215\000\b\000\033ftp\000\000\b\000\006\000\000\000\035\000\006\000\017\000\000\000\000w\343H\215\000\b\000\033ftp\000\000\b\000\033ftp",
'\000' <repeats 3984 times>
        __hdr = 0x635240
#4  0x00000000004136df in tx_queue_xmit (n=0x179ddb8, data=<optimized out>) at
sync-ftfw.c:521
        cn = 0x179ddb8
        type = <optimized out>
        net = <optimized out>
#5  0x000000000040a55c in queue_iterate (b=0x658820, data=data at entry=0x0,
iterate=iterate at entry=0x4136b0 <tx_queue_xmit>) at queue.c:179
        i = <optimized out>
        tmp = 0x658840
        n = <optimized out>
#6  0x000000000041302b in ftfw_xmit () at sync-ftfw.c:545
No locals.
#7  0x0000000000411fe5 in tx_queue_cb (data=<optimized out>) at sync-mode.c:356
No locals.
#8  0x000000000040dcf4 in select_main_step (next_alarm=0x7fffffffd290) at
fds.c:126
        ret = <optimized out>
        readfds = {__fds_bits = {8192, 0 <repeats 15 times>}}
        cur = <optimized out>
        tmp = 0x658c20
#9  select_main_loop () at fds.c:147
        next_alarm = {tv_sec = 0, tv_usec = 999556}
        next = 0x7fffffffd290
#10 0x0000000000409094 in main (argc=<optimized out>, argv=<optimized out>) at
main.c:428
        ret = <optimized out>
        i = <optimized out>
        action = -1
        config_file = "/etc/conntrackd/conntrackd.conf", '\000' <repeats 4064
times>
        type = 0
        u = {sysname = "Linux", '\000' <repeats 59 times>, nodename = "nat-1",
'\000' <repeats 59 times>, 
          release = "3.2.0-4-amd64", '\000' <repeats 51 times>, version = "#1
SMP Debian 3.2.54-2", '\000' <repeats 42 times>, 
          machine = "x86_64", '\000' <repeats 58 times>, __domainname =
"(none)", '\000' <repeats 58 times>}
        version = 3
        major = 2
        minor = 0

some more debug information:

(gdb) print ptr
$1 = <optimized out>
(gdb) print nfct_get_attr(ct, a)
$2 = 0
(gdb) print ct
$3 = (const struct nf_conntrack *) 0x127fe40
(gdb) print a
$4 = 12

-- 
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the netfilter-buglog mailing list