Sublime Forum

Crash Bug

#1

Hello,

I have a crash for the latest Beta(2111) and before. Simply open it with the editor. It is not really a zip file, just named so to get attached. Below is a little debugging info about the crash. Done on Mac OS X 10.6.6.

Thanks.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x00007fff8841e7f0 in CFStringCreateCopy ()
Error while running hook_stop:
Invalid type combination in ordering comparison.
gdb$ bt
#0  0x00007fff8841e7f0 in CFStringCreateCopy ()
#1  0x00007fff8848091d in CFAttributedStringCreate ()
#2  0x00000001edf11e2c in px_measure_string ()
#3  0x00000001edd5887e in texture_font::create_glyph_data ()
#4  0x00000001edd58e60 in texture_font::measure_glyph ()
#5  0x00000001edf0424b in px_unicode_font::fillCharWidthTable ()
#6  0x00000001edf04959 in UnicodeFont::stringWidth ()
#7  0x00000001edecf0f5 in Token::calculateWidth ()
#8  0x00000001edee3e80 in TokenStorage::addLayout ()
#9  0x00000001eded20c1 in TokenRenderer::ensureLayoutHandle ()
#10 0x00000001eded20f6 in TokenRenderer::viewExtents ()
#11 0x00000001ede9bb66 in TextBufferView::viewExtents ()
#12 0x00000001ede52367 in skyline_text_control::calculate_size ()
#13 0x00000001edd45b48 in scroll_area_control::on_preferred_size_changed ()
#14 0x00000001ede80644 in runCallbacks ()
#15 0x00000001ede823ce in TextBuffer::runFileLoadedCallbacks ()
#16 0x00000001ede82693 in TextBuffer::readFinished ()
#17 0x00000001ede5d92d in finish_read ()
#18 0x00000001edf0c600 in ns_work_queue_runner::run_items ()
#19 0x00007fff88f8244f in __NSThreadPerformPerform ()
#20 0x00007fff88464401 in __CFRunLoopDoSources0 ()
#21 0x00007fff884625f9 in __CFRunLoopRun ()
#22 0x00007fff88461dbf in CFRunLoopRunSpecific ()
#23 0x00007fff82ab793a in RunCurrentEventLoopInMode ()
#24 0x00007fff82ab773f in ReceiveNextEventCommon ()
#25 0x00007fff82ab75f8 in BlockUntilNextEventMatchingListInMode ()
#26 0x00007fff81fdce64 in _DPSNextEvent ()
#27 0x00007fff81fdc7a9 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#28 0x00007fff81fa248b in -[NSApplication run] ()
#29 0x00000001eddc7637 in main ()
gdb$ i r
rax            0x400	0x400
rbx            0x0	0x0
rcx            0x160	0x160
rdx            0x7	0x7
rsi            0x0	0x0
rdi            0x0	0x0
rbp            0x7fff5fbfc400	0x7fff5fbfc400
rsp            0x7fff5fbfc3b0	0x7fff5fbfc3b0
r8             0x114dfc0a0	0x114dfc0a0
r9             0x114dfc0a4	0x114dfc0a4
r10            0xf	0xf
r11            0x114df14d0	0x114df14d0
r12            0x114df14d0	0x114df14d0
r13            0x0	0x0
r14            0x114df10e0	0x114df10e0
r15            0x114df10e0	0x114df10e0
rip            0x7fff8841e7f0	0x7fff8841e7f0 <CFStringCreateCopy+48>
eflags         0x10283	0x10283
cs             0x27	0x27
ss             0x0	0x0
ds             0x0	0x0
es             0x0	0x0
fs             0x0	0x0
gs             0x0	0x0
gdb$ disass
Dump of assembler code for function CFStringCreateCopy:
0x00007fff8841e7c0 <CFStringCreateCopy+0>:	push   rbp
0x00007fff8841e7c1 <CFStringCreateCopy+1>:	mov    rbp,rsp
0x00007fff8841e7c4 <CFStringCreateCopy+4>:	mov    QWORD PTR [rbp-0x18],rbx
0x00007fff8841e7c8 <CFStringCreateCopy+8>:	mov    QWORD PTR [rbp-0x10],r12
0x00007fff8841e7cc <CFStringCreateCopy+12>:	mov    QWORD PTR [rbp-0x8],r13
0x00007fff8841e7d0 <CFStringCreateCopy+16>:	sub    rsp,0x50
0x00007fff8841e7d4 <CFStringCreateCopy+20>:	mov    r13,rdi
0x00007fff8841e7d7 <CFStringCreateCopy+23>:	mov    rbx,rsi
0x00007fff8841e7da <CFStringCreateCopy+26>:	mov    rdx,QWORD PTR [rip-0x174b4b11]        # 0x7fff70f69cd0 <__kCFStringTypeID>
0x00007fff8841e7e1 <CFStringCreateCopy+33>:	lea    rax,[rip-0x174b6410]        # 0x7fff70f683d8 <__CFRuntimeClassTableSize>
0x00007fff8841e7e8 <CFStringCreateCopy+40>:	movsxd rax,DWORD PTR [rax]
0x00007fff8841e7eb <CFStringCreateCopy+43>:	cmp    rdx,rax
0x00007fff8841e7ee <CFStringCreateCopy+46>:	jae    0x7fff8841e820 <CFStringCreateCopy+96>
0x00007fff8841e7f0 <CFStringCreateCopy+48>:	mov    rcx,QWORD PTR [rsi]
0x00007fff8841e7f3 <CFStringCreateCopy+51>:	lea    rax,[rip-0x174b641a]        # 0x7fff70f683e0 <__CFRuntimeObjCClassTable>
0x00007fff8841e7fa <CFStringCreateCopy+58>:	mov    rax,QWORD PTR [rax]

bug.zip (527 Bytes)

0 Likes