[WF-General] Cyphesis segfault in atlasconv.h

Alistair Riddoch alriddoch at googlemail.com
Mon May 11 16:18:33 PDT 2009

2009/5/12 Amey Parulekar <amey.par at gmail.com>:
> Cyphesis is segfaulting with signo = 11.
> gdb output:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb767b6d0 (LWP 20056)]
> Location::readFromMessage (this=0x34, msg=@0xbf835ae8)
>    at /usr/local/include/wfmath-0.3/wfmath/atlasconv.h:128
> 128         array[i] = _asNum(list[i]);
> (gdb) bt
> #0  Location::readFromMessage (this=0x34, msg=@0xbf835ae8)
>    at /usr/local/include/wfmath-0.3/wfmath/atlasconv.h:128
> #1  0x0807dc82 in StorageManager::restoreChildren (this=0xbf835bd4,
> parent=0x821b4f8)
>    at StorageManager.cpp:292
> #2  0x0807e553 in StorageManager::restoreWorld (this=0xbf835bd4) at
> StorageManager.cpp:396
> #3  0x080b7ffe in main (argc=2, argv=0x82df908) at server.cpp:219
> If I run cydb world purge, then the error disappears.
> Possible bug?

Can you file a full bug report on launchpad so we can track this
properly? It looks like it is going to be non-trivial to fix. It looks
like there is malformed data in the database, but the solution is not
simply to check for that, as I also need to track down what might be
storing bad data in there in the first place.

Alistair Riddoch
alriddoch at googlemail.com

More information about the General mailing list