Bug 161126 - segmentation fault in logfactor5
segmentation fault in logfactor5
Product: Fedora
Classification: Fedora
Component: log4j (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Fitzsimmons
: 161127 (view as bug list)
Depends On:
Blocks: FC5Blocker
  Show dependency treegraph
Reported: 2005-06-20 13:58 EDT by Andrea Santilli
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: 2006-02-03 15:56:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andrea Santilli 2005-06-20 13:58:42 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
This is what happens whenever I run logfactor5:

$ logfactor5
/usr/share/java-utils/java-functions: line 117: 12803 Segmentation fault      $JAVACMD $FLAGS -classpath $CLASSPATH $OPTIONS $MAIN_CLASS "$@"

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

How reproducible:

Steps to Reproduce:
1. Just run logfactor5

Actual Results:  I get a segfault

Expected Results:  Run normally?

Additional info:
Comment 1 Vadim Nasardinov 2005-06-20 14:11:56 EDT
*** Bug 161127 has been marked as a duplicate of this bug. ***
Comment 2 Vadim Nasardinov 2005-06-20 16:52:31 EDT
Looks like a Swing bug:

(gdb) handle SIGPWR nostop noprint pass
Signal        Stop	Print	Pass to program	Description
SIGPWR        No	No	Yes		Power fail/restart
(gdb) handle SIGXCPU nostop noprint pass
Signal        Stop	Print	Pass to program	Description
SIGXCPU       No	No	Yes		CPU time limit exceeded
(gdb) file /usr/bin/gij
Reading symbols from /usr/bin/gij...Reading symbols from
/usr/lib/debug/usr/bin/gij.debug...(no debugging symbols
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)...done.
(gdb) run -classpath
Starting program: /usr/bin/gij -classpath
Reading symbols from shared object read from target memory...(no
debugging symbols found)...done.
Loaded system supplied DSO at 0x7fc000
[Thread debugging using libthread_db enabled]
[New Thread -1208326464 (LWP 6557)]
[New Thread -1210659920 (LWP 6560)]
[New Thread -1222292560 (LWP 6561)]
[Thread -1222292560 (LWP 6561) exited]
[New Thread -1232884816 (LWP 6562)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1232884816 (LWP 6562)]
0x04ecfbee in _Jv_InterpMethod::run (this=0x64dd20, retp=0xb5e3b400,
    at ../../../libjava/interpret.cc:797
797	_Jv_InterpMethod::run (void *retp, ffi_raw *args)
Current language:  auto; currently c++
(gdb) bt
#0  0x04ecfbee in _Jv_InterpMethod::run (this=0x64dd20, retp=0xb5e3b400,
    at ../../../libjava/interpret.cc:797
#1  0x04ed48ad in _Jv_InterpMethod::run_normal (ret=0x64dd20, args=0x64dd20,
    at ../../../libjava/interpret.cc:277
#2  0x0525f03c in ffi_closure_raw_SYSV (closure=Variable "closure" is not available.
) at ../../../libffi/src/x86/ffi.c:416
#3  0x0514ad12 in javax.swing.JScrollBar.fireAdjustmentValueChanged(int, int,
int) (this=0x7212e0, id=601, 
    type=5, value=325) at ../../../libjava/javax/swing/JScrollBar.java:587
#4  0x0514a6d9 in javax.swing.JScrollBar.setValue(int) (this=0x7212e0, value=325)
    at ../../../libjava/javax/swing/JScrollBar.java:411
#5  0x0525f1c7 in ffi_call_SYSV () at ../../../libffi/src/x86/sysv.S:60
#6  0x0525f189 in ffi_raw_call (cif=0x1064c40, fn=0x64dd20, rvalue=0xb5e3b788,
    at ../../../libffi/src/x86/ffi.c:537
#7  0x04ed0fd4 in _Jv_InterpMethod::run (this=0x64dd20, retp=0xb5e3b990,
    at ../../../libjava/interpret.cc:1205
Comment 3 Andrea Santilli 2005-07-02 04:37:11 EDT
The problem has been fixed with latest kernel 2.6.12-1.1387_FC4. So it wasn't a
swing bug; moreover it fixes the eclipse hang bug and many other random hangs.
Thank you anyway :)
Comment 4 petrosyan 2005-07-20 00:33:31 EDT
It still crashes with the latest kernel-2.6.12-1.1398_FC4:

$ logfactor5
/usr/share/java-utils/java-functions: line 117: 22618 Segmentation fault     
Comment 5 Anthony Green 2005-08-15 03:01:01 EDT
For what it's worth, I'm running kernel-2.6.12-1.1398_FC4 and I see the same
stack trace as Comment #2.

Comment 6 petrosyan 2005-08-15 10:09:56 EDT
it also segfaults with the latest kernel-2.6.12-1.1420_FC4
Comment 7 Thomas Fitzsimmons 2005-11-10 16:36:48 EST
Lillian, will you see if this Swing bug is fixed in GNU Classpath HEAD?
Comment 8 Lillian Angel 2005-11-10 17:13:16 EST
Runs fine on Classpath+jamvm

jamvm -classpath
Comment 9 Thomas Fitzsimmons 2005-11-10 18:38:27 EST
Great, I'll wait until the fixes make their way into Rawhide via libgcj before
closing this bug.

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