#191 Fuse rev. 4100 random lockups (sound related)

open
nobody
None
5
2009-11-06
2009-11-06
No

Fuse revision 1400, with sound enabled, randomly locks up on Ubuntu 9.10 (64bit). Disabling sound (--no-sound) solves the problem. Fuse was built with gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8).
The gdb backtrace points to some glitch with sound on timer.c.

Backtrace:

Program received signal SIGINT, Interrupt.
0x00007ffff6797ed1 in nanosleep () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffff6797ed1 in nanosleep () from /lib/libc.so.6
#1 0x00007ffff752d364 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
#2 0x000000000045729a in timer_frame_callback_sound (last_tstates=0,
event=-7856, user_data=<value optimized out>) at timer.c:146
#3 timer_frame (last_tstates=0, event=-7856, user_data=<value optimized out>)
at timer.c:183
#4 0x000000000040f5b3 in event_do_events () at event.c:147
#5 0x000000000041078d in main (argc=<value optimized out>,
argv=<value optimized out>) at fuse.c:179

Discussion

  • Fredrick Meunier

    To be honest this is a bit prehistoric, r1400 is from 2003 after all. What happens on HEAD?

     
  • Gilberto Almeida

    I'm sorry, it was not clear to me that rev. 4100 was not the latest.

    I followed SourceForge's instructions and did a svn pull with

    svn co https://fuse-emulator.svn.sourceforge.net/svnroot/fuse-emulator fuse-emulator

    and it downloaded rev. 4100. I was developing against that. Can you please point out how do I get the latest revision?

     
  • Fredrick Meunier

    Sorry, both your Summary and Details specified revision 1400.

    My experience with Linux sound leads me to be less than confident that the results on any given sound driver are reliable. The SDL sound code is working without any significant issues on several platforms for many years, so the problem is most likely elsewhere in the sound stack in my opinion.

    What sound driver (OSS, ALSA, etc.) are you using? What sound card hardware? Any sound daemons? Out of interest what kernel version? Do you get a different result using non-SDL sound?

     
  • Fredrick Meunier

    • summary: Fuse rev. 1400 random lockups (sound related) --> Fuse rev. 4100 random lockups (sound related)
     
  • Fredrick Meunier

    A comment on WoS says:
    arghhh.. its a problem with the SDL audio ...
    I realized that the same problem happened with the zsnes emulator, luckily I
    just managed to found a solution on a web site (solution for the snes emulator
    but works with fuse too!)
    I installed the libsdl1.2debian-oss (the libsdl1.2debian-alsa was installed by
    default) maybe the libsdl1.2debian-pulseaudio or libsdl1.2debian-ess works ..
    :)

     
  • Michal Seliga

    Michal Seliga - 2010-03-07

    i tried to install libsdl1.2debian-pulseaudio, then libsdl1.2debian-oss, but its all the same, fuse just plays some noise and hangs in ubuntu 9.10 64bit. any idea what may i try to make it work?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks