ResidualVM logo Forum Index - ResidualVM website - Contact us - Rules Login    Register     Search curved edge
It is currently Tue Feb 18, 2020 3:33 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Wed Aug 20, 2014 2:34 pm 
Offline

Joined: Tue Aug 19, 2014 2:54 pm
Posts: 4
Hi everyone,
I compiled residualvm 0.1.1 on my ARM linux laptop. But it crashes on the opening splash screen: it shows Manny riding the bike, and then freezes. The console shows the following:
Code:
WARNING: Font treb13bs.laf, char 0xb8 exceeds font height by 1, increasing font height!
WARNING: Lua_V1::SetGamma, implement opcode, level: 0!
WARNING: !!!! Trying to call MakeSectorActive without a scene!
WARNING: !!!! Trying to call MakeSectorActive without a scene!
WARNING: !!!! Trying to call MakeSectorActive without a scene!
WARNING: !!!! Trying to call MakeSectorActive without a scene!
WARNING: !!!! Trying to call MakeSectorActive without a scene!
<BR>
<BR>
<CENTER>(Introduction)</CENTER>
<BR>
<BR>
Illegal instruction


Then, I downloaded the github version 0.2.0git0bd0bf6-dirty and compiled it. Again, I get nearly the same output and it crashes. Except, the 'Illegal Instruction' does not show up on the console.

Can anyone help?


Top
 Profile  
 
PostPosted: Wed Aug 20, 2014 3:00 pm 
Offline
ResidualVM Developer

Joined: Thu Feb 28, 2013 5:48 pm
Posts: 207
Can you run the program under gdb and provide a backtrace?
Also, did the game data validation run successfully?


Top
 Profile  
 
PostPosted: Wed Aug 20, 2014 3:36 pm 
Offline

Joined: Tue Aug 19, 2014 2:54 pm
Posts: 4
The md5 check fail for two files:
    * vox0001.lab
    * year1mus.lab

Otherwise it seems to be an audio issue.
gdb log in version 0.1.1:
Code:
Starting program: /home/arjun/packages-local/residualvm-0.1.1/residualvm
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x764aa450 (LWP 4421)]
[New Thread 0x7593c450 (LWP 4423)]

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7593c450 (LWP 4423)]
0x02189810 in ?? ()
#0  0x02189810 in ?? ()
Cannot access memory at address 0x3e8
#1  0x0013516c in Audio::CopyRateConverter<true, true>::~CopyRateConverter (
    this=0x5622, __in_chrg=<optimized out>) at audio/rate_arm.cpp:389
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

gdb log for 0.2.0
Code:
Starting program: /home/arjun/packages-local/residualvm/residualvm
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x761df450 (LWP 4476)]
[New Thread 0x759df450 (LWP 4477)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x761df450 (LWP 4476)]
0x00000000 in ?? ()
#0  0x00000000 in ?? ()
#1  0x003179d4 in Audio::AACDecoder::AACDecoder (this=0x40d9990, extraData=
    0x3fa0fc0, disposeExtraData=4782216) at audio/decoders/aac.cpp:79
#2  0x00000758 in ?? ()
#3  0x00000758 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)


Top
 Profile  
 
PostPosted: Wed Aug 20, 2014 3:46 pm 
Offline
ResidualVM Developer

Joined: Thu Feb 28, 2013 5:48 pm
Posts: 207
This is very probably a case of bad data, then.
Try copying the files again from the CD.


Top
 Profile  
 
PostPosted: Wed Aug 20, 2014 4:27 pm 
Offline

Joined: Tue Aug 19, 2014 2:54 pm
Posts: 4
I recopied files from the CD, and now it passes the md5check. I don't know why it failed the first two times, even with
Code:
cp -a

Do you have any idea why lab files copy with errors sometimes?

In any case, the game fails with the same error. Either segmentation fault or Illegal operation. I checked AAC file playback since it seems to want to play AAC files, and it works perfectly in ffmpeg and vlc. Something in the aac.cpp file seems to be failing.


Top
 Profile  
 
PostPosted: Wed Aug 20, 2014 4:53 pm 
Offline
ResidualVM Developer

Joined: Thu Feb 28, 2013 5:48 pm
Posts: 207
Could be dust on the CD or just bad luck.
Is your ARM laptop big-endian, by chance? We cannot test as much on big-endian machines.


Top
 Profile  
 
PostPosted: Wed Aug 20, 2014 7:10 pm 
Offline

Joined: Tue Aug 19, 2014 2:54 pm
Posts: 4
No it's little endian. Here's my configure output if you need it.
Code:
Running ResidualVM configure...
Looking for C++ compiler... g++
Checking for compiler version... 4.6, ok
Building as C++11... no
Checking for whether -Wglobal-constructors work... no
Checking endianness... little
Checking 64-bitness... no
Type with 1 byte... char
Type with 2 bytes... short
Type with 4 bytes... int
Type with 8 bytes... long long
Alignment required... yes
Checking host CPU architecture... ARM
Checking hosttype... linux-gnueabihf
Looking for sdl-config... /usr/bin/sdl-config
Checking if host is POSIX compliant... yes
Checking whether to have a verbose build... no
Checking whether building plugins was requested... no
Checking for Ogg Vorbis... yes
Checking for Tremor... no (Ogg Vorbis/Tremor support is mutually exclusive)
Checking for FLAC >= 1.0.1... yes
Checking for MAD... yes
Checking for ALSA >= 0.9... yes
Checking for libjpeg >= v6b... yes
Checking for PNG >= 1.2.8... yes
Checking for libtheoradec >= 1.0... yes
Checking for libfaad... yes
Checking for SEQ MIDI... no
Checking for sndio... no
Checking for TiMidity... yes
Checking for zlib... yes
Checking for libmpeg2 >= 0.4.0... yes
Checking for Sparkle... no
Checking for libfluidsynth... no
Checking for readline... skipping (text console disabled)
Checking for libunity... no
Looking for freetype-config... /usr/bin/freetype-config
Checking for FreeType2... yes
Checking for OpenGL... yes (shaders disabled)
Building translation support... no
Building taskbar integration support... no
Building Bink video support... yes
Building SafeDisc decryption support... no
Building updates support... no
Backend... sdl (1.2.14), savegame timestamp

Engines (builtin):
    Grim [all games]
    Myst 3


Creating config.h
Creating config.mk
Creating engines/engines.mk
Creating engines/plugins_table.h


Top
 Profile  
 
PostPosted: Wed Aug 20, 2014 8:30 pm 
Offline
ResidualVM Developer

Joined: Thu Feb 28, 2013 5:48 pm
Posts: 207
Hmm. Grab as much information as you can then (console output, git version, gdb backtrace, game version/language), and file a bug report on our GitHub issue tracker.


Top
 Profile  
 
PostPosted: Fri Aug 22, 2014 5:39 pm 
Offline
User avatar

Joined: Tue May 05, 2009 10:57 am
Posts: 96
Location: a dying planet
Botje wrote:
Could be dust on the CD or just bad luck.
Is your ARM laptop big-endian, by chance? We cannot test as much on big-endian machines.

Throw everything you have at me ;-)

BE here


Top
 Profile  
 
PostPosted: Sat Aug 23, 2014 9:41 am 
Offline
ResidualVM Developer

Joined: Thu Feb 28, 2013 5:48 pm
Posts: 207
We found a workaround at https://github.com/residualvm/residualvm/issues/1073, and IRC discussions found the assembly code to be the cause.
Doesn't it crash for your machine? Or do you have sound disabled?


Top
 Profile  
 
PostPosted: Sat Aug 23, 2014 10:56 am 
Offline
User avatar

Joined: Tue May 05, 2009 10:57 am
Posts: 96
Location: a dying planet
Botje wrote:
We found a workaround at https://github.com/residualvm/residualvm/issues/1073, and IRC discussions found the assembly code to be the cause.
Doesn't it crash for your machine? Or do you have sound disabled?

Was this directed at me?

Anyway, yes it starts fine, but later in the game (when Manny finished packing the dwarf into the coffin) the video sequence just stops and never returns to the game...nothing on the console

On my BE machine i don't have the crash on start and i'm running with sound enabled


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Forum design by ScummVM team, icons by raina, adopted for ResidualVM
curved edge   curved edge