AWT thread Crash

Questions on using RSyntaxTextArea should go here.

Moderator: robert

AWT thread Crash

Postby latusaki » Mon Apr 30, 2012 12:07 am

I have not yet confirmed if this only happens on OSX.
The following crash happens ( like one in ten) when typing keywords in java. As soon as the last character of the keyword is typed(so when highlight comes in) the application crashes. Could it be my code /bug / OSX bug? Hoping this is helpful.

- when run from netbeans, on crash the following line is printed on terminal :
Invalid memory access of location 0x0 rip=0x7fff8fad400e -

Crash Report :

Crashed Thread: 18 Java: AWT-EventQueue-0

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000

VM Regions Near 0:
-->
__TEXT 00000001006b6000-00000001006be000 [ 32K] r-x/rwx SM=COW /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java

Application Specific Information:
objc[578]: garbage collection is OFF

Java information:
Exception type: Bus Error (0xa) at pc=7fff8fad400e

Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01-415 mixed mode macosx-amd64)

Current thread (7fd5c292d800): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=205901824, stack(10c35d000,10c45d000)]
Stack: [10c35d000,10c45d000]
latusaki
 

Re: AWT thread Crash

Postby robert » Mon Apr 30, 2012 2:33 am

Thanks for the feedback. Can you reproduce this with just the RSyntaxTextArea demo application? Or maybe the demo applet? RSTA isn't using any native code, so any JVM crash like that one is likely either a JVM bug or an issue with your JVM install or system.
User avatar
robert
 
Posts: 774
Joined: Sat May 10, 2008 5:16 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 13 guests