See, i've got two problems:
1. I cant get 0.10 to work. When i turn it on it doesnt even start, i've tried doubleklicking and i've tried rightclicking then pressing "open" but there must be something else.
2. My 0.7.4 version can only be used on my parents account, but it cant be used on mine. When i turn it on, a message pops up saying that it has crashed. When im trying to open it again, theres no games and when i add a game then restart the program, its not there anymore.
I use a Mac OS X version 10.4.11, the processor is 2 Ghz PowerPC G5 and my memory is 512 MB DDR SDRAM.
Appreciated if i can get an answer quickly.
Thank you!
Serious problem with Mac OS X
Moderator: ScummVM Team
-
- Posts: 2
- Joined: Tue Dec 18, 2007 1:49 pm
I found this:
-0612) failed!
Could not initialize SDL: sem_open(/SDL_sem-203-0613) failed!
Could not initialize SDL: sem_open(/SDL_sem-203-0614) failed!
Could not initialize SDL: sem_open(/SDL_sem-203-0615) failed!
And it goes on until:
Could not initialize SDL: sem_open(/SDL_sem-203-2687) failed!
Could not initialize SDL: sem_open(/SDL_sem-203-2688) failed!
Dec 19 12:16:33 Datorn-2 crashdump[204]: scummvm crashed
Dec 19 12:16:34 Datorn-2 crashdump[204]: crash report written to: /Users/Olle/Library/Logs/CrashReporter/scummvm.crash.log
WARNING: Unable to open configuration file: Library/Preferences/ScummVM Preferences!
Is it to any help?
-0612) failed!
Could not initialize SDL: sem_open(/SDL_sem-203-0613) failed!
Could not initialize SDL: sem_open(/SDL_sem-203-0614) failed!
Could not initialize SDL: sem_open(/SDL_sem-203-0615) failed!
And it goes on until:
Could not initialize SDL: sem_open(/SDL_sem-203-2687) failed!
Could not initialize SDL: sem_open(/SDL_sem-203-2688) failed!
Dec 19 12:16:33 Datorn-2 crashdump[204]: scummvm crashed
Dec 19 12:16:34 Datorn-2 crashdump[204]: crash report written to: /Users/Olle/Library/Logs/CrashReporter/scummvm.crash.log
WARNING: Unable to open configuration file: Library/Preferences/ScummVM Preferences!
Is it to any help?
- eriktorbjorn
- ScummVM Developer
- Posts: 3561
- Joined: Mon Oct 31, 2005 7:39 am
It seems to come from this part of SDL: src/thread/linux/SDL_syssem.cLittlebuddy wrote: Could not initialize SDL: sem_open(/SDL_sem-203-0613) failed!
Code: Select all
#ifdef USE_NAMED_SEMAPHORES
static int semnum = 0;
char name[32];
SDL_snprintf(name, SDL_arraysize(name), "/SDL_sem-%d-%4.4d", getpid(), semnum++);
sem->sem = sem_open(name, O_CREAT, 0600, initial_value);
if ( sem->sem == (sem_t *)SEM_FAILED ) {
SDL_SetError("sem_open(%s) failed", name);
SDL_free(sem);
sem = NULL;
} else {
sem_unlink(name);
}
#else
if ( sem_init(&sem->sem_data, 0, initial_value) < 0 ) {
SDL_SetError("sem_init() failed");
SDL_free(sem);
sem = NULL;
} else {
sem->sem = &sem->sem_data;
}
#endif /* USE_NAMED_SEMAPHORES */