RubyMine 1.1.1 crashes on MacOSX 10.5.8 With Java Update 4

Hi,

my RubyMine is crashing sometimes without any warning. Here's what the system logs say:


01.07.09 14:18:03 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72ac120: double free
01.07.09 14:18:03 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:03 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72aaad0: double free
01.07.09 14:18:03 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:03 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72ac120: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:03 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adbd0: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adb50: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adbd0: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adb50: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adc50: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adb50: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adc50: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adb50: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adca0: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adb50: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adc50: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72add80: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72adc50: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72add10: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:13 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:22 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72ac120: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:22 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:22 [0x0-0x923923].com.jetbrains.rubymine[66587] idea(66587,0xa0883720) malloc: *** error for object 0x72ac120: incorrect checksum for freed object - object was probably modified after being freed.
01.07.09 14:18:22 [0x0-0x923923].com.jetbrains.rubymine[66587] *** set a breakpoint in malloc_error_break to debug
01.07.09 14:18:22 [0x0-0x923923].com.jetbrains.rubymine[66587] Invalid memory access of location 073ac11e eip=97064bda
01.07.09 14:18:25 com.apple.launchd[252] ([0x0-0x923923].com.jetbrains.rubymine[66587]) Exited abnormally: Bus error



 



Any hints?

1 comment
Comment actions Permalink

Hello Michael,

It seems Apple has broken something in JVM. I've noticed that RubyMine (and IntelliJ IDEA) is more stable on jdk 1.6.

To switch RM on JDK 1.6 you should:
1. Open /Applications folder
2. Chose "Show package Contents" on RubyMine 1.1.1.app
3. Open "Contents/Info.plist" using "Property List Editor" or some plain text editor
4. Change Root | Java | JVMVersion to 1.6*
5. In Root | Java | VMOptions change -Xmx512m to -Xmx700m because on MacOS Leopard java 1.6 is 64bit and requires more memory than 32bit java 1.5
6. Save changes in "Info.plist"
7. Delete idea file from "/Applications/RubyMine 1.1.1.app/Contents/MacOS"
8. then cp /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub64 to /Applications/RubyMine 1.1.1.app/Contents/MacOS/
9. rename *JavaApplicationStub64* to *idea* again.
10. add u+x permissions for *idea* file

0

Please sign in to leave a comment.