On Mon, Sep 28, 2009 at 1:29 PM, hashim qaderi <[email protected]> wrote:

> I upgrade my jdk to 1.6.0.16 from 1.6.0.06, now it seems to compile and I
> was able to play with the pocketchangeapp, however, after I added an
> expense, the server crashed and give me the same output as below.
>
> I am started to think that it maybe the application that causes the jvm to
> crash.
>

Lift sits on top of Scala.

The Maven application sits on top of the Scala compiler.

The Scala compiler is simply JVM byte-code.

Any legal byte code (and the Scala byte code is legal, just run the verifier
against it) that causes the JVM to crash is of great interest to Sun.  Why?
 Because it is a security vulnerability.  Any time that there's an illegal
access (like the one that you're reporting), it means that someone could put
junk on the stack and cause that junk to be executed as machine code
instructions.

I have not seen a the JVM blow core (crash) while running anything in a very
long time.  In any case, if the simple act of compiling Lift caused the JVM
to blow up in any sort of reproduceable way, the problem with the JVM would
be fixed in very short order (I was in a room full of all the guys that
could fix this issue last two weeks ago:
http://www.openjdk.org/projects/mlvm/jvmlangsummit/agenda.html).

Thanks,

David


>
> thanks,
> Hashim.
>
> On Mon, Sep 28, 2009 at 3:48 PM, Viktor Klang <[email protected]>wrote:
>
>> Yup,
>> I'd second Davids advice and log the error at Sun mate.
>> Looks like you have something broken there.
>>
>>
>> On Mon, Sep 28, 2009 at 9:45 PM, hashim qaderi <[email protected]> wrote:
>>
>>> the command [mvn clean install ]  fails.
>>> The helloworld program works though.
>>>
>>> =======================
>>>
>>> [INFO] [compiler:compile {execution: default-compile}]
>>> [INFO] Nothing to compile - all classes are up to date
>>> #
>>> # An unexpected error has been detected by Java Runtime Environment:
>>> #
>>> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d904dbc, pid=4240,
>>> tid=5696
>>> #
>>> # Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing
>>> windows-x86)
>>> # Problematic frame:
>>> # V  [jvm.dll+0x94dbc]
>>> #
>>> # An error report file with more information is saved as:
>>> # C:\lift-work\PocketChange\hs_err_pid4240.log
>>> #
>>> # If you would like to submit a bug report, please visit:
>>> #   http://java.sun.com/webapps/bugreport/crash.jsp
>>> #
>>> C:\lift-work\PocketChange>
>>>
>>>   On Mon, Sep 28, 2009 at 3:39 PM, Viktor Klang 
>>> <[email protected]>wrote:
>>>
>>>>
>>>>
>>>>  On Mon, Sep 28, 2009 at 9:35 PM, hash.q <[email protected]> wrote:
>>>>
>>>>>
>>>>> Hello,
>>>>>
>>>>> When building the pocketchangeapp, it succeeds in cygwin, [mvn clean
>>>>> install]
>>>>> however, when running jetty it fails with the following error [ mvn
>>>>> jetty:run ]
>>>>> anyone else encountered this problem?
>>>>> thanks,
>>>>> Hashim.
>>>>>
>>>>
>>>> What happens if you run it from a windows command prompt instead of
>>>> cygwin?
>>>>
>>>>
>>>>>
>>>>>
>>>>> $ mvn jetty:run
>>>>> [INFO] Scanning for projects...
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Building PocketChangeApp
>>>>> [INFO]    task-segment: [jetty:run]
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Preparing jetty:run
>>>>> #
>>>>> # An unexpected error has been detected by Java Runtime Environment:
>>>>> #
>>>>> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9abf37, pid=5712,
>>>>> tid=5752
>>>>> #
>>>>> # Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing
>>>>> windows-x86)
>>>>>
>>>>> # Problematic frame:
>>>>> # V  [jvm.dll+0x13bf37]
>>>>> #
>>>>> # An error report file with more information is saved as:
>>>>>
>>>>> #
>>>>> # If you would like to submit a bug report, please visit:
>>>>> #   http://java.sun.com/webapps/bugreport/crash.jsp
>>>>> #
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Viktor Klang
>>>>
>>>> Blog: klangism.blogspot.com
>>>> Twttr: viktorklang
>>>>
>>>> Lift Committer - liftweb.com
>>>> AKKA Committer - akkasource.org
>>>> Cassidy - github.com/viktorklang/Cassidy.git
>>>> SoftPub founder: http://groups.google.com/group/softpub
>>>>
>>>>
>>
>>
>> --
>> Viktor Klang
>>
>> Blog: klangism.blogspot.com
>> Twttr: viktorklang
>>
>> Lift Committer - liftweb.com
>> AKKA Committer - akkasource.org
>> Cassidy - github.com/viktorklang/Cassidy.git
>> SoftPub founder: http://groups.google.com/group/softpub
>>
>>
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to