History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-18750
Type: Bug Bug
Status: Open Open
Assignee: Alexander Chernikov
Reporter: Brydie McCoy
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

IDEA crashes when closing editor windows on OSX 5

Created: 15 Jul 08 04:25   Updated: 02 Sep 08 17:57
Component/s: Code Navigation

File Attachments: 1. Text File ideaThreadDump.txt (33 kb)

Image Attachments:

1. ideabug.png
(125 kb)
Environment: OSX 10.5.4

Build: 7,757
Severity: Medium


 Description  « Hide
Hi,

I think this may possibly be related to http://www.jetbrains.net/jira/browse/IDEA-17277

The problem I am seeing is that when i close editor windows (via right clicking on the tabs and selecting close) IDEA becomes completely unresponsive and I have to kill it. I have not been able to find the pattern in when it happens and when it doesn't (though it happens enough, that i don't close editors any more) But, I think it happens when I close the last of the 'visible' editor tabs (see the linked bug above) and there are other editors open but because they can't update properly it just crashes.

Thanks



 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 12 Aug 08 22:53
IDEA-17277 really occurs, but I failed to reproduce this one in 7757.
If this issue still hurts, you can attach the thread dump, gotten at the moment when IDEA is hanging.

You also can try the latest Selena EAP 7938.


Brydie McCoy - 14 Aug 08 05:42
Hi,

I'll perform the thread dump next time it happens. Just a quick question though. Where will the thread dump get spat out to?

Cheers,
Brydie


Alexander Chernikov - 14 Aug 08 19:39
Hi.

Ah, you are on Mac... In a terminal application the command
> sudo jstack [IDEA pid]
should print the dump. You need to have su permissions and know IDEA process ID.

Dump may be attached to the issue in a text file.


Brydie McCoy - 22 Aug 08 11:36
Hi

This happened again. This time i was using the 7.0.4 build (7941?). I was right clicking on editors that were open and closing them. I noticed this time that IDEA is not completely frozen. It still accepts focus on the various panes and i can open the menus but i can't actually DO anything.

I have attached a thread dump to this issue.

Also, there was an error spat out when performing the thread dump. I have no idea if that has anything to do with IDEA but i thought i'd paste it here just in case.

sun.jvm.hotspot.debugger.UnalignedAddressException: Trying to read at address: 0x00000001 with alignment: 4
	at sun.jvm.hotspot.debugger.DebuggerUtilities.checkAlignment(DebuggerUtilities.java:40)
	at sun.jvm.hotspot.debugger.macosx.MacOSXDebuggerLocal2.readCInteger(MacOSXDebuggerLocal2.java:387)
	at sun.jvm.hotspot.debugger.DebuggerBase.readAddressValue(DebuggerBase.java:425)
	at sun.jvm.hotspot.debugger.macosx.MacOSXDebuggerLocal2.readAddress(MacOSXDebuggerLocal2.java:257)
	at sun.jvm.hotspot.debugger.macosx.MacOSXAddress.getAddressAt(MacOSXAddress.java:54)
	at sun.jvm.hotspot.runtime.x86.X86Frame.getLink(X86Frame.java:338)
	at sun.jvm.hotspot.runtime.x86.X86Frame.sender(X86Frame.java:218)
	at sun.jvm.hotspot.runtime.Frame.sender(Frame.java:184)
	at sun.jvm.hotspot.runtime.Frame.realSender(Frame.java:189)
	at sun.jvm.hotspot.runtime.VFrame.sender(VFrame.java:102)
	at sun.jvm.hotspot.runtime.VFrame.javaSender(VFrame.java:134)
	at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:50)
	at sun.jvm.hotspot.tools.JStack.run(JStack.java:41)
	at sun.jvm.hotspot.tools.Tool.start(Tool.java:204)
	at sun.jvm.hotspot.tools.JStack.main(JStack.java:62)

I also attached a screen shot to demonstrate the stat IDEA was in when it crashed.

Thanks,
Brydie