Re: [aspectwerkz-user] Thread dump when compiling source code using aspectwerkz.

"Alexandre Vasseur" <[email protected]> Mon, 6 Aug 2007 19:34:12 +0200
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
------=_Part_87812_28438443.1186421652122
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

can you clarify ?
awc cannot compile source, but can only postcompile compiled bytecode (ie
weave it with the aspects)

the stuff below is not a thread dump but a JVM crash, so it is likely a JVM
issue. You should raise it to HP (it seems to be HP-UX), and it seems to
happen during a GC.

Alex


On 8/6/07, [email protected] <
[email protected]> wrote:
>
>  Hi,
>
> we are trying to compile the source using aspectwerkz awc option in JDK
> 1.3.1
>
> java version "1.3.1.19<http://blr-sjp-mbx01.wipro.com/exchweb/bin/redir.asp?URL=http://1.3.1.19>
> "
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.19-061215-02
> :09)
> Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.19-_15_dec_2006_03_05 PA2.0,
> mixed mode)
> .
>
> But get the following dump :
>
> *Full thread dump:*
>  "Signal Dispatcher" daemon prio=9 tid=0x2d510 nid=7 lwp_id=7769662
> runnable [0..0xffffffff]
> "Finalizer" daemon prio=9 tid=0x2d410 nid=5 lwp_id=7769660 waiting on
> monitor [0x6fd93000..0x6fd93468]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0x68c65c28> (a java.lang.ref.ReferenceQueue$Lock)
>         at java.lang.ref.ReferenceQueue.remove(Unknown Source)
>         - locked <0x68c65c28> (a java.lang.ref.ReferenceQueue$Lock)
>         at java.lang.ref.ReferenceQueue.remove (Unknown Source)
>         at java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(
> Finalizer.java:120)
> "Reference Handler" daemon prio=9 tid=0x2d310 nid=4 lwp_id=7769659 waiting
> on monitor [0x6fdb4000..0x6fdb4468]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0x68c62140> (a java.lang.ref.Reference$Lock)
>         at java.lang.Object.wait(Unknown Source)
>         at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
>         - locked <0x68c62140> (a java.lang.ref.Reference$Lock)
> "main" prio=1 tid=0x2d210 nid=1 lwp_id=7769632 runnable [0..0x6fff5698]
> "VM Thread" prio=10 tid=0x3ab80 nid=3 lwp_id=7769658 runnable
> "VM Periodic Task Thread" prio=8 tid=0x3abe8 nid=6 lwp_id=7769661 waiting
> on monitor
> #
> # Java version:
> # HotSpot VM (mixed mode)
> #
> # HotSpot Virtual Machine Error, Unexpected Signal 4
> #
> # occurred at pc=6bf57c68
> # Error ID:
> /CLO/Components/JAVA_HOTSPOT/Src/build/hp-ux/../../src/os/hp-ux/vm/os_hp-
> ux.cpp, 3050
> #
>
>
> Thanks and Regards,
> Lalithamba.
>
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>

------=_Part_87812_28438443.1186421652122
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>can you clarify ?</div>
<div>awc cannot compile source, but can only postcompile compiled bytecode (ie weave it with the aspects)</div>
<div>&nbsp;</div>
<div>the stuff below is not a thread dump but a JVM crash, so it is likely a JVM issue. You should raise it to HP (it seems to be HP-UX), and it seems to happen during a GC.</div>
<div>&nbsp;</div>
<div>Alex<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/6/07, <b class="gmail_sendername"><a href="mailto:[email protected]">[email protected]</a></b> &lt;<a href="mailto:[email protected]">
[email protected]</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div dir="ltr"><font face="Arial" size="2">Hi,</font></div>
<div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial" size="2">we are trying to compile the source using aspectwerkz awc option in JDK 1.3.1</font></div>
<div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial" size="2">java version &quot;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://blr-sjp-mbx01.wipro.com/exchweb/bin/redir.asp?URL=http://1.3.1.19" target="_blank">1.3.1.19
</a>&quot;<br>Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.19-061215-02:09)<br>Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.19-_15_dec_2006_03_05 PA2.0, mixed mode)</font></div>
<div dir="ltr"><font face="Arial" size="2">.&nbsp;</font></div>
<div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial" size="2">But get the following dump :</font></div>
<div dir="ltr"><font face="Arial" color="#000000" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial" color="#000000" size="2"><strong>Full thread dump:</strong></font></div>
<div dir="ltr">
<div><font face="Arial" color="#000000" size="2">&quot;Signal Dispatcher&quot; daemon prio=9 tid=0x2d510 nid=7 lwp_id=7769662 runnable [0..0xffffffff]</font></div>
<div><font face="Arial" color="#000000" size="2">&quot;Finalizer&quot; daemon prio=9 tid=0x2d410 nid=5 lwp_id=7769660 waiting on monitor [0x6fd93000..0x6fd93468]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Object.wait(Native Method)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - waiting on &lt;0x68c65c28&gt; (a 
java.lang.ref.ReferenceQueue$Lock)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ref.ReferenceQueue.remove(Unknown Source)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - locked &lt;0x68c65c28&gt; (a java.lang.ref.ReferenceQueue$Lock)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ref.ReferenceQueue.remove
 (Unknown Source)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:120)</font></div>
<div><font face="Arial" color="#000000" size="2">&quot;Reference Handler&quot; daemon prio=9 tid=0x2d310 nid=4 lwp_id=7769659 waiting on monitor [0x6fdb4000..0x6fdb4468]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Object.wait(Native Method) 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - waiting on &lt;0x68c62140&gt; (a java.lang.ref.Reference$Lock)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Object.wait(Unknown Source)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - locked &lt;0x68c62140&gt; (a 
java.lang.ref.Reference$Lock)</font></div>
<div><font face="Arial" color="#000000" size="2">&quot;main&quot; prio=1 tid=0x2d210 nid=1 lwp_id=7769632 runnable [0..0x6fff5698]</font></div>
<div><font face="Arial" color="#000000" size="2">&quot;VM Thread&quot; prio=10 tid=0x3ab80 nid=3 lwp_id=7769658 runnable </font></div>
<div><font face="Arial" color="#000000" size="2">&quot;VM Periodic Task Thread&quot; prio=8 tid=0x3abe8 nid=6 lwp_id=7769661 waiting on monitor <br>#<br># Java version:<br># HotSpot VM (mixed mode)<br>#<br># HotSpot Virtual Machine Error, Unexpected Signal 4 
<br>#<br># occurred at pc=6bf57c68<br># Error ID: /CLO/Components/JAVA_HOTSPOT/Src/build/hp-ux/../../src/os/hp-ux/vm/os_hp-ux.cpp, 3050<br>#<br></font></div>
<div>
<div><font face="Arial" color="#000000" size="2"></font></div><font face="Arial" color="#000000" size="2"></font></div></div>
<div dir="ltr"><font face="Arial" color="#000000" size="2"></font>&nbsp;</div>
<div dir="ltr"><pre>Thanks and Regards,
Lalithamba.
</pre></div></div>
<table>
<tbody>
<tr>
<td bgcolor="#ffffff"><font color="#000000"><br>The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 
<br><br>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
<br><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.wipro.com/" target="_blank">www.wipro.com</a><br></font></td></tr></tbody></table></blockquote></div><br>

------=_Part_87812_28438443.1186421652122--