Opened 16 years ago

Closed 16 years ago

Last modified 13 months ago

#1518 closed defect (invalid)

ALL: Crash on launch (Linux)

Reported by: SF/cheeth Owned by: SF/khalek
Priority: normal Component: Port: Linux
Keywords: Cc:
Game:

Description

When launching any scummvm game, I get the following
message at the command line, with 0.5.1 or CVS
snapshots. 0.5.1 worked with RedHat 9 but stopped
working with Fedora Core 1, so I believe this is a
configuration problem. But where do I start looking?

Looking for tentacle
Trying to start game 'Day Of The Tentacle'
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Ticket imported from: #911019. Ticket imported from: bugs/1518.

Change History (9)

comment:1 by fingolfin, 16 years ago

What version of SDL? What kind of machine?

comment:2 by SF/khalek, 16 years ago

Also it would be most useful if you could run via gdb and
provide a backtrace and/or the last bit out of output from
strace.

comment:3 by SF/cheeth, 16 years ago

This is a P4 running a fairly standard Fedora Core 1
install, the only big change from the default being that
it's been upgraded to KDE 3.2.

SDL (RPM) version=SDL-1.2.5-9

I'd need a serious gdb tutorial before I could run this via
gdb. I can run the shell script but I get to the gdb input
prompt and am quickly lost. Valgrind didn't show anything bad.

The shell script for starting up is:
cd /home/cheeth/scumm/dott
scummvm -p/home/cheeth/scumm/dott/ tentacle

Strace output, last several lines:
stat64("/home/cheeth/Games/Scripts", {st_mode=S_IFDIR|0700,
st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getpid() = 5194
getppid() = 5193
getpgrp() = 5193
rt_sigaction(SIGCHLD, {0x8075920, [], SA_RESTORER,
0x4005da58}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("./dott.bash", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff638) = -1
ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "#!/bin/bash\ncd /home/cheeth/scum"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255) = 255
close(3) = 0
fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
fcntl64(255, F_GETFL) = 0 (flags O_RDONLY)
fstat64(255, {st_mode=S_IFREG|0700, st_size=162, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "#!/bin/bash\ncd /home/cheeth/scum"..., 162) = 162
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=21436, ...}) = 0
mmap2(NULL, 21436, PROT_READ, MAP_SHARED, 3, 0) = 0x40016000
close(3) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/home/cheeth", {st_mode=S_IFDIR|0711, st_size=4096,
...}) = 0
stat64("/home/cheeth/scumm", {st_mode=S_IFDIR|0775,
st_size=4096, ...}) = 0
stat64("/home/cheeth/scumm/dott", {st_mode=S_IFDIR|0775,
st_size=4096, ...}) = 0
chdir("/home/cheeth/scumm/dott") = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
stat64("/usr/kerberos/bin/scummvm", 0xbffff4b0) = -1 ENOENT
(No such file or directory)
stat64("/bin/scummvm", 0xbffff4b0) = -1 ENOENT (No such
file or directory)
stat64("/usr/bin/scummvm", {st_mode=S_IFREG|0755,
st_size=1480336, ...}) = 0
getgroups32(32, [500]) = 1
stat64("/usr/bin/scummvm", {st_mode=S_IFREG|0755,
st_size=1480336, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(Unable to open configuration file:
/home/cheeth/.scummvmrc.

child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x4016f0c8) = 5195
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x80749a0, [], SA_RESTORER,
0x4005da58}, {SIG_DFL}, 8) = 0
waitpid(-1, Looking for tentacle
Trying to start game 'Day Of The Tentacle'
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
[WIFEXITED(s) && WEXITSTATUS(s) == 245], 0) = 5195
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbffff244, WNOHANG) = -1 ECHILD (No
child processes)
sigreturn() = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x80749a0, [], SA_RESTORER,
0x4005da58}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "", 162) = 0
exit_group(245) = ?

comment:4 by SF/khalek, 16 years ago

To get a backtrace via gdb do the following:
gdb /path/to/executable
run arg1 arg2 etc

Then finally when it segfaults type "bt" to get a backtrace.

comment:5 by SF/cheeth, 16 years ago

Okay, thanks for the advice! And the answer is...aRTS!
Apparently it you can't disable aRTS the same way as you
used to. In fact, I'm not sure there's a "normal" way to
kill it at all. But that's a KDE problem.

Manually killing the aRTS PID fixes everything.

comment:6 by SF/khalek, 16 years ago

So everything works fine when its not running? Can we close
this bug now?

comment:7 by SF/cheeth, 16 years ago

Yes, please go ahead and close this. For historical
purposes, the KDE bug is:
http://bugs.kde.org/show_bug.cgi?id=74264

comment:8 by SF/khalek, 16 years ago

Owner: set to SF/khalek
Resolution: invalid
Status: newclosed

comment:9 by digitall, 13 months ago

Component: --Unset--Port: Linux
Note: See TracTickets for help on using tickets.