Tecnically *all* SIG* issues are jvm related (unless you use jni...). It should not be possible for JDOM to generate a signal issue.<br><br>Is it reliably reproducable, or was it a one-off?<br><br>Rolf<br><br><br>Krishnendu Roy Chowdhury <kroy9532@yahoo.com> wrote:<br><br><table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Rolf,<br><br>Thank you for your quick update. Initially I also thought that It's related to perm gen space related error. But in the logs I didn't find “java.lang.OutOfMemoryError: PermGen space” error and Problematic frame was J (Crash in Compiled Code) in the logs. <br><br>Is the problem is related to JVM or have memory restrictions to reserve more memory to perm gen?<br><br>Krish.<br><br>--- On <b>Tue, 2/26/13, Rolf Lear <i><jdom@tuis.net></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Rolf Lear <jdom@tuis.net><br>Subject: Re: [jdom-interest] SIGSEGV (segmentation fault) error occurred during init a JDOM element<br>To: "Krishnendu Roy Chowdhury" <kroy9532@yahoo.com><br>Cc: "JDOM Group" <jdom-interest@jdom.org><br>Date: Tuesday, February 26,
2013, 6:55 AM<br><br><div id="yiv2133164743">
<div>
<div class="yiv2133164743moz-cite-prefix">Hi Krish.<br>
<br>
This problem is almost certainly not related directly to JDOM.
PermGen space is typically very small, and only used for two
common purposes:<br>
- storing class definitions<br>
- storing String constants<br>
<br>
For your interest, the most common causes of PermGen Exhaustion
that I know of are:<br>
<br>
- using Tomcat and loading/unloading servlets - each 'classloader'
has it's own space in PermGen, and since each servlet has it's own
classloader the PermGen fills up fast because so many classes are
duplicated in different places in PermGen<br>
- Using lots of String.intern() calls - String.intern() uses a
String constant reference from PermGen (or creates one if there
was not one already). If you have many calls to String.intern() it
can fill up PermGen very fast. JDOM does not do String.intern()<br>
<br>
Rolf<br>
<br>
On 25/02/2013 1:30 AM, Krishnendu Roy Chowdhury wrote:<br>
</div>
<blockquote type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font:inherit;" valign="top">
<p class="yiv2133164743MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE:12pt;">HI!
<br>
<br>
I have faced a problem related to segmentation fault
in Linux box. I got following error -<br>
<br>
</span></font></p>
<p class="yiv2133164743MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE:12pt;"><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<br>
J org.jdom.Element.<init>(Ljava/lang/String;)V<br>
...<br>
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2
(SEGV_ACCERR), si_addr=0x00002aab2ac30000</span></font></p>
<p class="yiv2133164743MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE:12pt;">....................................</span></font></p>
<p class="yiv2133164743MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE:12pt;">error
occurred during error reporting (printing native
stack), id 0xb<br>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<br>
<br>
It is also shows in the log that 100% use of PermGen
space. Why this segmentation fault occurred? Is it
related to JDK or JDOM?<br>
<br>
In my understanding, problem is related to JDK and
occurred due to 100% use of PermGen space. But I am
not sure as Problematic frame is J. <br>
<br>
Another interesting point is "error occurred during
error reporting (printing native stack), id 0xb".<br>
<br>
I am using JDK6up20 and Linux environment. Please
find attached logs for details.</span></font></p>
<p class="yiv2133164743MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE:12pt;"> </span></font></p>
<p class="yiv2133164743MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE:12pt;">Please
help me. </span></font></p>
<font face="Times New Roman" size="3"><span style="FONT-SIZE:12pt;"><br>
Regards,<br>
Krish</span></font></td>
</tr>
</tbody>
</table>
<br>
<fieldset class="yiv2133164743mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
To control your jdom-interest membership:
<a rel="nofollow" class="yiv2133164743moz-txt-link-freetext" target="_blank" href="http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com">http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com</a></pre>
</blockquote>
<br>
</div>
</div></blockquote></td></tr></table>