* ulogd2 on valgrind
@ 2011-11-23 14:57 marty
2011-11-25 21:47 ` Jan Engelhardt
0 siblings, 1 reply; 2+ messages in thread
From: marty @ 2011-11-23 14:57 UTC (permalink / raw)
To: netfilter-devel
Ulogd2 was compiled from current Git using recent x86 toolchain.
# valgrind --leak-check=yes /usr/sbin/ulogd -d
==22245== Memcheck, a memory error detector
==22245== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==22245== Using Valgrind-3.8.0.SVN and LibVEX; rerun with -h for
copyright info
==22245== Command: /usr/sbin/ulogd -d
==22245==
==22245== Invalid read of size 4
==22245== at 0x804A012: create_stack (ulogd.c:536)
==22245== by 0x804C83D: config_parse_file (conffile.c:198)
==22245== by 0x804B4DC: main (ulogd.c:949)
==22245== Address 0x28 is not stack'd, malloc'd or (recently) free'd
==22245==
==22245==
==22245== Process terminating with default action of signal 11 (SIGSEGV)
==22245== Access not within mapped region at address 0x28
==22245== at 0x804A012: create_stack (ulogd.c:536)
==22245== by 0x804C83D: config_parse_file (conffile.c:198)
==22245== by 0x804B4DC: main (ulogd.c:949)
==22245== If you believe this happened as a result of a stack
==22245== overflow in your program's main thread (unlikely but
==22245== possible), you can try to increase the size of the
==22245== main thread stack using the --main-stacksize= flag.
==22245== The main thread stack size used in this run was 8388608.
==22245==
==22245== HEAP SUMMARY:
==22245== in use at exit: 15,888 bytes in 107 blocks
==22245== total heap usage: 129 allocs, 22 frees, 17,866 bytes allocated
==22245==
==22245== LEAK SUMMARY:
==22245== definitely lost: 0 bytes in 0 blocks
==22245== indirectly lost: 0 bytes in 0 blocks
==22245== possibly lost: 0 bytes in 0 blocks
==22245== still reachable: 15,888 bytes in 107 blocks
==22245== suppressed: 0 bytes in 0 blocks
==22245== Reachable blocks (those to which a pointer was found) are not
shown.
==22245== To see them, rerun with: --leak-check=full --show-reachable=yes
==22245==
==22245== For counts of detected and suppressed errors, rerun with: -v
==22245== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 103 from 11)
Segmentation fault
If additional tests are desired please ask.
Marty B.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ulogd2 on valgrind
2011-11-23 14:57 ulogd2 on valgrind marty
@ 2011-11-25 21:47 ` Jan Engelhardt
0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2011-11-25 21:47 UTC (permalink / raw)
To: marty; +Cc: netfilter-devel
On Wednesday 2011-11-23 15:57, marty wrote:
> Ulogd2 was compiled from current Git using recent x86 toolchain.
>
> # valgrind --leak-check=yes /usr/sbin/ulogd -d
> ==22245== Memcheck, a memory error detector
> ==22245== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
> ==22245== Using Valgrind-3.8.0.SVN and LibVEX; rerun with -h for copyright info
> ==22245== Command: /usr/sbin/ulogd -d
> ==22245==
> ==22245== Invalid read of size 4
> ==22245== at 0x804A012: create_stack (ulogd.c:536)
> ==22245== by 0x804C83D: config_parse_file (conffile.c:198)
> ==22245== by 0x804B4DC: main (ulogd.c:949)
> ==22245== Address 0x28 is not stack'd, malloc'd or (recently) free'd
Can you provide the config file?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-25 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-23 14:57 ulogd2 on valgrind marty
2011-11-25 21:47 ` Jan Engelhardt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.