[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUnet-developers] gnunet-check segfault

From: Glenn McGrath
Subject: Re: [GNUnet-developers] gnunet-check segfault
Date: Tue, 2 Mar 2004 00:23:27 +1100

On Sun, 29 Feb 2004 13:28:04 +0200 (EET)
Igor Wronsky <address@hidden> wrote:

> On Sat, 28 Feb 2004, Glenn McGrath wrote:
> > Anyone else seeing segfaults on gnunet-check ?
> Umm. No. How about a gdb backtrace output, if you can
> reproduce? The strace doesn't tell much.

(gdb) bt
#0  0x400eb535 in vfprintf () from /lib/tls/i686/cmov/

Not much help...

Adding a breakpoint and stepping through until the segfault gives this
last backtrace, the line numbers will be a bit out due to some debugging
i added.

(gdb) bt
#0  checkIndexedFile (name=0x838f6d8 "<my secret indexed content>",
    index=2, sock=0x838f488) at gnunet-check.c:768
#1  0x0804a591 in forEachIndexedFile (method=0x804e5b0
    data=0x838f488) at fileindex.c:263
#2  0x0804e733 in checkIndexedFileList () at gnunet-check.c:812
#3  0x0804f111 in main (argc=41, argv=0x29) at gnunet-check.c:1131

At one point i see

PRINTQ (format=0x30 <Address 0x30 out of bounds>) at gnunet-check.c:61

Which corresponds to

static void PRINTQ(char * format,
                   ...) {
  va_list args;
  if (be_quiet == YES)
  va_start(args, format);
  vfprintf(stdout, format, args);

But its getting past this, i need to test it with dmalloc, which i need
to reinstall, will have a go tommorow.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]