Bug Bug Bug Cairo Bug Bug Cairo Bug Cairo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug Bug Bug Cairo Bug Bug Cairo Bug Cairo

Maarten Mostert
Its been 4 years now that I've been developing with Cairo on OSX:
This is how my application looks like:
============================================================================
Process:         visual [4598]
Path:            /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/MacOS/visual
Identifier:      com.cincom.vw7.8
Version:         VisualWorks Version 7.8 (7.8)
Code Type:       X86 (Native)
Parent Process:  launchd [120]

Date/Time:       2011-11-19 19:23:26.451 +0100
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          11822 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  12072 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      5CC08542-0FE6-4650-B63A-A7930C4604A5

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  3

Application Specific Information:
abort() called

Thread 0:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             0x9549fafa mach_msg_trap + 10
1   libSystem.B.dylib             0x954a0267 mach_msg + 68
2   com.apple.CoreFoundation       0x99d7d2df __CFRunLoopRun + 2079
3   com.apple.CoreFoundation       0x99d7c3c4 CFRunLoopRunSpecific + 452
4   com.apple.CoreFoundation       0x99d7c1f1 CFRunLoopRunInMode + 97
5   com.apple.HIToolbox           0x94f6de04 RunCurrentEventLoopInMode + 392
6   com.apple.HIToolbox           0x94f6dbb9 ReceiveNextEventCommon + 354
7   com.apple.HIToolbox           0x94f6da3e BlockUntilNextEventMatchingListInMode + 81
8   com.apple.AppKit               0x987e7595 _DPSNextEvent + 847
9   com.apple.AppKit               0x987e6dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
10  com.apple.AppKit               0x987a91f3 -[NSApplication run] + 821
11  com.apple.AppKit               0x987a1289 NSApplicationMain + 574
12  com.cincom.vw7.8               0x000868df oeMain + 550 (macXMain.m:156)
13  com.cincom.vw7.8               0x00002a22 _start + 216
14  com.cincom.vw7.8               0x00002949 start + 41

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             0x954c6382 kevent + 10
1   libSystem.B.dylib             0x954c6a9c _dispatch_mgr_invoke + 215
2   libSystem.B.dylib             0x954c5f59 _dispatch_queue_invoke + 163
3   libSystem.B.dylib             0x954c5cfe _dispatch_worker_thread2 + 240
4   libSystem.B.dylib             0x954c5781 _pthread_wqthread + 390
5   libSystem.B.dylib             0x954c55c6 start_wqthread + 30

Thread 2:  com.apple.CFSocket.private
0   libSystem.B.dylib             0x954beac6 select$DARWIN_EXTSN + 10
1   com.apple.CoreFoundation       0x99dbcc53 __CFSocketManager + 1091
2   libSystem.B.dylib             0x954cd259 _pthread_start + 345
3   libSystem.B.dylib             0x954cd0de thread_start + 34

Thread 3 Crashed:
0   libSystem.B.dylib             0x95587f75 usleep$NOCANCEL$UNIX2003 + 0
1   libSystem.B.dylib             0x955a96f0 abort + 105
2   libcairo.2.dylib               0x1ae0640d 0x1adbb000 + 308237
3   libcairo.2.dylib               0x1adc433f cairo_font_face_destroy + 79
4   libcairo.2.dylib               0x1add823d _cairo_scaled_font_fini_internal + 34
5   libcairo.2.dylib               0x1add85b7 cairo_scaled_font_destroy + 315
6   libcairo.2.dylib               0x1addad23 cairo_scaled_font_create + 1034
7   libcairo.2.dylib               0x1adc63a3 _cairo_gstate_ensure_scaled_font + 164
8   libcairo.2.dylib               0x1adc647a _cairo_gstate_text_to_glyphs + 78
9   libcairo.2.dylib               0x1adc0b85 cairo_text_extents + 198
10  com.cincom.vw7.8               0x00079828 pdCallC + 2208 (unx86CallC.c:373)
11  com.cincom.vw7.8               0x0000bafa primCallVarArgC + 332 (exCallC.c:507)
12  com.cincom.vw7.8               0x00060bab rtPrimGlueVarArgMany + 43
13  ???                           0x15c3f983 0 + 365164931
14  ???                           0x15c3ea5b 0 + 365161051
15  ???                           0x15cffe62 0 + 365952610
16  ???                           0x15c3ddb1 0 + 365157809
17  ???                           0x15cffdd5 0 + 365952469
18  ???                           0x15b89271 0 + 364417649
19  ???                           0x15b88d8f 0 + 364416399
20  com.cincom.vw7.8               0x000606a0 rootReturn + 0

Thread 3 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x955a9693  ecx: 0xb068260c  edx: 0x95500c5a
  edi: 0x01053c00  esi: 0xa0757b30  ebp: 0xb0682678  esp: 0xb068264c
   ss: 0x0000001f  efl: 0x00010282  eip: 0x95587f75   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
  cr2: 0x0083c800

Binary Images:
    0x1000 -    0xadfef +com.cincom.vw7.8 VisualWorks Version 7.8 (7.8) /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/MacOS/visual
0x1572c000 - 0x15747fef +libpng12.0.dylib 41.0.0 (compatibility 41.0.0) <00D5A0FD-08CE-8933-4268-5153395C3F4F> /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libpng12.0.dylib
0x1adbb000 - 0x1ae0effb +libcairo.2.dylib 10803.8.0 (compatibility 10803.0.0) <40C9AB37-0D9D-1F15-4131-AB171387F3A2> /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libcairo.2.dylib
0x1af13000 - 0x1af53ff7 +libpixman-1.0.dylib 17.2.0 (compatibility 17.0.0) <C873BF5A-E4C5-53EE-3ADF-B3BFAD8D34D0> /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libpixman-1.0.dylib
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld
0x900ff000 - 0x9014cfeb  com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1) <136BFA48-D456-B677-3B5D-40A6946C3A09> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
0x90195000 - 0x9019bfe7  com.apple.CommerceCore 1.0 (9.1) <521D067B-3BDA-D04E-E1FA-CFA526C87EB5> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
0x9019c000 - 0x901e3ffb  com.apple.CoreMediaIOServices 140.0 (1496) <DA152F1C-8EF4-4F5E-6D60-82B1DC72EF47> /System/Library/PrivateFrameworks/CoreMediaIOServices.framework/Versions/A/CoreMediaIOServices





_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Bug Bug Bug Cairo Bug Bug Cairo Bug Cairo

Andres Valloud-6
Funny that it crashed on usleep()... would you mind trying the latest
7.9 VM and see if that resolves the problem?  We recently fixed a subtle
defect stemming from the way OS X handles signals, and it would be
interesting to see if that changes the behavior of your application.

On 11/19/2011 12:57 PM, [hidden email] wrote:

> Its been 4 years now that I've been developing with Cairo on OSX:
> This is how my application looks like:
> ============================================================================
> Process:         visual [4598]
> Path:            /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/MacOS/visual
> Identifier:      com.cincom.vw7.8
> Version:         VisualWorks Version 7.8 (7.8)
> Code Type:       X86 (Native)
> Parent Process:  launchd [120]
>
> Date/Time:       2011-11-19 19:23:26.451 +0100
> OS Version:      Mac OS X 10.6.8 (10K549)
> Report Version:  6
>
> Interval Since Last Report:          11822 sec
> Crashes Since Last Report:           1
> Per-App Interval Since Last Report:  12072 sec
> Per-App Crashes Since Last Report:   1
> Anonymous UUID:                      5CC08542-0FE6-4650-B63A-A7930C4604A5
>
> Exception Type:  EXC_CRASH (SIGABRT)
> Exception Codes: 0x0000000000000000, 0x0000000000000000
> Crashed Thread:  3
>
> Application Specific Information:
> abort() called
>
> Thread 0:  Dispatch queue: com.apple.main-thread
> 0   libSystem.B.dylib             0x9549fafa mach_msg_trap + 10
> 1   libSystem.B.dylib             0x954a0267 mach_msg + 68
> 2   com.apple.CoreFoundation       0x99d7d2df __CFRunLoopRun + 2079
> 3   com.apple.CoreFoundation       0x99d7c3c4 CFRunLoopRunSpecific + 452
> 4   com.apple.CoreFoundation       0x99d7c1f1 CFRunLoopRunInMode + 97
> 5   com.apple.HIToolbox           0x94f6de04 RunCurrentEventLoopInMode + 392
> 6   com.apple.HIToolbox           0x94f6dbb9 ReceiveNextEventCommon + 354
> 7   com.apple.HIToolbox           0x94f6da3e BlockUntilNextEventMatchingListInMode + 81
> 8   com.apple.AppKit               0x987e7595 _DPSNextEvent + 847
> 9   com.apple.AppKit               0x987e6dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
> 10  com.apple.AppKit               0x987a91f3 -[NSApplication run] + 821
> 11  com.apple.AppKit               0x987a1289 NSApplicationMain + 574
> 12  com.cincom.vw7.8               0x000868df oeMain + 550 (macXMain.m:156)
> 13  com.cincom.vw7.8               0x00002a22 _start + 216
> 14  com.cincom.vw7.8               0x00002949 start + 41
>
> Thread 1:  Dispatch queue: com.apple.libdispatch-manager
> 0   libSystem.B.dylib             0x954c6382 kevent + 10
> 1   libSystem.B.dylib             0x954c6a9c _dispatch_mgr_invoke + 215
> 2   libSystem.B.dylib             0x954c5f59 _dispatch_queue_invoke + 163
> 3   libSystem.B.dylib             0x954c5cfe _dispatch_worker_thread2 + 240
> 4   libSystem.B.dylib             0x954c5781 _pthread_wqthread + 390
> 5   libSystem.B.dylib             0x954c55c6 start_wqthread + 30
>
> Thread 2:  com.apple.CFSocket.private
> 0   libSystem.B.dylib             0x954beac6 select$DARWIN_EXTSN + 10
> 1   com.apple.CoreFoundation       0x99dbcc53 __CFSocketManager + 1091
> 2   libSystem.B.dylib             0x954cd259 _pthread_start + 345
> 3   libSystem.B.dylib             0x954cd0de thread_start + 34
>
> Thread 3 Crashed:
> 0   libSystem.B.dylib             0x95587f75 usleep$NOCANCEL$UNIX2003 + 0
> 1   libSystem.B.dylib             0x955a96f0 abort + 105
> 2   libcairo.2.dylib               0x1ae0640d 0x1adbb000 + 308237
> 3   libcairo.2.dylib               0x1adc433f cairo_font_face_destroy + 79
> 4   libcairo.2.dylib               0x1add823d _cairo_scaled_font_fini_internal + 34
> 5   libcairo.2.dylib               0x1add85b7 cairo_scaled_font_destroy + 315
> 6   libcairo.2.dylib               0x1addad23 cairo_scaled_font_create + 1034
> 7   libcairo.2.dylib               0x1adc63a3 _cairo_gstate_ensure_scaled_font + 164
> 8   libcairo.2.dylib               0x1adc647a _cairo_gstate_text_to_glyphs + 78
> 9   libcairo.2.dylib               0x1adc0b85 cairo_text_extents + 198
> 10  com.cincom.vw7.8               0x00079828 pdCallC + 2208 (unx86CallC.c:373)
> 11  com.cincom.vw7.8               0x0000bafa primCallVarArgC + 332 (exCallC.c:507)
> 12  com.cincom.vw7.8               0x00060bab rtPrimGlueVarArgMany + 43
> 13  ???                           0x15c3f983 0 + 365164931
> 14  ???                           0x15c3ea5b 0 + 365161051
> 15  ???                           0x15cffe62 0 + 365952610
> 16  ???                           0x15c3ddb1 0 + 365157809
> 17  ???                           0x15cffdd5 0 + 365952469
> 18  ???                           0x15b89271 0 + 364417649
> 19  ???                           0x15b88d8f 0 + 364416399
> 20  com.cincom.vw7.8               0x000606a0 rootReturn + 0
>
> Thread 3 crashed with X86 Thread State (32-bit):
>    eax: 0x00000000  ebx: 0x955a9693  ecx: 0xb068260c  edx: 0x95500c5a
>    edi: 0x01053c00  esi: 0xa0757b30  ebp: 0xb0682678  esp: 0xb068264c
>     ss: 0x0000001f  efl: 0x00010282  eip: 0x95587f75   cs: 0x00000017
>     ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
>    cr2: 0x0083c800
>
> Binary Images:
>      0x1000 -    0xadfef +com.cincom.vw7.8 VisualWorks Version 7.8 (7.8) /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/MacOS/visual
> 0x1572c000 - 0x15747fef +libpng12.0.dylib 41.0.0 (compatibility 41.0.0)<00D5A0FD-08CE-8933-4268-5153395C3F4F>  /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libpng12.0.dylib
> 0x1adbb000 - 0x1ae0effb +libcairo.2.dylib 10803.8.0 (compatibility 10803.0.0)<40C9AB37-0D9D-1F15-4131-AB171387F3A2>  /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libcairo.2.dylib
> 0x1af13000 - 0x1af53ff7 +libpixman-1.0.dylib 17.2.0 (compatibility 17.0.0)<C873BF5A-E4C5-53EE-3ADF-B3BFAD8D34D0>  /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libpixman-1.0.dylib
> 0x8fe00000 - 0x8fe4162b  dyld 132.1 (???)<A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448>  /usr/lib/dyld
> 0x900ff000 - 0x9014cfeb  com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1)<136BFA48-D456-B677-3B5D-40A6946C3A09>  /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
> 0x90195000 - 0x9019bfe7  com.apple.CommerceCore 1.0 (9.1)<521D067B-3BDA-D04E-E1FA-CFA526C87EB5>  /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
> 0x9019c000 - 0x901e3ffb  com.apple.CoreMediaIOServices 140.0 (1496)<DA152F1C-8EF4-4F5E-6D60-82B1DC72EF47>  /System/Library/PrivateFrameworks/CoreMediaIOServices.framework/Versions/A/CoreMediaIOServices
>
>
>
>
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Bug Bug Bug Cairo Bug Bug Cairo Bug Cairo

Maarten Mostert
Well this seems to work in the way that the VW doesn't blow for the moment, however I have a lot of other problems popping up.  Did you guys change anything within the PostgreSQL driver ????  Even on Windows I manage to get the image down sometimes, when I just want to publish to my postgreSQL store:
http://dl.dropbox.com/u/5848367/2011-11-20_0835.png
Anyway you can testdrive yourself with the OSXBreaker application in the Akamura package on the public store. It blows within seconds on 7.8 and stays up with the 7.9 VM.
Sorry but I'll wait and see for a while before drawing any enthusiastic conclusion from the 7.9 VM.

Regards,
@+Maarten,

-----Original Message-----
From: "Andres Valloud" <[hidden email]>
Sent: Sunday, 20 November, 2011 03:09
To: "[hidden email]" <[hidden email]>
Subject: Re: [vwnc] Bug Bug Bug Cairo Bug Bug Cairo Bug Cairo

Funny that it crashed on usleep()... would you mind trying the latest
7.9 VM and see if that resolves the problem?  We recently fixed a subtle
defect stemming from the way OS X handles signals, and it would be
interesting to see if that changes the behavior of your application.

On 11/19/2011 12:57 PM, [hidden email] wrote:

> Its been 4 years now that I've been developing with Cairo on OSX:
> This is how my application looks like:
> ============================================================================
> Process:         visual [4598]
> Path:            /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/MacOS/visual
> Identifier:      com.cincom.vw7.8
> Version:         VisualWorks Version 7.8 (7.8)
> Code Type:       X86 (Native)
> Parent Process:  launchd [120]
>
> Date/Time:       2011-11-19 19:23:26.451 +0100
> OS Version:      Mac OS X 10.6.8 (10K549)
> Report Version:  6
>
> Interval Since Last Report:          11822 sec
> Crashes Since Last Report:           1
> Per-App Interval Since Last Report:  12072 sec
> Per-App Crashes Since Last Report:   1
> Anonymous UUID:                      5CC08542-0FE6-4650-B63A-A7930C4604A5
>
> Exception Type:  EXC_CRASH (SIGABRT)
> Exception Codes: 0x0000000000000000, 0x0000000000000000
> Crashed Thread:  3
>
> Application Specific Information:
> abort() called
>
> Thread 0:  Dispatch queue: com.apple.main-thread
> 0   libSystem.B.dylib             0x9549fafa mach_msg_trap + 10
> 1   libSystem.B.dylib             0x954a0267 mach_msg + 68
> 2   com.apple.CoreFoundation       0x99d7d2df __CFRunLoopRun + 2079
> 3   com.apple.CoreFoundation       0x99d7c3c4 CFRunLoopRunSpecific + 452
> 4   com.apple.CoreFoundation       0x99d7c1f1 CFRunLoopRunInMode + 97
> 5   com.apple.HIToolbox           0x94f6de04 RunCurrentEventLoopInMode + 392
> 6   com.apple.HIToolbox           0x94f6dbb9 ReceiveNextEventCommon + 354
> 7   com.apple.HIToolbox           0x94f6da3e BlockUntilNextEventMatchingListInMode + 81
> 8   com.apple.AppKit               0x987e7595 _DPSNextEvent + 847
> 9   com.apple.AppKit               0x987e6dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
> 10  com.apple.AppKit               0x987a91f3 -[NSApplication run] + 821
> 11  com.apple.AppKit               0x987a1289 NSApplicationMain + 574
> 12  com.cincom.vw7.8               0x000868df oeMain + 550 (macXMain.m:156)
> 13  com.cincom.vw7.8               0x00002a22 _start + 216
> 14  com.cincom.vw7.8               0x00002949 start + 41
>
> Thread 1:  Dispatch queue: com.apple.libdispatch-manager
> 0   libSystem.B.dylib             0x954c6382 kevent + 10
> 1   libSystem.B.dylib             0x954c6a9c _dispatch_mgr_invoke + 215
> 2   libSystem.B.dylib             0x954c5f59 _dispatch_queue_invoke + 163
> 3   libSystem.B.dylib             0x954c5cfe _dispatch_worker_thread2 + 240
> 4   libSystem.B.dylib             0x954c5781 _pthread_wqthread + 390
> 5   libSystem.B.dylib             0x954c55c6 start_wqthread + 30
>
> Thread 2:  com.apple.CFSocket.private
> 0   libSystem.B.dylib             0x954beac6 select$DARWIN_EXTSN + 10
> 1   com.apple.CoreFoundation       0x99dbcc53 __CFSocketManager + 1091
> 2   libSystem.B.dylib             0x954cd259 _pthread_start + 345
> 3   libSystem.B.dylib             0x954cd0de thread_start + 34
>
> Thread 3 Crashed:
> 0   libSystem.B.dylib             0x95587f75 usleep$NOCANCEL$UNIX2003 + 0
> 1   libSystem.B.dylib             0x955a96f0 abort + 105
> 2   libcairo.2.dylib               0x1ae0640d 0x1adbb000 + 308237
> 3   libcairo.2.dylib               0x1adc433f cairo_font_face_destroy + 79
> 4   libcairo.2.dylib               0x1add823d _cairo_scaled_font_fini_internal + 34
> 5   libcairo.2.dylib               0x1add85b7 cairo_scaled_font_destroy + 315
> 6   libcairo.2.dylib               0x1addad23 cairo_scaled_font_create + 1034
> 7   libcairo.2.dylib               0x1adc63a3 _cairo_gstate_ensure_scaled_font + 164
> 8   libcairo.2.dylib               0x1adc647a _cairo_gstate_text_to_glyphs + 78
> 9   libcairo.2.dylib               0x1adc0b85 cairo_text_extents + 198
> 10  com.cincom.vw7.8               0x00079828 pdCallC + 2208 (unx86CallC.c:373)
> 11  com.cincom.vw7.8               0x0000bafa primCallVarArgC + 332 (exCallC.c:507)
> 12  com.cincom.vw7.8               0x00060bab rtPrimGlueVarArgMany + 43
> 13  ???                           0x15c3f983 0 + 365164931
> 14  ???                           0x15c3ea5b 0 + 365161051
> 15  ???                           0x15cffe62 0 + 365952610
> 16  ???                           0x15c3ddb1 0 + 365157809
> 17  ???                           0x15cffdd5 0 + 365952469
> 18  ???                           0x15b89271 0 + 364417649
> 19  ???                           0x15b88d8f 0 + 364416399
> 20  com.cincom.vw7.8               0x000606a0 rootReturn + 0
>
> Thread 3 crashed with X86 Thread State (32-bit):
>    eax: 0x00000000  ebx: 0x955a9693  ecx: 0xb068260c  edx: 0x95500c5a
>    edi: 0x01053c00  esi: 0xa0757b30  ebp: 0xb0682678  esp: 0xb068264c
>     ss: 0x0000001f  efl: 0x00010282  eip: 0x95587f75   cs: 0x00000017
>     ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
>    cr2: 0x0083c800
>
> Binary Images:
>      0x1000 -    0xadfef +com.cincom.vw7.8 VisualWorks Version 7.8 (7.8) /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/MacOS/visual
> 0x1572c000 - 0x15747fef +libpng12.0.dylib 41.0.0 (compatibility 41.0.0)<00D5A0FD-08CE-8933-4268-5153395C3F4F>  /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libpng12.0.dylib
> 0x1adbb000 - 0x1ae0effb +libcairo.2.dylib 10803.8.0 (compatibility 10803.0.0)<40C9AB37-0D9D-1F15-4131-AB171387F3A2>  /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libcairo.2.dylib
> 0x1af13000 - 0x1af53ff7 +libpixman-1.0.dylib 17.2.0 (compatibility 17.0.0)<C873BF5A-E4C5-53EE-3ADF-B3BFAD8D34D0>  /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libpixman-1.0.dylib
> 0x8fe00000 - 0x8fe4162b  dyld 132.1 (???)<A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448>  /usr/lib/dyld
> 0x900ff000 - 0x9014cfeb  com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1)<136BFA48-D456-B677-3B5D-40A6946C3A09>  /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
> 0x90195000 - 0x9019bfe7  com.apple.CommerceCore 1.0 (9.1)<521D067B-3BDA-D04E-E1FA-CFA526C87EB5>  /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
> 0x9019c000 - 0x901e3ffb  com.apple.CoreMediaIOServices 140.0 (1496)<DA152F1C-8EF4-4F5E-6D60-82B1DC72EF47>  /System/Library/PrivateFrameworks/CoreMediaIOServices.framework/Versions/A/CoreMediaIOServices
>
>
>
>
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Bug Bug Bug Cairo Bug Bug Cairo Bug Cairo

Reinout Heeck-2
In reply to this post by Andres Valloud-6
On 11/20/2011 3:09 AM, Andres Valloud wrote:
Funny that it crashed on usleep()... 

It seems it didn't.


usleep() was called by abort() which in turn was called form the Cairo dll

Thread 3 Crashed:
0   libSystem.B.dylib             	0x95587f75 usleep$NOCANCEL$UNIX2003 + 0
1   libSystem.B.dylib             	0x955a96f0 abort + 105
2   libcairo.2.dylib              	0x1ae0640d 0x1adbb000 + 308237
3   libcairo.2.dylib              	0x1adc433f cairo_font_face_destroy + 79
...
9   libcairo.2.dylib              	0x1adc0b85 cairo_text_extents + 198
10  com.cincom.vw7.8              	0x00079828 pdCallC + 2208 (unx86CallC.c:373)

I would interpret the above as saying it crashed in cairo_font_face_destroy() when the image called 
cairo_text_extents().



Compare the above with Maartens message of 26 Oct where Cairo crashes/aborts in the exact same spot ( cairo_font_face_destroy+79 )  but there it is as result of the image calling cairo_show_text().



@Maarten:
it might be helpful to know if this problem only occurs in images that have been saved and restarted since Cairo has been used.
IOW does it seem like Cairo is choking on stale font handles somewhere in the image?


HTH,

Reinout
-------

would you mind trying the latest 
7.9 VM and see if that resolves the problem?  We recently fixed a subtle 
defect stemming from the way OS X handles signals, and it would be 
interesting to see if that changes the behavior of your application.

On 11/19/2011 12:57 PM, [hidden email] wrote:
Its been 4 years now that I've been developing with Cairo on OSX:
This is how my application looks like:
============================================================================
Process:         visual [4598]
Path:            /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/MacOS/visual
Identifier:      com.cincom.vw7.8
Version:         VisualWorks Version 7.8 (7.8)
Code Type:       X86 (Native)
Parent Process:  launchd [120]

Date/Time:       2011-11-19 19:23:26.451 +0100
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          11822 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  12072 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      5CC08542-0FE6-4650-B63A-A7930C4604A5

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  3

Application Specific Information:
abort() called

Thread 0:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x9549fafa mach_msg_trap + 10
1   libSystem.B.dylib             	0x954a0267 mach_msg + 68
2   com.apple.CoreFoundation      	0x99d7d2df __CFRunLoopRun + 2079
3   com.apple.CoreFoundation      	0x99d7c3c4 CFRunLoopRunSpecific + 452
4   com.apple.CoreFoundation      	0x99d7c1f1 CFRunLoopRunInMode + 97
5   com.apple.HIToolbox           	0x94f6de04 RunCurrentEventLoopInMode + 392
6   com.apple.HIToolbox           	0x94f6dbb9 ReceiveNextEventCommon + 354
7   com.apple.HIToolbox           	0x94f6da3e BlockUntilNextEventMatchingListInMode + 81
8   com.apple.AppKit              	0x987e7595 _DPSNextEvent + 847
9   com.apple.AppKit              	0x987e6dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
10  com.apple.AppKit              	0x987a91f3 -[NSApplication run] + 821
11  com.apple.AppKit              	0x987a1289 NSApplicationMain + 574
12  com.cincom.vw7.8              	0x000868df oeMain + 550 (macXMain.m:156)
13  com.cincom.vw7.8              	0x00002a22 _start + 216
14  com.cincom.vw7.8              	0x00002949 start + 41

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x954c6382 kevent + 10
1   libSystem.B.dylib             	0x954c6a9c _dispatch_mgr_invoke + 215
2   libSystem.B.dylib             	0x954c5f59 _dispatch_queue_invoke + 163
3   libSystem.B.dylib             	0x954c5cfe _dispatch_worker_thread2 + 240
4   libSystem.B.dylib             	0x954c5781 _pthread_wqthread + 390
5   libSystem.B.dylib             	0x954c55c6 start_wqthread + 30

Thread 2:  com.apple.CFSocket.private
0   libSystem.B.dylib             	0x954beac6 select$DARWIN_EXTSN + 10
1   com.apple.CoreFoundation      	0x99dbcc53 __CFSocketManager + 1091
2   libSystem.B.dylib             	0x954cd259 _pthread_start + 345
3   libSystem.B.dylib             	0x954cd0de thread_start + 34

Thread 3 Crashed:
0   libSystem.B.dylib             	0x95587f75 usleep$NOCANCEL$UNIX2003 + 0
1   libSystem.B.dylib             	0x955a96f0 abort + 105
2   libcairo.2.dylib              	0x1ae0640d 0x1adbb000 + 308237
3   libcairo.2.dylib              	0x1adc433f cairo_font_face_destroy + 79
4   libcairo.2.dylib              	0x1add823d _cairo_scaled_font_fini_internal + 34
5   libcairo.2.dylib              	0x1add85b7 cairo_scaled_font_destroy + 315
6   libcairo.2.dylib              	0x1addad23 cairo_scaled_font_create + 1034
7   libcairo.2.dylib              	0x1adc63a3 _cairo_gstate_ensure_scaled_font + 164
8   libcairo.2.dylib              	0x1adc647a _cairo_gstate_text_to_glyphs + 78
9   libcairo.2.dylib              	0x1adc0b85 cairo_text_extents + 198
10  com.cincom.vw7.8              	0x00079828 pdCallC + 2208 (unx86CallC.c:373)
11  com.cincom.vw7.8              	0x0000bafa primCallVarArgC + 332 (exCallC.c:507)
12  com.cincom.vw7.8              	0x00060bab rtPrimGlueVarArgMany + 43
13  ???                           	0x15c3f983 0 + 365164931
14  ???                           	0x15c3ea5b 0 + 365161051
15  ???                           	0x15cffe62 0 + 365952610
16  ???                           	0x15c3ddb1 0 + 365157809
17  ???                           	0x15cffdd5 0 + 365952469
18  ???                           	0x15b89271 0 + 364417649
19  ???                           	0x15b88d8f 0 + 364416399
20  com.cincom.vw7.8              	0x000606a0 rootReturn + 0

Thread 3 crashed with X86 Thread State (32-bit):
   eax: 0x00000000  ebx: 0x955a9693  ecx: 0xb068260c  edx: 0x95500c5a
   edi: 0x01053c00  esi: 0xa0757b30  ebp: 0xb0682678  esp: 0xb068264c
    ss: 0x0000001f  efl: 0x00010282  eip: 0x95587f75   cs: 0x00000017
    ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
   cr2: 0x0083c800

Binary Images:
     0x1000 -    0xadfef +com.cincom.vw7.8 VisualWorks Version 7.8 (7.8) /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/MacOS/visual
0x1572c000 - 0x15747fef +libpng12.0.dylib 41.0.0 (compatibility 41.0.0)<00D5A0FD-08CE-8933-4268-5153395C3F4F>  /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libpng12.0.dylib
0x1adbb000 - 0x1ae0effb +libcairo.2.dylib 10803.8.0 (compatibility 10803.0.0)<40C9AB37-0D9D-1F15-4131-AB171387F3A2>  /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libcairo.2.dylib
0x1af13000 - 0x1af53ff7 +libpixman-1.0.dylib 17.2.0 (compatibility 17.0.0)<C873BF5A-E4C5-53EE-3ADF-B3BFAD8D34D0>  /Users/maartenmostert/vw7.8nc/bin/macx/visual.app/Contents/Frameworks/libpixman-1.0.dylib
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???)<A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448>  /usr/lib/dyld
0x900ff000 - 0x9014cfeb  com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1)<136BFA48-D456-B677-3B5D-40A6946C3A09>  /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
0x90195000 - 0x9019bfe7  com.apple.CommerceCore 1.0 (9.1)<521D067B-3BDA-D04E-E1FA-CFA526C87EB5>  /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
0x9019c000 - 0x901e3ffb  com.apple.CoreMediaIOServices 140.0 (1496)<DA152F1C-8EF4-4F5E-6D60-82B1DC72EF47>  /System/Library/PrivateFrameworks/CoreMediaIOServices.framework/Versions/A/CoreMediaIOServices





_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


-- 
*********************************************************************

Dit e-mailbericht is alleen bestemd voor de geadresseerde(n).

Gebruik door anderen is niet toegestaan. Indien u niet degeadresseerde(n) bent wordt u verzocht de verzender hiervan op de hoogte te stellen en het bericht te verwijderen. Door de elektronische verzending kunnen aan de inhoud van dit bericht geen rechten worden ontleend.

Soops B.V. is gevestigd te Amsterdam, Nederland, en is geregistreerd bij de Kamer van Koophandel onder nummer 33240368.
Soops B.V. levert volgens de Fenit voorwaarden, gedeponeerd te Den Haag op 8 december 1994 onder nummer 1994/189.
**********************************************************************

This e-mail message is intended to be exclusively for the addressee.

If you are not the intended recipient you are kindly requested not to make any use whatsoever of the contents and to notify the sender immediately by returning this e-mail message. No rights can be derived from this message.

Soops B.V. is a private limited liability company and has its seat at Amsterdam, The Netherlands and is registered with the Trade Registry of the Chamber of Commerce and Industry under number 33240368.
Soops B.V. delivers according to the General Terms and Conditions of Business of Fenit, registered at The Hague, The Netherlands on December 8th, 1994, under number 1994/189
**********************************************************************


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc