Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Non-aligned pointer being freed, in Java?

Tags:

java

This would be simple to track down in Objective-C, but in Java I thought this kind of thing was impossible. The error I'm seeing is:

java(7198,0x124a13000) malloc: *** error for object 0x1003109c1: Non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug

How would I set a breakpoint of this type in Java? Or, how would I track down the object in question? That memory address is NOT the hashCode, right?

like image 994
Dan Rosenstark Avatar asked Feb 17 '12 18:02

Dan Rosenstark


1 Answers

You don't debug this kind of stuff in Java itself, because this seems either a bug in the JVM itself or some rogue native library.

like image 109
A.H. Avatar answered Oct 22 '22 02:10

A.H.