Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 157585 - logfactor5 segfaults
logfactor5 segfaults
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Gary Benson
Depends On:
  Show dependency treegraph
Reported: 2005-05-12 17:15 EDT by petrosyan
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-23 10:13:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Testcase for the chainsaw crasher (138 bytes, text/plain)
2005-05-23 12:41 EDT, Gary Benson
no flags Details

  None (edit)
Description petrosyan 2005-05-12 17:15:23 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050509 Fedora/1.0.3-5 Firefox/1.0.3

Description of problem:
both chainsaw and logfactor5 crash:

$ chainsaw
/usr/bin/build-classpath: error: could not find jaxp_parser_impl Java extension for this JVM
/usr/bin/build-classpath: error: All specified jars were not found
[main] DEBUG org.apache.log4j.chainsaw.MyTableModel - Total time [ms]: 1 in update, size: 0
Exception in thread "main" java.lang.ExceptionInInitializerError
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
   at org.apache.log4j.chainsaw.Main.Main() (Unknown Source)
   at org.apache.log4j.chainsaw.Main.main(java.lang.String[]) (Unknown Source)
   at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.IllegalArgumentException: Invalid letter iencountered at character 3.
   at java.text.SimpleDateFormat.compileFormat(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at java.text.SimpleDateFormat.applyPattern(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at java.text.MessageFormat$MessageFormatElement.setLocale(java.util.Locale) (/usr/lib/libgcj.so.6.0.0)
   at java.text.MessageFormat.scanFormat(java.lang.String, int, java.lang.StringBuffer, java.util.Vector, java.util.Locale) (/usr/lib/libgcj.so.6.0.0)
   at java.text.MessageFormat.applyPattern(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at java.text.MessageFormat.MessageFormat(java.lang.String, java.util.Locale) (/usr/lib/libgcj.so.6.0.0)
   at java.text.MessageFormat.MessageFormat(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at org.apache.log4j.chainsaw.DetailPanel.<clinit>() (Unknown Source)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
   ...4 more

$ logfactor5
/usr/bin/build-classpath: error: could not find jaxp_parser_impl Java extension for this JVM
/usr/bin/build-classpath: error: All specified jars were not found
/usr/share/java-utils/java-functions: line 117:  4076 Segmentation fault      $JAVACMD $FLAGS -classpath $CLASSPATH $OPTIONS $MAIN_CLASS "$@"

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. run chainsaw and logfactor5 from the terminal

Additional info:

I have the latest up2date FC development version
Comment 1 petrosyan 2005-05-12 20:15:52 EDT
jaxp_parser_impl is provided by xerces-j2 package, however log4j does not depend
on it.
so this dependency should be fixed properly.
Comment 2 Fernando Nasser 2005-05-13 09:32:59 EDT
Gary is handling the Fedora version of this package.
Comment 3 Gary Benson 2005-05-23 12:13:46 EDT
Sorry for the delay -- I've been on vacation.  Looking now...
Comment 4 Gary Benson 2005-05-23 12:41:59 EDT
Created attachment 114723 [details]
Testcase for the chainsaw crasher
Comment 5 Gary Benson 2005-05-23 12:54:00 EDT
Hmmm, so the default style for times in MessageFormats _is_ medium, but actually
specifying it as such causes this error...
Comment 6 Gary Benson 2005-05-23 13:29:31 EDT
I've worked around the chainsaw thing in log4j-1.2.8-7jpp_4fc; the lf5 one will
have to wait a while I'm afraid...
Comment 7 Gary Benson 2005-05-24 06:05:40 EDT
The chainsaw one is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21736
Comment 8 petrosyan 2005-05-25 08:57:04 EDT
chainsaw from log4j-1.2.8-7jpp_4fc does not crash anymore, but still gives the
following error message:
$ chainsaw
/usr/bin/build-classpath: error: could not find jaxp_parser_impl Java extension
for this JVM
/usr/bin/build-classpath: error: All specified jars were not found
Comment 9 Gary Benson 2005-05-25 09:21:43 EDT
I've filed that particular issue as bug 158751; Cc yourself on that if you want
to keep track of it.
Comment 10 petrosyan 2005-06-02 10:55:29 EDT
logfactor5 still segfaults with the following error message:
$ logfactor5
/usr/share/java-utils/java-functions: line 117:  2974 Segmentation fault     
Comment 11 Gary Benson 2005-06-02 11:27:27 EDT
I haven't looked at this yet.  How big a problem is it for you?
Comment 12 Gary Benson 2005-06-23 10:13:27 EDT
The logfactor5 issue is being tracked on as bug 161126.

Note You need to log in before you can comment on or make changes to this bug.