[M3devel] Mika's thread test, -tests read
Dragiša Durić
dragisha at m3w.org
Fri Apr 27 22:51:42 CEST 2012
Another one, pretty "clean". Other threads are using their local memory, nothing shared execpt, of course, heap. Also, no visible pattern (yet) in other thread states/stacks when one of them breaks at this point.
This, an RTCollector.Move() reported earlier, are two breaks in this test.
===
Creating nxread threads...[New Thread 0x7ffff7fd1700 (LWP 24756)]
[New Thread 0x7ffff77d0700 (LWP 24757)]
[New Thread 0x7ffff6fcf700 (LWP 24758)]
done
running...printing oldest/median age/newest
..........laziest thread is 0/0/0 (tests: nxread 0/0/0)
..........laziest thread is 0/0/0 (tests: nxread 0/0/0)
.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fd1700 (LWP 24756)]
0x00000000004183db in FileRd__Init (rd=<error reading variable>, h=<error reading variable>) at ../src/rw/FileRd.m3:44
44 IF (rd.buff = NIL) THEN
(gdb) bt
#0 0x00000000004183db in FileRd__Init (rd=<error reading variable>, h=<error reading variable>) at ../src/rw/FileRd.m3:44
#1 0x000000000041831d in FileRd__Open (p=<error reading variable>) at ../src/rw/FileRd.m3:16
#2 0x00000000004051c4 in Main__NApply (cl=<error reading variable>) at ../src/Main.m3:208
#3 0x0000000000451424 in ThreadPThread__RunThread (me=<error reading variable>) at ../src/thread/PTHREAD/ThreadPThread.m3:450
#4 0x00000000004510df in ThreadPThread__ThreadBase (param=<error reading variable>) at ../src/thread/PTHREAD/ThreadPThread.m3:422
#5 0x0000003bed807d90 in start_thread (arg=0x7ffff7fd1700) at pthread_create.c:309
#6 0x0000003bed4f0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
(gdb) info threads
Id Target Id Frame
4 Thread 0x7ffff6fcf700 (LWP 24758) "threadtest" UnsafeRd__FastGetChar (rd=<error reading variable>) at ../src/rw/Rd.m3:44
3 Thread 0x7ffff77d0700 (LWP 24757) "threadtest" 0x000000000044f405 in ThreadPThread__LockMutex (m=<error reading variable>)
at ../src/thread/PTHREAD/ThreadPThread.m3:115
* 2 Thread 0x7ffff7fd1700 (LWP 24756) "threadtest" 0x00000000004183db in FileRd__Init (rd=<error reading variable>,
h=<error reading variable>) at ../src/rw/FileRd.m3:44
1 Thread 0x7ffff7fd3700 (LWP 24752) "threadtest" pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
(gdb)
On Apr 27, 2012, at 9:30 PM, Dragiša Durić wrote:
> Interesting one.. RTCollector.Move. Thread suspension went well, looks like all problem is with AllocTraced() trigerring a collection.
More information about the M3devel
mailing list