#169 SDL VBA 1.7.2 & CVS freeze randomly - stack trace provided

open
nobody
None
7
2005-04-24
2005-04-24
No

VBA freezes randomly and uses 100% cpu after playing
for a while. Here are stack traces of the four
VisualBoyAdvance processes for two separate instances
of the freezing (they are mostly the same):

#0 0xb7e84997 in sem_unlink () from /lib/libpthread.so.0
#1 0xb7e8121b in pthread_mutex_lock () from
/lib/libpthread.so.0
#2 0xb7f33b7f in SDL_mutexP () from
/usr/local/lib/libSDL-1.2.so.0
#3 0x08050ecc in systemWriteDataToSoundBuffer ()
#4 0x080bbeec in soundTick ()
#5 0x080af24e in CPULoop ()
#6 0x0804fdef in main ()

#0 0xb7cd10b1 in poll () from /lib/libc.so.6
#1 0xb7e7ff0f in pthread_detach () from
/lib/libpthread.so.0
#2 0xb7cd9017 in clone () from /lib/libc.so.6

#0 0xb7e82584 in pthread_create () from
/lib/libpthread.so.0
#1 0xb7ce5cb5 in pthread_setcanceltype () from
/lib/libc.so.6
#2 0xb7cd2b4c in select () from /lib/libc.so.6
#3 0x00000000 in ?? ()
#4 0xb7f34895 in SDL_Delay () from
/usr/local/lib/libSDL-1.2.so.0
#5 0xb7f348e7 in RunTimer () from
/usr/local/lib/libSDL-1.2.so.0
#6 0xb7f33665 in SDL_RunThread () from
/usr/local/lib/libSDL-1.2.so.0
#7 0xb7f338bd in RunThread () from
/usr/local/lib/libSDL-1.2.so.0
#8 0xb7e80aea in pthread_detach () from
/lib/libpthread.so.0
#9 0xb7cd9017 in clone () from /lib/libc.so.6

#0 0xb7e8328d in pthread_getconcurrency () from
/lib/libpthread.so.0
#1 0xb7e8209d in longjmp () from /lib/libpthread.so.0
#2 0xb7e7ed88 in pthread_cond_wait () from
/lib/libpthread.so.0
#3 0xb7f3419d in SDL_CondWait () from
/usr/local/lib/libSDL-1.2.so.0
#4 0x08050d86 in soundCallback ()
#5 0xb7ed80c8 in SDL_RunAudio () from
/usr/local/lib/libSDL-1.2.so.0
#6 0xb7f33665 in SDL_RunThread () from
/usr/local/lib/libSDL-1.2.so.0
#7 0xb7f338bd in RunThread () from
/usr/local/lib/libSDL-1.2.so.0
#8 0xb7e80aea in pthread_detach () from
/lib/libpthread.so.0
#9 0xb7cd9017 in clone () from /lib/libc.so.6

-----------

#0 0xb7e84997 in sem_unlink () from /lib/libpthread.so.0
#1 0xb7e8121b in pthread_mutex_lock () from
/lib/libpthread.so.0
#2 0xb7f33b7f in SDL_mutexP () from
/usr/local/lib/libSDL-1.2.so.0
#3 0x08050ecc in systemWriteDataToSoundBuffer ()
#4 0x080bbeec in soundTick ()
#5 0x080af24e in CPULoop ()
#6 0x0804fdef in main ()

#0 0xb7cd10b1 in poll () from /lib/libc.so.6
#1 0xb7e7ff0f in pthread_detach () from
/lib/libpthread.so.0
#2 0xb7cd9017 in clone () from /lib/libc.so.6

#0 0xb7cd2b41 in select () from /lib/libc.so.6
#1 0xb7f3df0c in __JCR_LIST__ () from
/usr/local/lib/libSDL-1.2.so.0
#2 0x082337e8 in ?? ()
#3 0x00000000 in ?? ()
#4 0x00000001 in ?? ()
#5 0xb7f34895 in SDL_Delay () from
/usr/local/lib/libSDL-1.2.so.0
#6 0xb7f348e7 in RunTimer () from
/usr/local/lib/libSDL-1.2.so.0
#7 0xb7f33665 in SDL_RunThread () from
/usr/local/lib/libSDL-1.2.so.0
#8 0xb7f338bd in RunThread () from
/usr/local/lib/libSDL-1.2.so.0
#9 0xb7e80aea in pthread_detach () from
/lib/libpthread.so.0
#10 0xb7cd9017 in clone () from /lib/libc.so.6

#0 0xb7e8328d in pthread_getconcurrency () from
/lib/libpthread.so.0
#1 0xb7e8209d in longjmp () from /lib/libpthread.so.0
#2 0xb7e7ed88 in pthread_cond_wait () from
/lib/libpthread.so.0
#3 0xb7f3419d in SDL_CondWait () from
/usr/local/lib/libSDL-1.2.so.0
#4 0x08050d86 in soundCallback ()
#5 0xb7ed80c8 in SDL_RunAudio () from
/usr/local/lib/libSDL-1.2.so.0
#6 0xb7f33665 in SDL_RunThread () from
/usr/local/lib/libSDL-1.2.so.0
#7 0xb7f338bd in RunThread () from
/usr/local/lib/libSDL-1.2.so.0
#8 0xb7e80aea in pthread_detach () from
/lib/libpthread.so.0
#9 0xb7cd9017 in clone () from /lib/libc.so.6

------

Joy0_Left=1000
Joy0_Right=1001
Joy0_Up=1002
Joy0_Down=1003
Joy0_A=1081
Joy0_B=1080
Joy0_L=1084
Joy0_R=1085
Joy0_Start=1089
Joy0_Select=1088
Joy0_Speed=1087
Joy0_Capture=1086

# Motion support keys. Same format as above
#
# Default keys are (value in parenthesis):
#
# Left Numeric Pad 4 (0104)
# Right Numeric Pad 6 (0106)
# Up Numeric Pad 8 (0108)
# Down Numeric Pad 2 (0102)
#
Motion_Left=0104
Motion_Right=0106
Motion_Up=0108
Motion_Down=0102

# Frame skip setting. Allowed values are from 0 to 5 only.
frameSkip=0

# Gameboy Frame skip setting. Allowed values are from 0
to 5 only.
gbFrameSkip=0

# Video setting. 0=1x, 1=2x, 2=3x, 3=4x.
video=3

# Use fullscreen mode. 0=false, any other value means true
fullScreen=0

# Disables MMX support
disableMMX=0

# Use bios file. 0=false, any other value means true
useBios=1

# Bios file full path and name (ZIP not supported)
biosFile=/stuph/games/roms/gba/gbasys.bin

# Filter to use. 0=no filter, 1=TV Mode, 2=2xSaI,
3=Super 2xSaI, 4=Super Eagle
# 5=Pixelate, 6=Motion Blur, 7=AdvanceMAME Scale2x,
8=Simple 2x,
# 9=Bilinear, A=Bilinear Plus
filter=0

# Disable status messages. 0=false, any other value
means true
disableStatus=0

# Enable Gameboy border. 0=false, any other value means
true
borderOn=0

# Gameboy emulator type. 0=automatic, 1=CGB/GBC, 2=SGB,
3=GB, 4=GBA, 5=SGB2
emulatorType=0

# Enable washed colors. 0=false, any other value means true
colorOption=0

# Directories. Not setting one them makes the file go
the rom directory.

# Save state directory
saveDir=/root/.vba/saves

# Screen shot Capture directory
captureDir=/root/.vba/caps

# Battery directory
batteryDir=/root/.vba/battery

# Screen capture format
# 0=PNG, anything else for BMP
captureFormat=0

# Sound quality
# 1=44 Khz, 2=22Khz, 4=11Khz
soundQuality=2

# Sound Echo
# 0=false, anything else for true
soundEcho=0

# Sound Low pass filter
# 0=false, anything else for true
soundLowPass=1

# Sound reverse stereo
# 0=false, anything else for true
soundReverse=0

# Remove GBA intros
# 0=false, anything else for true
removeIntros=0

# Save Type
# 0=automatic, 1=EEPROM, 2=SRAM, 3=Flash,
4=EEPROM+Sensor, 5=NONE
saveType=0

# Flash size
# 0=64K Flash, 1=128K Flash

flashSize=0

# Sound volume
# 0=1x, 1=2x, 2=3x, 3=4x
soundVolume=0

# Interframe blending
# 0=none, 1=motion blur, 2=smart
ifbType=1

# Show emulation speed
# 0=none, 1=percentage, 2=detailed
showSpeed=2

# Show speed in transparent mode
# 0=normal, anything else for transparent
showSpeedTransparent=1

# Enable/Disable auto frameskip
# 0=disable, anything else to enable
autoFrameSkip=0

# Sets the desired throttle
# 0=disable, 5...1000 valid throttle speeds
throttle=0

# Pauses the emulator when the window is inactive
# 0=disable, anything else to enable
pauseWhenInactive=0

# Enables AGBPrint support
# 0=disable, anything else to enable
agbPrint=0

# Enables GBA RTC support
# 0=disable, anything else to enable
rtcEnabled=1

# Sound OFF flag
# 0=sound on, anything else turns off sound
soundOff=0

# Sound Enable
# Controls which channels are enabled: (add values)
# 1 - Channel 1
# 2 - Channel 2
# 4 - Channel 3
# 8 - Channel 4
# 100 - DirectSound A
# 200 - DirectSound B
# 30f=all enabled, 0=mute all
soundEnable=30f

# Controls automatic SGB border
# 0=disable, anything else enables automatic SGB border
display
borderAutomatic=1

# Skip bios code
# 0=disable, anything else skips BIOS code
skipBios=0

# The interval between the rewind saves
# Minimum of 0 seconds to disable rewind support,
# Maximum of 60 minutes. Value in seconds (hexadecimal
numbers)
rewindTimer=1e

# Enable enhanced save type detection
# 0=disable, anything else to enable (no longer used)
#enhancedDetection=1

Discussion

  • Anonymous - 2005-04-24
    • priority: 5 --> 7
     

Log in to post a comment.