Crash in 10.9 decoding NSAttributedString
Crash in 10.9 decoding NSAttributedString
- Subject: Crash in 10.9 decoding NSAttributedString
- From: Graham Cox <email@hidden>
- Date: Fri, 01 Nov 2013 23:04:31 +0100
In -initWithCoder for one of my objects, I attempt to decode an NSAttributedString. It goes into an infinite recursion and crashes on 10.9. This works fine on 10.7 and 10.8. Anyone any ideas what could be going on, or has seen this?
Here’s the stack below the last place in my code:
#0 0x00007fff8c7bb097 in CFBasicHashFindBucket ()
#1 0x00007fff8c7baf1f in CFDictionaryGetValue ()
#2 0x00007fff8e4bf570 in TBaseFont::CopyAttributeInternal(void const*) const ()
#3 0x00007fff8e557faf in TInstanceFont::CopyTraitsInternal() const ()
#4 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#5 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#6 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#7 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#8 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#9 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#10 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#11 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#12 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#13 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#14 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#15 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#16 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#17 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#18 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#19 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#20 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#21 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#22 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#23 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#24 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#25 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#26 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#27 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#28 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#29 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#30 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#31 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#32 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#33 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#34 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#35 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#36 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#37 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#38 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#39 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#40 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#41 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#42 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#43 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#44 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#45 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#46 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#47 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#48 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#49 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#50 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94818 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94819 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94820 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94821 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94822 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94823 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94824 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94825 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94826 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94827 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94828 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94829 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94830 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94831 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94832 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94833 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94834 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94835 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94836 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94837 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94838 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94839 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94840 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94841 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94842 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94843 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94844 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94845 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94846 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94847 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94848 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94849 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94850 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94851 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94852 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94853 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94854 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94855 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94856 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94857 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94858 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94859 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94860 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94861 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94862 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94863 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94864 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94865 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94866 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94867 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94868 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94869 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94870 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94871 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94872 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94873 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94874 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94875 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94876 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94877 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94878 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94879 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94880 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94881 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94882 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94883 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94884 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94885 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94886 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94887 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94888 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94889 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94890 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94891 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94892 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94893 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94894 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94895 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94896 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94897 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94898 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94899 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94900 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94901 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94902 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94903 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94904 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94905 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94906 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94907 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94908 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94909 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94910 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94911 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94912 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94913 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94914 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94915 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94916 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94917 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94918 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94919 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94920 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94921 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94922 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94923 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94924 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94925 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94926 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94927 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94928 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94929 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94930 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94931 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94932 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94933 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94934 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94935 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94936 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94937 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94938 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94939 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94940 0x00007fff8e55146b in TBaseFont::CopyTraits(bool) const ()
#94941 0x00007fff8e557fd2 in TInstanceFont::CopyTraitsInternal() const ()
#94942 0x00007fff8e4d25cd in TBaseFont::CopyAttribute(unsigned long) const ()
#94943 0x00007fff8e4c0581 in TDescriptor::CopyAttribute(__CFString const*) const ()
#94944 0x00007fff8e4c04af in CTFontDescriptorCopyAttribute ()
#94945 0x00007fff8ab17792 in -[NSCTFontDescriptor objectForKey:] ()
#94946 0x00007fff8ab1774e in -[NSFontDescriptor symbolicTraits] ()
#94947 0x00007fff8ab17c59 in -[__NSSharedFontInstanceInfo initWithTypefaceInfo:key:] ()
#94948 0x00007fff8ab17a43 in -[__NSFontTypefaceInfo fontInstanceForFontDescriptor:size:affineTransform:renderingMode:] ()
#94949 0x00007fff8ab483a0 in -[NSFont initWithCoder:] ()
#94950 0x00007fff8a1dfe22 in _decodeObjectBinary ()
#94951 0x00007fff8a1e0f2f in -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] ()
#94952 0x00007fff8a201678 in -[NSDictionary(NSDictionary) initWithCoder:] ()
#94953 0x00007fff8a1dfe22 in _decodeObjectBinary ()
#94954 0x00007fff8a1df2dd in _decodeObject ()
#94955 0x00007fff8a23b510 in _NSReadMutableAttributedStringWithCoder ()
#94956 0x00007fff8a23b2ca in -[NSAttributedString initWithCoder:] ()
#94957 0x00007fff8a1dfe22 in _decodeObjectBinary ()
#94958 0x00007fff8a1df2dd in _decodeObject ()
#94959 0x000000010055ef40 in -[DKMetadataItem initWithCoder:] at /Users/grahamcox/Projects/DrawKit/Source/Code/DKMetadataItem.m:1113
—Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden