Bug 721 : kernel panic OS X on running of script (with little snitch)
Last modified: 2008-03-25 16:31




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P2
Severity:
normal

 

Reporter:
frederickk
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-02-05 10:11
i too have been getting frequent kernel panics. at first i thought it was
just clunky code. but when i use two different machines (work and home) and
my home computer is the only getting the kernel panics.

however, unlike some of the posts here mine happens when running the code.
not when editing. usually a few seconds after hitting "run"

i'm using Processing 0127 on both machines.

----
here's my home setup (plus the apple error report)

OSX 10.5.1
2.2 GHz Intel Core 2 Duo
1 GB 667 MHz DDR2 SDRAM
(black macbook)

--------------------------------------------------------------
error report:

system configuration:
Model: MacBook3,1, BootROM MB31.008D.B00, 2 processors, Intel Core 2 Duo,
2.2 GHz, 1 GB
Graphics: kHW_IntelGMA965Item, GMA X3100, spdisplays_builtin, 144 MB
Memory Module: BANK 0/DIMM0, 512 MB, DDR2 SDRAM, 667 MHz
Memory Module: BANK 1/DIMM1, 512 MB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x88),
Broadcom BCM43xx 1.0 (4.170.25.8)
Bluetooth: Version 2.0.0f20, 2 service, 1 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: FUJITSU MHY2160BH, 149,05 GB
Parallel ATA Device: HL-DT-ST DVDRW GSA-S10N
USB Device: Built-in iSight, Micron, high_speed, 500 mA
USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, full_speed,
500 mA
USB Device: IR Receiver, Apple Computer, Inc., low_speed, 500 mA
USB Device: Bluetooth USB Host Controller, Apple, Inc., full_speed, 500 mA

----

problem details:
Wed Jan 30 22:46:49 2008
panic(cpu 1 caller 0x001A7BED): Kernel trap at 0x007c9c9e, type 14=page
fault, registers:
CR0: 0x80010033, CR2: 0x06baa000, CR3: 0x0108d000, CR4: 0x00000660
EAX: 0x00000076, EBX: 0x06baa000, ECX: 0x06ba90e2, EDX: 0x06ba90e3
CR2: 0x06baa000, EBP: 0x212a7e18, ESI: 0x06baa000, EDI: 0x06ba8000
EFL: 0x00010246, EIP: 0x007c9c9e, CS: 0x00000008, DS: 0x03be0010
Error code: 0x00000000

Backtrace, Format - Frame : Return Address (4 potential args on stack)
0x212a7388 : 0x12b0e1 (0x455670 0x212a73bc 0x133238 0x0)
0x212a73d8 : 0x1a7bed (0x45ea20 0x7c9c9e 0xe 0x45e1d4)
0x212a74b8 : 0x19e517 (0x212a74d0 0x64 0x212a7e18 0x7c9c9e)
0x212a74c8 : 0x7c9c9e (0xe 0x3be0048 0x212a0010 0x3e0010)
0x212a7e18 : 0x7ca101 (0x325d 0x3df1494 0x212a7e48 0x7cbec7)
0x212a7e48 : 0x7ca9d7 (0x60157b0 0x1e 0x1 0x6)
0x212a7e98 : 0x3b6b8d (0x3df1494 0x48c4cc0 0x0 0x1)
0x212a7ed8 : 0x3b6c4a (0x48c4cc0 0x31ded04 0x0 0x0)
0x212a7ef8 : 0x3a2a95 (0x48c4cc0 0x0 0x60157b0 0x36291f)
0x212a7f38 : 0x3a7632 (0x1e 0x212a7f5c 0x1 0x0)
0x212a7f78 : 0x3da847 (0x60157b0 0x524ed40 0x524ed84 0x0)
0x212a7fc8 : 0x19ea34 (0x651cf00 0x0 0x10 0x651cf00)
No mapping exists for frame pointer
Backtrace terminated-invalid frame pointer 0xb07fe978
Kernel loadable modules in backtrace (with dependencies):
at.obdev.nke.LittleSnitch(2.0.28)@0x7c3000->0x7ecfff

BSD process name corresponding to current thread: java

Mac OS version:
9B18

Kernel version:
Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007;
root:xnu-1228.0.2~1/RELEASE_I386
System model name: MacBook3,1 (Mac-F22788C8)

-----
java stuff from system-profiler:
JavaDirectToWeb:

Version: 5.4
Zuletzt geändert: 23.09.07 18:17
Informationen: 5.4
Ort: /System/Library/Frameworks/JavaDirectToWeb.framework
Privat: Nein

JavaDTWGeneration:

Version: 5.4
Zuletzt geändert: 23.09.07 18:01
Ort: /System/Library/Frameworks/JavaDTWGeneration.framework
Privat: Nein

JavaEmbedding:

Version: 12.0.0
Zuletzt geändert: 24.11.07 15:20
Informationen: 12.0.0, Copyright 2002-2006, Apple Computer, Inc.
Ort: /System/Library/Frameworks/JavaEmbedding.framework
Privat: Nein

JavaEOAccess:

Version: 5.4
Zuletzt geändert: 23.09.07 17:52
Ort: /System/Library/Frameworks/JavaEOAccess.framework
Privat: Nein

JavaEOApplication:

Version: 5.4.1
Zuletzt geändert: 24.11.07 15:10
Informationen: 5.4
Ort: /System/Library/Frameworks/JavaEOApplication.framework
Privat: Nein

JavaEOControl:

Version: 5.4
Zuletzt geändert: 23.09.07 17:39
Ort: /System/Library/Frameworks/JavaEOControl.framework
Privat: Nein

JavaEODistribution:

Version: 5.4
Zuletzt geändert: 23.09.07 18:02
Ort: /System/Library/Frameworks/JavaEODistribution.framework
Privat: Nein

JavaEOGeneration:

Version: 5.4.1
Zuletzt geändert: 24.11.07 15:10
Informationen: 5.4
Ort: /System/Library/Frameworks/JavaEOGeneration.framework
Privat: Nein

JavaEOInterface:

Version: 5.4.1
Zuletzt geändert: 24.11.07 15:10
Ort: /System/Library/Frameworks/JavaEOInterface.framework
Privat: Nein

JavaEOInterfaceCocoa:

Version: 5.4
Zuletzt geändert: 24.11.07 15:10
Ort: /System/Library/Frameworks/JavaEOInterfaceCocoa.framework
Privat: Nein

JavaEOInterfaceSwing:

Version: 5.4.1
Zuletzt geändert: 24.11.07 15:10
Ort: /System/Library/Frameworks/JavaEOInterfaceSwing.framework
Privat: Nein

JavaEOProject:

Version: 5.4
Zuletzt geändert: 24.11.07 15:10
Ort: /System/Library/Frameworks/JavaEOProject.framework
Privat: Nein

JavaEORuleSystem:

Version: 5.4
Zuletzt geändert: 24.11.07 15:10
Informationen: 5.3
Ort: /System/Library/Frameworks/JavaEORuleSystem.framework
Privat: Nein

JavaEOTool:

Version: 5.4
Zuletzt geändert: 24.11.07 15:09
Informationen: 5.4
Ort: /System/Library/Frameworks/JavaEOTool.framework
Privat: Nein

JavaFoundation:

Version: 5.4
Zuletzt geändert: 23.09.07 16:12
Ort: /System/Library/Frameworks/JavaFoundation.framework
Privat: Nein

JavaFrameEmbedding:

Version: 12.0.0
Zuletzt geändert: 24.11.07 15:20
Informationen: JavaFrameEmbedding 12.0.0, Copyright 2001-2006, Apple
Computer, Inc.
Ort: /System/Library/Frameworks/JavaFrameEmbedding.framework
Privat: Nein

JavaJDBCAdaptor:

Version: 5.4
Zuletzt geändert: 23.09.07 18:04
Informationen: WebObjects JavaJDBCAdaptor
Ort: /System/Library/Frameworks/JavaJDBCAdaptor.framework
Privat: Nein

JavaJNDIAdaptor:

Version: 5.4
Zuletzt geändert: 23.09.07 18:15
Ort: /System/Library/Frameworks/JavaJNDIAdaptor.framework
Privat: Nein

JavaScriptCore:

Version: 5523.10.3
Zuletzt geändert: 24.11.07 15:20
Informationen: 5523.10.3, Copyright 2003-2007 Apple Inc.; Copyright
1999-2001 Harri Porten <porten@kde.org>; Copyright 2001 Peter Kelly
<pmk@post.com>; Copyright 1997-2005 University of Cambridge; Copyright
1991, 2000, 2001 by Lucent Technologies.
Ort: /System/Library/Frameworks/JavaScriptCore.framework
Privat: Nein

JavaVM:

Version: 12.0.0
Zuletzt geändert: 24.11.07 15:20
Informationen:
Ort: /System/Library/Frameworks/JavaVM.framework
Privat: Nein

JavaWebObjects:

Version: 5.4
Zuletzt geändert: 24.11.07 15:10
Ort: /System/Library/Frameworks/JavaWebObjects.framework
Privat: Nein

JavaWebServicesClient:

Version: 5.4
Zuletzt geändert: 23.09.07 18:05
Ort: /System/Library/Frameworks/JavaWebServicesClient.framework
Privat: Nein

JavaWebServicesGeneration:

Version: 5.4
Zuletzt geändert: 23.09.07 18:28
Ort: /System/Library/Frameworks/JavaWebServicesGeneration.framework
Privat: Nein

JavaWebServicesSupport:

Version: 5.4
Zuletzt geändert: 23.09.07 17:53
Ort: /System/Library/Frameworks/JavaWebServicesSupport.framework
Privat: Nein

JavaWOExtensions:

Version: 5.4.1
Zuletzt geändert: 23.09.07 18:01
Informationen: 5.4
Ort: /System/Library/Frameworks/JavaWOExtensions.framework
Privat: Nein

JavaWOJSPServlet:

Version: 5.4
Zuletzt geändert: 23.09.07 18:04
Ort: /System/Library/Frameworks/JavaWOJSPServlet.framework
Privat: Nein

JavaXML:

Version: 5.4
Zuletzt geändert: 23.09.07 18:23
Ort: /System/Library/Frameworks/JavaXML.framework
Privat: Nein

--------------------------------------------------------------
--------------------------------------------------------------

my work setup is:
OSX 10.4.9
Dual 2 GHz PowerPC g5
2 GB DDR SDRAM

----

ok that's a lot of info. if you need anything else from me let me know.
hope this can be resolved.

thanks.
Ken
Additional Comment #1 From fry 2008-02-05 10:13
whoa, at a minimum, *do not* use processing 0127. please use the up to date
version.
Additional Comment #2 From frederickk 2008-02-17 22:52
wow. i feel dumb... hadn't recieved an update notice, i must have
unknowingly disabled them. i have downloaded Processing 0135, and for a
while i thought everything was fine.

however, i just had a kernel panic, while trying to run a script.

Ken

(In reply to comment #1)
>
>
>
> Additional Comment #1 From
> fry
> 2008-02-05 10:13
>
> <!--
> addReplyLink(1); //-->[reply]
>
>
>
>
> whoa, at a minimum, *do not* use processing 0127. please use the up
to date
> version.
>
>
Additional Comment #3 From ben chang 2008-03-01 15:47
I'm getting kernel panics irregularly, but multiple times a day, in 0135 on OSX 10.4.10, always
as soon as the sketch runs. it's not every time - often a sketch will run 20, 30, times in a row
before kernel panick. same sketches are stable all day in 0124. the first consistent thing i can
see is that they all use libraries of some kind - some use minim, others use oscp5, others use
OpenCV. i don't think i've been able to get a panic without any libraries loaded. not sure what
else helpful i can offer at the moment other than, ken, you're not alone :)
Additional Comment #4 From frederickk 2008-03-12 20:41
i've been getting them rather frequently. if it would help i can post a
link to some of the scripts i've been using. as it's increasingly
frustrating, that i can't seem to replicate it.

using 0135 beta.
osx 10.5.2 intel macbook

Ken
Additional Comment #5 From fry 2008-03-12 23:48
i'd love to help, but i can't do anything unless you can replicate it.
unfortunately, the vast majority of users are not dealing with the same
issues so i'm not able to help you at this point. keep an eye out for
libraries that might be out of whack, or other java programs that might be
causing problems, or errant files in your Java "Extensions" directory.

and again, the bottom line is that technically, there is *nothing we can
do* inside Processing that would cause a kernel panic. there is no native
code in the macosx version, so we're at the mercy of what might be crashing
on the apple side of things.
Additional Comment #6 From frederickk 2008-03-14 06:54
at first i thought it was libraries as well, but i've been running some
simple processing sketches that do not use libraries. and although it's not
frequent enough to tell, i think it might have something to do with using
type. i'm not using createFont but i am doing this:

PFont[] typeface;
typeface = new PFont[2];

typeface[0] = loadFont("LucidaGrande-9.vlw");
typeface[1] = loadFont("Gotham-Light-33.vlw");

most of the time this is how i deal with typefaces is this a big no-no? (i
hope not cause it makes my life easier)

i'm not 100% sure how to error check it. any tips would be helpful, i'm not
sure what my java "extensions" directory is. and i don't really use any
other java programs.

thnak you for your help.
Additional Comment #7 From frederickk 2008-03-20 09:15
it appears i may have found the problem.

after having 3 kernel panics in a row within about 5min of each other. i
noticed this line in the error report:

Kernel loadable modules in backtrace (with dependencies):
at.obdev.nke.LittleSnitch(2.0.28)@0x7c3000->0x7ecfff

so i uninstalled the app little snitch. and violá. i haven't had any kernel
panics since then. everything is running smooth. then i found this on the
site for little snitch

"Important note for Leopard users upgrading from Little Snitch 2.0 or 2.0.1

Little Snitch 2.0.2 fixes a potential kernel panic during shutdown on Mac
OS X 10.5 Leopard."

http://www.obdev.at/products/littlesnitch/download.html

--

so my apolgies for posting a processing bug, when it was obviously another
apps bug. but the odd thing is only processing seemed to cause the kernel
panics.

i'm 99.9% certain this has solved my problems but if not i will post here.

thanks.
Ken
Additional Comment #8 From fry 2008-03-25 15:31
k, i'm closing this bug in that case.

*** if anyone has other kernel panics when using processing, please file a
new bug. do not reply to this bug as it has been closed. ***