Author Topic: none of the .app would run....  (Read 1779 times)

mqi

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
none of the .app would run....
« on: August 04, 2006, 10:16:27 am »
I recently run the updater, and after the update the updater, psclient and psconfig all die with "Bus error" when executed.
So I deleted the whole directory, downloaded the dmg from ftp://ftp.stacken.kth.se/pub/planeshift/Planeshift_CBV0.3.015.macosx.dmg and copied to the usual directory (/Volumes/DATA/gry/ - this is not the system disk if it matters) - still the same error on all executables
Then I downloaded the updater-old.jar and ran it overnight... It did nothing (it was still "Compiling list of files to update (this may take a few minutes)..." after I woke up in the morning ... which was what it was doing when I went to sleep last night)
Then I downloaded the torrent version, but still no luck. (It's "Bus error" all the time) Now I'm all out of ideas what to do.

I'm using a 2x2.5 GHz G5 with 4GB of RAM, MacOS X 10.3.9 and an ATI card based on their RV360 chip (can't remember which one exactly)

EDIT: now trying again with java updater, this time force-updating all files. I honestly hope this will help.

EDIT: It didn't... any ideas?
« Last Edit: August 04, 2006, 03:34:03 pm by mqi »

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
Re: none of the .app would run....
« Reply #1 on: August 05, 2006, 01:34:52 am »
Are you an admin? Also, would you mind running Updater-old.jar from the Terminal?
You can do that like so:
Open Applications/Utilities/Terminal(.app).
Type "cd " (note the space after "cd" ) in the window that appears.
Drag the folder containing the updater (i.e. your Planeshift folder) to the Terminal window and let go (a bunch of text should appear).
Hit return.
Type "java -jar Updater-old.jar -debug" and hit return. Then run the updater as you normally would. If it locks up, give it a few minutes, then quit it. Copy paste the output in the Terminal window here.
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

.:ZEN:.

  • Hydlaa Resident
  • *
  • Posts: 184
  • PENGUINS ^_^
    • View Profile
    • My Freeweb
Re: none of the .app would run....
« Reply #2 on: August 05, 2006, 07:19:32 am »
Last login: Sat Aug  5 13:13:45 on ttyp1
Welcome to Darwin!
Raj-Family-G5:~ Aakash$ cd /Volumes/PS_Install/Planeshift3D/
Raj-Family-G5:/Volumes/PS_Install/Planeshift3D Aakash$ java -jar Updater-old.jar -debug
Unable to access jarfile Updater-old.jar
Raj-Family-G5:/Volumes/PS_Install/Planeshift3D Aakash$


thats what i got in terminal then I opend the updater and then it said 'application encounetered a problem and had to close' .... the same as before

mqi

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: none of the .app would run....
« Reply #3 on: August 05, 2006, 04:29:49 pm »
Are you an admin? Also, would you mind running Updater-old.jar from the Terminal?
You can do that like so:
Open Applications/Utilities/Terminal(.app).
Type "cd " (note the space after "cd" ) in the window that appears.
Drag the folder containing the updater (i.e. your Planeshift folder) to the Terminal window and let go (a bunch of text should appear).
Hit return.
Type "java -jar Updater-old.jar -debug" and hit return. Then run the updater as you normally would. If it locks up, give it a few minutes, then quit it. Copy paste the output in the Terminal window here.

I've done all that as a normal user, but I don't think that shoould be an issue, as the login I did it with has rwx access to the directory used.

This happens when I run the command:
Code: [Select]
56a:/Volumes/DATA/gry/Planeshift3D mareviq$ java -jar Updater-old.jar -debug
-debug: Invalid argument. Run with '-h' or '-help' for an argument list.
56a:/Volumes/DATA/gry/Planeshift3D mareviq$
and the updater quits normally stating that my copy is up to date. (I'm not certain if this is the one downloaded from the torrent or the one forcibly updated earlier)
still, any attempts to run any crystalspace-based executables (updater, config or the psclinet itself) results in a bus error (only visible through console, when I run it from the finder it disappears from the dock in about a second, without any messages at all)

Still, it looks like I'll have to manually compile planeshift with -g (or whatever parameter in gcc that allowed to do debugging) which I'm too lazy to do... so I hope it'll just work itself out in the next version.

Caribou

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Re: none of the .app would run....
« Reply #4 on: August 05, 2006, 07:47:16 pm »
I recently run the updater, and after the update the updater, psclient and psconfig all die with "Bus error" when executed.
So I deleted the whole directory, downloaded the dmg from ftp://ftp.stacken.kth.se/pub/planeshift/Planeshift_CBV0.3.015.macosx.dmg and copied to the usual directory (/Volumes/DATA/gry/ - this is not the system disk if it matters) - still the same error on all executables
Then I downloaded the updater-old.jar and ran it overnight... It did nothing (it was still "Compiling list of files to update (this may take a few minutes)..." after I woke up in the morning ... which was what it was doing when I went to sleep last night)
Then I downloaded the torrent version, but still no luck. (It's "Bus error" all the time) Now I'm all out of ideas what to do.

I'm using a 2x2.5 GHz G5 with 4GB of RAM, MacOS X 10.3.9 and an ATI card based on their RV360 chip (can't remember which one exactly)

EDIT: now trying again with java updater, this time force-updating all files. I honestly hope this will help.

EDIT: It didn't... any ideas?

Here's my various advice :) 
#1 try to make sure your user has admin rights, easily doable if you own this computer.  I'm not sure if any of the installation or usage of Planeshift requires these admin rights - it's just a good policy to start with in any non-launch situation. 
#2 go to the user home folder, Library folder, try to find any Preferences or Application Support items created by Planeshift or Crystal Space - delete them (whenever you have Mac problems, deleting the Preferences/App Support files is usually as good as a total application reinstall) 
#3 delete everything installed by Planeshift everywhere you can possibly find it, and reinstall again with admin rights, then repeat the above steps if necessary 
#4 The RV360 means ATI Radeon 9600XT - a fine card for this game.  I occasionally play Planeshift on my 800Mhz iBook G3 which has the ATI Radeon 7500, far weaker than yours. 

these are my 4 suggestions offhand, not necessarily meant to be done in any order - and sorry I can't tell you if they work because mine always works ok (except the server's down right now and I can't log in...)
these are general Mac application troubleshooting steps, should be generally applicable for any Mac OS X program issue

mqi

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: none of the .app would run....
« Reply #5 on: August 05, 2006, 11:19:55 pm »
okaaay, I tried to run planshift with the admin account... and it ran...
I don't know why is that, but I refuse to play a game that goes against everything I've learned using linux (_never_ use the root/administrator account for anything other than system maintenance. If something that shouldn't require root access asks for it, mark it as a fishy app) the funny thing is that the admin account only has r-x access to planeshift dir... as opposed to rwx by the account I've used before... what on earth is going on here? That means planeshift is most likely trying to modify files outside of it's directory, and ones belonging to the admin, no less.  :thumbdown: That is a behavior I can not tolerate in a game.

EDIT: I take that back. It's more like a  :thumbdown: for MacOS X which by default makes /tmp writeable only to admin... and crystalspace tries to leave a debug log there, so
Code: [Select]
chmod 777 /tmpfixed the problem. It just poped into my head that this might be the problem, couse I've just tried updating the system from my user account and it said it didn't have the authority to store the patch downloads  ;) and there was the reason - which just happened to be the reason any cs app wouldn't run
« Last Edit: August 06, 2006, 01:21:07 am by mqi »

.:ZEN:.

  • Hydlaa Resident
  • *
  • Posts: 184
  • PENGUINS ^_^
    • View Profile
    • My Freeweb
Re: none of the .app would run....
« Reply #6 on: August 07, 2006, 10:52:42 am »
how and where EXACTLY do i enter that code???

mqi

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: none of the .app would run....
« Reply #7 on: August 07, 2006, 05:54:59 pm »
It should be entered in the terminal, as the administrator. The directory you are in while executing this command is not important as /tmp is an absolute path

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
Re: none of the .app would run....
« Reply #8 on: August 08, 2006, 04:04:53 am »
I don't think the log will kill CrystalSpace... did you run the updater as an admin by any chance? As I've said a million times: the updater must be run as an admin or via "sudo" because it chmods the apps so that you can run them. ;) mqi: change the permissions on Updater-old.jar so that you have read AND write access.
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

mqi

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: none of the .app would run....
« Reply #9 on: August 20, 2006, 12:00:50 am »
no, I've never once ran the updater as an admin - the account I'm using can read, write and execute all files in the directory. And as in any UNIX if I'm the owner of the file I can chmod it all I want, meaning it is only necessary to run the updater as an admin if you've installed the game as an admin (which would mean that only the admin can modufy the contents of the directory)

besides, If I didn't have execute rights to the binary, it wouldn't result in a bus error. It could if I didn't have read rights to some of it's files, but that's not the case.
Besides, it _could_ screw crystal space - if it doesn't check if the file descriptor returned while trying to crate a log file was NULL (instead of what i'm guessing was supposed to be 4 or 3 - after stdin, stdout and stderr) then it would cause an error, and i think it could be the bus error - trying to write to a memory location which physically does not exist.

.:ZEN:.

  • Hydlaa Resident
  • *
  • Posts: 184
  • PENGUINS ^_^
    • View Profile
    • My Freeweb
Re: none of the .app would run....
« Reply #10 on: August 31, 2006, 01:31:00 pm »
:P baladur gave me the unnoficial updater it took 2hrs... to install ps... and it worked fine...  \\o//

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
Re: none of the .app would run....
« Reply #11 on: August 31, 2006, 04:51:46 pm »
See, now you know why you should read the Guide. The unofficial updater is right there in the Guide. ;)
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

eldoth_terevan

  • Hydlaa Notable
  • *
  • Posts: 512
    • View Profile
Re: none of the .app would run....
« Reply #12 on: September 08, 2006, 04:52:05 pm »
Certain things about OS X are NOT like they are in various distros, behavior of admin account and /tmp et cetera. There is more, and I am not aware of all of them. But you should run the Apple Disk Utility to Repair Permissions on the machine and test the behavior of the applications again... I am working as I should with 0 problems on 10.4.7.