Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Julien VEHENT <julien@linuxwall.info>
To: netfilter@vger.kernel.org
Subject: libnetfilter conntrack: problem in nfct_callback_register
Date: Thu, 15 Nov 2007 12:35:48 -0500	[thread overview]
Message-ID: <200711151235.52842.julien@linuxwall.info> (raw)

[-- Attachment #1: Type: text/plain, Size: 765 bytes --]

Hi All,

I'm coding with the libnetfilter-conntrack in C and, for some unexpected 
reasons, my program use to crash (could be after a few minutes or a few 
hours) with the following message:

> api.c:137: nfct_callback_register: Assertion `h != ((void *)0)' failed.

AFAIK, "h" is the library handler defined by nfct_open(CONNTRACK, 0) and used 
in nfct_callback_register, nfct_query and nfct_close.

But I have no idea how to debug that....

I'm using the following libs on Debian Lenny:
>libnetfilter-conntrack-dev    0.0.50-1
>libnetfilter-conntrack1       0.0.50-1

I pasted my code here: http://rafb.net/p/nz33XI27.html

This drives me crazy... It's probably just a stupid mistake but I don't see 
it...

Thanks for your help,

Julien

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

             reply	other threads:[~2007-11-15 17:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15 17:35 Julien VEHENT [this message]
2007-11-15 18:11 ` libnetfilter conntrack: problem in nfct_callback_register Eric Leblond
2007-11-15 19:16   ` Julien VEHENT
2007-11-15 19:26     ` Matt Zagrabelny
2007-11-28 10:58     ` Eric Leblond

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200711151235.52842.julien@linuxwall.info \
    --to=julien@linuxwall.info \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox