You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Joel Halbert <jo...@su3analytics.com> on 2008/10/20 11:03:09 UTC
Core dump when debugging @OnEvent methods on Page (JDK 1.6.0_10,
Eclipse 3.3.2)
Hi,
Has anyone experienced core dumps when trying to debug T5 Page Event
handler methods using a 1.6.0_10 jdk, on eclipse 3.3.2 ?
I keep getting the following dump when my breakpoint is hit :
#
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (javaCalls.cpp:38), pid=2564, tid=4068
*# Error: guarantee(thread->is_Java_thread(),"crucial check - the VM
thread cannot and must not escape to Java code")*
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode windows-x86)
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x0cac6400): VMThread [stack: 0x0cb50000,0x0cba0000]
[id=4068]
Stack: [0x0cb50000,0x0cba0000]
[error occurred during error reporting (printing stack bounds), id
0x80000001]
VM_Operation (0x0f27e0b4): GenCollectForAllocation, mode: safepoint,
requested by thread 0x0dca8000
The full dump is attached (for anyone who is really interested!).
Thx,
Joel
--
SU3 Analytics Ltd
61b Oxford Gardens
W10 5UJ
London
Tel: +44 20 8960 2634
Mob: +44 75 2501 0825
www.su3analytics.com
SU3 Analytics Ltd is a company registered in England and Wales under company number 06639473 at registered address 61b Oxford Gardens, London W10 5UJ, United Kingdom.
Re: Core dump when debugging @OnEvent methods on Page (JDK 1.6.0_10,
Eclipse 3.3.2)
Posted by Daniel Jue <te...@gmail.com>.
It's 6 months later and I ran into this problem too. Except that the
breakpoint cause the debugger/tomcat seems to fail/stop in _any_
annotated method, even those using @Log.
Is there a better solution to this problem than delegating to non
annotated methods?
Tomcat 6.0.14, 6.0.18
Tapestry 5.0.18 (Stable)
Eclipse Ganymede, Ganymede SR2
Java 1.6.0_13
i.e. if my breakpoint is inside of Border.setupUser (annotated with only @Log)
I get this in my console:
[DEBUG] Border [ENTER] setupUser()
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6da2d93d, pid=2388, tid=4016
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode windows-x86)
# Problematic frame:
# V [jvm.dll+0x17d93d]
#
# An error report file with more information is saved as:
# C:\WINDOWS\Fonts\hs_err_pid2388.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
On Wed, Oct 22, 2008 at 3:37 PM, Steven Woolley <wo...@gmail.com> wrote:
> Me too, eclipse 3.1/jdk 1.5 on Mac, thought maybe it was 1.6, i didn't check
> which one eclipse/maven/jetty were using. It was unpleasant, shall we
> say...Steve
>
> On Tue, Oct 21, 2008 at 2:29 AM, Stephane Decleire <
> sdecleire@cariboo-networks.com> wrote:
>
>> Yes, i've got the same error yesterday on Eclipse 3.3.1.1/jdk1.6.0_03.
>>
>> Joel Halbert a écrit :
>>
>>> Hi,
>>>
>>> Has anyone experienced core dumps when trying to debug T5 Page Event
>>> handler methods using a 1.6.0_10 jdk, on eclipse 3.3.2 ?
>>> I keep getting the following dump when my breakpoint is hit :
>>>
>>>
>>> #
>>> # An unexpected error has been detected by Java Runtime Environment:
>>> #
>>> # Internal Error (javaCalls.cpp:38), pid=2564, tid=4068
>>> *# Error: guarantee(thread->is_Java_thread(),"crucial check - the VM
>>> thread cannot and must not escape to Java code")*
>>> #
>>> # Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode windows-x86)
>>> # If you would like to submit a bug report, please visit:
>>> # http://java.sun.com/webapps/bugreport/crash.jsp
>>> #
>>>
>>> --------------- T H R E A D ---------------
>>>
>>> Current thread (0x0cac6400): VMThread [stack: 0x0cb50000,0x0cba0000]
>>> [id=4068]
>>>
>>> Stack: [0x0cb50000,0x0cba0000]
>>> [error occurred during error reporting (printing stack bounds), id
>>> 0x80000001]
>>>
>>> VM_Operation (0x0f27e0b4): GenCollectForAllocation, mode: safepoint,
>>> requested by thread 0x0dca8000
>>>
>>>
>>>
>>> The full dump is attached (for anyone who is really interested!).
>>>
>>> Thx,
>>> Joel
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Core dump when debugging @OnEvent methods on Page (JDK 1.6.0_10, Eclipse 3.3.2)
Posted by Steven Woolley <wo...@gmail.com>.
Me too, eclipse 3.1/jdk 1.5 on Mac, thought maybe it was 1.6, i didn't check
which one eclipse/maven/jetty were using. It was unpleasant, shall we
say...Steve
On Tue, Oct 21, 2008 at 2:29 AM, Stephane Decleire <
sdecleire@cariboo-networks.com> wrote:
> Yes, i've got the same error yesterday on Eclipse 3.3.1.1/jdk1.6.0_03.
>
> Joel Halbert a écrit :
>
>> Hi,
>>
>> Has anyone experienced core dumps when trying to debug T5 Page Event
>> handler methods using a 1.6.0_10 jdk, on eclipse 3.3.2 ?
>> I keep getting the following dump when my breakpoint is hit :
>>
>>
>> #
>> # An unexpected error has been detected by Java Runtime Environment:
>> #
>> # Internal Error (javaCalls.cpp:38), pid=2564, tid=4068
>> *# Error: guarantee(thread->is_Java_thread(),"crucial check - the VM
>> thread cannot and must not escape to Java code")*
>> #
>> # Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode windows-x86)
>> # If you would like to submit a bug report, please visit:
>> # http://java.sun.com/webapps/bugreport/crash.jsp
>> #
>>
>> --------------- T H R E A D ---------------
>>
>> Current thread (0x0cac6400): VMThread [stack: 0x0cb50000,0x0cba0000]
>> [id=4068]
>>
>> Stack: [0x0cb50000,0x0cba0000]
>> [error occurred during error reporting (printing stack bounds), id
>> 0x80000001]
>>
>> VM_Operation (0x0f27e0b4): GenCollectForAllocation, mode: safepoint,
>> requested by thread 0x0dca8000
>>
>>
>>
>> The full dump is attached (for anyone who is really interested!).
>>
>> Thx,
>> Joel
>>
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>
Re: Core dump when debugging @OnEvent methods on Page (JDK 1.6.0_10,
Eclipse 3.3.2)
Posted by Stephane Decleire <sd...@cariboo-networks.com>.
Yes, i've got the same error yesterday on Eclipse 3.3.1.1/jdk1.6.0_03.
Joel Halbert a écrit :
> Hi,
>
> Has anyone experienced core dumps when trying to debug T5 Page Event
> handler methods using a 1.6.0_10 jdk, on eclipse 3.3.2 ?
> I keep getting the following dump when my breakpoint is hit :
>
>
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> # Internal Error (javaCalls.cpp:38), pid=2564, tid=4068
> *# Error: guarantee(thread->is_Java_thread(),"crucial check - the VM
> thread cannot and must not escape to Java code")*
> #
> # Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode windows-x86)
> # If you would like to submit a bug report, please visit:
> # http://java.sun.com/webapps/bugreport/crash.jsp
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x0cac6400): VMThread [stack: 0x0cb50000,0x0cba0000]
> [id=4068]
>
> Stack: [0x0cb50000,0x0cba0000]
> [error occurred during error reporting (printing stack bounds), id
> 0x80000001]
>
> VM_Operation (0x0f27e0b4): GenCollectForAllocation, mode: safepoint,
> requested by thread 0x0dca8000
>
>
>
> The full dump is attached (for anyone who is really interested!).
>
> Thx,
> Joel
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
Re: Core dump when debugging @OnEvent methods on Page (JDK 1.6.0_10,
Eclipse 3.3.2)
Posted by Joel Halbert <jo...@su3analytics.com>.
I managed to resolve the issue by refactoring all the code out of the
event handling method, and delegating the call to another method :
@OnEvent("save")
void save() {
doSave();
}
If the breakpoint is placed in doSave() instead of save() it all works
fine.
Joel Halbert wrote:
> Hi,
>
> Has anyone experienced core dumps when trying to debug T5 Page Event
> handler methods using a 1.6.0_10 jdk, on eclipse 3.3.2 ?
> I keep getting the following dump when my breakpoint is hit :
>
>
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> # Internal Error (javaCalls.cpp:38), pid=2564, tid=4068
> *# Error: guarantee(thread->is_Java_thread(),"crucial check - the VM
> thread cannot and must not escape to Java code")*
> #
> # Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode windows-x86)
> # If you would like to submit a bug report, please visit:
> # http://java.sun.com/webapps/bugreport/crash.jsp
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x0cac6400): VMThread [stack: 0x0cb50000,0x0cba0000]
> [id=4068]
>
> Stack: [0x0cb50000,0x0cba0000]
> [error occurred during error reporting (printing stack bounds), id
> 0x80000001]
>
> VM_Operation (0x0f27e0b4): GenCollectForAllocation, mode: safepoint,
> requested by thread 0x0dca8000
>
>
>
> The full dump is attached (for anyone who is really interested!).
>
> Thx,
> Joel
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
--
SU3 Analytics Ltd
61b Oxford Gardens
W10 5UJ
London
Tel: +44 20 8960 2634
Mob: +44 75 2501 0825
www.su3analytics.com
SU3 Analytics Ltd is a company registered in England and Wales under company number 06639473 at registered address 61b Oxford Gardens, London W10 5UJ, United Kingdom.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org