Ticket #2168 (new defect)

Opened 10 years ago

Last modified 9 months ago

Java application no longer working after this morning's opkg update && upgrade

Reported by: iknowjoseph Owned by: openmoko-devel
Priority: normal Milestone:
Component: unknown Version: unspecified
Severity: normal Keywords:
Cc: jldominguez@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

The application fails with:

root@om-gta02:~# cacao -Xmx32M -Djava.library.path=/usr/share/gv-om/lib -cp /usr/share/gv-om/class/all.jar es.prodevelop.gvsig.mobile.app.Launcher l=en p="/u
sr/share/gv-om"
Forcing initialization of Utils...
LOG: [0x4001cee0] We received a SIGSEGV and tried to handle it, but we were
LOG: [0x4001cee0] unable to find a Java method at:
LOG: [0x4001cee0]
LOG: [0x4001cee0] PC=0x41389f84
LOG: [0x4001cee0]
LOG: [0x4001cee0] Dumping the current stacktrace:

at gnu.java.awt.peer.gtk.GtkToolkit?.gtkInit(ILjava/lang/Object;)V(Native Method)
at gnu.java.awt.peer.gtk.GtkToolkit?.<clinit>()V(GtkToolkit?.java:197)
at java.lang.VMClass.forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;(Native Method)
at java.lang.Class.forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;(Class.java:233)
at java.awt.Toolkit.getDefaultToolkit()Ljava/awt/Toolkit;(Toolkit.java:583)
at java.awt.Font.tk()Lgnu/java/awt/ClasspathToolkit;(Font.java:317)
at java.awt.Font.getPeerFromToolkit(Ljava/lang/String;Ljava/util/Map;)Lgnu/java/awt/peer/ClasspathFontPeer;(Font.java:329)
at java.awt.Font.<init>(Ljava/lang/String;II)V(Font.java:381)
at es.prodevelop.gvsig.mobile.fmap.util.Utils.<clinit>()V(Utils.java:140)
at es.prodevelop.gvsig.mobile.app.Launcher.loadDLLs()V(Launcher.java:172)
at es.prodevelop.gvsig.mobile.app.Launcher.main([Ljava/lang/String;)V(Launcher.java:130)

LOG: [0x4001cee0] Exiting...
Aborted
root@om-gta02:~#

Yesterday this application would open; this morning I opkg update && upgrade'd which installed kernel-2.6.24. I rebooted and the java application failed to load.

root@om-gta02:~# opkg status cacao
Package: cacao
Version: 0.99.3-r5.1
Depends: classpath, libz1 (>= 1.2.3), libc6 (>= 2.6.1), libgcc-s1 (>= 4.1.2)
Provides: java2-runtime
Status: install user installed
Architecture: armv4t

root@om-gta02:~# opkg status classpath
Package: classpath
Version: 0.97.2-r8.1
Depends: classpath-common (>= 0.97.2), libgcc-s1 (>= 4.1.2), libc6 (>= 2.6.1)
Provides: classpath
Status: install ok installed
Architecture: armv4t

root@om-gta02:~# opkg status classpath-gtk
Package: classpath-gtk
Version: 0.97.2-r8.1
Depends: gtk+-fastscaling (>= 2.10.14), libatk-1.0-0 (>= 1.20.0), pango (>= 1.18.3), libcairo2 (>= 1.6.4), libgthread-2.0-0 (>= 2.16.4), libc6 (>= 2.6.1), libfreetype6 (>= 2.3.6), libfontconfig1 (>= 2.4.1), libgobject-2.0-0 (>= 2.16.4), libgmodule-2.0-0 (>= 2.16.4), libglib-2.0-0 (>= 2.16.4), libxtst6 (>= 1.0.3), libsm6 (>= 1.0.3), libice6 (>= 1.0.4), libxrender1 (>= 0.9.4)
Provides: classpath-awt
Status: install ok installed
Architecture: armv4t

root@om-gta02:~# opkg status classpath-common
Package: classpath-common
Version: 0.97.2-r8.1
Provides: classpath-common
Status: install ok installed
Architecture: armv4t

root@om-gta02:~#

Change History

comment:1 Changed 10 years ago by jldominguez

It seems like this line is causing the problem:

...
public static final Font TILE_PROBLEM_FONT = new Font("Dialog", 3, 12);
...

We have not changed that line recently. It used to work. For your information, from the Font class doc:

"style - the style constant for the Font The style argument is an integer bitmask that may be PLAIN, or a bitwise union of BOLD and/or ITALIC (for example, ITALIC or BOLD|ITALIC). If the style argument does not conform to one of the expected integer bitmasks then the style is set to PLAIN."

java.awt.Font

public static final int BOLD 1
public static final int CENTER_BASELINE 1
public static final int HANGING_BASELINE 2
public static final int ITALIC 2
public static final int LAYOUT_LEFT_TO_RIGHT 0
public static final int LAYOUT_NO_LIMIT_CONTEXT 4
public static final int LAYOUT_NO_START_CONTEXT 2
public static final int LAYOUT_RIGHT_TO_LEFT 1
public static final int PLAIN 0
public static final int ROMAN_BASELINE 0
public static final int TRUETYPE_FONT 0

comment:2 Changed 13 months ago by RoberMync

Propecia Tablets For Sale <a href=http://cial1.xyz/cialis-cheap.php>Cialis Cheap</a> Tolerance To Amoxicillin Review Best Place To Buy Viagra Online <a href=http://zol1.xyz/buy-zoloft-cheap.php>Buy Zoloft Cheap</a> Cialis Interacciones Medicamentosas Prix Levitra Pharmacie Lyon <a href=http://priligy.ccrpdc.com/buy-priligy-generic.php>Buy Priligy Generic</a> Propecia Merck 1 Mg Preis Fur Levitra 20 Mg <a href=http://kama1.xyz/order-generic-kamagra.php>Order Generic Kamagra</a> Baclofene Cancer Get Generic Cheapeast Provera Medication Shop <a href=http://cial5mg.xyz/tadalafil-generic.php>Tadalafil Generic</a> Viagra Dal Canada Comprar Cialis En Girona <a href=http://zol1.xyz/generic-zoloft-usa.php>Generic Zoloft Usa</a> Levitra Prix En Pharmacie Paris Amoxicillin Veterinary Dosage Dogs <a href=http://cial1.xyz/cialis-online.php>Cialis Online</a> 20mg Levitra India Stendra Ed <a href=http://kama1.xyz/best-generic-kamagra.php>Best Generic Kamagra</a> Generic Tadalafil 40 Mg Priligy Valor <a href=http://cial1.xyz/cialis-free-offer.php>Cialis Free Offer</a> Keflex For Ear Infection Pharm <a href=http://cial1.xyz/cialis-40mg.php>Cialis 40mg</a> Cialis 5mg Buy Levitra No Prescription <a href=http://zol1.xyz/implicane-online.php>Implicane Online</a> Propecia Schwanger Sperma Imitrex <a href=http://strattera.ccrpdc.com/buying-strattera-online.php>Buying Strattera Online</a> Order Fluoxetine Online Walgreens Propecia Price Pharmacy <a href=http://cial5mg.xyz/can-i-buy-cialis-online.php>Can I Buy Cialis Online</a> Levitra With Dapoxetine Cephalexin Hydrochloride <a href=http://viag1.xyz>Buy Viagra</a> Buy Kamagra In London Canadian Synthroid Without A Script <a href=http://viag1.xyz/sildenafil.php>Sildenafil</a> Vegetarian Diet And Propecia Buy Orlistat Online Canada <a href=http://cial1.xyz/cheap-cialis-tablets.php>Cheap Cialis Tablets</a> Propecia Portugal Cialis Come Comprare <a href=http://xenical.ccrpdc.com/xenical-prices.php>Xenical Prices</a> Onlines Std Pills Keflex To Treat Spodylitis <a href=http://viag1.xyz/cheap-viagra-overnight.php>Cheap Viagra Overnight</a> Compra Viagra Cialis Precio 20 Mg <a href=http://zol1.xyz/zoloft-no-prescription-fast.php>Zoloft No Prescription Fast</a> Propecia Online With Prescription Wirkung Viagra Einnahme <a href=http://cial5mg.xyz/female-cialis.php>Female Cialis</a> Valtrex Online Cheap Viagra Pfizer 100 Mg Prezzo <a href=http://cial5mg.xyz/cheapest-cialis-online.php>Cheapest Cialis Online</a> Can You Buy Viagra Over The Counter Buy Pain Meds Online With E Check <a href=http://kama1.xyz/low-cost-generic-kamagra.php>Low Cost Generic Kamagra</a> Siemens Levitra 20mg

comment:3 Changed 10 months ago by RonDert

Cialis Generico Spedizione Veloce http://cialtobuy.com - buy cialis Online Generic Cialis Review
Acticin Germany Overseas Levitra Selbst Gemacht
Viagra Barata <a href=http://cialtobuy.com >cialis</a> Riesgos Del Propecia

comment:4 Changed 10 months ago by RonDert

Amoxicillin Trihydrate Picture http://cialtobuy.com - cialis Amoxicillin Coughing Side Effect
Cialis Wirkung Nicht Lavitra Aid
Cytotec Meilleur Prix Sans Ordonnance <a href=http://cialtobuy.com >cialis</a> Propecia Glaucoma

comment:5 Changed 9 months ago by RonDert

Viagra Shipped From The Us Discount For Sale Amoxicilina Germany Best Website Free Shipping <a href=http://cheapviasales.com>viagra</a> Generique Sildenafil 40 Mg The Antibiotic Cephalexin Cat Uri Amoxicillin Dosage

Note: See TracTickets for help on using tickets.