Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging a Java bus error




On Sep 22, 2008, at 1:40 PM, Bill Janssen wrote:


java(69146,0xb0801000) malloc: *** mmap(size=33660928) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Invalid memory access of location 00000018 eip=6a5655a2


I've run this under gdb, but there are no symbols in the Apple Java, so
the trace is pretty much uninformative. I'm looking for tips and tricks
for finding out what's causing this. I'm running with -Xmx1500m, as well.

Sounds like it might be a invalid memory location access error rather than a out of memory error. For one thing 'location 00000018' kind of sounds like low memory?


Googled: Invalid memory access of location
[vtkusers] Invalid memory access of location under java/OSX/Cocoa

http://www.vtk.org/pipermail/vtkusers/2007-February/089537.html

Similar error corrected by switching something to Carbon instead of Cocoa.



Re: Invalid memory access? (was on qtj list)

http://lists.apple.com/archives/quicktime-java/2008/Jun/msg00053.html

Not sure that one helps but you might want to check Console for anything related.

About all that looked real pertinent.


Mike Hall hallmike at att dot net http://www.geocities.com/mik3hall http://sourceforge.net/projects/macnative



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: how to read images fast with Apple Java? (From: Greg Guerin <email@hidden>)
 >Debugging a Java bus error (From: Bill Janssen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.