Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#633 closed Bugs (None)

browser preview crashes jvm

Reported by: paleozogt Owned by: nobody
Priority: 5 Milestone:
Component: PHP Browser Version: 1.1.8
Keywords: Cc:

Description

PhpEclipse version: 1.18
Eclipse version: 3.2.2
OS: Ubuntu Linux 7.10 Gutsy Gibbon (PPC) 
    on PowerBook G4
JVM:
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build pxp32dev-20060511 (SR2))
    IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux ppc-32 j9vmxp3223-20060504 (JIT enabled)
    J9VM - 20060501_06428_bHdSMR
    JIT  - 20060428_1800_r8
    GC   - 20060501_AA)
    JCL  - 20060511a

Steps to reproduce:
 - create new php project, browse to already 
   existing project outside workspace
 - open php file, make an edit, save it
 - eclipse will freeze for a while, then crash
 - this is due to the phpeclipse browser preview

Workaround:
 Disable the phpeclipse browswer.  In eclipse 
 preferences, go to 
 "PHPeclipse Web Development" -> "Browser Preview" 
 and uncheck 
 "Refresh PHP browser view when opening editor" and 
 "Show PHP browser view when opening editor".

Eclipse crash error message:
    JVM terminated. Exit code=160
    /usr/lib/j2sdk1.5-ibm/bin/java
    -Djava.library.path=/usr/lib/jni
    -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db
    -Dgnu.gcj.runtime.VMClassLoader.library_control=never
    -Dosgi.locking=none
    -jar /usr/lib/eclipse/startup.jar
    -os linux
    -ws gtk
    -arch ppc
    -launcher /usr/lib/eclipse/eclipse
    -name Eclipse
    -showsplash 600
    -exitdata 1e8010
    -install /usr/lib/eclipse
    -vm /usr/lib/j2sdk1.5-ibm/bin/java
    -vmargs
    -Djava.library.path=/usr/lib/jni
    -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db
    -Dgnu.gcj.runtime.VMClassLoader.library_control=never
    -Dosgi.locking=none
    -jar /usr/lib/eclipse/startup.jar 

Change History (4)

comment:1 Changed 5 years ago by paleozogt

Logged In: YES 
user_id=891865
Originator: YES

File Added: phpeclipse-crash.zip

comment:2 Changed 5 years ago by incastrix

  • Status changed from assigned to closed
Logged In: YES 
user_id=944994
Originator: NO

This version (1.1.8) is too old, try 1.2.0 nightly.

see http://docs.schuetzengau-freising.de/modules/xdocman/manual.php?lang=en&doc=xo-002&id=sec.install_phpeclipse.automated&file=ch01s03.html&PHPSESSID=e497ae6377d7aa619b1f076f8f5515c9#sec.install_phpeclipse.automated

comment:3 Changed 5 years ago by paleozogt

Logged In: YES 
user_id=891865
Originator: YES

1.1.8 is the current release.  When will the next version be released?

comment:4 Changed 5 years ago by scorphus

Logged In: YES 
user_id=987242
Originator: NO

While the new version isn't released yet, we suggest you to install the nightly this way: start Eclipse then click Help-> Software Updates -> Find and Install. Then select Search for new features to install -> Next. You will create a new remote site Name: PHPEclipse Nightly. The url is http://update.phpeclipse.net/update/nightly then click Ok. Make sure PHPEclipse Nightly is checked then click Finish. After it is installed you will need to activate the Perspective, to do that go to Window-> Open Perspective ->Other -> Select PHP -> Ok.

Thanks.
Note: See TracTickets for help on using tickets.