This is a bug introduced in 'trunk' a few days ago and fixed now. The bug was *never* in the 1.2 branch. Some other people also reported this problem and apparently the problem from them was left-over trunk stuff. Maybe you should make sure you have a pure and clean 1.2 checkout and that all traces of trunk/CS are gone?
Greetings, On 9/5/07, Andrew Craig <[EMAIL PROTECTED]> wrote: > Using CSV1.2 branch and CELV1.2 branch and getting this error at startup. > > Appears to be where it's loading the configuration files for some reason. > Also get the same error in PlaneShift but NOT in walktest. > > System: Gentoo linux. > > $ ./celtst > Assertion failed: *(CookieType*)p == startCookie > Location: libs/csutil/ptmalloc_wrap.cpp:100 > Message: Memory block has wrong cookie (was probably allocated in > another module) > Call stack: > ./celtst(CS::DataBuffer<CS::Memory::AllocatorNewChar<false> > >::~DataBuffer()+0xbc) [0x80de900] > ./celtst(scfImplementation<CS::DataBuffer<CS::Memory::AllocatorNewChar<false> > > >::DecRef()+0xb7) [0x80df929] > ./celtst [0x80b25a1] > ./celtst [0x80f0629] > ./celtst(csConfigFile::Load(char const*, iVFS*, bool, bool)+0x70) [0x80ef67e] > ./celtst [0x80a34c2] > ./celtst [0x807cf40] > ./celtst [0x806fed2] > ./celtst [0x80a1ae5] > ./celtst [0x80a1bf2] > ./celtst [0x80772b9] > /lib/libc.so.6(__libc_start_main+0xb8) [0x2ac51488] > ./celtst(__gxx_personality_v0+0x299) [0x806d641] > > > ------------------------------------------------------------- > Back Trace: > ------------------------------------------------------------- > CS::Debug::AssertMessage(char const*, char const*, int, char const*) > (expr=0x812a100 "*(CookieType*)p == startCookie", > filename=0x812a0c9 "libs/csutil/ptmalloc_wrap.cpp", line=100, > msg=0x812a080 "Memory block has wrong cookie (was probably allocated in > another module)") at libs/csutil/csassert.cpp:75 > #1 0x0807f849 in ptfree(void*) (P=0x2aacc4e0) at > libs/csutil/ptmalloc_wrap.cpp:98 > #2 0x080de900 in ~DataBuffer (this=0x2aacc4e0) at cssysdef.h:761 > #3 0x080df929 in > scfImplementation<CS::DataBuffer<CS::Memory::AllocatorNewChar<false> > > >::DecRef() (this=0x2aacc4e0) > at scf_implementation.h:189 > #4 0x080b25a1 in ~csRef (this=0x7fffea10) at ref.h:204 > #5 0x080f0629 in csConfigFile::LoadNow(char const*, iVFS*, bool) > (this=0x2ad70770, > fName=0x8128c48 "/celconfig/celtest.cfg", vfs=0x2aacc25c, overwrite=true) > at libs/csutil/cfgfile.cpp:804 > #6 0x080ef67e in csConfigFile::Load(char const*, iVFS*, bool, bool) > (this=0x2ad70770, > fName=0x8128c48 "/celconfig/celtest.cfg", vfs=0x2aacc25c, Merge=false, > NewWins=true) at libs/csutil/cfgfile.cpp:486 > #7 0x080a34c2 in csInitializer::SetupConfigManager(iObjectRegistry*, char > const*, char const*) (r=0x2aad3a94, > configName=0x8128c48 "/celconfig/celtest.cfg", AppID=0x815a85c > "CrystalApp.celtst") at libs/cstool/initapp.cpp:317 > #8 0x0807cf40 in celInitializer::SetupConfigManager(iObjectRegistry*, char > const*, char const*) (r=0x2aad3a94, > configName=0x8128c48 "/celconfig/celtest.cfg", AppID=0x0) at > libs/celtool/initapp.cpp:183 > #9 0x0806fed2 in CelTest::OnInitialize(int, char**) (this=0x7fffee10, argc=1, > argv=0x7fffeec4) > at apps/celtest/celtest.cpp:334 > #10 0x080a1ae5 in csApplicationFramework::Initialize(int, char**) (argc=1, > argv=0x7fffeec4) > at libs/cstool/csapplicationframework.cpp:105 > #11 0x080a1bf2 in csApplicationFramework::Main(int, char**) (this=0x7fffee10, > argc=1, argv=0x7fffeec4) > at libs/cstool/csapplicationframework.cpp:122 > #12 0x080772b9 in main (argc=1, argv=0x7fffeec4) at apps/celtest/ctmain.cpp:41 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Crystal-main mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/crystal-main > Unsubscribe: mailto:[EMAIL PROTECTED] > -- Project Manager of Crystal Space (http://www.crystalspace3d.org) and CEL (http://cel.crystalspace3d.org) Support Crystal Space. Donate at https://sourceforge.net/donate/index.php?group_id=649 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
