Tried gcc 3.4.2 with the same result:
2005-03-01 06:30:16 Task hobbitd terminated by signal 6 2005-03-01 06:30:16 Loading hostnames 2005-03-01 06:30:16 Loading saved state 2005-03-01 06:30:16 Cannot access checkpoint file /opt/hobbit/server/tmp/hobbitd.chk for restore 2005-03-01 06:30:16 Setting up network listener on 0.0.0.0:1984 2005-03-01 06:30:16 Setting up signal handlers 2005-03-01 06:30:16 Setting up hobbitd channels 2005-03-01 06:30:16 Setting up status channel (id=1) 2005-03-01 06:30:16 calling ftok('/opt/hobbit/server',1) 2005-03-01 06:30:16 ftok() returns: 0x10078B4 2005-03-01 06:30:16 shmget() returns: 0xA8C 2005-03-01 06:30:16 Setting up stachg channel (id=2) 2005-03-01 06:30:16 calling ftok('/opt/hobbit/server',2) 2005-03-01 06:30:16 ftok() returns: 0x20078B4 2005-03-01 06:30:16 shmget() returns: 0xA8D 2005-03-01 06:30:16 Setting up page channel (id=3) 2005-03-01 06:30:16 calling ftok('/opt/hobbit/server',3) 2005-03-01 06:30:16 ftok() returns: 0x30078B4 2005-03-01 06:30:16 shmget() returns: 0xA8E 2005-03-01 06:30:16 Setting up data channel (id=4) 2005-03-01 06:30:16 calling ftok('/opt/hobbit/server',4) 2005-03-01 06:30:16 ftok() returns: 0x40078B4 2005-03-01 06:30:16 shmget() returns: 0xA8F 2005-03-01 06:30:16 Setting up notes channel (id=5) 2005-03-01 06:30:16 calling ftok('/opt/hobbit/server',5) 2005-03-01 06:30:16 ftok() returns: 0x50078B4 2005-03-01 06:30:16 shmget() returns: 0xA2C 2005-03-01 06:30:16 Setting up enadis channel (id=6) 2005-03-01 06:30:16 calling ftok('/opt/hobbit/server',6) 2005-03-01 06:30:16 ftok() returns: 0x60078B4 2005-03-01 06:30:16 shmget() returns: 0x10D1 2005-03-01 06:30:16 Setting up logfiles 2005-03-01 06:30:16 Task hobbitd started with PID 3579 2005-03-01 06:30:16 Task bbenadis terminated, status 1 2005-03-01 06:30:21 Task bbhistory started with PID 3605 2005-03-01 06:30:21 Task bbenadis started with PID 3607 2005-03-01 06:30:21 Task bbpage started with PID 3609 2005-03-01 06:30:21 Task larrdstatus started with PID 3611 2005-03-01 06:30:21 Task larrddata started with PID 3613 2005-03-01 06:30:31 Task bbdisplay started with PID 3666 2005-03-01 06:30:31 Task bbretest started with PID 3668
On Mon, 28 Feb 2005 19:39:05 -0800, Brian Lynch <brianlynch at gmail.com> wrote:
Could this be a problem with the version of gcc or other package? Note the version below:
Reading specs from /usr/local/gcc-3.3.1/lib/gcc-lib/sparc-sun-solaris2.8/3.3.1/specs Configured with: ../configure --prefix=/usr/local/gcc-3.3.1 Thread model: posix gcc version 3.3.1
On Mon, 28 Feb 2005 15:13:05 -0800, Brian Lynch <brianlynch at gmail.com> wrote:
Tried the compile with MEMORY_DEBUG and got this stacktrace from the core dump:
bash-2.03$ gdb bin/hobbitd core GNU gdb 6.0 Copyright 2003 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 "sparc-sun-solaris2.8"... Core was generated by `hobbitd --debug --restart=/opt/hobbit/server/tmp/hobbitd.chk --checkpoint-file='. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib/libresolv.so.2...done. Loaded symbols for /usr/lib/libresolv.so.2 Reading symbols from /usr/lib/libsocket.so.1...done. Loaded symbols for /usr/lib/libsocket.so.1 Reading symbols from /usr/lib/libnsl.so.1...done. Loaded symbols for /usr/lib/libnsl.so.1 Reading symbols from /usr/lib/libc.so.1...done. Loaded symbols for /usr/lib/libc.so.1 Reading symbols from /usr/lib/libdl.so.1...done. Loaded symbols for /usr/lib/libdl.so.1 Reading symbols from /usr/lib/libmp.so.2...done. Loaded symbols for /usr/lib/libmp.so.2 Reading symbols from /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1...done. Loaded symbols for /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1 #0 0xff19fc14 in _libc_kill () from /usr/lib/libc.so.1 (gdb) bt #0 0xff19fc14 in _libc_kill () from /usr/lib/libc.so.1 #1 0xff13598c in abort () from /usr/lib/libc.so.1 #2 0x000270b8 in xsprintf (dest=0x2e378 "xsprintf: Bogus destination\n", fmt=0x0) at memory.c:334 #3 0x00013ad4 in posttochannel (channel=0x2e378, channelmarker=0x0, msg=0x0, sender=0x0, hostname=0x3f2e8 "", log=0x0, readymsg=0x0) at hobbitd.c:436 (gdb)
On Tue, 1 Mar 2005 00:03:57 +0100, Henrik Stoerner <henrik at hswn.dk> wrote:
Important correction:
On Mon, Feb 28, 2005 at 11:59:18PM +0100, Henrik Stoerner wrote:
Then do a "make allclean; make; make install"
Dont do the "make install", just copy hobbitd/hobbitd over to ~hobbit/server/bin/ and restart it.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk