BZ #28: SIGKILL while in threads_wait_with_timeout when starting eclipse 3.2

Status fields:

creation_ts:2006-09-02 21:16
component:threads
version:0.96
rep_platform:x86_64
op_sys:Linux
bug_status:RESOLVED
resolution:WONTFIX
reporter:greenrd@greenrd.org
With cacao 0.96 with gnu classpath 0.92, cacao consistently crashes when trying
to start eclipse 3.2:

$ gdb --args /usr/bin/cacao -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar
-os linux -ws gtk -arch x86_64 -launcher /usr/local/eclipse/eclipse -name
Eclipse -showsplash 600 -exitdata 370008 -data newdth -debug -vm /usr/bin/java
-vmargs -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu"...Using host libthread_db
library "/lib64/tls/libthread_db.so.1".

(gdb) handle SIGPIPE nostop print
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        Yes     Yes             Broken pipe
(gdb) handle SIGSEGV nostop noprint
Signal        Stop      Print   Pass to program Description
SIGSEGV       No        No      Yes             Segmentation fault
(gdb) r
Starting program: /usr/bin/cacao -Xms40m -Xmx256m -jar
/usr/local/eclipse/startup.jar -os linux -ws gtk -arch x86_64 -launcher
/usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 370008 -data
newdth -debug -vm /usr/bin/java -vmargs -Xms40m -Xmx256m -jar
/usr/local/eclipse/startup.jar
[Thread debugging using libthread_db enabled]
[New Thread 46912508625312 (LWP 9373)]
[New Thread 1073809760 (LWP 9376)]
Install location:
    file:/usr/local/eclipse/
Configuration file:
    file:/usr/local/eclipse/configuration/config.ini loaded
Configuration location:
    file:/usr/local/eclipse/configuration/
Framework located:
    file:/usr/local/eclipse/plugins/org.eclipse.osgi_3.2.0.v20060601.jar
Framework classpath:
    file:/usr/local/eclipse/plugins/org.eclipse.osgi_3.2.0.v20060601.jar
Splash location:
    /usr/local/eclipse/plugins/org.eclipse.platform_3.2.0.v20060601/splash.bmp
runCommand:

</usr/local/eclipse/eclipse><-name><Eclipse><-showsplash><600></usr/local/eclipse/plugin
s/org.eclipse.platform_3.2.0.v20060601/splash.bmp>
[New Thread 1073879392 (LWP 9377)]
Debug options:
    file:/home/greenrd/.options not found
[New Thread 1073949024 (LWP 9379)]
Time to load bundles: 27
[New Thread 1074018656 (LWP 9380)]
[Thread 1073879392 (LWP 9377) exited]
[New Thread 1074088288 (LWP 9381)]
[Thread 1074088288 (LWP 9381) exited]
Starting application: 8807

(process:9373): Gdk-WARNING **: locale not supported by Xlib

(process:9373): Gdk-WARNING **: cannot set locale modifiers
[New Thread 1074157920 (LWP 9383)]
[New Thread 1074227552 (LWP 9384)]

Program received signal SIGPIPE, Broken pipe.

Program received signal SIGKILL, Killed.
[Switching to Thread 1074018656 (LWP 9380)]
pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:222
222     ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file
or directory.
        in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
Current language:  auto; currently asm
(gdb) bt
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:222
#1  0x00002aaaaac489db in threads_wait_with_timeout (t=0x1478540,
wakeupTime=<value optimized out>) at threads.c:1361
#2  0x00002aaaaac48ab4 in threads_wait_with_timeout_relative (t=0x1478540,
millis=<value optimized out>,
    nanos=<value optimized out>) at threads.c:1410
#3  0x00002aaaaac48231 in lock_record_wait (t=0x1478540, lr=0x32dc4a8, millis=0,
nanos=0) at lock.c:1092
#4  0x00002aaaac386c5b in ?? ()
#5  0x0000000002350960 in ?? ()
#6  0x0000000000000000 in ?? ()
(gdb) p t->waitcond
No symbol "t" in current context.
(gdb) up
#1  0x00002aaaaac489db in threads_wait_with_timeout (t=0x1478540,
wakeupTime=<value optimized out>) at threads.c:1361
1361                            pthread_cond_wait(&t->waitcond, &t->waitmutex);
Current language:  auto; currently c
(gdb) p t->waitcond
$1 = {__c_lock = {__status = 12884901888, __spinlock = 2}, __c_waiting = 0x1,
  __padding = "\001\000\000\000\000\000\000\000X\206G\001\000\000\000", __align = 2}
(gdb) p t->waitmutex
$2 = {__m_reserved = 0, __m_count = 0, __m_owner = 0x100000000, __m_kind = 0,
__m_lock = {__status = 0, __spinlock = 0}}
(gdb)

Comment #1 by twisti@complang.tuwien.ac.at on 2006-09-12 10:05:05

I never saw that error, the SIGPIPE is very strange.  Can you try to fix that
locale warnings?

Comment #2 by twisti@complang.tuwien.ac.at on 2006-10-31 10:23:50

Can you try it with 0.97?

Comment #3 by twisti@complang.tuwien.ac.at on 2007-05-18 11:33:19

Any news on that bug?

Comment #4 by twisti@complang.tuwien.ac.at on 2008-03-30 22:52:28

Again, any news?  Otherwise I'm closing this one.

Comment #5 by twisti@complang.tuwien.ac.at on 2008-03-31 15:50:15

Reporter email address does not work anymore:

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  greenrd@greenrd.org
    SMTP error from remote mail server after RCPT TO:<greenrd@greenrd.org>:
    host srg-smtp.ucd.ie [137.43.92.49]: 554 <greenrd@greenrd.org>:
    Relay access denied

Closing this bug.