NSImageCacheException (size 0) SIGTRAP error

Discussion in 'Mac Apps and Mac App Store' started by Meldar, Oct 26, 2011.

  1. Meldar macrumors regular

    Meldar

    Joined:
    May 3, 2008
    Location:
    pocket of liberalism in farm country
    #1
    Cutting to the chase:

    This started without warning. It happens to several applications - BOINC and Vidalia 100% of the time - and none of my co-workers or computer-savvy friends seem to be able to help me, or even know what the hell it means.

    See also my thread on the Berkeley support forums. OSX developer there is clueless on a fix.

    I put the huge crash report message at the bottom. Read through it if you understand it - I get most of it but am mystified as to how to repair it.

    This is a FRESH INSTALL of 10.6.8 on a mid-2010 MBP. There was a history of directory corruption on this volume in the past, so I zeroed everything and started over (obviously kept my files, but no system settings or anything).

    One day BOINC was running and then froze, as it sometimes does for no good reason. Could not re-launch it.

    Vidalia is a mystery as it does not work on my usual network (packet shaper doing its thing, I've been told - no tor protocols work even when encrypted!) but I tried loading it and got the same message.

    I have already repaired disk permissions, though I realize that seldom is a fix for major problems. I am a computer technician with a specialty for Mac, though not Apple certified by any means, and this is utterly confusing.

    Verified the disk and everything was OK. What's going on?!

    Post below is the crash message.

    ----------

    Crash message:

    Code:
    Process:         Vidalia [87115]
    Path:            /Applications/Vidalia.app/Contents/MacOS/Vidalia
    Identifier:      net.vidalia-project.vidalia
    Version:         0.2.12 (0.2.12)
    Code Type:       X86 (Native)
    Parent Process:  launchd [236]
    
    Date/Time:       2011-10-26 16:00:17.389 -0400
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    
    Interval Since Last Report:          402580 sec
    Crashes Since Last Report:           3
    Per-App Interval Since Last Report:  9 sec
    Per-App Crashes Since Last Report:   3
    Anonymous UUID:                       DCCB06FE-D236-416A-9D2F-FC1F0116715B
    
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSImageCacheException',  reason: 'Cannot lock focus on image <NSImage 0x16db3a0 Size={0, 0}  Reps=(
    )>, because it is size zero.'
    *** Call stack at first throw:
    (
        0   CoreFoundation                      0x984ac6ca __raiseError +  410
        1   libobjc.A.dylib                     0x9a3925a9  objc_exception_throw + 56
        2   CoreFoundation                      0x984ac3f8 +[NSException  raise:format:arguments:] + 136
        3   CoreFoundation                      0x984ac36a +[NSException  raise:format:] + 58
        4   AppKit                              0x94a24596 -[NSImage  _lockFocusOnRepresentation:rect:context:hints:flipped:] + 267
        5   AppKit                              0x94a2447f __-[NSImage  lockFocusWithRect:context:hints:flipped:]_block_invoke_1 + 114
        6   AppKit                              0x94914820 -[NSImage  _usingBestRepresentationForRect:context:hints:body:] + 189
        7   AppKit                              0x94a24405 -[NSImage  lockFocusWithRect:context:hints:flipped:] + 204
        8   AppKit                              0x94a7b670 -[NSImage  lockFocusFlipped:] + 138
        9   AppKit                              0x94a7b5dd -[NSImage  lockFocus] + 64
        10  AppKit                              0x94ad1af0 -[NSWindow  _generateScaledBackground] + 318
        11  AppKit                              0x94ad1837  -[NSWindow(NSWindow_CarbonEventHandlers) _setWindowDepth] + 126
        12  AppKit                              0x94f6675d  -[NSWindow(NSWindow_CarbonEventHandlers)  _installCarbonWindowEventHandlers] + 121
        13  AppKit                              0x94ad1368  -[NSWindow(NSCarbonExtensions) windowRef] + 561
        14  AppKit                              0x94e30e32  -[NSStatusBarWindow windowRef] + 80
        15  AppKit                              0x948d361a -[NSWindow  _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] +  1112
        16  AppKit                              0x94f27821 -[NSWindow  orderFrontRegardless] + 82
        17  AppKit                              0x94e30af3  -[NSStatusBar(NSStatusBarCGS) _CGSinsertWindow:withPriority:] + 355
        18  AppKit                              0x94e2e71d -[NSStatusBar  _insertStatusItem:withPriority:] + 80
        19  AppKit                              0x94e31e28 -[NSStatusItem  _initInStatusBar:withLength:withPriority:hidden:] + 462
        20  AppKit                              0x94e31082 -[NSStatusItem  _initInStatusBar:withLength:withPriority:] + 63
        21  AppKit                              0x94e310f1 +[NSStatusItem  _itemInStatusBar:withLength:withPriority:] + 105
        22  AppKit                              0x94e2e853 -[NSStatusBar  _statusItemWithLength:withPriority:] + 58
        23  AppKit                              0x94e2e8d3 -[NSStatusBar  statusItemWithLength:] + 49
        24  QtGui                               0x005c50aa -[QNSStatusItem  initWithIcon:iconPrivate:] + 122
        25  QtGui                               0x005c66df  _ZN22QSystemTrayIconPrivate11install_sysEv + 127
        26  Vidalia                             0x000ce805  _ZN15QSystemTrayIcon4showEv + 25
        27  Vidalia                             0x000c4b09  _ZN10MainWindowC1Ev + 3589
        28  Vidalia                             0x000b6ab6 main + 1952
        29  Vidalia                             0x0000611a _start + 216
        30  Vidalia                             0x00006041 start + 41
    )
     
    
    Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
    0   com.apple.CoreFoundation          0x984f7a37  ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 7
    1   libobjc.A.dylib                   0x9a3925a9 objc_exception_throw +  56
    2   com.apple.CoreFoundation          0x984ac3f8 +[NSException  raise:format:arguments:] + 136
    3   com.apple.CoreFoundation          0x984ac36a +[NSException  raise:format:] + 58
    4   com.apple.AppKit                  0x94a24596 -[NSImage  _lockFocusOnRepresentation:rect:context:hints:flipped:] + 267
    5   com.apple.AppKit                  0x94a2447f __-[NSImage  lockFocusWithRect:context:hints:flipped:]_block_invoke_1 + 114
    6   com.apple.AppKit                  0x94914820 -[NSImage  _usingBestRepresentationForRect:context:hints:body:] + 189
    7   com.apple.AppKit                  0x94a24405 -[NSImage  lockFocusWithRect:context:hints:flipped:] + 204
    8   com.apple.AppKit                  0x94a7b670 -[NSImage  lockFocusFlipped:] + 138
    9   com.apple.AppKit                  0x94a7b5dd -[NSImage lockFocus] +  64
    10  com.apple.AppKit                  0x94ad1af0 -[NSWindow  _generateScaledBackground] + 318
    11  com.apple.AppKit                  0x94ad1837  -[NSWindow(NSWindow_CarbonEventHandlers) _setWindowDepth] + 126
    12  com.apple.AppKit                  0x94f6675d  -[NSWindow(NSWindow_CarbonEventHandlers)  _installCarbonWindowEventHandlers] + 121
    13  com.apple.AppKit                  0x94ad1368  -[NSWindow(NSCarbonExtensions) windowRef] + 561
    14  com.apple.AppKit                  0x94e30e32 -[NSStatusBarWindow  windowRef] + 80
    15  com.apple.AppKit                  0x948d361a -[NSWindow  _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] +  1112
    16  com.apple.AppKit                  0x94f27821 -[NSWindow  orderFrontRegardless] + 82
    17  com.apple.AppKit                  0x94e30af3  -[NSStatusBar(NSStatusBarCGS) _CGSinsertWindow:withPriority:] + 355
    18  com.apple.AppKit                  0x94e2e71d -[NSStatusBar  _insertStatusItem:withPriority:] + 80
    19  com.apple.AppKit                  0x94e31e28 -[NSStatusItem  _initInStatusBar:withLength:withPriority:hidden:] + 462
    20  com.apple.AppKit                  0x94e31082 -[NSStatusItem  _initInStatusBar:withLength:withPriority:] + 63
    21  com.apple.AppKit                  0x94e310f1 +[NSStatusItem  _itemInStatusBar:withLength:withPriority:] + 105
    22  com.apple.AppKit                  0x94e2e853 -[NSStatusBar  _statusItemWithLength:withPriority:] + 58
    23  com.apple.AppKit                  0x94e2e8d3 -[NSStatusBar  statusItemWithLength:] + 49
    24  QtGui                             0x005c50aa -[QNSStatusItem  initWithIcon:iconPrivate:] + 122
    25  QtGui                             0x005c66df  QSystemTrayIconPrivate::install_sys() + 127
    26  net.vidalia-project.vidalia       0x000ce805 QSystemTrayIcon::show()  + 25
    27  net.vidalia-project.vidalia       0x000c4b09  MainWindow::MainWindow() + 3589
    28  net.vidalia-project.vidalia       0x000b6ab6 main + 1952
    29  net.vidalia-project.vidalia       0x0000611a _start + 216
    30  net.vidalia-project.vidalia       0x00006041 start + 41
    
    Thread 1:  Dispatch queue: com.apple.libdispatch-manager
    0   libSystem.B.dylib                 0x9523e382 kevent + 10
    1   libSystem.B.dylib                 0x9523ea9c _dispatch_mgr_invoke +  215
    2   libSystem.B.dylib                 0x9523df59 _dispatch_queue_invoke +  163
    3   libSystem.B.dylib                 0x9523dcfe  _dispatch_worker_thread2 + 240
    4   libSystem.B.dylib                 0x9523d781 _pthread_wqthread + 390
    5   libSystem.B.dylib                 0x9523d5c6 start_wqthread + 30
    
    Thread 2:
    0   libSystem.B.dylib                 0x9523d412 __workq_kernreturn + 10
    1   libSystem.B.dylib                 0x9523d9a8 _pthread_wqthread + 941
    2   libSystem.B.dylib                 0x9523d5c6 start_wqthread + 30
    
    Thread 3:
    0   libSystem.B.dylib                 0x95217b5a  semaphore_timedwait_signal_trap + 10
    1   libSystem.B.dylib                 0x952456e1 _pthread_cond_wait +  1066
    2   libSystem.B.dylib                 0x9528e26c pthread_cond_timedwait +  47
    3   QtCore                            0x012ce924  QWaitCondition::wait(QMutex*, unsigned long) + 244
    4   net.vidalia-project.vidalia       0x0006b1b5  UPNPControlThread::run() + 99
    5   QtCore                            0x013322ab  QThreadPrivate::start(void*) + 187
    6   libSystem.B.dylib                 0x95245259 _pthread_start + 345
    7   libSystem.B.dylib                 0x952450de thread_start + 34
    
    Thread 0 crashed with X86 Thread State (32-bit):
      eax: 0x00000000  ebx: 0x9a392585  ecx: 0xa0718540  edx: 0x0000003b
      edi: 0xa0c7bab0  esi: 0x016db4c0  ebp: 0xbffff008  esp: 0xbfffeff0
       ss: 0x00000023  efl: 0x00000286  eip: 0x984f7a37   cs: 0x0000001b
       ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
      cr2: 0x02765000
    
    Then follows a LONG list of binary objects.

    :confused:
     
  2. Meldar thread starter macrumors regular

    Meldar

    Joined:
    May 3, 2008
    Location:
    pocket of liberalism in farm country
    #2
    Got a little update here.

    I was told by the nice Genius at a local Apple store that the solution, in fact, may lie in repairing ACL and permissions on my home folder from my original system disks (which I luckily have) - I'll have to do that on Saturday or Sunday when I return to central PA (where I spend most of my time).

    Hmm hope that works.

    They also said my Finder windows (and indeed everything using Cocoa framework) look a bit off - "segmented" was the word they used. A graphical thing. Odd. There couldn't be anything wrong with my install. That doesn't make sense. :|

    Oh well...as a computer technician I've come to expect the bizarre and unsolvable problems to happen to me and me alone... :p
     
  3. Meldar thread starter macrumors regular

    Meldar

    Joined:
    May 3, 2008
    Location:
    pocket of liberalism in farm country
    #3
    That didn't fix anything.

    I don't want to do ANOTHER fresh install of OSX on this machine. I just did less than a month or so ago.

    Since no one has answered this thread at all I'll presume it's a problem no one knows about. That's great.

    I'm going back to my other computers for the time being, all of which run modified Windows or Linux kernels. The fact that the only major problem I've ever had with Mac OS X appears to be unsolvable by anything short of a complete nuke-and-pave really bothers me!
     
  4. soundof macrumors newbie

    Joined:
    May 4, 2007
    #4
    Try changing your desktop background

    The exception occurs because the system fails to determine the size of the image. Change your desktop image and there's a good chance it will solve the problem.
     

Share This Page