You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by atul gosain <at...@yahoo-inc.com> on 2006/04/12 10:40:35 UTC

Process crashed using Extended Properties

Hi All


While working with velocity, it crashes after it tries to read the 
properies using ExtendedProperies class of apache commons collection 
package.

Following is the error , should be a known issue i think , solution for 
this problem , welcome

==================
 #
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x2a75d075, pid=11206, tid=1024
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_11-b06 mixed mode)
# Problematic frame:
# j  
org.apache.commons.collections.ExtendedProperties$PropertiesReader.readProperty()Ljava/lang/String;+15
#

---------------  T H R E A D  ---------------

Current thread (0x0805b8c8):  JavaThread "main" [_thread_in_Java, id=11206]

siginfo:si_signo=11, si_errno=-934565728, si_code=12, si_addr=0x00000000

Registers:
EAX=0x04000000, EBX=0x30807368, ECX=0x00000000, EDX=0x7c800001
ESP=0x9fbfb610, EBP=0x9fbfb634, ESI=0x30fe2667, EDI=0x9fbfb644
EIP=0x2a75d075, CR2=0x80000000, EFLAGS=0x00010206

Top of Stack: (sp=0x9fbfb610)
0x9fbfb610:   2a750dc4 00000000 9fbfb618 30fe2667
0x9fbfb620:   9fbfb644 30fe2960 00000000 30fe2610
0x9fbfb630:   9fbfb644 9fbfb66c 2a750dc4 2c91a010
0x9fbfb640:   2c919fa0 2c90ca10 00000005 2c9794e8
0x9fbfb650:   9fbfb648 30fd545e 9fbfb694 30fd6fc8
0x9fbfb660:   00000000 30fd53e0 9fbfb68c 9fbfb6b4
0x9fbfb670:   2a750e9b 00000000 2c919f70 2c919f40
0x9fbfb680:   0000001f 2c919f10 2c90ca10 00000000

Instructions: (pc=0x2a75d075)
0x2a75d065:   75 e8 8b c2 81 e0 00 00 00 04 0f 84 05 00 00 00
0x2a75d075:   3b 01 ff 63 3c 8b 41 04 8b 9c 98 dc 00 00 00 8b

Stack: [0x9fa0a000,0x9fbfc000),  sp=0x9fbfb610,  free space=1989k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, 
C=native code)
j  
org.apache.commons.collections.ExtendedProperties$PropertiesReader.readProperty()Ljava/lang/String;+15
j  
org.apache.commons.collections.ExtendedProperties.load(Ljava/io/InputStream;Ljava/lang/String;)V+54
j  
org.apache.commons.collections.ExtendedProperties.load(Ljava/io/InputStream;)V+3
j  org.apache.velocity.runtime.RuntimeInstance.setDefaultProperties()V+15
j  org.apache.velocity.runtime.RuntimeInstance.initializeProperties()V+11
j  org.apache.velocity.runtime.RuntimeInstance.init()V+26
j  org.apache.velocity.app.VelocityEngine.init()V+4
j  
net.sourceforge.jaxor.parser.CodeTemplate.<init>(Lorg/apache/velocity/runtime/log/LogSystem;Lorg/apache/velocity/VelocityContext;)V+176
j  net.sourceforge.jaxor.generator.MappingGeneratorTask.execute()V+402
j  org.apache.tools.ant.UnknownElement.execute()V+58
j  org.apache.tools.ant.Task.perform()V+22
j  org.apache.tools.ant.Target.execute()V+43
j  org.apache.tools.ant.Target.performTasks()V+11
j  
org.apache.tools.ant.Project.executeSortedTargets(Ljava/util/Vector;)V+138
j  
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Lorg/apache/tools/ant/Project;[Ljava/lang/String;)V+11
j  org.apache.tools.ant.Project.executeTargets(Ljava/util/Vector;)V+19
j  org.apache.tools.ant.taskdefs.Ant.execute()V+704
j  org.apache.tools.ant.UnknownElement.execute()V+58
j  org.apache.tools.ant.Task.perform()V+22
j  org.apache.tools.ant.Target.execute()V+43
j  org.apache.tools.ant.Target.performTasks()V+11
j  
org.apache.tools.ant.Project.executeSortedTargets(Ljava/util/Vector;)V+138
j  org.apache.tools.ant.Project.executeTarget(Ljava/lang/String;)V+27
j  
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Lorg/apache/tools/ant/Project;[Ljava/lang/String;)V+13
j  org.apache.tools.ant.Project.executeTargets(Ljava/util/Vector;)V+19
j  org.apache.tools.ant.Main.runBuild(Ljava/lang/ClassLoader;)V+404
j  
org.apache.tools.ant.Main.startAnt([Ljava/lang/String;Ljava/util/Properties;Ljava/lang/ClassLoader;)V+88
j  org.apache.tools.ant.launch.Launcher.run([Ljava/lang/String;)V+784
j  org.apache.tools.ant.launch.Launcher.main([Ljava/lang/String;)V+10
v  ~StubRoutines::call_stub
V  [libjvm.so+0x1a9f14]
V  [libjvm.so+0x25f2a5]
V  [libjvm.so+0x1aa166]
V  [libjvm.so+0x1b23dc]
V  [libjvm.so+0x1c0f4d]
C  [java+0x1880]  strcpy+0x71c
C  [libc.so.6+0x1be5e]  __libc_start_main+0x8e


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x08098a48 JavaThread "CompilerThread0" daemon [_thread_blocked, id=11217]
  0x08097c88 JavaThread "Signal Dispatcher" daemon [_thread_blocked, 
id=11216]
  0x08093e80 JavaThread "Finalizer" daemon [_thread_blocked, id=11214]
  0x08093248 JavaThread "Reference Handler" daemon [_thread_blocked, 
id=11213]
=>0x0805b8c8 JavaThread "main" [_thread_in_Java, id=11206]

Other Threads:
  0x080900d0 VMThread [id=11212]
  0x0809a3b8 WatcherThread [id=11218]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 1600K, used 1190K [0x2c800000, 0x2c9b0000, 
0x2cce0000)
  eden space 1472K,  76% used [0x2c800000, 0x2c91a068, 0x2c970000)
  from space 128K,  49% used [0x2c970000, 0x2c97fb10, 0x2c990000)
  to   space 128K,   0% used [0x2c990000, 0x2c990000, 0x2c9b0000)
 tenured generation   total 20412K, used 13788K [0x2cce0000, 0x2e0cf000, 
0x30800000)
   the space 20412K,  67% used [0x2cce0000, 0x2da57278, 0x2da57400, 
0x2e0cf000)
 compacting perm gen  total 8192K, used 8074K [0x30800000, 0x31000000, 
0x34800000)
   the space 8192K,  98% used [0x30800000, 0x30fe2a20, 0x30fe2c00, 
0x31000000)

Dynamic libraries:
=================


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: Process crashed using Extended Properties

Posted by atul gosain <at...@yahoo-inc.com>.
Hi

  Its crashing everytime. Did u ever face this issue before. This even 
crashes while executing the examples given in the velocity distribution.

Atul
Emmanuel Bourg wrote:

> atul gosain wrote:
>
>> Hi All
>>
>>
>> While working with velocity, it crashes after it tries to read the 
>> properies using ExtendedProperies class of apache commons collection 
>> package.
>>
>> Following is the error , should be a known issue i think , solution 
>> for this problem , welcome
>
>
> Hi, does it crash every time you run your application, or did it crash 
> only once ? If you can reproduce this issue, could you test with a 
> Java 5 VM ?
>
> Emmanuel Bourg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: Process crashed using Extended Properties

Posted by Emmanuel Bourg <eb...@apache.org>.
atul gosain wrote:
> Hi All
> 
> 
> While working with velocity, it crashes after it tries to read the 
> properies using ExtendedProperies class of apache commons collection 
> package.
> 
> Following is the error , should be a known issue i think , solution for 
> this problem , welcome

Hi, does it crash every time you run your application, or did it crash 
only once ? If you can reproduce this issue, could you test with a Java 
5 VM ?

Emmanuel Bourg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org