Rockbox Development > Starting Development and Compiling

Crashing/hanging simulator on amd64

(1/2) > >>

rosco_pc:
HI,

I just compiled a recent SVN version (r15833M-071127) for gigabeat F/X under Ubuntu 7.10/AMD64. As soon as I try to play a file, the simulator either hangs with an Xlib error message (Xlib: unexpected async reply (sequence 0x73)!) or segfaults depending on the mp3 file used.

Did a quick search in the forum/IRC and FS, but did not find anything recent related to simulator problems. Would this be related to 64bit or to Ubuntu? I'll try to build the simulator under i386, but that will take awhile.

LambdaCalculus:
I may be wrong, but it may be 64-bit related. I use Kubuntu 7.04 on a P4-based laptop (x86 as we all know  ;)), and have compiled both normal and sim builds with no problems whatsoever.

Just curious, though: try updating your build environment by running rockboxdev.sh in the /tools folder again.

nls:
I also run sims on 64 bit ubuntu 7.10 and it works reasonably well, you might want to try to rerun configure as I made a fix about a month ago that requires that to take effect. Also a lot of things are more or less broken on 64 bit, I have been trying to fix stuff as i go along but at least the database is broken (AFAIK)

rosco_pc:
Thanks for the suggestions,


--- Quote from: nls on November 27, 2007, 05:33:39 PM ---... you might want to try to rerun configure as I made a fix about a month ago that requires that to take effect.

--- End quote ---

Tried this first as it is easiest, but did not work, same result after rebuilding (to make sure I did a make clean first). I'll run the simulator once through dbg and see what I can find out (not that I'm an expert in this, but...)


--- Quote from: LambdaCalculus379 on November 27, 2007, 10:00:16 AM ---Just curious, though: try updating your build environment by running rockboxdev.sh in the /tools folder again.

--- End quote ---

Have not tried this yet, but I do have a question first:
I thought that the simulator is just that, a simulator, and not an emulator. And rockboxdev.sh only downloads and install a cross compilation environment for your target. Thus it would not be needed to build the simulator, as that runs native.
Am I correct?

[edit]: From the UI Simulator

--- Quote ---(Note: you do not need any target-specific CrossCompiler to build the simulators.)
--- End quote ---

[edit 2]:The problem is most likely related to these ALSA errors:

--- Code: ---ALSA lib confmisc.c:769:(parse_card) cannot find card '��'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default

--- End code ---

I tried changing the sound device to the OSS version, and now the simulator consistenly hangs with the Xlib error. SO it is related to the sound device not being recognised. Any idea's what is the cause?

nls:
you are correct, the sim is built with your native system compiler and needs no crosscompiler (which is built with rockboxdev.sh) definitely seems to be something wrong with your sound setup, or maybe SDL, can't be of much help though as all this just worked for me...

Navigation

[0] Message Index

[#] Next page

Go to full version