Bugzilla – Bug 1625
iTunesUpdate plugin crashes SlimServer when --daemon option set
Last modified: 2008-09-15 14:36:01 UTC
As of SlimServer v6.0, the 'use Mac::Applescript::Glue' line in iTunesUpdate plugin crashes SlimServer. Some users have fixed this by removing the --daemon flag from their startup scripts/commands. Any idea why this might be? Any possiblility of this being fixed so the plugin works OK by default for the OS-X users? ta James
Is there any sort of crash log?
I don't think there is. Allan Hise found the problem line by adding debug statements I assume. There's a thread on the problem in the plugins forum. I don't have a Mac so I cannot elaborate!
This one isn't going to make it for 6.1.
Any idea if this is still an issue with the new parser in 6.2?
Adding Allan (hope you don't mind) - he's the OS-X expert.
When using the 6.2 8.10 nightly, and iTunes Update v1.3.4, the server still crashes on startup. Here is the perl crash log ********** Host Name: anubis.local Date/Time: 2005-08-10 19:51:41 +0200 OS Version: 10.3.9 (Build 7W98) Report Version: 2 Command: perl Path: /usr/bin/perl Version: ??? (???) PID: 19997 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 libSystem.B.dylib 0x9011c100 memcmp + 0xe0 1 com.apple.CoreFoundation 0x901f64cc __CFInitialize + 0xdc 2 dyld 0x8fe09638 call_image_init_routines + 0x1f4 3 dyld 0x8fe113f8 link_in_need_modules + 0x1a8 4 dyld 0x8fe130ec _dyld_link_module + 0x2c4 5 libSystem.B.dylib 0x9003fc88 NSLinkModule + 0x68 6 perl 0x00002b94 0x1000 + 0x1b94 7 perl 0x00002d08 0x1000 + 0x1d08 8 libperl.dylib 0x7f48dc3c Perl_pp_entersub + 0x4fc 9 libperl.dylib 0x7f486884 Perl_runops_standard + 0x40 10 libperl.dylib 0x7f433a80 Perl_call_sv + 0x478 11 libperl.dylib 0x7f437710 S_call_list_body + 0x5c 12 libperl.dylib 0x7f43733c Perl_call_list + 0x154 13 libperl.dylib 0x7f45dc28 Perl_newATTRSUB + 0xca8 14 libperl.dylib 0x7f45a740 Perl_utilize + 0x424 15 libperl.dylib 0x7f452acc Perl_yyparse + 0xe2c 16 libperl.dylib 0x7f4ba23c S_doeval + 0x274 17 libperl.dylib 0x7f4bb85c Perl_pp_require + 0x1074 18 libperl.dylib 0x7f486884 Perl_runops_standard + 0x40 19 libperl.dylib 0x7f433268 S_run_body + 0x134 20 libperl.dylib 0x7f432ec4 perl_run + 0xa4 21 perl 0x000027b0 0x1000 + 0x17b0 22 perl 0x00002420 0x1000 + 0x1420 23 perl 0x00002294 0x1000 + 0x1294 PPC Thread State: srr0: 0x9011c100 srr1: 0x0000d030 vrsave: 0x00000000 cr: 0x44242228 xer: 0x20000004 lr: 0x901f64cc ctr: 0x00000002 r0: 0x00000008 r1: 0xbfffe340 r2: 0x8fe507cc r3: 0x00000000 r4: 0x9025cff8 r5: 0x00000008 r6: 0x8fe5322c r7: 0x00000000 r8: 0x00000002 r9: 0x00000008 r10: 0x00000000 r11: 0xa01c1f94 r12: 0x9011c020 r13: 0x00000000 r14: 0x8fe50834 r15: 0x8fe50504 r16: 0x8fe50528 r17: 0x8fe50538 r18: 0x00000000 r19: 0x66020000 r20: 0x8fe50538 r21: 0x00000001 r22: 0x8fe521fc r23: 0x8fe50834 r24: 0x8fe50528 r25: 0xa01c63f8 r26: 0xbffffe48 r27: 0x00000007 r28: 0x00000001 r29: 0x00000006 r30: 0xbffffe4c r31: 0x901f63f8 Binary Images Description: 0x1000 - 0x3fff perl perl 0x11000 - 0x13fff IO.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/IO/IO.bundle 0x18000 - 0x19fff Cwd.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Cwd/Cwd.bundle 0x24000 - 0x26fff Fcntl.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Fcntl/Fcntl.bundle 0x2c000 - 0x2cfff Hostname.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Sys/Hostname/Hostname.bundle 0x30000 - 0x34fff Socket.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Socket/Socket.bundle 0x37000 - 0x3afff HiRes.bundle /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/Time/HiRes/HiRes.bundle 0x45000 - 0x5cfff POSIX.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/POSIX/POSIX.bundle 0x6d000 - 0x75fff Parser.bundle /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/HTML/Parser/Parser.bundle 0x79000 - 0x7dfff Dumper.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Data/Dumper/Dumper.bundle 0x80000 - 0x9afff DBI.bundle /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/DBI/DBI.bundle 0xac000 - 0xaefff Unicode.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Encode/Unicode/Unicode.bundle 0xba000 - 0xcffff Zlib.bundle /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/Compress/Zlib/Zlib.bundle 0xd5000 - 0xdafff Encode.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Encode/Encode.bundle 0x205000 - 0x24efff SQLite.bundle /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/DBD/SQLite/SQLite.bundle 0x259000 - 0x287fff Expat.bundle /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/XML/Parser/Expat/Expat.bundle 0x292000 - 0x297fff Util.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/List/Util/Util.bundle 0x2a5000 - 0x2a6fff Base64.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/MIME/Base64/Base64.bundle 0x2b9000 - 0x2c6fff Storable.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Storable/Storable.bundle 0x2e0000 - 0x2e2fff MD5.bundle /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Digest/MD5/MD5.bundle 0x440000 - 0x444fff XS.bundle /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/Template/Stash/XS/XS.bundle 0x453000 - 0x454fff AppleScript.bundle /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Mac/AppleScript/AppleScript.bundle 0x605000 - 0x6a5fff GD.bundle /Library/PreferencePanes/SlimServer.prefPane/Contents/server/CPAN/arch/5.8/darwin-thread-multi-2level/auto/GD/GD.bundle 0x7f430000 - 0x7f508fff libperl.dylib /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/libperl.dylib 0x7f770000 - 0x7f7b3fff com.apple.AppleScriptKit 1.3.1 (38) /System/Library/Frameworks/AppleScriptKit.framework/Versions/A/AppleScriptKit 0x80830000 - 0x8090efff libxml2.2.dylib /usr/lib/libxml2.2.dylib 0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld 0x90000000 - 0x9014ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x901c0000 - 0x9026dfff com.apple.CoreFoundation 6.3.7 (299.35) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x902b0000 - 0x90529fff com.apple.CoreServices.CarbonCore 10.3.7 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x90584000 - 0x905f3fff com.apple.framework.IOKit 1.3.6 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x90702000 - 0x90769fff com.apple.audio.CoreAudio 2.1.3 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x907c7000 - 0x907d2fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.5 /System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x90830000 - 0x9089ffff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x908c5000 - 0x90915fff com.apple.HIServices 1.4.1 (0.0.1d1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x90940000 - 0x909b3fff com.apple.DesktopServices 1.2.5 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x90a20000 - 0x90b7bfff com.apple.Foundation 6.3.7 (500.59) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x90c32000 - 0x90c45fff com.apple.speech.synthesis.framework 3.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 (???) /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x910b0000 - 0x91101fff com.apple.bom 1.2.5 (63.2) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom 0x912e0000 - 0x912f7fff com.apple.LangAnalysis 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x91303000 - 0x9136cfff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering 0x913a0000 - 0x9145ffff ColorSync /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x915e0000 - 0x91699fff com.apple.QD 3.4.67 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x916e0000 - 0x91773fff com.apple.print.framework.PrintCore 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x917b6000 - 0x917cafff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib 0x917e0000 - 0x917f0fff com.apple.speech.recognition.framework 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x91810000 - 0x9182afff com.apple.openscripting 1.2.1 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x91850000 - 0x91860fff com.apple.ImageCapture 2.1.5 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x91890000 - 0x9189cfff com.apple.help 1.0.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x918c0000 - 0x918cdfff com.apple.CommonPanels 1.2.1 (1.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x918f0000 - 0x9193efff com.apple.print.framework.Print 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x91990000 - 0x9199bfff com.apple.securityhi 1.2 (90) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI 0x91a40000 - 0x91ab3fff com.apple.NavigationServices 3.3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices 0x91b10000 - 0x91b2afff libPDFRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib 0x91b50000 - 0x91b5ffff libPSRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib 0x91b80000 - 0x91b93fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x92070000 - 0x92096fff com.apple.FindByContent 1.4 (1.2) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent 0x920c0000 - 0x922a7fff com.apple.security 2.3 (176) /System/Library/Frameworks/Security.framework/Versions/A/Security 0x923c4000 - 0x923fcfff com.apple.AE 1.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x92430000 - 0x92468fff com.apple.LaunchServices 10.3.5 (98.4) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x927b2000 - 0x927e0fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib 0x927f0000 - 0x92827fff com.apple.CFNetwork 1.2.1 (7) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x92880000 - 0x92c05fff com.apple.HIToolbox 1.3.6 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x92e70000 - 0x9336ffff com.apple.AppKit 6.3.8 (743.39) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x939a0000 - 0x939b4fff libcups.2.dylib /usr/lib/libcups.2.dylib 0x939d0000 - 0x939d4fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib 0x93b3c000 - 0x93bf4fff com.apple.audio.toolbox.AudioToolbox 1.3.3 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x94500000 - 0x94518fff com.apple.WebServices 1.1.1 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore 0x945b0000 - 0x945b9fff libz.1.dylib /usr/lib/libz.1.dylib 0x94610000 - 0x9462afff libresolv.9.dylib /usr/lib/libresolv.9.dylib 0x94650000 - 0x946affff com.apple.SearchKit 1.0.2 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x954c0000 - 0x95ac6fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x95b20000 - 0x95df0fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x95e0a000 - 0x95e27fff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound 0x95e40000 - 0x95eadfff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x95f00000 - 0x95f20fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x9618e000 - 0x9618efff com.apple.audio.units.AudioUnit 1.3.3 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x962e6000 - 0x965befff com.apple.CoreGraphics 1.203.30 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x968d0000 - 0x969b2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x96a20000 - 0x96ae2fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib 0x96b2e000 - 0x96b36fff libbsm.dylib /usr/lib/libbsm.dylib 0x96b50000 - 0x96bdffff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0x96c00000 - 0x96c8cfff com.apple.ink.framework 101.1.4 (55.12) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x96cb0000 - 0x96d9efff libiconv.2.dylib /usr/lib/libiconv.2.dylib 0x96e80000 - 0x96e90fff com.apple.vecLib 3.0.3 (vecLib 3.0.3) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
This really seems like a bug with Apple's perl. Allan - Have you filed a RADAR request against them?
Fixed in subversion change 3947. Will be in the 2005-08-12 nightlies