Opened 6 years ago

Closed 6 years ago

Last modified 43 years ago

#550 closed Bugs (None)

Crash when opening lang/langmapping.php from Tikiwiki

Reported by: orionrobots Owned by: ed_mann
Priority: 5 Milestone:
Component: PHP Editor Version: 1.1.8
Keywords: Cc:

Description

This is a 100% reproducible crash when opening the file "lang/langmapping.php" from the branch-1-9 version of tikiwiki (and probably others).

The langmapping.php file lists mappings of language names from translatable production english to their own string in the language. This means it contains Chinese, Farsi, Arabic and probably Eastern European characters as well as others.

$ apt-cache policy eclipse
eclipse:
  Installed: 3.2.1-0ubuntu1
  Candidate: 3.2.1-0ubuntu1
  Version table:
 *** 3.2.1-0ubuntu1 0
        500 http://gb.archive.ubuntu.com edgy/universe Packages
        100 /var/lib/dpkg/status

Crash output:

JVM terminated. Exit code=1
/usr/lib/jvm/java-1.5.0-sun/bin/java
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.1/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=never
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 1a8801a
-install /usr/lib/eclipse
-vm /usr/lib/jvm/java-1.5.0-sun/bin/java
-vmargs
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.1/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=never
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.

Change History (3)

comment:1 Changed 6 years ago by emann

Logged In: YES 
user_id=430467
Originator: NO

Danny,

Can you right click on the project folder and go to properties. under Resource should be the Text file encoding. Can you tell me what that is set to? UTF-8? If it's not UTF-8 change it to that and see if the problem still exists. Can you also post the file so i can work with it.
Thanks.  

comment:2 Changed 6 years ago by emann

Logged In: YES 
user_id=430467
Originator: NO

I found the file, and with CVS version of PHPEclipse i cannot get it to crash.

Attached file for verification that it is the correct file, and others do not see the crash.
File Added: langmapping.php

comment:3 Changed 6 years ago by scorphus

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

This issue is now closed because I can open the file in both current CVS and 1.1.9-CVS20060920. The later just shows a parser error in the PHP code, but the former opens the file normally.

Eclipse 3.2.2 Build id: M20070212-1330
Sun Java version 1.5.0_06
Note: See TracTickets for help on using tickets.