Segmentation fault under Debian-sid

Segmentation fault under Debian-sid

Postby nana03435 » 09 Jun 2012, 23:01

Hi, everyone,

I tried to compile and play 0.6.0 in Debian-sid. Everything is good unless after clicking "PLAY NOW". There is Segmentation fault on my console. I think these informations below are useful for helping, and I hope you can help me~ :)

On console:
~/lipsofsuna-0.6.0$ ./lipsofsuna

INFO: Loading client scripts.
INFO: Loading server scripts.
setting spawn point
2012-06-09T17:50:04Z: Client connect from "127.0.0.1".
2012-06-09T17:50:04Z: Client login from "127.0.0.1" using account "guest".
Segmentation fault

And the render.log is at the attachment of this post. In order to keep everything being simple, I have already deleted previous render log. This attachment is only the log of lastest time which I ran.
Attachments
render.log
This is my render.log
(73.03 KiB) Downloaded 329 times
nana03435
 
Posts: 9
Joined: 09 Jun 2012, 22:47

Re: Segmentation fault under Debian-sid

Postby TheAncientGoat » 10 Jun 2012, 04:30

Could you try running it under gdb, and pasting the backtrace (gdb ./lipsofsuna in the dir, then in the gdb prompt type run, when it crashes type backtrace)
User avatar
TheAncientGoat
Community Moderator
 
Posts: 518
Joined: 27 Dec 2009, 19:06

Re: Segmentation fault under Debian-sid

Postby nana03435 » 10 Jun 2012, 15:21

Thank you for your good work.

I tried to use gdb to solve the problem by myself. It seems like an uncompatible problem of OGRE's 1.8.0 upstream source. I used the OGRE upstream source to learn something. After deleting the 1.8.0 version and install debian package, it works.

The details of the problem happened in the Line 1546 of OgreOptimisedUtilSSE.cpp.

for (size_t i = 0; i < numMatrices; ++i)
nana03435
 
Posts: 9
Joined: 09 Jun 2012, 22:47

Re: Segmentation fault under Debian-sid

Postby TheAncientGoat » 11 Jun 2012, 08:45

We've been struggling with this problem for a while now, and still don't realize why it happens.. How did you figure out it is incompatible?
User avatar
TheAncientGoat
Community Moderator
 
Posts: 518
Joined: 27 Dec 2009, 19:06

Re: Segmentation fault under Debian-sid

Postby nana03435 » 16 Jun 2012, 22:55

Oh, I am sorry that actually I don't know much about OGRE and the game. I just tried uninstall 1.8.0 and install OGRE debian package from apt-get, then it works. Unlike the upstream source, which is 1.8.0, the debian package is 1.7.4. So I guess there maybe some differences between 1.7.4 and 1.8.0.

I am sorry that I cannot provide more detail about that, because I am not a skillful programmer in 3D game and C++.
nana03435
 
Posts: 9
Joined: 09 Jun 2012, 22:47

Re: Segmentation fault under Debian-sid

Postby TheAncientGoat » 18 Jun 2012, 05:26

No problem, thanks for the interest! The funny thing is the game still segfaults for me on 1.7.4, not sure if it's something they backported..
User avatar
TheAncientGoat
Community Moderator
 
Posts: 518
Joined: 27 Dec 2009, 19:06

Who is online

Users browsing this forum: No registered users and 1 guest

cron