Tenderfoot Thahd tom.prince Posted March 19, 2012 Share Posted March 19, 2012 This appears to be the revelevant info from strace. When run from a lower case directory, things seem to work. access("/Depot/Games/avadon/avadon files/graphics core/g132.bmp", F_OK) = -1 ENOENT (No such file or directory) access("/Depot", F_OK) = 0 access("/Depot/Games", F_OK) = 0 access("/Depot/Games/avadon", F_OK) = 0 access("/Depot/Games/avadon/avadon files", F_OK) = 0 access("/Depot/Games/avadon/avadon files/graphics core", F_OK) = 0 access("/Depot/Games/avadon/avadon files/graphics core/g132.bmp", F_OK) = -1 ENOENT (No such file or directory) open("/Depot/Games/avadon/avadon files/graphics core", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7 fcntl(7, F_GETFD) = 0x1 (flags FD_CLOEXEC) getdents(7, /* 80 entries */, 32768) = 2544 getdents(7, /* 0 entries */, 32768) = 0 close(7) = 0 stat("/Depot/Games/avadon/avadon files/graphics core/g132.bmp", 0x7fff72b7b480) = -1 ENOENT (No such file or directory) access("/Depot/Games/avadon/avadon files/graphics core/g132.png", F_OK) = 0 stat("/Depot/Games/avadon/avadon files/graphics core/g132.png", {st_mode=S_IFREG|0644, st_size=312565, ...}) = 0 access("/Depot/Games/avadon/avadon files/graphics core/g132.png", F_OK) = 0 access("/depot/games/avadon/avadon files/graphics core/g132.png", F_OK) = -1 ENOENT (No such file or directory) access("/depot", F_OK) = -1 ENOENT (No such file or directory) --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x4} (Segmentation fault) --- Quote Link to comment Share on other sites More sharing options...
Seasoned Roamer Apportable Posted March 19, 2012 Share Posted March 19, 2012 Hi there, Which platform is this for? Quote Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Randomizer Posted March 19, 2012 Share Posted March 19, 2012 Spiderweb games are case sensitive. Quote Link to comment Share on other sites More sharing options...
Understated Ur-Drakon Tyranicus Posted March 19, 2012 Share Posted March 19, 2012 Originally Posted By: Apportable Hi there, Which platform is this for? Looks like Linux to me. This is definitely an odd bug, but for now, I would suggest running it from a lowercase directory since that seems to work for you. Quote Link to comment Share on other sites More sharing options...
Tenderfoot Thahd tom.prince Posted March 20, 2012 Author Share Posted March 20, 2012 The platform is linux. It looks like it is unconditionally looking for entirely lower-cased name, even after initially succesfully finding it with a mixed-case name. Quote Link to comment Share on other sites More sharing options...
Fledgling Fyora ColdSpider Posted March 20, 2012 Share Posted March 20, 2012 So to fix the segfault did you just change the name of the executable and shell script to "avadon" as opposed to "Avadon"? I'm getting segfaults too but I changed everything to lower case (I even edited the script to use the lowercase executable) and it didn't seem to fix anything. Quote Link to comment Share on other sites More sharing options...
Tenderfoot Thahd tom.prince Posted March 20, 2012 Author Share Posted March 20, 2012 The executable doesn't matter. It seems to be what matters is that the path to the data is entirely lowercase. What I ended up doing, for the moment is bind mounting the directory into /tmp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.