Thats indeed something other than the reload problem we fixed recently. You have that same funny string pointer in this backtrace, too: > #10 0x0000000047af308a in PFilePath::operator=(PString const&) (this=0x43ce9108, str=@0x6) at osutil.inl:599 Antoine Jacoutot wrote: > On Thu, 6 Mar 2008, Jan Willamowius wrote: > > I've recently fixed a bug in reload since the PWLib allocation > > mechanism changed. I think thats what happening in your crash. > > > > I would suggest you try the 2.2.7 snapshot and let us know if it > > fixes your problem: > > http://www.gnugk.org/pre-2.2.7.html > > Hey :-) > > Thanks for the fast answer... unfortunately it does not fix the > problem... > By the way, I have another (old) issue with gnugk under OpenBSD which > I'll mention in a new thread. > > > (gdb) run -t -c /etc/gnugk.ini -u _gnugk -o /var/log/gnugk/gnugk.log --pid /var/run/gnugk/gnugk.pid > Starting program: /usr/local/bin/gnugk -t -c /etc/gnugk.ini -u _gnugk -o /var/log/gnugk/gnugk.log --pid /var/run/gnugk/gnugk.pid > OpenH323 Gatekeeper - The GNU Gatekeeper with ID 'GnuGk' started > Gatekeeper(GNU) Version(2.2.7) Ext(pthreads=1,radius=1,mysql=0,pgsql=0,firebird=0,large_fdset=0,crypto/ssl=1) Build(Mar 6 2008, 10:35:41) Sys(OpenBSD amd64 4.3) > > Listen on 192.168.1.39,127.0.0.1 > > This program is free software; you can redistribute it and/or > modify it under the terms of the GNU General Public License > as published by the Free Software Foundation; either version 2 > of the License, or (at your option) any later version. > > > Disable Bandwidth Management > [New process 21123, thread 0x4f843800] > gnugk in free(): error: chunk is already free > [New process 21123, thread 0x49d66000] > > Program received signal SIGABRT, Aborted. > [Switching to process 21123, thread 0x49d66000] > 0x000000004ce41a7a in kill () from /usr/lib/libc.so.43.0 > (gdb) bt > #0 0x000000004ce41a7a in kill () from /usr/lib/libc.so.43.0 > #1 0x000000004ce887f5 in abort () at /usr/src/lib/libc/stdlib/abort.c:76 > #2 0x000000004ce61f50 in wrterror (p=0x4cf90a4a "chunk is already free") at /usr/src/lib/libc/stdlib/malloc.c:495 > #3 0x000000004ce6200a in wrtwarning (p=0x4cf90a4a "chunk is already free") at /usr/src/lib/libc/stdlib/malloc.c:505 > #4 0x000000004ce63cd5 in free_bytes (ptr=0x2) at /usr/src/lib/libc/stdlib/malloc.c:1721 > #5 0x000000004ce63ded in ifree (ptr=0x43452f30) at /usr/src/lib/libc/stdlib/malloc.c:1841 > #6 0x000000004ce63f8f in free (ptr=0x43452f30) at /usr/src/lib/libc/stdlib/malloc.c:1907 > #7 0x0000000047b2b9b3 in PAbstractArray::DestroyContents() (this=0x43ce9108) at ../common/contain.cxx:893 > #8 0x0000000047b2b457 in PContainer::AssignContents(PContainer const&) (this=0x43ce9108, cont=@0x49b44bd0) at ../common/contain.cxx:776 > #9 0x0000000047af7229 in PFilePath::AssignContents(PContainer const&) (this=0x43ce9108, cont=@0x49b44bd0) at array.h:183 > #10 0x0000000047af308a in PFilePath::operator=(PString const&) (this=0x43ce9108, str=@0x6) at osutil.inl:599 > #11 0x0000000047af5c52 in PFile::SetFilePath(PString const&) (this=0x43ce9000, newName=@0x9984e0) at osutil.cxx:862 > #12 0x0000000047af0e68 in PFile::Open(PFilePath const&, PFile::OpenMode, int) (this=0x43ce9000, name=@0x9984e0, mode=WriteOnly, opts=0) > at pchannel.cxx:1068 > #13 0x0000000047af3a68 in PTextFile (this=0x43ce9000, name=@0x9984e0, mode=WriteOnly, opts=0) at osutil.inl:662 > #14 0x00000000004e669d in Gatekeeper::ReopenLogFile() () at gk.cxx:903 > #15 0x00000000004e293e in ReloadHandler() () at gk.cxx:131 > #16 0x00000000004478ab in StatusClient::ExecCommand(PString) (this=0x4bd64800, cmd= > {<PCharArray> = {<PBaseArray<char>> = {<PAbstractArray> = {<PContainer> = {<PObject> = {_vptr$PObject = 0x9952c0}, reference = 0x43452f10}, elementSize = 1, theArray = 0x43452750 "reload", allocatedDynamically = 1}, <No data fields>}, <No data fields>}, <No data fields>}) at GkStatus.cxx:1262 > #17 0x000000000044b382 in SimpleClassJobA<StatusClient, PString>::Run() (this=0x5063d880) at job.h:242 > #18 0x000000000041f520 in Worker::Main() (this=0x4bd64c00) at job.cxx:182 > #19 0x0000000047b025f9 in PThread::PX_ThreadStart(void*) (arg=0x5283) at tlibthrd.cxx:1361 > #20 0x000000004c9e06cd in _thread_start () at /usr/src/lib/libpthread/uthread/uthread_create.c:244 > #21 0x000000000000001f in ?? () > Cannot access memory at address 0x49b45008 -- Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/