This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 68591 - Editing build.xml crashes netbeans
Summary: Editing build.xml crashes netbeans
Status: VERIFIED DUPLICATE of bug 68650
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 5.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-12 16:24 UTC by pbw
Modified: 2005-11-17 18:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (234.47 KB, text/plain)
2005-11-12 16:25 UTC, pbw
Details
Thread dump (12.53 KB, text/plain)
2005-11-15 13:34 UTC, pbw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pbw 2005-11-12 16:24:29 UTC
Attempted to edit build.xml. Removing comment around instruction, removed the
comment trailer.  NB froze.  Switched to another virtual desktop, and a little
later NB disappeared.
Comment 1 pbw 2005-11-12 16:25:21 UTC
Created attachment 26891 [details]
Log file
Comment 2 pbw 2005-11-12 16:37:50 UTC
I may hve had a netbeans process still lying about, which might explain the lack
of specifics in the log file.
Comment 3 Marek Fukala 2005-11-14 08:01:19 UTC
Please add a thread dump of the deadlocked netbeans. Without this I cannot do
much. The logfile shows nothing suspicious.
Comment 4 pbw 2005-11-14 09:08:04 UTC
How do I get a thread dump? Ctrl-Q?

This looks like a regression.  I've had the same problem before, see #63169. It
had been fixed in a later build.  In any case, I was trying to get some work
done, so I reverted to 4.1.

For the moment, I'm avoiding editing build.xml, but when I feel experimental,
I'll try it again.
Comment 5 Marek Fukala 2005-11-14 09:25:56 UTC
Ctrl + \ on linux. Ctrl + break on windows.
Comment 6 pbw 2005-11-15 12:29:35 UTC
Problem still present in latest daily build.

stty - a gives me the mapping for quit - d'uh.  Next questions. What is the dump
file called? core? Where will it be?

I'm assuming that I will need to send a kill -QUIT to the hung process.  ^\ will
only work for a shell won't it?
Comment 7 pbw 2005-11-15 12:49:35 UTC
Another d'uh moment.  Run netbeans from a terminal; use keyboard quit when it hangs.
Comment 8 Marek Fukala 2005-11-15 12:52:23 UTC
The threaddumpl is printed into the process output. Run netbeans with console,
press Ctrl + \ and then copy the printed text from the console. Or you can copy
the threaddump from the IDE log ${HOME}/.netbeans/dev/var/log/messages.log
Comment 9 pbw 2005-11-15 13:34:51 UTC
Created attachment 26964 [details]
Thread dump
Comment 10 pbw 2005-11-15 13:36:55 UTC
Thread dump attached.  Note that the thread dump does not show up in the
messages.log.
Comment 11 Marek Fukala 2005-11-15 13:45:42 UTC
Thanks for the threaddump - very helpful! The threads are locked in Ant's code
=> reassigning to Jesse.
Comment 12 Jesse Glick 2005-11-15 18:27:57 UTC

*** This issue has been marked as a duplicate of 68650 ***
Comment 13 Marian Mirilovic 2005-11-17 18:27:00 UTC
verified duplicate