Jump to content

Avadon segfaults when run from path with uppercase characters.


tom.prince
 Share

Recommended Posts

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) ---

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...