freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Crash in Mac OS X, in a function inside freetype.


From: Ashutosh Morwal
Subject: Re: [ft-devel] Crash in Mac OS X, in a function inside freetype.
Date: Mon, 13 Jan 2014 15:03:34 +0530

Thank you for your prompt reply.
Yes, the crash is occuring everytime the app is run. Here is some more information I have got from the user.

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.instrumentchamp.bandedition 0x000cabe3 FT_CMap_New + 105
1   com.instrumentchamp.bandedition 0x000fb3a4 tt_face_build_cmaps + 516
2   com.instrumentchamp.bandedition 0x000f810a sfnt_load_face + 1424
3   com.instrumentchamp.bandedition 0x000ceebe tt_face_init + 231
4   com.instrumentchamp.bandedition 0x000c9c64 open_face + 218
5   com.instrumentchamp.bandedition 0x000c98f1 FT_Open_Face + 528
6   com.instrumentchamp.bandedition 0x000c96db FT_New_Face + 68
7   com.instrumentchamp.bandedition 0x000c6122 FT::FT(char const*, unsigned int, int) + 642 (FT.cpp:107)
8   com.instrumentchamp.bandedition 0x00012917 SharedState::SharedState() + 71 (SharedState.h:88)
9   com.instrumentchamp.bandedition 0x000b5859 main + 17449 (basic_string.h:237)
10  com.instrumentchamp.bandedition 0x000022f5 start + 53

Thread 1:
0   libsystem_kernel.dylib         0x992687ce mach_msg_trap + 10
1   libsystem_kernel.dylib         0x99267cac mach_msg + 68
2   com.apple.audio.midi.CoreMIDI 0x003b822d XServerMachPort::ReceiveMessage(int&, void*, int&) + 101
3   com.apple.audio.midi.CoreMIDI 0x003d5ae0 MIDIProcess::RunMIDIInThread() + 144
4   com.apple.audio.midi.CoreMIDI 0x003dbc48 MIDIProcess::MIDIInPortThread::Run() + 24
5   com.apple.audio.midi.CoreMIDI 0x003b9805 XThread::RunHelper(void*) + 17
6   com.apple.audio.midi.CoreMIDI 0x003b92ee CAPThread::Entry(CAPThread*) + 196
7   libsystem_c.dylib             0x9808d5b7 _pthread_start + 344
8   libsystem_c.dylib             0x98077dce thread_start + 34

Thread 2:
0   libsystem_kernel.dylib         0x9926b0ee __workq_kernreturn + 10
1   libsystem_c.dylib             0x980900ac _pthread_workq_return + 45
2   libsystem_c.dylib             0x9808fe79 _pthread_wqthread + 448
3   libsystem_c.dylib             0x98077daa start_wqthread + 30

Thread 3:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib         0x9926b9ae kevent + 10
1   libdispatch.dylib             0x90616c71 _dispatch_mgr_invoke + 993
2   libdispatch.dylib             0x906167a9 _dispatch_mgr_thread + 53

Thread 4:
0   libsystem_kernel.dylib         0x9926b0ee __workq_kernreturn + 10
1   libsystem_c.dylib             0x980900ac _pthread_workq_return + 45
2   libsystem_c.dylib             0x9808fe79 _pthread_wqthread + 448
3   libsystem_c.dylib             0x98077daa start_wqthread + 30

Thread 5:: Dispatch queue: com.apple.opengl.cvmDoWork
0   libsystem_kernel.dylib         0x9926880a semaphore_wait_trap + 10
1   libdispatch.dylib             0x90617445 _dispatch_semaphore_wait_slow + 305
2   libdispatch.dylib             0x906171f5 dispatch_semaphore_wait + 36
3   libxpc.dylib                   0x957167b8 xpc_connection_send_message_with_reply_sync + 161
4   libCoreVMClient.dylib         0x93a40cec cvms_service_attach + 645
5   libCVMSPluginSupport.dylib     0x92616944 cvmInitializeCVMS(void*) + 179
6   libdispatch.dylib             0x90613c82 _dispatch_client_callout + 46
7   libdispatch.dylib             0x90615160 _dispatch_queue_drain + 206
8   libdispatch.dylib             0x90614ffa _dispatch_queue_invoke + 50
9   libdispatch.dylib             0x90614ecb _dispatch_worker_thread2 + 230
10  libsystem_c.dylib             0x9808fe72 _pthread_wqthread + 441
11  libsystem_c.dylib             0x98077daa start_wqthread + 30

Thread 6:
0   libsystem_kernel.dylib         0x9926b0ee __workq_kernreturn + 10
1   libsystem_c.dylib             0x980900ac _pthread_workq_return + 45
2   libsystem_c.dylib             0x9808fe79 _pthread_wqthread + 448
3   libsystem_c.dylib             0x98077daa start_wqthread + 30

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00030000  ebx: 0x001d69d0  ecx: 0xbffd04f8  edx: 0x00000000
  edi: 0x00000000  esi: 0x00c299f0  ebp: 0xbffd0458  esp: 0xbffd0420
   ss: 0x00000023  efl: 0x00010246  eip: 0x000cabe3   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x063a8385
Logical CPU: 1

In the highlighted red FT::FT() I am calling FT_New_Face() this is the line where the app is crashing.
Hope that helps.

Regards.


On 13 January 2014 12:54, Werner LEMBERG <address@hidden> wrote:

> Recently, one of our customers got back to us with a crash, upon
> further research we found out that the crash was related to FT,
> specifically from the function call to *FT_CMap_New.*  The crash
> isn't observed on every Mac machine, but a very few machines.

There is no known bug in the cmap routines.

> Have a look at the crash report attached herewith.

Unfortunately, this doesn't help.  In case your customer can repeat
the crash reliably: Can you provide a debug build to your customer,
making him or her run the application in a debugger so that we get a
backtrace?


    Werner


reply via email to

[Prev in Thread] Current Thread [Next in Thread]