The Deimos Project

Lies, damn lies and statistics

Already a part of Deimos? Log in!

amd64 client > seg fault


hi there,

i just downloaded the src package and compiled it successfully on my amd64 Ubuntu 7.10
But everytime when i try to commit, deimos is killed with a "segmentation fault".
To start deimos, i have to delete the (empty) snapshot file in the ~/.deimos-client directory.

any ideas about this problem ??

vyu

Very odd... It crashes when it tries to load an empty snapshots file?

I'll be looking into it, thanks for reporting (and downloading AMD64 Ubuntu ISO.. )

Here's the console-output, when I try to start deimos (without manually deleting the Snapshot-183.xml file):

17:04:06: Client 0.56 starting...
17:04:06: Deleted stale lock file '/home/daniel/Deimos-daniel'.
17:04:06: Autostart enabled
17:04:06: Starting input-thread
17:04:06: Failed to load snapshots-file, no valid hash (file: 5A291F206E18C71C03AB157831A7CC1B, content:
Segmentation fault (core dumped)

i just created some debug output in "Snapshot.cpp" and i found out that the Seg. fault occurs in "void DeimosSnapshots::SaveFile() " when
"f.Write( md5 + sXML );" is executed.

Any Idea about that ?

Could you try the latest code from SVN? In Ubuntu 8.04 AMD64 it now works here.

If you have subversion installed, just hit in the console:
svn checkout http://deimos-stats.svn.sourceforge.net/svnroot/deimos-stats/trunk/client

If you want to directly talk to me, I'm avaible at MSN/Google Talk (dutchmega@gmail.com)

The latest SVN works ... Great. Thank You