Think this is it.

(gdb) bt
#0  0xb7fde424 in __kernel_vsyscall ()
#1  0xb7e4180f in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2  0xb7e44cc3 in __GI_abort () at abort.c:90
#3  0xb7e3a707 in __assert_fail_base (fmt=0xb7f7cd54 "%s%s%s:%u: %s%sAssertion 
`%s' failed.\n%n", assertion=assertion@entry=0xb7fcdaed "h", 
    file=file@entry=0xb7fcd970 "libnfnetlink.c", line=line@entry=1566, 
function=function@entry=0xb7fcde6e <__PRETTY_FUNCTION__.5013> "nfnl_query") at 
assert.c:92
#4  0xb7e3a7b7 in __GI___assert_fail (assertion=assertion@entry=0xb7fcdaed "h", 
file=file@entry=0xb7fcd970 "libnfnetlink.c", line=line@entry=1566, 
    function=function@entry=0xb7fcde6e <__PRETTY_FUNCTION__.5013> "nfnl_query") 
at assert.c:101
#5  0xb7fccd0b in nfnl_query (h=0x0, nlh=0xbffff3b0) at libnfnetlink.c:1566
#6  0xb7fd3044 in __build_send_cfg_msg (h=0x80013d40, command=<optimized out>, 
groupnum=<optimized out>, pf=<optimized out>) at libnetfilter_log.c:143
#7  0xb7fd668c in start (upi=upi@entry=0x80010088) at ulogd_inppkt_NFLOG.c:623
#8  0x800041bd in create_stack_start_instances (stack=0x80010070) at ulogd.c:809
#9  create_stack (option=0xbffff50d 
"log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU")
 at ulogd.c:901
#10 0x80005d46 in config_parse_file (section=section@entry=0x800068ca "global", 
kset=kset@entry=0x8000a0c0 <ulogd_kset>) at conffile.c:225
#11 0x8000216c in parse_conffile (section=0x800068ca "global", ce=0x8000a0c0 
<ulogd_kset>) at ulogd.c:971
#12 main (argc=1, argv=0xbffff844) at ulogd.c:1409
(gdb) 






On Friday, 8 November 2013, 19:46, Chris Boot <[email protected]> wrote:
 
On 08/11/13 19:06, Paul Kench wrote:
> (gdb) run
> Starting program: /usr/sbin/ulogd
> warning: Could not load shared library symbols for linux-gate.so.1.
> Do you need "set solib-search-path" or "set sysroot"?
> ulogd: libnfnetlink.c:1566: nfnl_query: Assertion `h' failed.
> 
> Program received signal SIGABRT, Aborted.
> 0xb7fde424 in __kernel_vsyscall ()
> 
> I'm not sure what the first error is about, google suggests a gdb problem.

I wouldn't worry about the first error at all, it shouldn't matter for
this. However, the information above doesn't include a useful strack strace.

Would you mind please installing the following packages:
ulogd2-dbg libc6-dbg libnetfilter-acct1-dbg libnetfilter-conntrack3-dbg
libnetfilter-log1-dbg libnfnetlink0-dbg
(feel free to remove them once you have finished)

Then run ulogd under gdb like this:

# gdb /usr/sbin/ulogd
[...]
(gdb) run
[...]

You should then get the abort and a new gdb prompt:

Program received signal SIGABRT, Aborted.
0xb7fde424 in __kernel_vsyscall ()
(gdb) bt

Please run the bt command as above, and provide its output.

The assertion itself is coming from nfnl_query() in libnfnetlink, but
ulogd2 doesn't directly call that function at all. I'm trying to find
out the call chain to see which library ulogd2 is choking with.

Best regards,
Chris

-- 
Chris Boot
[email protected]
GPG: 1DE8 6AB0 1897 A330 D973  D77C 50DD 5A29 FB09 9999

Reply via email to