Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


kernel panic "unlocking an unlocked mutex or spinlock"

Posted on 2010-09-19
Medium Priority
Last Modified: 2012-05-10
i have a client who is currently getting kernel panics fairly frequently.

i'm wondering if anyone can tell me whats causing them and how i can fix them. i've done a bit of googling but i haven't come up with any fixes.

here's the log:

Interval Since Last Panic Report:  224743 sec
Panics Since Last Report:          1
Anonymous UUID:                    187EF0D1-6A5C-4C6C-81B0-CB58DA1B9996

Thu Sep  9 14:07:56 2010
panic(cpu 0 caller 0x2269f0): "thread_invoke: preemption_level -1, possible cause: unlocking an unlocked mutex or spinlock"@/SourceCache/xnu/xnu-1504.7.4/osfmk/kern/sched_prim.c:1476
Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
0x5bb4bd68 : 0x21b455 (0x5cf328 0x5bb4bd9c 0x2238b1 0x0)
0x5bb4bdb8 : 0x2269f0 (0x58712c 0xffffffff 0x5870c4 0x2265d1)
0x5bb4be38 : 0x2270f6 (0xe686b98 0x0 0x5bb4be78 0xffffffff)
0x5bb4bea8 : 0x227184 (0x210c2f 0x0 0x0 0xe686b7c)
0x5bb4bec8 : 0x211a9c (0x210c2f 0x7000006 0x800 0x0)
0x5bb4bef8 : 0x216d1e (0xaf48c08 0x7000006 0x800 0x0)
0x5bb4bf78 : 0x293eb4 (0xaf35648 0x0 0x0 0x0)
0x5bb4bfc8 : 0x29f48d (0xaf35644 0x0 0x10 0x937d524)

BSD process name corresponding to current thread: Mail

Mac OS version:

Kernel version:
Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386
System model name: MacBookPro6,2 (Mac-F22586C8)

System uptime in nanoseconds: 197170206517858
unloaded kexts:
com.smarttech.iokit.SMARTBoard      9.7 (addr 0x54dfb000, size 0x8192) - last unloaded 177898435982507
loaded kexts:
com.cisco.nke.ipsec      2.0.1
com.apple.filesystems.smbfs      1.6.2 - last loaded 177888866999542
com.apple.driver.AppleBluetoothMultitouch      51.2
com.apple.driver.AppleHWSensor      1.9.3d0
com.apple.filesystems.autofs      2.1.0
com.apple.driver.AppleMikeyHIDDriver      1.2.0
com.apple.driver.AGPM      100.12.12
com.apple.driver.AppleHDA      1.8.7f1
com.apple.driver.AppleMikeyDriver      1.8.7f1
com.apple.driver.AppleUpstreamUserClient      3.3.2
com.apple.driver.AudioAUUC      1.4
com.apple.driver.AppleIntelHDGraphics      6.1.6
com.apple.driver.AppleIntelHDGraphicsFB      6.1.6
com.apple.driver.SMCMotionSensor      3.0.0d4
com.apple.driver.ACPI_SMC_PlatformPlugin      4.1.2b1
com.apple.kext.AppleSMCLMU      1.5.0d3
com.apple.Dont_Steal_Mac_OS_X      7.0.0
com.apple.driver.AudioIPCDriver      1.1.2
com.apple.GeForce      6.1.6
com.apple.driver.AppleGraphicsControl      2.8.63
com.apple.driver.AppleLPC      1.4.12
com.apple.driver.AppleUSBTCButtons      1.8.1b1
com.apple.driver.AppleUSBTCKeyboard      1.8.1b1
com.apple.driver.AppleIRController      303.8
com.apple.driver.AppleUSBCardReader      2.5.4
com.apple.BootCache      31
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib      1.0.0d1
com.apple.iokit.SCSITaskUserClient      2.6.5
com.apple.iokit.IOAHCIBlockStorage      1.6.2
com.apple.driver.AppleUSBHub      4.0.0
com.apple.driver.AppleFWOHCI      4.7.1
com.apple.driver.AirPortBrcm43224      425.16.2
com.apple.iokit.AppleBCM5701Ethernet      2.3.8b2
com.apple.driver.AppleEFINVRAM      1.3.0
com.apple.driver.AppleSmartBatteryManager      160.0.0
com.apple.driver.AppleUSBEHCI      4.0.2
com.apple.driver.AppleUSBUHCI      4.0.2
com.apple.driver.AppleAHCIPort      2.1.2
com.apple.driver.AppleACPIButtons      1.3.2
com.apple.driver.AppleRTC      1.3.1
com.apple.driver.AppleHPET      1.5
com.apple.driver.AppleSMBIOS      1.6
com.apple.driver.AppleACPIEC      1.3.2
com.apple.driver.AppleAPIC      1.4
com.apple.driver.AppleIntelCPUPowerManagementClient      105.10.0
com.apple.security.sandbox      0
com.apple.security.quarantine      0
com.apple.nke.applicationfirewall      2.1.11
com.apple.driver.AppleIntelCPUPowerManagement      105.10.0
com.apple.driver.IOBluetoothHIDDriver      2.3.3f8
com.apple.driver.AppleMultitouchDriver      204.13
com.apple.driver.DspFuncLib      1.8.7f1
com.apple.driver.AppleProfileReadCounterAction      17
com.apple.driver.AppleProfileTimestampAction      10
com.apple.driver.AppleProfileThreadInfoAction      14
com.apple.driver.AppleProfileRegisterStateAction      10
com.apple.driver.AppleProfileKEventAction      10
com.apple.driver.AppleProfileCallstackAction      20
com.apple.driver.AppleSMBusController      1.0.8d0
com.apple.driver.IOPlatformPluginFamily      4.1.2b1
com.apple.iokit.IOSurface      74.0
com.apple.iokit.IOBluetoothSerialManager      2.3.3f8
com.apple.iokit.IOSerialFamily      10.0.3
com.apple.driver.AppleSMC      3.0.1d2
com.apple.iokit.IOAudioFamily      1.7.6fc2
com.apple.kext.OSvKernDSPLib      1.3
com.apple.iokit.AppleProfileFamily      41
com.apple.driver.AppleHDAController      1.8.7f1
com.apple.iokit.IOHDAFamily      1.8.7f1
com.apple.driver.AppleSMBusPCI      1.0.8d0
com.apple.nvidia.nv50hal      6.1.6
com.apple.NVDAResman      6.1.6
com.apple.iokit.IONDRVSupport      2.1
com.apple.iokit.IOGraphicsFamily      2.1
com.apple.iokit.IOFireWireIP      2.0.3
com.apple.driver.BroadcomUSBBluetoothHCIController      2.3.3f8
com.apple.driver.AppleUSBBluetoothHCIController      2.3.3f8
com.apple.iokit.IOBluetoothFamily      2.3.3f8
com.apple.driver.AppleUSBMultitouch      204.13
com.apple.iokit.IOUSBHIDDriver      4.0.2
com.apple.iokit.IOSCSIBlockCommandsDevice      2.6.5
com.apple.iokit.IOUSBMassStorageClass      2.6.1
com.apple.driver.AppleUSBMergeNub      4.0.0
com.apple.driver.AppleUSBComposite      3.9.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice      2.6.5
com.apple.iokit.IOBDStorageFamily      1.6
com.apple.iokit.IODVDStorageFamily      1.6
com.apple.iokit.IOCDStorageFamily      1.6
com.apple.driver.XsanFilter      402.1
com.apple.iokit.IOAHCISerialATAPI      1.2.4
com.apple.iokit.IOSCSIArchitectureModelFamily      2.6.5
com.apple.iokit.IOUSBUserClient      4.0.0
com.apple.iokit.IOFireWireFamily      4.2.6
com.apple.iokit.IO80211Family      311.1
com.apple.iokit.IONetworkingFamily      1.9
com.apple.iokit.IOUSBFamily      4.0.2
com.apple.iokit.IOAHCIFamily      2.0.4
com.apple.driver.AppleEFIRuntime      1.3.0
com.apple.iokit.IOHIDFamily      1.6.4
com.apple.iokit.IOSMBusFamily      1.1
com.apple.kext.AppleMatch      1.0.0d1
com.apple.security.TMSafetyNet      6
com.apple.driver.DiskImages      283
com.apple.iokit.IOStorageFamily      1.6.1
com.apple.driver.AppleACPIPlatform      1.3.2
com.apple.iokit.IOPCIFamily      2.6
com.apple.iokit.IOACPIFamily      1.3.0
Model: MacBookPro6,2, BootROM MBP61.0057.B0A, 2 processors, Intel Core i7, 2.66 GHz, 4 GB, SMC 1.58f16
Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 512 MB
Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (
Bluetooth: Version 2.3.3f8, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: AirPort, AirPort, en1
Serial ATA Device: ST9500420ASG, 465.76 GB
Serial ATA Device: MATSHITADVD-R   UJ-898
USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfd100000
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd120000
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8507, 0xfd110000
USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfa100000
USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0xfa130000
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0236, 0xfa120000
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8218, 0xfa113000

it's a macbook pro mid 2010 15". everything is stock and from apple. software is up to date, 10.6.4

thanks for any help.
Question by:theknaveofhearts
  • 6
  • 4
  • 4
  • +1
LVL 20

Expert Comment

ID: 33714336
It could be memory (infact i suspect it is - problems or this nature generally are in my experience) - i'd suggest you run a extended hardware test loop for a few hours to identify whats amiss.

insert Mac OS X Install disc 1 that came with your Mac to your Mac, and hold letter D at boot. This will load it to the hardware test. After language selection, use ctrl-L keyboard combination to get it to loop mode, and select extended test, and let it run at least for a few hours. You can end the test with the same keyboard combo, or it will stop if it finds an error.

Let us know how it goes ?
LVL 53

Expert Comment

ID: 33715829
Sounds like it was Mail that caused the crash.

Are you using any mail plug-ins? Growl, or a spam filter maybe?
LVL 53

Expert Comment

ID: 33715830
Sounds like it was Mail that caused the crash.

Are you using any mail plug-ins? Growl, or a spam filter maybe?
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

LVL 53

Expert Comment

ID: 33715859
Here is an interesting thread:  http://discussions.info.apple.com/thread.jspa?threadID=2347194

Also a good general troubleshooting guide for kernel panics: http://www.thexlab.com/faqs/kernelpanics.html
LVL 20

Expert Comment

ID: 33715875
Kernel panics are VERY rarely  caused by a application - it wouldnt in itself have the level of exposure to the kernel needed to panic it.. the other suggestions on the article are valid - i'd still suggest the hardware test as a starting point.
LVL 53

Expert Comment

ID: 33715877
LVL 53

Expert Comment

ID: 33715887
Looks like you have two non-apple drivers:

com.smarttech.iokit.SMARTBoard      9.7 (addr 0x54dfb000, size 0x8192) - last unloaded 177898435982507
loaded kexts:
com.cisco.nke.ipsec      2.0.1

Any idea what these are? I wonder if they are the problem. Can you update them (or remove them if not needed)?
LVL 53

Accepted Solution

strung earned 2000 total points
ID: 33715924
This link suggests the problem may be the CISCO VPN client:  http://discussions.apple.com/thread.jspa?threadID=2151413&start=15&tstart=120  See the post Posted:                     Sep 18, 2009 4:28 AM at the top of page 2 by jotheman.

Author Comment

ID: 33716548
thanks for all the posts guys. i'm going to try the hardware diagnosing tonight if possible. then i'm going to uninstall cisco's client and see how that goes. until then i'm going to be going over what you guys have said and all the links you have posted.

thanks again guys, i will let you know how the hardware tests go.

Expert Comment

ID: 33730614
Uninstall the smarttech SMARTBoard software as well.

It installed a kext that it might leave behind but if the associated hardware is not used then the kext
shouldn't load.

Author Comment

ID: 33734978
the apple hardware tests didn't come up with anything and i just got a phone called that her kernel paniced again so i'm going to uninstall the smartboard software then if he kernel panics again the cisco.

i'll report back in a few days how things go.

thanks guys!
LVL 20

Expert Comment

ID: 33760115
The best approach is to uninstall anything kernel level that you can, i.e any kext addons and then add one by one. Obviously in a business environment this may be limiting so you need to strip as much as possible. Its a process of elimination at this stage.
LVL 20

Expert Comment

ID: 33760121
you can do a "sudo kmodstat" to see whats loaded at a particular time. It might be worth setting up a cron job (http://hints.macworld.com/article.php?story=2001020700163714 ) to run ever 5 minutes (or more often) and output the kmodstat command to a file - that way if the user knows the time their machine crashed you can see exactly what was loaded at the time.

Author Comment

ID: 33781787
just a small update, I just uninstalled all of the smart board stuff. so we'll see if it was causing the panics or not.

Expert Comment

ID: 33781858
Furthering woolnoir's suggestion, you can verify what's still loaded, via

sudo kextstat

kmodstat is absent as of 10.4, 10.5 & 10.6 (with Developer tools installed in each case).

Author Closing Comment

ID: 33897607

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question