Freezing in Ubuntu Lucid

Feedback and support for the PC version of Osmos
rawler
Posts: 5
Joined: Mon May 24, 2010 10:52 am
Contact:

Freezing in Ubuntu Lucid

Postby rawler » Mon May 24, 2010 11:03 am

For me, Osmos (Linux version) may randomly (fairly often) freeze, after just a few minutes of playing.

Running on Nvidia GTS8800 with proprietary driver, Ubuntu Lucid under KWin4 (if that makes any difference).

I've tried running nosound, which doesn't help. No output is issued at the crash, I've also GDB:ed which simply shows a single thread (under nosound, otherwise openal also has a thread), with contents;

Code: Select all

(gdb) bt
#0  0xb7844430 in __kernel_vsyscall ()
#1  0xb72ee6d6 in gettimeofday () at ../sysdeps/unix/syscall-template.S:82
#2  0x0809a2d1 in ?? ()
#3  0x0809a307 in ?? ()
#4  0x0808196f in ?? ()
#5  0xb727bbd6 in __libc_start_main (main=0x8080fbb, argc=2, ubp_av=0xbffe0b94, init=0x809e150, fini=0x809e140, rtld_fini=0xb78530c0 <_dl_fini>, stack_end=0xbffe0b8c)
    at libc-start.c:226
#6  0x0804c211 in ?? ()


Running "finish" a couple of times, the stack is pop:ed as far as 0x0808196f (frame 4), although without debug-info, I won't be able to produce much more info, I'm afraid.

If someone wants to send me the corresponding -dbg from the build, or like me to perform other test, I'd gladly give it a try to nail it down.

User avatar
Meal Worms
Posts: 624
Joined: Wed Apr 22, 2009 12:22 pm
Location: Toronto, Ontario, Canada
Contact:

Re: Freezing in Ubuntu Lucid

Postby Meal Worms » Fri May 28, 2010 9:21 am

Thanks for the post rawler. Looks like there's a known issue in the Linux kernel where frequent gettimeofday system calls can cause a freeze. Sadly I cannot repro the freeze myself, but I hope to have a workaround to roll out for test shortly.

Stay tuned...
Dave

rawler
Posts: 5
Joined: Mon May 24, 2010 10:52 am
Contact:

Re: Freezing in Ubuntu Lucid

Postby rawler » Sun May 30, 2010 2:41 am

Hmm. Could be it, but I actually see the gettimeofday() returning control to Osmos when this occurs? Do you have any upstream references of this kernel issue?

User avatar
Meal Worms
Posts: 624
Joined: Wed Apr 22, 2009 12:22 pm
Location: Toronto, Ontario, Canada
Contact:

Re: Freezing in Ubuntu Lucid

Postby Meal Worms » Mon May 31, 2010 7:40 am

rawler, I've got a new binary that hopefully works around this issue. Can you send me an email at daveburke at hemispheregames dot com referencing this post? Cheers!

Dave

Laeki
Posts: 1
Joined: Mon May 31, 2010 11:07 am

Re: Freezing in Ubuntu Lucid

Postby Laeki » Mon May 31, 2010 11:09 am

I get this issue too, particularly on large impasse levels. May I join the beta-test for the new binary?

rawler
Posts: 5
Joined: Mon May 24, 2010 10:52 am
Contact:

Re: Freezing in Ubuntu Lucid

Postby rawler » Mon May 31, 2010 11:14 am

Dave, you've got mail from ulrik.<something>@<popularmail>.com.

User avatar
Meal Worms
Posts: 624
Joined: Wed Apr 22, 2009 12:22 pm
Location: Toronto, Ontario, Canada
Contact:

Re: Freezing in Ubuntu Lucid

Postby Meal Worms » Mon May 31, 2010 11:58 am

@ rawler : got it,thanks! Stay tuned...
@ Laeki : certainly! Send me a mail and I'll get you hooked up.

Dave

rawler
Posts: 5
Joined: Mon May 24, 2010 10:52 am
Contact:

Re: Freezing in Ubuntu Lucid

Postby rawler » Sun Jun 06, 2010 10:32 am

Sorry for not getting back about this eariler. I've attempted to test it, first by re-playing the original binary, but honestly, I have not been able to reproduce at all this past week.

Thus I'm unsure how much testing the modified beta would be worth, since it may be something else in my environment that changed and stopped triggering the problem? Is it a candidate for release, and you would like some regular beta testing anyways?

Mountain Man
Posts: 4
Joined: Mon May 24, 2010 6:06 pm

Re: Freezing in Ubuntu Lucid

Postby Mountain Man » Sun Jun 06, 2010 6:09 pm

I seem to have had some luck changing the sound engine to ALSA which is soundDevice "1" in my ~/.Osmos/Config.cfg. Played for about 20-minutes and didn't have any problems. This is with the release binary.

User avatar
Meal Worms
Posts: 624
Joined: Wed Apr 22, 2009 12:22 pm
Location: Toronto, Ontario, Canada
Contact:

Re: Freezing in Ubuntu Lucid

Postby Meal Worms » Mon Jun 07, 2010 8:30 am

Glad to hear it Mountain Man, thanks. This isn't a big surprise, because some audio implementations contain frequent gettimeofday/clock_gettime calls that are responsible for this hang.

Dave


Return to “Osmos PC (Win/Mac/Linux)”

Who is online

Users browsing this forum: No registered users and 23 guests