[M3devel] p007 hangs on AMD64_LINUX

Olaf Wagner wagner at elegosoft.com
Fri Nov 27 00:53:13 CET 2009


Threading in the release branch seems to be broken again.
See  
http://hudson.modula3.com:8080/job/cm3-test-m3tests-AMD64_LINUX/458/console

And I thought we had left that behind us :-/

Olaf

PS: some debugging info:

(m3gdb) attach 2915
Attaching to process 2915
Reading symbols from  
/usr/local/hudson/.hudson/jobs/cm3-test-m3tests-AMD64_LINUX/workspace/cm3/m3-sys/m3tests/src/p0/p007/AMD64_LINUX/pgm...done.
Using host libthread_db library "/lib/libthread_db.so.1".
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 47500048218848 (LWP 2915)]
[New Thread 1149274464 (LWP 2924)]
[New Thread 1140881760 (LWP 2923)]
[New Thread 1132489056 (LWP 2922)]
[New Thread 1124096352 (LWP 2921)]
[New Thread 1115703648 (LWP 2920)]
[New Thread 1107310944 (LWP 2919)]
[New Thread 1098918240 (LWP 2918)]
[New Thread 1090525536 (LWP 2917)]
[New Thread 1082132832 (LWP 2916)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
(m3gdb) thread apply all bt

Thread 10 (Thread 1082132832 (LWP 2916)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a190,
     mutex=0xd6a330) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=Invalid C/C++ type code 26 in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=Invalid C/C++ type code 26 in  
symbol table.
) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=Invalid C/C++ type code 35  
in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 9 (Thread 1090525536 (LWP 2917)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a230,
     mutex=0xd6a200) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=Invalid C/C++ type code 26 in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=Invalid C/C++ type code 26 in  
symbol table.
) at ../Main.m3:42
---Type <return> to continue, or q <return> to quit---
#5  0x0000000000423af4 in RunThread (me=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=Invalid C/C++ type code 35  
in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 8 (Thread 1098918240 (LWP 2918)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a740,
     mutex=0xd6a710) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=Invalid C/C++ type code 26 in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=Invalid C/C++ type code 26 in  
symbol table.
) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=Invalid C/C++ type code 35  
in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 1107310944 (LWP 2919)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a8f0,
     mutex=0xd6a8c0) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=Invalid C/C++ type code 26 in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=Invalid C/C++ type code 26 in  
symbol table.
) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=Invalid C/C++ type code 35  
in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 1115703648 (LWP 2920)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6aaa0,
     mutex=0xd6aa70) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=Invalid C/C++ type code 26 in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=Invalid C/C++ type code 26 in  
symbol table.
) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=Invalid C/C++ type code 35  
in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
---Type <return> to continue, or q <return> to quit---
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 1124096352 (LWP 2921)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a4e0,
     mutex=0xd6a4b0) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=Invalid C/C++ type code 26 in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=Invalid C/C++ type code 26 in  
symbol table.
) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=Invalid C/C++ type code 35  
in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 1132489056 (LWP 2922)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6af00,
     mutex=0xd6aed0) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
---Type <return> to continue, or q <return> to quit---
#3  0x0000000000421f96 in Wait (m=Invalid C/C++ type code 26 in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=Invalid C/C++ type code 26 in  
symbol table.
) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=Invalid C/C++ type code 35  
in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 1140881760 (LWP 2923)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6b0b0,
     mutex=0xd6b080) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=Invalid C/C++ type code 26 in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=Invalid C/C++ type code 26 in  
symbol table.
) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=Invalid C/C++ type code 35  
in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

---Type <return> to continue, or q <return> to quit---
Thread 2 (Thread 1149274464 (LWP 2924)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6b2c0,
     mutex=0xd6b290) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=Invalid C/C++ type code 26 in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=Invalid C/C++ type code 26 in  
symbol table.
) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=Invalid C/C++ type code 35  
in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 47500048218848 (LWP 2915)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a150,
     mutex=0xd6a120) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=Invalid C/C++ type code 26 in symbol table.
)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x00000000004043ef in Main (mode=Invalid C/C++ type code 39 in  
symbol table.
) at ../Main.m3:75
#5  0x00000000004159bf in RunMainBody (m=Invalid C/C++ type code 29 in  
symbol table.
)
---Type <return> to continue, or q <return> to quit---
     at ../src/runtime/common/RTLinker.m3:399
#6  0x0000000000414ba6 in AddUnitI (m=Invalid C/C++ type code 29 in  
symbol table.
)
     at ../src/runtime/common/RTLinker.m3:113
#7  0x0000000000414c44 in AddUnit (b=Invalid C/C++ type code 31 in  
symbol table.
) at ../src/runtime/common/RTLinker.m3:122
#8  0x0000000000403c48 in main (argc=1, argv=0x7fff288263a8,
     envp=0x7fff288263b8) at _m3main.mc:4
#9  0x00002b33775e24ca in __libc_start_main () from /lib/libc.so.6
#10 0x0000000000403b7a in _start () at ../sysdeps/x86_64/elf/start.S:113
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
(m3gdb) set lang Modula-3
(m3gdb) thread apply all bt

Thread 10 (Thread 1082132832 (LWP 2916)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a190,
     mutex=0xd6a330) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=16_0000000000d6a280,
     m=16_0000000000d82178, c=16_0000000000d82158, alertable=FALSE)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=16_0000000000d82178, c=16_0000000000d82158)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=16_0000000000d82190) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=16_0000000000d6a280)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=16_0000000000d6a280)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 9 (Thread 1090525536 (LWP 2917)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a230,
     mutex=0xd6a200) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=16_0000000000d6a520,
     m=16_0000000000d82178, c=16_0000000000d82158, alertable=FALSE)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=16_0000000000d82178, c=16_0000000000d82158)
---Type <return> to continue, or q <return> to quit---
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=16_0000000000d84018) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=16_0000000000d6a520)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=16_0000000000d6a520)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 8 (Thread 1098918240 (LWP 2918)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a740,
     mutex=0xd6a710) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=16_0000000000d6a660,
     m=16_0000000000d82178, c=16_0000000000d82158, alertable=FALSE)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=16_0000000000d82178, c=16_0000000000d82158)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=16_0000000000d86018) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=16_0000000000d6a660)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=16_0000000000d6a660)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

---Type <return> to continue, or q <return> to quit---
Thread 7 (Thread 1107310944 (LWP 2919)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a8f0,
     mutex=0xd6a8c0) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=16_0000000000d6a810,
     m=16_0000000000d82178, c=16_0000000000d82158, alertable=FALSE)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=16_0000000000d82178, c=16_0000000000d82158)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=16_0000000000d88018) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=16_0000000000d6a810)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=16_0000000000d6a810)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 1115703648 (LWP 2920)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6aaa0,
     mutex=0xd6aa70) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=16_0000000000d6a9c0,
     m=16_0000000000d82178, c=16_0000000000d82158, alertable=FALSE)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=16_0000000000d82178, c=16_0000000000d82158)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
---Type <return> to continue, or q <return> to quit---
#4  0x0000000000403e0d in Task (self=16_0000000000d8a018) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=16_0000000000d6a9c0)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=16_0000000000d6a9c0)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 1124096352 (LWP 2921)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a4e0,
     mutex=0xd6a4b0) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=16_0000000000d6ace0,
     m=16_0000000000d82178, c=16_0000000000d82158, alertable=FALSE)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=16_0000000000d82178, c=16_0000000000d82158)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=16_0000000000d8c018) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=16_0000000000d6ace0)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=16_0000000000d6ace0)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 1132489056 (LWP 2922)):
---Type <return> to continue, or q <return> to quit---
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6af00,
     mutex=0xd6aed0) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=16_0000000000d6ae20,
     m=16_0000000000d82178, c=16_0000000000d82158, alertable=FALSE)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=16_0000000000d82178, c=16_0000000000d82158)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=16_0000000000d8e018) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=16_0000000000d6ae20)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=16_0000000000d6ae20)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 1140881760 (LWP 2923)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6b0b0,
     mutex=0xd6b080) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=16_0000000000d6afd0,
     m=16_0000000000d82178, c=16_0000000000d82158, alertable=FALSE)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=16_0000000000d82178, c=16_0000000000d82158)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=16_0000000000d90018) at ../Main.m3:42
---Type <return> to continue, or q <return> to quit---
#5  0x0000000000423af4 in RunThread (me=16_0000000000d6afd0)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=16_0000000000d6afd0)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 1149274464 (LWP 2924)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6b2c0,
     mutex=0xd6b290) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=16_0000000000d6b1e0,
     m=16_0000000000d82178, c=16_0000000000d82158, alertable=FALSE)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=16_0000000000d82178, c=16_0000000000d82158)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x0000000000403e0d in Task (self=16_0000000000d84018) at ../Main.m3:42
#5  0x0000000000423af4 in RunThread (me=16_0000000000d6b1e0)
     at ../src/thread/PTHREAD/ThreadPThread.m3:469
#6  0x000000000042377c in ThreadBase (param=16_0000000000d6b1e0)
     at ../src/thread/PTHREAD/ThreadPThread.m3:443
#7  0x00002b33774b6f1a in start_thread () from /lib/libpthread.so.0
#8  0x00002b337768f5d2 in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 47500048218848 (LWP 2915)):
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
---Type <return> to continue, or q <return> to quit---
    from /lib/libpthread.so.0
#1  0x00000000004278aa in ThreadPThread__pthread_cond_wait (cond=0xd6a150,
     mutex=0xd6a120) at ../src/thread/PTHREAD/ThreadPThreadC.c:495
#2  0x0000000000421e71 in XWait (self=16_0000000000d6a030,
     m=16_0000000000d82178, c=16_0000000000d82158, alertable=FALSE)
     at ../src/thread/PTHREAD/ThreadPThread.m3:182
#3  0x0000000000421f96 in Wait (m=16_0000000000d82178, c=16_0000000000d82158)
     at ../src/thread/PTHREAD/ThreadPThread.m3:203
#4  0x00000000004043ef in Main (mode=1) at ../Main.m3:75
#5  0x00000000004159bf in RunMainBody (m=16_00000000005411c0)
     at ../src/runtime/common/RTLinker.m3:399
#6  0x0000000000414ba6 in AddUnitI (m=16_00000000005411c0)
     at ../src/runtime/common/RTLinker.m3:113
#7  0x0000000000414c44 in AddUnit (b={"Main_M3", Declared at: ../Main.m3:70})
     at ../src/runtime/common/RTLinker.m3:122
#8  0x0000000000403c48 in main (argc=1, argv=0x7fff288263a8,
     envp=0x7fff288263b8) at _m3main.mc:4
#9  0x00002b33775e24ca in __libc_start_main () from /lib/libc.so.6
#10 0x0000000000403b7a in _start () at ../sysdeps/x86_64/elf/start.S:113
#0  0x00002b33774b9b3a in pthread_cond_wait@@GLIBC_2.3.2 ()
    from /lib/libpthread.so.0
(m3gdb) detach
Detaching from program:  
/usr/local/hudson/.hudson/jobs/cm3-test-m3tests-AMD64_LINUX/workspace/cm3/m3-sys/m3tests/src/p0/p007/AMD64_LINUX/pgm, process  
2915
(m3gdb) quit

-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list