Jump to content


Photo

[MacOSX] BG1 - Problem with Autopause state...

macosx autopause state

39 replies to this topic

#1 Souricette

Souricette
  • Members
  • 27 posts

Posted 18 February 2012 - 01:09 PM

Hello again.

I'm currently using 292 build, and I now have problem with Autopause State I did not have with a one-month-old version... The game enters in autopause at each attack.
I went in the game options, disabled the autopause checkbox, but it still happens.

After having read a similar issue in another thread, I added "Autopause State=0" (without the quotes) in the [Game Options] section of the baldur.ini file of my BG folder (it was absent), but it is not respected - the game is still paused at each attack.

I don't know if it's related, but I had the following error in my game log:
[GUIScript]: Runtime Error:
[GUIScript]: Runtime Error:
Traceback (most recent call last):
   File "GemRB.app/Contents/Resources/GUIScripts/bg1/GUIOPT.py", line 373, in DisplayHelpMouseScrollingSpeed
	 HelpTextArea.SetText (18018)
   File "GemRB.app/Contents/Resources/GUIScripts/MetaClasses.py", line 60, in <lambda>
	 return lambda self, *args: M(self.WinID, self.ID, *args)
RuntimeError: Invalid Control

Daniel

#2 SyntaxError

SyntaxError
  • Members
  • 875 posts

Posted 18 February 2012 - 09:42 PM

well that python error is certainly concerning. unfortunately the mac build is is stuck at version 0.7.0-292 because i'm in the process of adding SDL 2.0 support for iOS and the upgraded library is preventing the build from being successful. It should be back in a day or two if you want to come back and try a much newer version. (ignore the 0.7.0-30X builds on source forge. they are the same as 292 as far as mac is concerned)

#3 lynx

lynx
  • Modders
  • 1870 posts
  • Gender:Male
  • Location:Ljubljana, Slovenija

Posted 19 February 2012 - 12:53 AM

the guiscript error is odd, but practically harmless.

GemRB - IE anywhere.
Mages needed! Python tamers needed for iwd2!

Market android version IS NOT SUPPORTED ANYMORE: reported bugs will be ignored!


#4 Avenger

Avenger
  • Modders
  • 3428 posts
  • Gender:Male
  • Location:Hungary

Posted 19 February 2012 - 12:54 AM

Thanks for reporting the guiscript error, i'll check it.

#5 lynx

lynx
  • Modders
  • 1870 posts
  • Gender:Male
  • Location:Ljubljana, Slovenija

Posted 19 February 2012 - 02:50 AM

odd = the textarea should be reloaded, but looks like it isn't. Printing its ID gives even wierder results like 17 or 20, which aren't used at initialisation.

GemRB - IE anywhere.
Mages needed! Python tamers needed for iwd2!

Market android version IS NOT SUPPORTED ANYMORE: reported bugs will be ignored!


#6 Avenger

Avenger
  • Modders
  • 3428 posts
  • Gender:Male
  • Location:Hungary

Posted 19 February 2012 - 06:34 AM

I've fixed the guiscript problem.

Edited by Avenger, 19 February 2012 - 06:55 AM.


#7 SyntaxError

SyntaxError
  • Members
  • 875 posts

Posted 19 February 2012 - 01:28 PM

New mac builds should now incorporate bugfixes after 0.7.0-292. I encourage you to try the latest build.

#8 Souricette

Souricette
  • Members
  • 27 posts

Posted 21 February 2012 - 11:51 AM

I downloaded the 365 build, and I have a crash at application launch.
Apparently, it's relative to a log in LoadPlugins - I have no plugin installed...

Good luck,
Daniel

Process:		 GemRB [13540]
Path:		    /Applications/GemRB.app/Contents/MacOS/GemRB
Identifier:	  net.sourceforge.gemrb
Version:		 v0.7.0-365-g23f59d7 (10604)
Code Type:	   X86-64 (Native)
Parent Process:  launchd [205]

Date/Time:	   2012-02-21 20:50:44.106 +0100
OS Version:	  Mac OS X 10.7.3 (11D50)
Report Version:  9

Interval Since Last Report:		  95324 sec
Crashes Since Last Report:		   1
Per-App Interval Since Last Report:  5 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:					  D0EF9D74-181F-42D3-86EB-3EE7BFAF8EE2

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000105871c60

VM Regions Near 0x105871c60:
    __LINKEDIT			 000000010586f000-0000000105870000 [    4K] r--/rwx SM=COW  /Users/USER/Library/Application Support/GemRB/*/*.so
-->
    CG shared images	   000000010fc30000-000000010fc38000 [   32K] rw-/rw- SM=SHM  

Application Specific Information:
objc[13540]: garbage collection is OFF

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib		         0x00007fff916224f0 strlen + 16
1   libsystem_c.dylib		         0x00007fff915c38c3 __vfprintf + 4704
2   libsystem_c.dylib		         0x00007fff915c1edb vsnprintf_l + 396
3   libgemrb_core.dylib		       0x00000001000b9f12 _ZL4vLog9log_levelPKcS1_9log_colorP13__va_list_tag + 98
4   libgemrb_core.dylib		       0x00000001000ba109 Log(log_level, char const*, char const*, ...) + 121
5   libgemrb_core.dylib		       0x0000000100007210 LoadPlugins(char*) + 1280
6   libgemrb_core.dylib		       0x000000010002a945 Interface::Init() + 437
7   net.sourceforge.gemrb	         0x0000000100000f6e GemRB_main + 78
8   net.sourceforge.gemrb	         0x00000001000011e1 -[CocoaWrapper applicationDidFinishLaunching:] + 49
9   com.apple.Foundation		      0x00007fff8dcf9d32 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
10  com.apple.CoreFoundation	      0x00007fff8adc4aaa _CFXNotificationPost + 2634
11  com.apple.Foundation		      0x00007fff8dce5fe7 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65
12  com.apple.AppKit			      0x00000001001c860f -[NSApplication _postDidFinishNotification] + 212
13  com.apple.AppKit			      0x00000001001c8375 -[NSApplication _sendFinishLaunchingNotification] + 78
14  com.apple.AppKit			      0x00000001001c703c -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 242
15  com.apple.AppKit			      0x00000001001c6d9d -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 330
16  com.apple.CoreFoundation	      0x00007fff8ae0e591 -[NSObject performSelector:withObject:withObject:] + 65
17  com.apple.Foundation		      0x00007fff8dd1c7eb __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 101
18  com.apple.Foundation		      0x00007fff8dd1b772 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 283
19  com.apple.Foundation		      0x00007fff8dd1b600 _NSAppleEventManagerGenericHandler + 105
20  com.apple.AE				      0x00007fff8acdcc25 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 200
21  com.apple.AE				      0x00007fff8acdcb03 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 38
22  com.apple.AE				      0x00007fff8acdc9f7 aeProcessAppleEvent + 250
23  com.apple.HIToolbox		       0x00007fff89d41af9 AEProcessAppleEvent + 102
24  com.apple.AppKit			      0x00000001001c41a9 _DPSNextEvent + 1247
25  com.apple.AppKit			      0x00000001001c3861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
26  com.apple.AppKit			      0x00000001001c019d -[NSApplication run] + 470
27  net.sourceforge.gemrb	         0x000000010000178e main + 1166
28  net.sourceforge.gemrb	         0x0000000100000ef4 start + 52


#9 SyntaxError

SyntaxError
  • Members
  • 875 posts

Posted 21 February 2012 - 12:43 PM

that crash isnt about loading plugins; it is a crash in the new logging class. As an aside, you do in fact have plug-ins; even if you didnt install the optional plugins there are several required plugin located inside the app bundle.

I'm not able to replicate this. could you post a run log so i can see what is happening? I presume i cant replicate because on my system all the plugins are loaded sucessfully, but you likely dont have the Frameworks for OGG or TTF and maybe the failed plugin load message is the culprit. You can test by removing the ogg/ttf plugins from ~/Library/Application Support/GemRB/plugins

#10 Souricette

Souricette
  • Members
  • 27 posts

Posted 21 February 2012 - 01:14 PM

Well, apparently the new logging class does not log at the same place, since I now have nothing in my Console... Where may I find the new logs?

I disabled the OGG and TTF plugins, but the crash is still there, same as before.

Daniel

#11 Souricette

Souricette
  • Members
  • 27 posts

Posted 21 February 2012 - 02:26 PM

Some news... I launched the application with gdb. I have some logs displayed in gdb, here are the last ones:
[PluginLoader]: Loaded plugin "BIK Video Player" (BIKPlayer.so).
[PluginLoader/ERROR]: Cannot Load "/Users/danielchiaramello/Library/Application Support/GemRB/plugins/BMPImporter.so", skipping...
[PluginLoader]: Error: dlopen(/Users/danielchiaramello/Library/Application Support/GemRB/plugins/BMPImporter.so, 10): Symbol not found: __Z11printStatusPKc9log_color
  Referenced from: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/BMPImporter.so
  Expected in: /Applications/GemRB.app/Contents/MacOS/../Frameworks/libgemrb_core.dylib
[PluginLoader]: Loaded plugin "BMP File Writer" (BMPWriter.so).
[PluginLoader/ERROR]: Cannot Load "/Users/danielchiaramello/Library/Application Support/GemRB/plugins/CHUImporter.so", skipping...
[PluginLoader]: Error: dlopen(/Users/danielchiaramello/Library/Application Support/GemRB/plugins/CHUImporter.so, 10): Symbol not found: __Z12printMessagePKcS0_9log_colorz
  Referenced from: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/CHUImporter.so
  Expected in: /Applications/GemRB.app/Contents/MacOS/../Frameworks/libgemrb_core.dylib
[PluginLoader/ERROR]: Cannot Load "/Users/danielchiaramello/Library/Application Support/GemRB/plugins/CREImporter.so", skipping...
[PluginLoader]: Error: dlopen(/Users/danielchiaramello/Library/Application Support/GemRB/plugins/CREImporter.so, 10): Symbol not found: __Z12printMessagePKcS0_9log_colorz
  Referenced from: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/CREImporter.so
  Expected in: /Applications/GemRB.app/Contents/MacOS/../Frameworks/libgemrb_core.dylib
[PluginLoader/ERROR]: Cannot Load "/Users/danielchiaramello/Library/Application Support/GemRB/plugins/DirectoryImporter.so", skipping...
[PluginLoader]: Error: dlopen(/Users/danielchiaramello/Library/Application Support/GemRB/plugins/DirectoryImporter.so, 10): Symbol not found: __Z12printMessagePKcS0_9log_colorz
  Referenced from: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/DirectoryImporter.so
  Expected in: /Applications/GemRB.app/Contents/MacOS/../Frameworks/libgemrb_core.dylib
[PluginLoader/ERROR]: Cannot Load "/Users/danielchiaramello/Library/Application Support/GemRB/plugins/DLGImporter.so", skipping...
[PluginLoader]: Error: dlopen(/Users/danielchiaramello/Library/Application Support/GemRB/plugins/DLGImporter.so, 10): Symbol not found: __Z11printStatusPKc9log_color
  Referenced from: /Users/danielchiaramello/Library/Application Support/GemRB/plugins/DLGImporter.so
  Expected in: /Applications/GemRB.app/Contents/MacOS/../Frameworks/libgemrb_core.dylib
[PluginLoader/WARNING]: Plugin Registration Failed! Perhaps a duplicate?
unable to read unknown load command 0x24
unable to read unknown load command 0x26

Program received signal EXC_BAD_ACCESS, Could not access memory.

The last gdb log before the warning about the duplicate was:
Reading symbols for shared libraries warning: Could not find object file "/Users/brada/Developer/gemrb/buildbot/osx-xcode-binary/build/apple/build/GemRB.build/Release/EFFImporter.build/Objects-normal/x86_64/EFFImporter.o"
- no debug information available for "/Users/brada/Developer/gemrb/buildbot/osx-xcode-binary/build/apple/../gemrb/plugins/EFFImporter/EFFImporter.cpp".
So it may be relative to the EFFImporter plugin?

The crashing instruction is the following one:
Log(MESSAGE, "PluginLoader", "Loaded plugin \"%s\" (%s).", desc.Description, file);
Maybe it failed to retrieve its description?

I went as far as I could go... Good luck,
Daniel

#12 SyntaxError

SyntaxError
  • Members
  • 875 posts

Posted 21 February 2012 - 02:29 PM

you probably have out of date plugins in ~/Library/Application Support/GemRB/plugins just delete everything in that directory

Also I most definitely still get GemRB messages in console.

Edit: yes i'm certain this is your problem. the error above about the symbol for log_color confirms it. log_color is no longer a public symbol and is private to the logger class. Delete the old plugins and you will be fine.

Also the plugin path is a dead giveaway ;)

Edited by SyntaxError, 21 February 2012 - 02:42 PM.


#13 Souricette

Souricette
  • Members
  • 27 posts

Posted 22 February 2012 - 11:43 AM

Yes you were right...

I deleted everything from the ~/Library/Application Support/GemRB/plugins, and installed the 373 version - now the game is starting, and the Console is filled with logs :)

I still have my original problem, though - the one related with autopause. Even if the GuiScript problem is no more present!

Anyways, thanks for everything - you are doing a great job, and your reactiveness (not sure if this word exists in english...) is greatly appreciated!

#14 SyntaxError

SyntaxError
  • Members
  • 875 posts

Posted 27 February 2012 - 01:53 PM

heh. you should put "Auto Pause State=0" not "Autopause State=0" :) I should have caught that one before!

additionally I have fixed the installer package to remove old plugins prior to installation to prevent that other problem you had.

Edited by SyntaxError, 27 February 2012 - 01:54 PM.


#15 Avenger

Avenger
  • Modders
  • 3428 posts
  • Gender:Male
  • Location:Hungary

Posted 27 February 2012 - 11:19 PM

heh. you should put "Auto Pause State=0" not "Autopause State=0" :) I should have caught that one before!

additionally I have fixed the installer package to remove old plugins prior to installation to prevent that other problem you had.


Once i made this to ignore spaces. Apparently that feature got lost somewhere when converting between hash map implementations.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users