Subject: Re: [nmr_sparky] Crash when pressing delete key
From: Tom Goddard
Date: Mar 4, 2009

Previous: 570 Next: 573


Hi Andrew,

Your problem appears to be a bug introduced by a recent Mac 10.4
security patch which updated the freetype library in the Apple X11.

http://lists.apple.com/archives/x11-users/2009/Feb/msg00040.html

The suggested solution in the above post is to replace the X11 freetype
library with a newer one provided by Jeremy Huddleston.

Tom


Andrew Fowler wrote:
Hi Tom,

Below is a copy/paste from Apples crash reporter - it doesnt seem to be
dumping core. I should actually note that this goes beyond Sparky crashing -
it brings X11 down with it. The Exception being thrown is a divide by zero.
Thread 1 indicates that its the one that crashed and all the subprocesses
are in freetype or Xquartz.

I wasnt having this problem a few weeks ago but dont recall much beyond
Apple software updates that Ive changed.

Let me know if theres any other info that would be helpful - its
absolutely trivial to reproduce (on my system at least). All I need to do is
click in the main Sparky window before I even load a project and hit the
delete key.

I have no problems with a Core2Duo MacBook, most recent version of 10.5.

Cheers,
Andrew

Date/Time: 2009-03-04 14:54:30.091 -0600
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4

Command: Xquartz
Path: /usr/X11R6/bin/Xquartz
Parent: X11 [882]

Version: 1.1.3 (???)
Build Version: 2
Project Name: X11
Source Version: 4606

PID: 883
Thread: 1

Exception: EXC_ARITHMETIC (0x0003)
Codes: EXC_I386_DIV (divide by zero)

Thread 0:
0 libSystem.B.dylib 0x90009817 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x902a6227 CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x902a5a42 CFRunLoopRunInMode + 61
3 com.apple.HIToolbox 0x9ec82878 RunCurrentEventLoopInMode + 285
4 com.apple.HIToolbox 0x9ec81f82 ReceiveNextEventCommon + 385
5 com.apple.HIToolbox 0x9ec81dd9
BlockUntilNextEventMatchingListInMode + 81
6 com.apple.AppKit 0x9214df45 _DPSNextEvent + 572
7 com.apple.AppKit 0x9214db37 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
8 com.apple.AppKit 0x921478c4 -[NSApplication run] + 512
9 Xquartz 0x0004b6f8 X11ApplicationMain + 1247
10 Xquartz 0x000410f7 DarwinHandleGUI + 111
11 Xquartz 0x00003355 main + 53
12 Xquartz 0x00002e1e start + 258
13 Xquartz 0x00002d45 start + 41

Thread 1 Crashed:
0 libfreetype.6.dylib 0x0032e894 ft_raster1_render + 297
1 libfreetype.6.dylib 0x00307da4 FT_Render_Glyph_Internal + 129
2 libfreetype.6.dylib 0x00307e49 FT_Render_Glyph + 45
3 Xquartz 0x0013c297 unicodetoPSname + 2948
4 Xquartz 0x0013fabc
FreeTypeRegisterFontFileFunctions + 10277
5 Xquartz 0x00140faf
FreeTypeRegisterFontFileFunctions + 15640
6 Xquartz 0x00142580
FreeTypeRegisterFontFileFunctions + 21225
7 Xquartz 0x00129cce FontFileOpenFont + 1543
8 Xquartz 0x0000d156 SetFontPath + 385
9 Xquartz 0x0000d5bb OpenFont + 379
10 Xquartz 0x00016ec2 ProcOpenFont + 115
11 Xquartz 0x0001c23d Dispatch + 496
12 Xquartz 0x0000385c main + 1340
13 Xquartz 0x00041080 QuartzMessageMainThread + 560
14 libSystem.B.dylib 0x90023d67 _pthread_body + 84

Thread 2:
0 libSystem.B.dylib 0x90009817 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x902a6227 CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x902a5a42 CFRunLoopRunInMode + 61
3 com.apple.audio.CoreAudio 0x91468356 HALRunLoop::OwnThread(void*) +
158
4 com.apple.audio.CoreAudio 0x91468171 CAPThread::Entry(CAPThread*) +
93
5 libSystem.B.dylib 0x90023d67 _pthread_body + 84

Thread 3:
0 libSystem.B.dylib 0x90024407 semaphore_wait_signal_trap + 7
1 libXplugin.1.dylib 0x9a57dcb5 _xp_async_dequeue + 41
2 libXplugin.1.dylib 0x9a57dd1a _xp_async_thread + 53
3 libSystem.B.dylib 0x90023d67 _pthread_body + 84

Thread 1 crashed with X86 Thread State (32-bit):
eax: 0x7fffffff ebx: 0x0032e779 ecx: 0x00000000 edx: 0x00000000
edi: 0x00000000 esi: 0x00000000 ebp: 0xb009c1f8 esp: 0xb009c180
ss: 0x0000001f efl: 0x00010246 eip: 0x0032e894 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037

Binary Images Description:
0x1000 - 0x180fff Xquartz /usr/X11R6/bin/Xquartz
0x305000 - 0x345fff libfreetype.6.dylib
/usr/X11R6/lib/libfreetype.6.dylib
0x358000 - 0x436fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x8fe00000 - 0x8fe4afff dyld 46.16 /usr/lib/dyld
0x90000000 - 0x90171fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901c1000 - 0x901c3fff libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib
0x901c5000 - 0x90202fff com.apple.CoreText 1.1.3 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/CoreText.framework/Versions/A/CoreText
0x90284000 - 0x9034cfff com.apple.CoreFoundation 6.4.11 (368.35)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundatio
n
0x903a3000 - 0x90649fff com.apple.CoreServices.CarbonCore 682.31
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Carb
onCore.framework/Versions/A/CarbonCore
0x90910000 - 0x90910fff com.apple.CoreServices 10.4 (???)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90990000 - 0x90a0efff com.apple.DesktopServices 1.3.7
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/D
esktopServicesPriv
0x90a56000 - 0x90ad5fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90afe000 - 0x90b62fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x90bd1000 - 0x90bd8fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x90bdd000 - 0x90c50fff com.apple.framework.IOKit 1.4.8 (???)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c65000 - 0x90c77fff libauto.dylib /usr/lib/libauto.dylib
0x90f66000 - 0x90fcefff com.apple.CoreServices.OSServices 4.1
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSSe
rvices.framework/Versions/A/OSServices
0x91059000 - 0x91069fff com.apple.WebServices 1.1.3 (1.1.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebS
ervicesCore.framework/Versions/A/WebServicesCore
0x9112d000 - 0x9114bfff com.apple.Metadata 10.4.4 (121.36)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Meta
data.framework/Versions/A/Metadata
0x91157000 - 0x91165fff libz.1.dylib /usr/lib/libz.1.dylib
0x91168000 - 0x91307fff com.apple.security 4.5.2 (29774)
/System/Library/Frameworks/Security.framework/Versions/A/Security
0x91405000 - 0x9140dfff com.apple.DiskArbitration 2.1.2
/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitrat
ion
0x91414000 - 0x9141bfff libbsm.dylib /usr/lib/libbsm.dylib
0x9141f000 - 0x91445fff com.apple.SystemConfiguration 1.8.6
/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemCo
nfiguration
0x91457000 - 0x914cdfff com.apple.audio.CoreAudio 3.0.5
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9151e000 - 0x9151efff com.apple.ApplicationServices 10.4 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Applicat
ionServices
0x9166d000 - 0x916e0fff com.apple.print.framework.PrintCore 4.6 (177.13)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/PrintCore.framework/Versions/A/PrintCore
0x917dd000 - 0x91828fff com.apple.HIServices 1.5.2 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/HIServices.framework/Versions/A/HIServices
0x91847000 - 0x9185dfff com.apple.LangAnalysis 1.6.3
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91869000 - 0x91883fff com.apple.FindByContent 1.5
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/FindByContent.framework/Versions/A/FindByContent
0x918de000 - 0x918eafff com.apple.speech.synthesis.framework 3.5
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x91a57000 - 0x91a75fff libJPEG.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91aeb000 - 0x91aeffff libGIF.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91b9d000 - 0x91b9ffff libRadiance.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91c06000 - 0x91c43fff com.apple.LaunchServices 183
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/LaunchServices.framework/Versions/A/LaunchServices
0x91ce1000 - 0x91ce1fff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91ce3000 - 0x91d71fff com.apple.vImage 2.5
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage
.framework/Versions/A/vImage
0x91d78000 - 0x91d78fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib
.framework/Versions/A/vecLib
0x91d7a000 - 0x91dd3fff libvMisc.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib
.framework/Versions/A/libvMisc.dylib
0x91ddc000 - 0x91e00fff libvDSP.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib
.framework/Versions/A/libvDSP.dylib
0x92137000 - 0x927edfff com.apple.AppKit 6.4.10 (824.48)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x92bb2000 - 0x92bb2fff com.apple.Carbon 10.4 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92bb4000 - 0x92bc4fff com.apple.ImageCapture 3.0.4
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCaptu
re.framework/Versions/A/ImageCapture
0x92bd3000 - 0x92bdbfff com.apple.speech.recognition.framework 3.6
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechReco
gnition.framework/Versions/A/SpeechRecognition
0x92be1000 - 0x92be6fff com.apple.securityhi 2.0.1 (24742)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI
.framework/Versions/A/SecurityHI
0x92bec000 - 0x92c7dfff com.apple.ink.framework 101.2.1 (71)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framew
ork/Versions/A/Ink
0x92c91000 - 0x92c94fff com.apple.help 1.0.3 (32.1)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.frame
work/Versions/A/Help
0x92cc7000 - 0x92ccdfff com.apple.print.framework.Print 5.1 (192.3)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.fram
ework/Versions/A/Print
0x92cd3000 - 0x92d36fff com.apple.htmlrendering 66.1 (1.1.3)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRender
ing.framework/Versions/A/HTMLRendering
0x92d5a000 - 0x92d9bfff com.apple.NavigationServices 3.4.4 (3.4.3)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Navigation
Services.framework/Versions/A/NavigationServices
0x92dc2000 - 0x92dcffff com.apple.audio.SoundManager 3.9.1
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSoun
d.framework/Versions/A/CarbonSound
0x92dd6000 - 0x92ddbfff com.apple.CommonPanels 1.2.3 (73)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPane
ls.framework/Versions/A/CommonPanels
0x930a5000 - 0x930bbfff libcups.2.dylib /usr/lib/libcups.2.dylib
0x931db000 - 0x931e6fff com.apple.opengl 1.4.16
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93536000 - 0x935b5fff com.apple.SearchKit 1.0.8
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Sear
chKit.framework/Versions/A/SearchKit
0x93c8f000 - 0x93d0afff com.apple.CoreData 91 (92.1)
/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x93d43000 - 0x93dfcfff com.apple.audio.toolbox.AudioToolbox 1.4.7
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93e3f000 - 0x93e3ffff com.apple.audio.units.AudioUnit 1.4.2
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x93e41000 - 0x94002fff com.apple.QuartzCore 1.4.12
/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94048000 - 0x94089fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x94091000 - 0x940cbfff libGLImage.dylib
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.
dylib
0x95162000 - 0x95256fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x952bd000 - 0x9536ffff libcrypto.0.9.7.dylib
/usr/lib/libcrypto.0.9.7.dylib
0x95d3c000 - 0x95e10fff com.apple.ColorSync 4.4.11
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ColorSync.framework/Versions/A/ColorSync
0x95e9c000 - 0x95ec8fff com.apple.AE 316.3
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/AE.framework/Versions/A/AE
0x95ee6000 - 0x95f25fff com.apple.CFNetwork 129.24
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNe
twork.framework/Versions/A/CFNetwork
0x96148000 - 0x9621dfff ATS
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ATS.framework/Versions/A/ATS
0x96f46000 - 0x96f86fff com.apple.ImageIO.framework 1.5.8
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ImageIO.framework/Versions/A/ImageIO
0x96fa2000 - 0x97001fff libJP2.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x97106000 - 0x97121fff libPng.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x9712c000 - 0x971b4fff libRaw.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x971b9000 - 0x971f8fff libTIFF.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x9a57d000 - 0x9a588fff libXplugin.1.dylib /usr/lib/libXplugin.1.dylib
0x9e8c3000 - 0x9e8d2fff libCGATS.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x9e8d9000 - 0x9e8f3fff libRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x9e8f9000 - 0x9e904fff libCSync.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x9e909000 - 0x9e91ffff com.apple.CoreVideo 1.4.2
/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x9e92f000 - 0x9eb67fff com.apple.Foundation 6.4.12 (567.42)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x9ec79000 - 0x9ef6efff com.apple.HIToolbox 1.4.10 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.
framework/Versions/A/HIToolbox
0x9f074000 - 0x9f092fff com.apple.openscripting 1.2.7 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScript
ing.framework/Versions/A/OpenScripting
0x9f0a4000 - 0x9f0bbfff libGL.dylib
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x9f0c6000 - 0x9f11efff libGLU.dylib
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dyli
b
0x9f132000 - 0x9f21ffff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x9f221000 - 0x9f5d5fff libLAPACK.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib
.framework/Versions/A/libLAPACK.dylib
0x9f602000 - 0x9fa0bfff libBLAS.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib
.framework/Versions/A/libBLAS.dylib
0x9fa45000 - 0x9faeefff com.apple.QD 3.10.27 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/QD.framework/Versions/A/QD
0x9fb14000 - 0x9ff69fff com.apple.CoreGraphics 1.258.82 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/CoreGraphics.framework/Versions/A/CoreGraphics

Model: iMac4,1, BootROM IM41.0055.B08, 2 processors, Intel Core Duo, 2 GHz,
2 GB
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 256 MB
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x89),
Broadcom BCM43xx 1.0 (4.170.46.9)
Bluetooth: Version 1.9.5f4, 2 service, 1 devices, 1 incoming serial ports
Network Service: Built-in Ethernet, Ethernet, en0
Serial ATA Device: Maxtor 6L250M0, 233.76 GB
Parallel ATA Device: PIONEER DVD-RW DVR-K05
USB Device: Hub, Up to 480 Mb/sec, 500 mA
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec,
500 mA
USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 250 mA
USB Device: Bluetooth USB Host Controller, Apple, Inc., Up to 12 Mb/sec, 500
mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA



On 3/4/09 2:21 PM, Tom Goddard goddard@... wrote:





Tom Goddard wrote:
Hi Andrew,

On my MacBook Pro (Intel) with Mac OS 10.5.6 pressing the Delete key
doesnt work but Fn-Delete works like delete. That is a known
problem. I never heard of Sparky crashing from pressing Delete. Ill
check tomorrow if any of the iMacs at my work are running 10.4 and
give it a try. If it crashes do you get a Mac Crash Dump? Seeing
that would help debug it. After getting more info Ill post results
to the Sparky discussion group.

Tom


Andrew Fowler wrote:
Ive also posted this to the Sparky group, but Im hoping one of the
maintainers might have an idea.

Brief description: Sparky crashes any time I press the delete key,
regardless of what window or mode is active or how Sparky is started.
This
makes it a bit difficult to get rid of peaks, markers, etc. The
problem is
completely reproducible and independent of spectrum, project, etc.
For the
life of me, I cant figure this one out, so any suggestions greatly
appreciated.

Im running on Intel iMac Core Duo, OS X 10.4.11, fully updated.

Get Info showed Sparky v. 3.113 so I downloaded and installed the latest
version (3.115). Get Info still shows 3.113, but I dragged the old
version
to the trash so Im sure I installed what I downloaded.

If any other info would make troubleshooting this easier, feel free
to ask.
Im trying to get back to work on a saved project and would prefer
not to
start over in another software package.