From: Michael D. <mic...@gm...> - 2005-06-30 22:01:36
|
>> Hi, I got SheepShaver to compile and run on Tiger (thanks for the =20 >> new paranoia.cpp!) >> > > So it works? Nice, thanks, I will commit along with the Linux =20 > version I was using. Yup, paranoia works! But I tried compiling the CVS today and I get =20 the following error: g++ -I../include -I. -DHAVE_CONFIG_H -D_REENTRANT -DDATADIR=3D\"/usr/=20 local/share/SheepShaver\" -g -O2 -I/sw/include/SDL -D_THREAD_SAFE -c =20 main_unix.cpp -o obj/main_unix.o main_unix.cpp: In function `void TriggerInterrupt()': main_unix.cpp:1517: error: 'idle_resume' was not declared in this scope make: *** [obj/main_unix.o] Error 1 > Please tell me your screen depth. Since you could build from =20 > sources, I'd also appreciate to know the video modes reported by =20 > SDL (#define DEBUG 1 in video_sdl.cpp) + in Unix/video_blit.cpp, =20 > around line 570, remove the test for !blitter_found and the abort=20 > (), this will output the right RGB mask to use for your screen. I made the changes to the March snapshot, and in the Console I get =20 three groups of messages, once at startup, second when the Mac OS =20 desktop loads (startup is done), and lastly when I shutdown/quit (and =20= my screen is 1024x768@Thousands of colors): Available video modes: 640x480 (ID 81), 2 colors 800x600 (ID 83), 2 colors 640x480 (ID 81), 4 colors 800x600 (ID 83), 4 colors 640x480 (ID 81), 16 colors 800x600 (ID 83), 16 colors 640x480 (ID 81), 256 colors 800x600 (ID 83), 256 colors 640x480 (ID 81), 32768 colors 800x600 (ID 83), 32768 colors 640x480 (ID 81), 16777216 colors 800x600 (ID 83), 16777216 colors video_open() Current video mode: 640x480 (ID 81), 32 bpp the_buffer =3D 0x47c5000, the_buffer_copy =3D 0x465b000 ### No appropriate blitter found R/G/B mask values : 0xff0000, 0x00ff00, 0x0000ff (depth =3D 32) R/G/B shift values : 16/8/0 monitor.mac_frame_base =3D 047c5000 ... video_close() 3088 refreshes in 53479196 usec =3D 57.742080 refreshes/sec frame buffer unlocked releasing the_buffer at 0x47c5000 (1480704 bytes) video_open() Current video mode: 800x600 (ID 83), 32 bpp the_buffer =3D 0x4aed000, the_buffer_copy =3D 0x465b000 ### No appropriate blitter found R/G/B mask values : 0xff0000, 0x00ff00, 0x0000ff (depth =3D 32) R/G/B shift values : 16/8/0 monitor.mac_frame_base =3D 04aed000 ... video_close() 2829 refreshes in 51659797 usec =3D 54.762120 refreshes/sec frame buffer unlocked releasing the_buffer at 0x4aed000 (2498560 bytes) >> I am using SDL 1.2.8 from Fink, Mac OS 8.6 from a burned CD, Mac =20 >> OS 10.4.1 on an iBook G4, the console has nothing particularly =20 >> useful -- Thread 0 crashes on launch, as reported by other OS X =20 >> users. >> > > Could be another problem related to Tiger since it doesn't crash =20 > for me on 10.2.8. Does gdb report something useful like where it =20 > may have crashed? It probably could because MacOS X also uses the =20 > PowerOpen ABI so the stack frames may be compatible (to get the =20 > backchain). By gdb I think you mean the CrashReporter log? Anyway, this is the =20 long message I get per crash, I cannot make any sense of it but =20 hopefully it helps: Host Name: michael-dickisons-ibook-g4 Date/Time: 2005-06-30 16:46:01.142 -0500 OS Version: 10.4.1 (Build 8B15) Report Version: 3 Command: SheepShaver Path: /Users/michaeldickison/Documents/Computing/Sources/=20 SheepShaver-2.2/src/Unix/SheepShaver.app/Contents/MacOS/SheepShaver Parent: WindowServer [59] Version: ??? (2.2) PID: 17573 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x40810000 Thread 0 Crashed: Thread 1: 0 libSystem.B.dylib 0x90042ae8 mach_wait_until + 8 1 libSystem.B.dylib 0x900428a0 nanosleep + 384 2 SheepShaver 0x00012100 0x3000 + 61696 3 SheepShaver 0x00025ce4 catch_exception_raise + 13064 4 libSDL-1.2.0.dylib 0x00238d94 SDL_RunThread + 72 =20 (SDL_thread.c:218) 5 libSDL-1.2.0.dylib 0x00238918 RunThread + 16 (SDL_systhread.c:=20= 83) 6 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96 Thread 2: 0 libSystem.B.dylib 0x90042ae8 mach_wait_until + 8 1 libSystem.B.dylib 0x900428a0 nanosleep + 384 2 SheepShaver 0x00012100 0x3000 + 61696 3 SheepShaver 0x00005768 0x3000 + 10088 4 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96 Thread 3: 0 libSystem.B.dylib 0x90042ae8 mach_wait_until + 8 1 libSystem.B.dylib 0x900428a0 nanosleep + 384 2 SheepShaver 0x00012100 0x3000 + 61696 3 SheepShaver 0x000053b8 0x3000 + 9144 4 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96 Thread 0 crashed with PPC Thread State: srr0: 0x40c6624c srr1: 0x0200f930 vrsave: 0x00000000 cr: 0x4010e0f1 xer: 0x00000000 lr: 0x40ca7388 ctr: 0x40c60000 r0: 0x00000000 r1: 0x203fffea r2: 0x00000000 r3: 0x40810000 r4: 0x2054500c r5: 0x00000000 r6: 0x00002070 r7: 0x00000000 r8: 0x00000000 r9: 0x2054500c r10: 0x00000006 r11: 0x000002f4 r12: 0x00000861 r13: 0x00000000 r14: 0x00000000 r15: 0x0002003d r16: 0x40810000 r17: 0x00000000 r18: 0x408153de r19: 0x4085975c r20: 0x40814c0e r21: 0x23ffff88 r22: 0x4080020a r23: 0x00000000 r24: 0x40815532 r25: 0x00000027 r26: 0x00000000 r27: 0x00006054 r28: 0x00000000 r29: 0x40ca7388 r30: 0x40c60000 r31: 0x68fff000 Binary Images Description: 0x3000 - 0x36fff SheepShaver ??? (2.2) /Users/=20 michaeldickison/Documents/Computing/Sources/SheepShaver-2.2/src/Unix/=20 SheepShaver.app/Contents/MacOS/SheepShaver 0x205000 - 0x252fff libSDL-1.2.0.dylib /sw/lib/=20 libSDL-1.2.0.dylib 0x8fe00000 - 0x8fe50fff dyld 43 /usr/lib/dyld 0x90000000 - 0x901a6fff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x901fe000 - 0x90202fff libmathCommon.A.dylib /usr/lib/system/=20 libmathCommon.A.dylib 0x90204000 - 0x90257fff com.apple.CoreText 1.0.0 (???) /System/=20 Library/Frameworks/ApplicationServices.framework/Versions/A/=20 Frameworks/CoreText.framework/Versions/A/CoreText 0x90284000 - 0x90335fff ATS /System/Library/Frameworks/=20 ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/=20 Versions/A/ATS 0x90364000 - 0x9069cfff com.apple.CoreGraphics 1.256.5 (???) /=20 System/Library/Frameworks/ApplicationServices.framework/Versions/A/=20 Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x90727000 - 0x90800fff com.apple.CoreFoundation 6.4.1 (368.1) /=20 System/Library/Frameworks/CoreFoundation.framework/Versions/A/=20 CoreFoundation 0x90849000 - 0x90849fff com.apple.CoreServices 10.4 (???) /System/=20 Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x9084b000 - 0x9094dfff libicucore.A.dylib /usr/lib/=20 libicucore.A.dylib 0x909a7000 - 0x90a2bfff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x90a55000 - 0x90ac9fff com.apple.framework.IOKit 1.4 (???) /=20 System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x90ae3000 - 0x90af5fff libauto.dylib /usr/lib/libauto.dylib 0x90afc000 - 0x90dc1fff com.apple.CoreServices.CarbonCore 10.4 =20 (611.1) /System/Library/Frameworks/CoreServices.framework/Versions/=20= A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x90e24000 - 0x90ea4fff com.apple.CoreServices.OSServices 4.0 =20 (4.0.0) /System/Library/Frameworks/CoreServices.framework/Versions/=20= A/Frameworks/OSServices.framework/Versions/A/OSServices 0x90eee000 - 0x90f2efff com.apple.CFNetwork 4.0 (80) /System/=20 Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/=20 CFNetwork.framework/Versions/A/CFNetwork 0x90f43000 - 0x90f5bfff com.apple.WebServices 1.1.2 (1.1.0) /=20 System/Library/Frameworks/CoreServices.framework/Versions/A/=20 Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore 0x90f6b000 - 0x90fe9fff com.apple.SearchKit 1.0.3 /System/Library/=20 Frameworks/CoreServices.framework/Versions/A/Frameworks/=20 SearchKit.framework/Versions/A/SearchKit 0x9102e000 - 0x91055fff com.apple.Metadata 0.1 (121) /System/=20 Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/=20 Metadata.framework/Versions/A/Metadata 0x91066000 - 0x91073fff libz.1.dylib /usr/lib/libz.1.dylib 0x91076000 - 0x91238fff com.apple.security 4.0 (221) /System/=20 Library/Frameworks/Security.framework/Versions/A/Security 0x9133a000 - 0x91343fff com.apple.DiskArbitration 2.1 /System/=20 Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x9134a000 - 0x91371fff com.apple.SystemConfiguration 1.8.0 /=20 System/Library/Frameworks/SystemConfiguration.framework/Versions/A/=20 SystemConfiguration 0x91384000 - 0x9138cfff libbsm.dylib /usr/lib/libbsm.dylib 0x91390000 - 0x9140efff com.apple.audio.CoreAudio 3.0.0 (3.0) /=20 System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x9144c000 - 0x9144cfff com.apple.ApplicationServices 10.4 (???) /=20 System/Library/Frameworks/ApplicationServices.framework/Versions/A/=20 ApplicationServices 0x9144e000 - 0x91486fff com.apple.AE 1.5 (297) /System/Library/=20 Frameworks/ApplicationServices.framework/Versions/A/Frameworks/=20 AE.framework/Versions/A/AE 0x914a1000 - 0x9156cfff com.apple.ColorSync 4.4 /System/Library/=20 Frameworks/ApplicationServices.framework/Versions/A/Frameworks/=20 ColorSync.framework/Versions/A/ColorSync 0x915c1000 - 0x91654fff com.apple.print.framework.PrintCore 4.0 =20 (172) /System/Library/Frameworks/ApplicationServices.framework/=20 Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x9169a000 - 0x91757fff com.apple.QD 3.8.5 (???) /System/Library/=20 Frameworks/ApplicationServices.framework/Versions/A/Frameworks/=20 QD.framework/Versions/A/QD 0x91795000 - 0x917f3fff com.apple.HIServices 1.5.0 (???) /System/=20 Library/Frameworks/ApplicationServices.framework/Versions/A/=20 Frameworks/HIServices.framework/Versions/A/HIServices 0x91821000 - 0x91844fff com.apple.LangAnalysis 1.6 /System/Library/=20= Frameworks/ApplicationServices.framework/Versions/A/Frameworks/=20 LangAnalysis.framework/Versions/A/LangAnalysis 0x91858000 - 0x9187dfff com.apple.FindByContent 1.5 /System/=20 Library/Frameworks/ApplicationServices.framework/Versions/A/=20 Frameworks/FindByContent.framework/Versions/A/FindByContent 0x91890000 - 0x918d0fff com.apple.LaunchServices 10.4.2 (156) /=20 System/Library/Frameworks/ApplicationServices.framework/Versions/A/=20 Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x918eb000 - 0x918fffff com.apple.speech.synthesis.framework 3.3 /=20 System/Library/Frameworks/ApplicationServices.framework/Versions/A/=20 Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x9190d000 - 0x91943fff com.apple.ImageIO.framework 1.0 /System/=20 Library/Frameworks/ApplicationServices.framework/Versions/A/=20 Frameworks/ImageIO.framework/Versions/A/ImageIO 0x91957000 - 0x91a19fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.=20 0.9.7.dylib 0x91a65000 - 0x91a7afff libcups.2.dylib /usr/lib/libcups.2.dylib 0x91a7f000 - 0x91a9bfff libJPEG.dylib /System/Library/Frameworks/=20 ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/=20= Versions/A/Resources/libJPEG.dylib 0x91aa0000 - 0x91b0ffff libJP2.dylib /System/Library/Frameworks/=20 ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/=20= Versions/A/Resources/libJP2.dylib 0x91b26000 - 0x91b2afff libGIF.dylib /System/Library/Frameworks/=20 ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/=20= Versions/A/Resources/libGIF.dylib 0x91b2c000 - 0x91b44fff libRaw.dylib /System/Library/Frameworks/=20 ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/=20= Versions/A/Resources/libRaw.dylib 0x91b47000 - 0x91b8afff libTIFF.dylib /System/Library/Frameworks/=20 ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/=20= Versions/A/Resources/libTIFF.dylib 0x91b91000 - 0x91baafff libPng.dylib /System/Library/Frameworks/=20 ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/=20= Versions/A/Resources/libPng.dylib 0x91baf000 - 0x91bb2fff libRadiance.dylib /System/Library/=20 Frameworks/ApplicationServices.framework/Versions/A/Frameworks/=20 ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x91bb4000 - 0x91bb4fff com.apple.Accelerate 1.1.1 (Accelerate =20 1.1.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/=20 Accelerate 0x91bb6000 - 0x91ca0fff com.apple.vImage 2.0 /System/Library/=20 Frameworks/Accelerate.framework/Versions/A/Frameworks/=20 vImage.framework/Versions/A/vImage 0x91ca8000 - 0x91cc7fff com.apple.Accelerate.vecLib 3.1.1 (vecLib =20 3.1.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/=20 Frameworks/vecLib.framework/Versions/A/vecLib 0x91d33000 - 0x91d53fff libmx.A.dylib /usr/lib/libmx.A.dylib 0x91d59000 - 0x91dbefff libvMisc.dylib /System/Library/Frameworks/=20= Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/=20 A/libvMisc.dylib 0x91dc8000 - 0x91e5afff libvDSP.dylib /System/Library/Frameworks/=20 Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/=20 A/libvDSP.dylib 0x91e74000 - 0x92404fff libBLAS.dylib /System/Library/Frameworks/=20 Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/=20 A/libBLAS.dylib 0x9244c000 - 0x9275cfff libLAPACK.dylib /System/Library/=20 Frameworks/Accelerate.framework/Versions/A/Frameworks/=20 vecLib.framework/Versions/A/libLAPACK.dylib 0x92789000 - 0x92814fff com.apple.DesktopServices 1.3 /System/=20 Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/=20 DesktopServicesPriv 0x92856000 - 0x92a7ffff com.apple.Foundation 6.4 (567) /System/=20 Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x92b9d000 - 0x92c7bfff libxml2.2.dylib /usr/lib/libxml2.2.dylib 0x92c9b000 - 0x92d89fff libiconv.2.dylib /usr/lib/libiconv.2.dylib 0x92d9b000 - 0x92db9fff libGL.dylib /System/Library/Frameworks/=20 OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x92dc4000 - 0x92e1efff libGLU.dylib /System/Library/Frameworks/=20 OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x92e3c000 - 0x92e3cfff com.apple.Carbon 10.4 (???) /System/=20 Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x92e3e000 - 0x92e52fff com.apple.ImageCapture 3.0 /System/Library/=20= Frameworks/Carbon.framework/Versions/A/Frameworks/=20 ImageCapture.framework/Versions/A/ImageCapture 0x92e6a000 - 0x92e7afff com.apple.speech.recognition.framework =20 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/=20 Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x92e86000 - 0x92e9bfff com.apple.securityhi 2.0 (203) /System/=20 Library/Frameworks/Carbon.framework/Versions/A/Frameworks/=20 SecurityHI.framework/Versions/A/SecurityHI 0x92ead000 - 0x92f34fff com.apple.ink.framework 101.2 (69) /System/=20= Library/Frameworks/Carbon.framework/Versions/A/Frameworks/=20 Ink.framework/Versions/A/Ink 0x92f48000 - 0x92f53fff com.apple.help 1.0.3 (32) /System/Library/=20 Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/=20 Versions/A/Help 0x92f5d000 - 0x92f8afff com.apple.openscripting 1.2.2 (???) /=20 System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/=20 OpenScripting.framework/Versions/A/OpenScripting 0x92fa4000 - 0x92fb4fff com.apple.print.framework.Print 4.0 (187) /=20= System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/=20 Print.framework/Versions/A/Print 0x92fc0000 - 0x93026fff com.apple.htmlrendering 1.1.2 /System/=20 Library/Frameworks/Carbon.framework/Versions/A/Frameworks/=20 HTMLRendering.framework/Versions/A/HTMLRendering 0x93057000 - 0x930a9fff com.apple.NavigationServices 3.4 /System/=20 Library/Frameworks/Carbon.framework/Versions/A/Frameworks/=20 NavigationServices.framework/Versions/A/NavigationServices 0x930d5000 - 0x930f2fff com.apple.audio.SoundManager 3.9 /System/=20 Library/Frameworks/Carbon.framework/Versions/A/Frameworks/=20 CarbonSound.framework/Versions/A/CarbonSound 0x93104000 - 0x93111fff com.apple.CommonPanels 1.2.2 (73) /System/=20 Library/Frameworks/Carbon.framework/Versions/A/Frameworks/=20 CommonPanels.framework/Versions/A/CommonPanels 0x9311a000 - 0x9342afff com.apple.HIToolbox 1.4.1 (???) /System/=20 Library/Frameworks/Carbon.framework/Versions/A/Frameworks/=20 HIToolbox.framework/Versions/A/HIToolbox 0x93575000 - 0x93581fff com.apple.opengl 1.4.0 /System/Library/=20 Frameworks/OpenGL.framework/Versions/A/OpenGL 0x93613000 - 0x93613fff com.apple.Cocoa 6.4 (???) /System/Library/=20 Frameworks/Cocoa.framework/Versions/A/Cocoa 0x93615000 - 0x93c46fff com.apple.AppKit 6.4.1 (824.1) /System/=20 Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x93fd2000 - 0x9403cfff com.apple.CoreData 1.0 (46) /System/=20 Library/Frameworks/CoreData.framework/Versions/A/CoreData 0x94074000 - 0x9413efff com.apple.audio.toolbox.AudioToolbox 1.4 /=20 System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x94192000 - 0x94192fff com.apple.audio.units.AudioUnit 1.4 /=20 System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x94194000 - 0x942f3fff com.apple.QuartzCore 1.4.1 /System/Library/=20= Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x9433b000 - 0x94378fff libsqlite3.0.dylib /usr/lib/=20 libsqlite3.0.dylib 0x94380000 - 0x943cbfff libGLImage.dylib /System/Library/=20 Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x9456b000 - 0x9457afff libCGATS.A.dylib /System/Library/=20 Frameworks/ApplicationServices.framework/Versions/A/Frameworks/=20 CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib 0x94582000 - 0x9458efff libCSync.A.dylib /System/Library/=20 Frameworks/ApplicationServices.framework/Versions/A/Frameworks/=20 CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x945d3000 - 0x945e7fff libRIP.A.dylib /System/Library/Frameworks/=20= ApplicationServices.framework/Versions/A/Frameworks/=20 CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x945ed000 - 0x9484ffff com.apple.QuickTime 7.0.1 /System/Library/=20 Frameworks/QuickTime.framework/Versions/A/QuickTime 0x94922000 - 0x94941fff com.apple.vecLib 3.1.1 (vecLib 3.1.1) /=20 System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x95483000 - 0x95506fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib 0x95584000 - 0x9558cfff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib 0x97a74000 - 0x97a81fff com.apple.agl 2.5.6 (AGL-2.5.6) /System/=20 Library/Frameworks/AGL.framework/Versions/A/AGL > Thanks, > Gwenol=E9. Thank you! --Michael= |