Rockbox General > Rockbox General Discussion

Simulator problems

<< < (4/4)

Mmmm:
Ok then simulator is working very nicely except it wont play ogg files!

--- Code: ---We open the real file 'archos/.rockbox/.playlist_control'
Adding 01. Prelude.ogg
Adding 02. Allemande.ogg
Adding 03. Courante.ogg
Adding 04. Sarabande.ogg
Adding 05. Menuette.ogg
Adding 06. Gigue.ogg
We open the real file 'archos/Bach/Cello Suites ogg class/Cello Suite 1/01. Prelude.ogg'
We open the real file 'archos/.rockbox/codecs/vorbis.codec'
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

--- End code ---
Also tested with mp3 and flac and they are fine... but I get this with ogg every time.

bk:
You can use gdb to diagnose crashes (if you're interested). You'll need a debug build for this (choose (D)evel build, enable (D)ebug and (S)imulator).

$ gdb ./rockboxui
[...]
(gdb) run
[ Do whatever in the sim to cause it to crash ]
Program received signal SIGSEGV
(gdb) backtrace

That will tell you exactly where the fault occurred and the calling stack that led up to it.

When you're done:

(gdb) k
Kill the program being debugged? (y or n) y
(gdb) q
$

Mmmm:
I'll give that a go, ta...
So bk, it plays oggs ok on yours then? the build I'm simulating works ok on the actual player as do the files i'm trying to play.

bk:
Nope, broken here also. Looks like it could be another threading issue since it's crashing on accessing errno.

Mmmm:

--- Code: ---Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1096375216 (LWP 27682)]
_get_next_page (vf=0x41595830, og=0x41595730, boundary=Unhandled dwarf expression opcode 0x93
) at vorbisfile.c:64
64        errno=0;
(gdb) backtrace
#0  _get_next_page (vf=0x41595830, og=0x41595730, boundary=Unhandled dwarf expression opcode 0x93
) at vorbisfile.c:64
#1  0x4179b2a0 in _fetch_headers (vf=0x41595830, vi=0x820dd2c, vc=0x820dd4c,
    serialno=0x41595874, og_ptr=0x0) at vorbisfile.c:247
#2  0x4179d740 in _ov_open1 (f=Variable "f" is not available.
) at vorbisfile.c:704
#3  0x4179d7eb in ov_open_callbacks (f=0x80902a0, vf=0x41595830, initial=0x0,
    ibytes=0, callbacks=
      {read_func = 0x4179a298 <read_handler>, seek_func = 0x4179a2bc <initial_seek_handler>, close_func = 0x4179a34e <close_handler>, tell_func = 0x4179a358 <tell_handler>}) at vorbisfile.c:774
#4  0x4179a538 in codec_start (api=0x80902a0) at vorbis.c:165
#5  0x08075df9 in codec_load_ram (codecptr=0x817aea0 "\177ELF\001\001\001",
    size=289517, ptr2=0x0, bufwrap=0, api=0x80902a0) at codecs.c:272
#6  0x08075ed1 in codec_load_file (
    plugin=0x808c533 "/.rockbox/codecs/vorbis.codec", api=0x80902a0)
    at codecs.c:303
#7  0x08071f90 in codec_thread () at playback.c:1978
#8  0x0808543a in runthread (data=0x8071f15) at thread-sdl.c:50
#9  0x40070dbb in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0
#10 0x4007125d in RunThread () from /usr/lib/libSDL-1.2.so.0
#11 0x400c07f3 in start_thread () from /lib/tls/libpthread.so.0
#12 0x4018462a in clone () from /lib/tls/libc.so.6

--- End code ---
This what you're getting too? Who's the chief simulator person around here?  :D

Navigation

[0] Message Index

[*] Previous page

Go to full version