Hi

Thanks. I have asked the gdbm package maintainer to look at this problem as it
looks like it is a problem there.

Best regards,

// Ola

On Sat, Jan 26, 2008 at 09:24:29AM -0600, Jason Martens wrote:
> 
> On Sat, 2008-01-26 at 11:04 +0100, Ola Lundqvist wrote:
> > Thanks for the report. The reason for lowering the priority is that the
> > package is usable for other people, obviously as I have not got this report
> > before.
> 
> No problem, that's reasonable.
> 
> > 
> > I would like to know the load on your network and possibly we need to
> > recompile with debugging symbols in the binary.
> 
> What kind of load would you like to know?  How should I measure this?
> 
> > 
> > The gdb trace did unfortunatly not contain the backtrace. When it breaks
> > type bt in the gdb window to get that.
> 
> Oops, you are correct.  Here is a real backtrace.
> 
> capone:~# gdb /usr/sbin/ntop
> GNU gdb 6.4.90-debian
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i486-linux-gnu"...Using host libthread_db library 
> "/lib/tls/i686/cmov/libthread_db.so.1".
> 
> (gdb) set args -L -u ntop -P /var/lib/ntop --skip-version-check -a 
> /var/log/ntop/access.log -i eth2 -p /etc/ntop/protocol.list -O /var/log/ntop
> (gdb) run
> Starting program: /usr/sbin/ntop -L -u ntop -P /var/lib/ntop 
> --skip-version-check -a /var/log/ntop/access.log -i eth2 -p 
> /etc/ntop/protocol.list -O /var/log/ntop
> Failed to read a valid object file image from memory.
> [Thread debugging using libthread_db enabled]
> [New Thread -1237198272 (LWP 29595)]
> Sat Jan 26 08:27:19 2008  NOTE: Interface merge enabled by default
> Sat Jan 26 08:27:19 2008  Initializing gdbm databases
> [New Thread -1243579472 (LWP 29598)]
> [New Thread -1251972176 (LWP 29599)]
> [New Thread -1260364880 (LWP 29600)]
> [New Thread -1268757584 (LWP 29601)]
> [New Thread -1277154384 (LWP 29602)]
> [New Thread -1287246928 (LWP 29603)]
> [New Thread -1295905872 (LWP 29604)]
> [New Thread -1304298576 (LWP 29605)]
> [New Thread -1312691280 (LWP 29606)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1268757584 (LWP 29601)]
> get_elem (size=<value optimized out>, av_table=<value optimized out>, 
>     av_count=0x88af0b8) at falloc.c:349
> 349         av_table[index] = av_table[index+1];
> (gdb) bt
> #0  get_elem (size=<value optimized out>, av_table=<value optimized out>, 
>     av_count=0x88af0b8) at falloc.c:349
> #1  0xb656ea29 in _gdbm_alloc (dbf=0x80cea70, num_bytes=83) at falloc.c:70
> #2  0xb656ce6f in gdbm_store (dbf=0x80cea70, key=
>       {dptr = 0xb46042e8 "3668890921", dsize = 11}, content=
>       {dptr = 0xb4604314 "218-174-213-41.dynamic.hinet.net", dsize = 72}, 
>     flags=1) at gdbmstore.c:124
> #3  0xb6920a01 in ntop_gdbm_store (g=0x80cea70, d=
>       {dptr = 0xb46042e8 "3668890921", dsize = 11}, v=
>       {dptr = 0xb4604314 "218-174-213-41.dynamic.hinet.net", dsize = 72}, 
> r=1, 
>     theFile=0xb6958710 "address.c", theLine=488) at leaks.c:830
> #4  0xb690d35b in resolveAddress (hostAddr=0xb460442c, keepAddressNumeric=0)
>     at address.c:488
> #5  0xb690d7eb in dequeueAddress (_i=0x0) at address.c:647
> #6  0xb650f240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
> #7  0xb67d43de in clone () from /lib/tls/i686/cmov/libc.so.6
> (gdb) 
> 
> 
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                     654 65 KARLSTAD          |
|  http://opalsys.net/                 +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to