onscripter-1byte crashes on English Tsukihime before title screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
onscripter (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: onscripter
ONScripter (1-byte version) crashes with a segmentation fault right before reaching the Tsukihime title screen. This is with the English-translation patch v1.2 from http://
The terminal output was:
-------
<init> : Avifile RELEASE-
<init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts pni monitor vmx est tm2 xtpr
<init> : 1000.00 MHz Genuine Intel(R) CPU T2500 @ 2.00GHz processor detected
ONScripter version 20080121(2.82)
Initialize JOYSTICK
Display: 640 x 480 (32 bpp)
Audio: 44100 Hz 16 bit stereo
*** can't find file [cursor0.bmp] ***
*** can't find file [cursor1.bmp] ***
*** can't find file [image\
*** can't find file [icon\0.bmp] ***
*** can't find file [icon\0.bmp] ***
*** can't find file [image\
*** can't find file [image\
Segmentation fault
-------
The crash doesn't happen if I download the source from http://
Apparently there's been trouble with running it on Linux for a while, and someone created a patch for onscripter two years ago that might be out of date by now: http://
ProblemType: Crash
Architecture: i386
Date: Wed May 6 17:39:53 2009
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/games/
NonfreeKernelMo
Package: onscripter 20080121-0ubuntu1
PackageArchitec
ProcCmdline: onscripter-1byte -r /home/username/
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_US.UTF-8
Signal: 11
SourcePackage: onscripter
StacktraceTop:
SDL_SetAlpha () from /usr/lib/
?? ()
?? ()
?? ()
?? ()
Title: onscripter-1byte crashed with SIGSEGV in SDL_SetAlpha()
Uname: Linux 2.6.24-24-generic i686
UserGroups: adm admin audio cdrom dialout dip fax floppy kvm libvirtd lpadmin mysql netdev plugdev powerdev scanner video
description: | updated |
description: | updated |
summary: |
- English Tsukihime crashes before title screen + onscripter-1byte crashes on English Tsukihime before title screen |
I made a backtrace on Tsukihime v1.1 English version.
(gdb) bt libSDL- 1.2.so. 0 ::btndefCommand (this=0xbff0fe00) _command. cpp:2892 ::parseLine (this=0xbff0fe00) .cpp:924 ::executeLabel (this=0xbff0fe00) .cpp:881 ::timerEvent (this=0xbff0fe00) _event. cpp:1013 ::eventLoop (this=0xbff0fe00) _event. cpp:1090 ::btndefCommand (this=0xbff0fe00) _command. cpp:2892 info.image_ surface, DEFAULT_BLIT_FLAG, SDL_ALPHA_OPAQUE ); info.image_ surface
#0 0xb7e271ee in SDL_SetAlpha () from /usr/lib/
#1 0x0806705f in ONScripterLabel
at ONScripterLabel
#2 0x0805e6bd in ONScripterLabel
at ONScripterLabel
#3 0x0805ec01 in ONScripterLabel
at ONScripterLabel
#4 0x080785c9 in ONScripterLabel
at ONScripterLabel
#5 0x08078af8 in ONScripterLabel
at ONScripterLabel
#6 0x0804b1b2 in main (argc=1, argv=0xbff11d88) at onscripter.cpp:210
(gdb) up
#1 0x0806705f in ONScripterLabel
at ONScripterLabel
2892 SDL_SetAlpha( btndef_
(gdb) print btndef_
$1 = (SDL_Surface *) 0x0
So the problem is btndef_ info.image_ surface is NULL in ONScripterLabel _command. cpp:2892 ONScripterLabel ::btndefCommand ()
I'll see if new version solves the problem or not.