From jay.krell at cornell.edu Mon Nov 2 09:40:23 2009 From: jay.krell at cornell.edu (Jay K) Date: Mon, 2 Nov 2009 08:40:23 +0000 Subject: [M3devel] Trestle on Windows and very small windows? Message-ID: On Windows if I size Juno very small I can get stuff like: *** *** runtime error: *** Attempt to DIV or MOD by zero. *** pc = 0xe7e254 = Scale + 0x2c in ..\src\lego\ZChildVBT.m3 *** Stack trace: FP PC Procedure --------- --------- ------------------------------- 0x1c0eea0 0x5e698d SystemError + 0x66 in ..\src\runtime\NT386\RTSignal.m3 0x1c0eec8 0xe7e254 Scale + 0x2c in ..\src\lego\ZChildVBT.m3 0x1c0ef30 0xe7e3d7 DoScaledReshape + 0x131 in ..\src\lego\ZChildVBT.m3 0x1c0ef6c 0xe7e511 ScaledHVReshape + 0x2b in ..\src\lego\ZChildVBT.m3 0x1c0efe4 0xe7e1e2 ZChildReshape + 0x1ff in ..\src\lego\ZChildVBT.m3 0x1c0f068 0xf7440c Reshape + 0x489 in ..\src\split\ZSplit.m3 0x1c0f0fc 0xf4c998 Reshape + 0x444 in ..\src\vbt\VBTClass.m3 0x1c0f120 0xf6ea81 Reshape + 0xab in ..\src\split\FilterClass.m3 0x1c0f1b4 0xf4c998 Reshape + 0x444 in ..\src\vbt\VBTClass.m3 0x1c0f1d8 0xf6ea81 Reshape + 0xab in ..\src\split\FilterClass.m3 ......... ......... ... more frames ... or I couldn't get it to occur on Linux or Darwin. I think they might be honoring some minimize size requests. What to do? (I'm exercising Juno during startup to see about inducing the hang, though this can be done after startup.) - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From wagner at elegosoft.com Mon Nov 2 10:50:17 2009 From: wagner at elegosoft.com (Olaf Wagner) Date: Mon, 02 Nov 2009 10:50:17 +0100 Subject: [M3devel] organization of scripts folder In-Reply-To: <20091029144056.GA24509@topoi.pooq.com> References: <4AE6476E.1E75.00D7.1@scires.com> <20091029101451.1677xztj1w884w04@mail.elegosoft.com> <20091029144056.GA24509@topoi.pooq.com> Message-ID: <20091102105017.3p5n06zf48kc4k04@mail.elegosoft.com> Quoting hendrik at topoi.pooq.com: > On Thu, Oct 29, 2009 at 10:14:51AM +0100, Olaf Wagner wrote: >> Hi Randy, >> > Any documentation of reorganisation that makes these distinctions clear > would be welcome. Scripts were not meant for the ordinary user at the start. > Well, if reorganising makes it easier to get our current release through > regression testing, I'm all for it. But I'd say it's really important > to get a release out -- at the moment we don't really have one that's > adequate for someone newly sold on the merits of Modula 3. So if > there's a signoficant risk of a reorganisatin delaying things, perhaps > we should hold off a bit. Yes, this should only be done in the main trunk, _not_ in the release branch. Every change to the scripts there will cause delays. > It seems that the current RC3 is not really adequate -- important > components like m3gdb don't install properly from the binary downloads > directory. And RC4 is held up on regression testing which shows > significant problems in a few packages (Juno ocmes to ming). These > problems appear to involve the interaction between the package, garbage > colletion, multitasking, and the details of particular platforms. They > are difficult problems, and it is not at all clear that they can be > solved quickly, or even whether they are regressions. > > I'd very much like to see a RC4 that fixes the problems we've already > fixed in RC3. Some of them seem to be installation issues. At > least, with a current RC4, flaws and all, we would know for sure > whether the installation problems in RC3 have really been fixed. I'm still waiting for changes and fixes committed to the release branch concerning threading and segmentation violations on Windows. Unfortunately I cannot spend as much time for release engineering currently as in the summer. I can only release what is available. Olaf -- 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 From wagner at elegosoft.com Mon Nov 2 10:57:40 2009 From: wagner at elegosoft.com (Olaf Wagner) Date: Mon, 02 Nov 2009 10:57:40 +0100 Subject: [M3devel] Start building RC4? Re: m3 RC In-Reply-To: References: <20091031044719.94A4D1A209A@async.async.caltech.edu> <641F0ADA-C3DC-4DA4-8111-D4B4D5A4B49C@cs.purdue.edu> <20091031180805.9B6091A209C@async.async.caltech.edu> Message-ID: <20091102105740.5n2gcc2bcw4g0os4@mail.elegosoft.com> Quoting Tony Hosking : > Yeah, and if that is not working properly then it might also explain > your collector failures too. > > Have the RC archives not been updated for the changes to the RC > branch? It looks like you are using an old ThreadPThread. The installation archives haven't been updated for many weeks. I'm still waiting for corrections wrt. Windows; but perhaps I'm not up-to-date? A complete release build on all platforms will take about a week (it _should_ be faster, but this is my experience from the frist three :-/). If I should start building RC4 on the release branch just let me know. I'll care for it then. Olaf -- 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 From jay.krell at cornell.edu Mon Nov 2 11:39:48 2009 From: jay.krell at cornell.edu (Jay K) Date: Mon, 2 Nov 2009 10:39:48 +0000 Subject: [M3devel] Trestle crash closing Juno when starting up Message-ID: Seen this on Windows and Darwin/x86. Close Juno while it is still starting up. *** *** runtime error: *** Unhandled exception: VBT.Error *** file "../src/vbt/VBTClass.m3", line 879 *** Program received signal SIGABRT, Aborted. 0x968e5e42 in __kill () (gdb) bt #0 0x968e5e42 in __kill () #1 0x968e5e34 in kill$UNIX2003 () #2 0x9695823a in raise () #3 0x96964679 in abort () #4 0x00b4d56a in RTOS__Crash () at ../src/runtime/POSIX/RTOS.m3:20 #5 0x00b432ef in RTProcess__Crash (M3_Bd56fi_msg=0x0) at ../src/runtime/common/RTProcess.m3:65 #6 0x00b40fb8 in RTError__EndError (M3_AicXUJ_crash=1 '\001') at ../src/runtime/common/RTError.m3:118 #7 0x00b40cae in RTError__MsgS (M3_AJWxb1_file=0x6a2b90, M3_AcxOUs_line=879, M3_Bd56fi_msgA=0xb862cc, M3_Bd56fi_msgB=0x2994f50, M3_Bd56fi_msgC=0xb86308) at ../src/runtime/common/RTError.m3:40 #8 0x00b413fa in RTException__Crash (M3_Cblw37_a=0xbffff47c, M3_AicXUJ_raises=0 '\0', M3_AJWxb1_rte=0xb82620) at ../src/runtime/common/RTException.m3:79 #9 0x00b41127 in RTException__DefaultBackstop (M3_Cblw37_a=0xbffff47c, M3_AicXUJ_raises=0 '\0') at ../src/runtime/common/RTException.m3:39 #10 0x00b4106b in RTException__InvokeBackstop (M3_Cblw37_a=0xbffff47c, M3_AicXUJ_raises=0 '\0') at ../src/runtime/common/RTException.m3:25 #11 0x00b4dec6 in RTException__Raise (M3_Cblw37_act=0xbffff47c) at ../src/runtime/ex_frame/RTExFrame.m3:29 #12 0x00b411c0 in RTException__DefaultBackstop (M3_Cblw37_a=0xbffff47c, M3_AicXUJ_raises=0 '\0') at ../src/runtime/common/RTException.m3:47 #13 0x00b4106b in RTException__InvokeBackstop (M3_Cblw37_a=0xbffff47c, M3_AicXUJ_raises=0 '\0') at ../src/runtime/common/RTException.m3:25 #14 0x00b4dec6 in RTException__Raise (M3_Cblw37_act=0xbffff47c) at ../src/runtime/ex_frame/RTExFrame.m3:29 #15 0x00b2c7a7 in RTHooks__Raise (M3_AJWxb1_ex=0x6a1e00, M3_AJWxb1_arg=0x2, M3_AJWxb1_module=0x691a60, M3_AcxOUs_line=879) at ../src/runtime/common/RTHooks.m3:79 #16 0x0061a107 in VBTClass__ForgeDefault (M3_Dg4CVT_v=0x2049e90, M3_BFdKo9_ch=0x210653c, M3_BFdKo9_w=0x20a8f78, M3_DFwkoj_type={}, M3_AOBQ11_detail=0x6a1e18) at ../src/vbt/VBTClass.m3:879 #17 0x0061a191 in VBTClass__ForgeDefault (M3_Dg4CVT_v=0x210653c, M3_BFdKo9_ch=0x2474d9c, M3_BFdKo9_w=0x20a8f78, M3_DFwkoj_type={}, M3_AOBQ11_detail=0x6a1e18) at ../src/vbt/VBTClass.m3:881 #18 0x0061a191 in VBTClass__ForgeDefault (M3_Dg4CVT_v=0x2474d9c, M3_BFdKo9_ch=0x247ad58, M3_BFdKo9_w=0x20a8f78, M3_DFwkoj_type={}, M3_AOBQ11_detail=0x6a1e18) at ../src/vbt/VBTClass.m3:881 #19 0x0061a191 in VBTClass__ForgeDefault (M3_Dg4CVT_v=0x247ad58, M3_BFdKo9_ch=0x20a8f78, M3_BFdKo9_w=0x20a8f78, M3_DFwkoj_type={}, M3_AOBQ11_detail=0x6a1e18) at ../src/vbt/VBTClass.m3:881 #20 0x00619091 in VBTClass__Forge (M3_BFdKo9_v=0x20a8f78, M3_DFwkoj_type={}, M3_AOBQ11_detail=0x6a1e18) at ../src/vbt/VBTClass.m3:644 #21 0x0060b4a7 in VBT__Forge (M3_BFdKo9_v=0x20a8f78, M3_DFwkoj_type={}, M3_AOBQ11_detail=0x6a1e18) at ../src/vbt/VBT.m3:176 #22 0x0005e97b in Juno_M3 (M3_AcxOUs_mode=1) at ../src/Juno.m3:2163 #23 0x00b401ed in RTLinker__RunMainBody (M3_DjPxE3_m=0x6fe40) at ../src/runtime/common/RTLinker.m3:399 #24 0x00b3f649 in RTLinker__AddUnitI (M3_DjPxE3_m=0x6fe40) at ../src/runtime/common/RTLinker.m3:113 #25 0x00b3f6cb in RTLinker__AddUnit (M3_DjPxE5_b=0x5b59a) at ../src/runtime/common/RTLinker.m3:122 #26 0x00007afa in main (argc=1, argv=0xbffffa20, envp=0xbffffa28) at _m3main.mc:4 - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Mon Nov 2 12:18:35 2009 From: jay.krell at cornell.edu (Jay K) Date: Mon, 2 Nov 2009 11:18:35 +0000 Subject: [M3devel] occasional Juno crash Message-ID: I've seen this a few times. I still suspect a problem with Textport's call to Redisplay or whatever. *** *** runtime error: *** An array subscript was out of range. *** file "..\src\vbt\VBTRep.m3", line 644 *** Stack trace: FP PC Procedure --------- --------- ------------------------------- 0x1f9fef8 0xf55d1b Redisplay + 0x3ae in ..\src\vbt\VBTRep.m3 0x1f9ff24 0xf558aa UncoverRedisplay + 0xdd in ..\src\vbt\VBTRep.m3 0x1f9ff4c 0xf5593b RdApply + 0x8c in ..\src\vbt\VBTRep.m3 0x1f9ff8c 0x5eab3e RunThread + 0x195 in ..\src\thread\WIN32\ThreadWin32.m3 0x1f9ffb4 0x5ea95e ThreadBase + 0x33 in ..\src\thread\WIN32\ThreadWin32.m3 ......... ......... ... more frames ... Opened log file 'c:\1.log' 0:007> ~*k99 0 Id: 830.71c Suspend: 2 Teb: 7ffdf000 Unfrozen ChildEBP RetAddr 0012f84c 7c90df5a ntdll!KiFastSystemCallRet 0012f850 7c8025db ntdll!ZwWaitForSingleObject+0xc 0012f8b4 7c802542 kernel32!WaitForSingleObjectEx+0xa8 0012f8c8 005e9741 kernel32!WaitForSingleObject+0x12 0012f8f4 005e98eb m3core!ThreadWin32__InnerWait+0x200 [..\src\thread\WIN32\ThreadWin32.m3 @ 220] 0012f91c 005eafe5 m3core!Thread__Wait+0x68 [..\src\thread\WIN32\ThreadWin32.m3 @ 261] 0012f950 1000f8fb m3core!Thread__Join+0xd6 [..\src\thread\WIN32\ThreadWin32.m3 @ 604] 0012f994 0041fd5b juno_compiler!JunoCompile__ProcDecl+0x231 [..\src\JunoCompile.m3 @ 256] 0012f9cc 00420909 Juno!Editor__Pass2+0x216 [..\src\Editor.m3 @ 730] 0012fa80 004207a1 Juno!Editor__Compile2+0x158 [..\src\Editor.m3 @ 813] 0012fab4 00444391 Juno!Editor__Compile+0x53 [..\src\Editor.m3 @ 793] 0012faf4 004445c6 Juno!Juno__CompileEditor+0x2c [..\src\Juno.m3 @ 140] 0012fb94 00445017 Juno!Juno__CompileModule+0x14a [..\src\Juno.m3 @ 174] 0012fd54 0045494c Juno!Juno__CompileModules+0x2e5 [..\src\Juno.m3 @ 263] 0012fed4 005d8d04 Juno!Juno_M3+0x251e [..\src\Juno.m3 @ 2134] 0012ff18 005d82dc m3core!RTLinker__RunMainBody+0x25a [..\src\runtime\common\RTLinker.m3 @ 399] 0012ff30 005d8385 m3core!RTLinker__AddUnitI+0xf7 [..\src\runtime\common\RTLinker.m3 @ 113] 0012ff54 00401038 m3core!RTLinker__AddUnit+0xa1 [..\src\runtime\common\RTLinker.m3 @ 122] 0012ff70 004ba43f Juno!main+0x38 [_m3main.mc @ 4] 0012ffc0 7c817077 Juno!mainCRTStartup+0xff 0012fff0 00000000 kernel32!BaseProcessStart+0x23 1 Id: 830.908 Suspend: 1 Teb: 7ffde000 Unfrozen ChildEBP RetAddr 01a0ff84 7c90df4a ntdll!KiFastSystemCallRet 01a0ff88 5b891374 ntdll!ZwWaitForMultipleObjects+0xc 01a0ffb4 7c80b729 netapi32!NetbiosWaiter+0x73 01a0ffec 00000000 kernel32!BaseThreadStart+0x37 2 Id: 830.494 Suspend: 2 Teb: 7ffdd000 Unfrozen ChildEBP RetAddr 01b0fe20 7c90df5a ntdll!KiFastSystemCallRet 01b0fe24 7c8025db ntdll!ZwWaitForSingleObject+0xc 01b0fe88 7c802542 kernel32!WaitForSingleObjectEx+0xa8 01b0fe9c 005e9741 kernel32!WaitForSingleObject+0x12 01b0fec8 005e98eb m3core!ThreadWin32__InnerWait+0x200 [..\src\thread\WIN32\ThreadWin32.m3 @ 220] 01b0fef0 00f5451b m3core!Thread__Wait+0x68 [..\src\thread\WIN32\ThreadWin32.m3 @ 261] 01b0ff4c 005eab3e m3ui!VBTRep__MeterMaid+0x1fe [..\src\vbt\VBTRep.m3 @ 439] 01b0ff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 01b0ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 01b0ffec 00000000 kernel32!BaseThreadStart+0x37 3 Id: 830.65c Suspend: 2 Teb: 7ffdc000 Unfrozen ChildEBP RetAddr 01c0fcb8 7c90df5a ntdll!KiFastSystemCallRet 01c0fcbc 7c8025db ntdll!ZwWaitForSingleObject+0xc 01c0fd20 7c802542 kernel32!WaitForSingleObjectEx+0xa8 01c0fd34 005e9299 kernel32!WaitForSingleObject+0x12 01c0fd6c 00f2902a m3core!ThreadWin32__LockMutex+0x2c5 [..\src\thread\WIN32\ThreadWin32.m3 @ 140] 01c0fdb4 00f277fb m3ui!WinTrestle__PaintBatchVBT+0x94 [..\src\winvbt\WinTrestle.m3 @ 1572] 01c0fdfc 7e418734 m3ui!WinTrestle__WindowProc+0x763 [..\src\winvbt\WinTrestle.m3 @ 1163] 01c0fe28 7e418816 USER32!InternalCallWinProc+0x28 01c0fe90 7e4189cd USER32!UserCallWinProcCheckWow+0x150 01c0fef0 7e4196c7 USER32!DispatchMessageWorker+0x306 01c0ff00 00f2cb19 USER32!DispatchMessageA+0xf 01c0ff4c 005eab3e m3ui!WinTrestle__MessengerApply+0x256 [..\src\winvbt\WinTrestle.m3 @ 2450] 01c0ff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 01c0ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 01c0ffec 00000000 kernel32!BaseThreadStart+0x37 4 Id: 830.ec8 Suspend: 2 Teb: 7ffda000 Unfrozen ChildEBP RetAddr 01d1fe40 7c90df5a ntdll!KiFastSystemCallRet 01d1fe44 7c8025db ntdll!ZwWaitForSingleObject+0xc 01d1fea8 7c802542 kernel32!WaitForSingleObjectEx+0xa8 01d1febc 005e9741 kernel32!WaitForSingleObject+0x12 01d1fee8 005e98eb m3core!ThreadWin32__InnerWait+0x200 [..\src\thread\WIN32\ThreadWin32.m3 @ 220] 01d1ff10 00ed2f78 m3core!Thread__Wait+0x68 [..\src\thread\WIN32\ThreadWin32.m3 @ 261] 01d1ff4c 005eab3e m3vbtkit!VTView__VFontCleanUpThread+0x11d [..\src\vtext\VTView.m3 @ 111] 01d1ff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 01d1ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 01d1ffec 00000000 kernel32!BaseThreadStart+0x37 5 Id: 830.98c Suspend: 2 Teb: 7ffd9000 Unfrozen ChildEBP RetAddr 01e1fe68 7c90d21a ntdll!KiFastSystemCallRet 01e1fe6c 7c8023f1 ntdll!NtDelayExecution+0xc 01e1fec4 7c802455 kernel32!SleepEx+0x61 01e1fed4 005eb27f kernel32!Sleep+0xf 01e1ff08 00e4b7d1 m3core!Thread__Pause+0x6c [..\src\thread\WIN32\ThreadWin32.m3 @ 635] 01e1ff4c 005eab3e m3vbtkit!FileBrowserVBT__Watcher+0x4c7 [..\src\lego\FileBrowserVBT.m3 @ 259] 01e1ff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 01e1ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 01e1ffec 00000000 kernel32!BaseThreadStart+0x37 6 Id: 830.cb0 Suspend: 2 Teb: 7ffd7000 Unfrozen ChildEBP RetAddr 020afcf4 7c90df5a ntdll!KiFastSystemCallRet 020afcf8 7c91b24b ntdll!ZwWaitForSingleObject+0xc 020afd80 7c901046 ntdll!RtlpWaitForCriticalSection+0x132 020afd88 005ecafe ntdll!RtlEnterCriticalSection+0x46 020afd94 005ebd8a m3core!ThreadWin32__EnterCriticalSection_heap+0xe [..\\src\\thread\\WIN32\\ThreadWin32C.c @ 30] 020afda8 005c8026 m3core!RTOS__LockHeap+0x23 [..\src\thread\WIN32\ThreadWin32.m3 @ 1000] 020afde8 005c7643 m3core!RTAllocator__AllocTraced+0xd1 [..\src\runtime\common\RTAllocator.m3 @ 365] 020afe1c 005c713d m3core!RTAllocator__GetTracedObj+0x8c [..\src\runtime\common\RTAllocator.m3 @ 224] 020afe40 10013797 m3core!RTHooks__AllocateTracedObj+0x15 [..\src\runtime\common\RTAllocator.m3 @ 120] 020afe7c 1000fde5 juno_compiler!JunoCompileRep__Cmd+0xcf [..\src\JunoCompile.m3 @ 987] 020aff4c 005eab3e juno_compiler!JunoCompile__ProcApply+0x2dc [..\src\JunoCompile.m3 @ 268] 020aff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 020affb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 020affec 00000000 kernel32!BaseThreadStart+0x37 # 7 Id: 830.ae8 Suspend: 1 Teb: 7ffd8000 Unfrozen ChildEBP RetAddr 01f9fc98 005e5e27 ntdll!DbgBreakPoint 01f9fcb4 005dc2de m3core!RTOS__Crash+0x4c [..\src\runtime\WIN32\RTOS.m3 @ 29] 01f9fccc 005da02e m3core!RTProcess__Crash+0x68 [..\src\runtime\common\RTProcess.m3 @ 66] 01f9fce4 005d9d42 m3core!RTError__EndError+0x37 [..\src\runtime\common\RTError.m3 @ 118] 01f9fcfc 005da601 m3core!RTError__MsgS+0x8d [..\src\runtime\common\RTError.m3 @ 40] 01f9fd44 005da381 m3core!RTException__Crash+0x1ee [..\src\runtime\common\RTException.m3 @ 79] 01f9fd7c 005da2e1 m3core!RTException__DefaultBackstop+0x6f [..\src\runtime\common\RTException.m3 @ 39] 01f9fd98 005e7873 m3core!RTException__InvokeBackstop+0x28 [..\src\runtime\common\RTException.m3 @ 25] 01f9fdc4 005da40b m3core!RTException__Raise+0x63 [..\src\runtime\ex_frame\RTExFrame.m3 @ 29] 01f9fdf4 005da2e1 m3core!RTException__DefaultBackstop+0xf9 [..\src\runtime\common\RTException.m3 @ 47] 01f9fe10 005e7873 m3core!RTException__InvokeBackstop+0x28 [..\src\runtime\common\RTException.m3 @ 25] 01f9fe3c 005c5559 m3core!RTException__Raise+0x63 [..\src\runtime\ex_frame\RTExFrame.m3 @ 29] 01f9fe80 00f56d79 m3core!RTHooks__ReportFault+0x93 [..\src\runtime\common\RTHooks.m3 @ 110] 01f9fe90 00f55d1b m3ui!MM_VBTRep_CRASH+0x11 [..\src\vbt\VBTRep.m3 @ 25] 01f9fef8 00f558aa m3ui!VBTRep__Redisplay+0x3ae [..\src\vbt\VBTRep.m3 @ 644] 01f9ff24 00f5593b m3ui!VBTRep__UncoverRedisplay+0xdd [..\src\vbt\VBTRep.m3 @ 602] 01f9ff4c 005eab3e m3ui!VBTRep__RdApply+0x8c [..\src\vbt\VBTRep.m3 @ 606] 01f9ff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 01f9ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 01f9ffec 00000000 kernel32!BaseThreadStart+0x37 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Mon Nov 2 12:19:08 2009 From: jay.krell at cornell.edu (Jay K) Date: Mon, 2 Nov 2009 11:19:08 +0000 Subject: [M3devel] occasional Juno crash Message-ID: clarification: This is just starting up Juno, which is my overwhelming use of it. - Jay From: jay.krell at cornell.edu To: m3devel at elegosoft.com Subject: occasional Juno crash Date: Mon, 2 Nov 2009 11:18:35 +0000 I've seen this a few times. I still suspect a problem with Textport's call to Redisplay or whatever. *** *** runtime error: *** An array subscript was out of range. *** file "..\src\vbt\VBTRep.m3", line 644 *** Stack trace: FP PC Procedure --------- --------- ------------------------------- 0x1f9fef8 0xf55d1b Redisplay + 0x3ae in ..\src\vbt\VBTRep.m3 0x1f9ff24 0xf558aa UncoverRedisplay + 0xdd in ..\src\vbt\VBTRep.m3 0x1f9ff4c 0xf5593b RdApply + 0x8c in ..\src\vbt\VBTRep.m3 0x1f9ff8c 0x5eab3e RunThread + 0x195 in ..\src\thread\WIN32\ThreadWin32.m3 0x1f9ffb4 0x5ea95e ThreadBase + 0x33 in ..\src\thread\WIN32\ThreadWin32.m3 ......... ......... ... more frames ... Opened log file 'c:\1.log' 0:007> ~*k99 0 Id: 830.71c Suspend: 2 Teb: 7ffdf000 Unfrozen ChildEBP RetAddr 0012f84c 7c90df5a ntdll!KiFastSystemCallRet 0012f850 7c8025db ntdll!ZwWaitForSingleObject+0xc 0012f8b4 7c802542 kernel32!WaitForSingleObjectEx+0xa8 0012f8c8 005e9741 kernel32!WaitForSingleObject+0x12 0012f8f4 005e98eb m3core!ThreadWin32__InnerWait+0x200 [..\src\thread\WIN32\ThreadWin32.m3 @ 220] 0012f91c 005eafe5 m3core!Thread__Wait+0x68 [..\src\thread\WIN32\ThreadWin32.m3 @ 261] 0012f950 1000f8fb m3core!Thread__Join+0xd6 [..\src\thread\WIN32\ThreadWin32.m3 @ 604] 0012f994 0041fd5b juno_compiler!JunoCompile__ProcDecl+0x231 [..\src\JunoCompile.m3 @ 256] 0012f9cc 00420909 Juno!Editor__Pass2+0x216 [..\src\Editor.m3 @ 730] 0012fa80 004207a1 Juno!Editor__Compile2+0x158 [..\src\Editor.m3 @ 813] 0012fab4 00444391 Juno!Editor__Compile+0x53 [..\src\Editor.m3 @ 793] 0012faf4 004445c6 Juno!Juno__CompileEditor+0x2c [..\src\Juno.m3 @ 140] 0012fb94 00445017 Juno!Juno__CompileModule+0x14a [..\src\Juno.m3 @ 174] 0012fd54 0045494c Juno!Juno__CompileModules+0x2e5 [..\src\Juno.m3 @ 263] 0012fed4 005d8d04 Juno!Juno_M3+0x251e [..\src\Juno.m3 @ 2134] 0012ff18 005d82dc m3core!RTLinker__RunMainBody+0x25a [..\src\runtime\common\RTLinker.m3 @ 399] 0012ff30 005d8385 m3core!RTLinker__AddUnitI+0xf7 [..\src\runtime\common\RTLinker.m3 @ 113] 0012ff54 00401038 m3core!RTLinker__AddUnit+0xa1 [..\src\runtime\common\RTLinker.m3 @ 122] 0012ff70 004ba43f Juno!main+0x38 [_m3main.mc @ 4] 0012ffc0 7c817077 Juno!mainCRTStartup+0xff 0012fff0 00000000 kernel32!BaseProcessStart+0x23 1 Id: 830.908 Suspend: 1 Teb: 7ffde000 Unfrozen ChildEBP RetAddr 01a0ff84 7c90df4a ntdll!KiFastSystemCallRet 01a0ff88 5b891374 ntdll!ZwWaitForMultipleObjects+0xc 01a0ffb4 7c80b729 netapi32!NetbiosWaiter+0x73 01a0ffec 00000000 kernel32!BaseThreadStart+0x37 2 Id: 830.494 Suspend: 2 Teb: 7ffdd000 Unfrozen ChildEBP RetAddr 01b0fe20 7c90df5a ntdll!KiFastSystemCallRet 01b0fe24 7c8025db ntdll!ZwWaitForSingleObject+0xc 01b0fe88 7c802542 kernel32!WaitForSingleObjectEx+0xa8 01b0fe9c 005e9741 kernel32!WaitForSingleObject+0x12 01b0fec8 005e98eb m3core!ThreadWin32__InnerWait+0x200 [..\src\thread\WIN32\ThreadWin32.m3 @ 220] 01b0fef0 00f5451b m3core!Thread__Wait+0x68 [..\src\thread\WIN32\ThreadWin32.m3 @ 261] 01b0ff4c 005eab3e m3ui!VBTRep__MeterMaid+0x1fe [..\src\vbt\VBTRep.m3 @ 439] 01b0ff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 01b0ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 01b0ffec 00000000 kernel32!BaseThreadStart+0x37 3 Id: 830.65c Suspend: 2 Teb: 7ffdc000 Unfrozen ChildEBP RetAddr 01c0fcb8 7c90df5a ntdll!KiFastSystemCallRet 01c0fcbc 7c8025db ntdll!ZwWaitForSingleObject+0xc 01c0fd20 7c802542 kernel32!WaitForSingleObjectEx+0xa8 01c0fd34 005e9299 kernel32!WaitForSingleObject+0x12 01c0fd6c 00f2902a m3core!ThreadWin32__LockMutex+0x2c5 [..\src\thread\WIN32\ThreadWin32.m3 @ 140] 01c0fdb4 00f277fb m3ui!WinTrestle__PaintBatchVBT+0x94 [..\src\winvbt\WinTrestle.m3 @ 1572] 01c0fdfc 7e418734 m3ui!WinTrestle__WindowProc+0x763 [..\src\winvbt\WinTrestle.m3 @ 1163] 01c0fe28 7e418816 USER32!InternalCallWinProc+0x28 01c0fe90 7e4189cd USER32!UserCallWinProcCheckWow+0x150 01c0fef0 7e4196c7 USER32!DispatchMessageWorker+0x306 01c0ff00 00f2cb19 USER32!DispatchMessageA+0xf 01c0ff4c 005eab3e m3ui!WinTrestle__MessengerApply+0x256 [..\src\winvbt\WinTrestle.m3 @ 2450] 01c0ff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 01c0ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 01c0ffec 00000000 kernel32!BaseThreadStart+0x37 4 Id: 830.ec8 Suspend: 2 Teb: 7ffda000 Unfrozen ChildEBP RetAddr 01d1fe40 7c90df5a ntdll!KiFastSystemCallRet 01d1fe44 7c8025db ntdll!ZwWaitForSingleObject+0xc 01d1fea8 7c802542 kernel32!WaitForSingleObjectEx+0xa8 01d1febc 005e9741 kernel32!WaitForSingleObject+0x12 01d1fee8 005e98eb m3core!ThreadWin32__InnerWait+0x200 [..\src\thread\WIN32\ThreadWin32.m3 @ 220] 01d1ff10 00ed2f78 m3core!Thread__Wait+0x68 [..\src\thread\WIN32\ThreadWin32.m3 @ 261] 01d1ff4c 005eab3e m3vbtkit!VTView__VFontCleanUpThread+0x11d [..\src\vtext\VTView.m3 @ 111] 01d1ff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 01d1ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 01d1ffec 00000000 kernel32!BaseThreadStart+0x37 5 Id: 830.98c Suspend: 2 Teb: 7ffd9000 Unfrozen ChildEBP RetAddr 01e1fe68 7c90d21a ntdll!KiFastSystemCallRet 01e1fe6c 7c8023f1 ntdll!NtDelayExecution+0xc 01e1fec4 7c802455 kernel32!SleepEx+0x61 01e1fed4 005eb27f kernel32!Sleep+0xf 01e1ff08 00e4b7d1 m3core!Thread__Pause+0x6c [..\src\thread\WIN32\ThreadWin32.m3 @ 635] 01e1ff4c 005eab3e m3vbtkit!FileBrowserVBT__Watcher+0x4c7 [..\src\lego\FileBrowserVBT.m3 @ 259] 01e1ff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 01e1ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 01e1ffec 00000000 kernel32!BaseThreadStart+0x37 6 Id: 830.cb0 Suspend: 2 Teb: 7ffd7000 Unfrozen ChildEBP RetAddr 020afcf4 7c90df5a ntdll!KiFastSystemCallRet 020afcf8 7c91b24b ntdll!ZwWaitForSingleObject+0xc 020afd80 7c901046 ntdll!RtlpWaitForCriticalSection+0x132 020afd88 005ecafe ntdll!RtlEnterCriticalSection+0x46 020afd94 005ebd8a m3core!ThreadWin32__EnterCriticalSection_heap+0xe [..\\src\\thread\\WIN32\\ThreadWin32C.c @ 30] 020afda8 005c8026 m3core!RTOS__LockHeap+0x23 [..\src\thread\WIN32\ThreadWin32.m3 @ 1000] 020afde8 005c7643 m3core!RTAllocator__AllocTraced+0xd1 [..\src\runtime\common\RTAllocator.m3 @ 365] 020afe1c 005c713d m3core!RTAllocator__GetTracedObj+0x8c [..\src\runtime\common\RTAllocator.m3 @ 224] 020afe40 10013797 m3core!RTHooks__AllocateTracedObj+0x15 [..\src\runtime\common\RTAllocator.m3 @ 120] 020afe7c 1000fde5 juno_compiler!JunoCompileRep__Cmd+0xcf [..\src\JunoCompile.m3 @ 987] 020aff4c 005eab3e juno_compiler!JunoCompile__ProcApply+0x2dc [..\src\JunoCompile.m3 @ 268] 020aff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 020affb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 020affec 00000000 kernel32!BaseThreadStart+0x37 # 7 Id: 830.ae8 Suspend: 1 Teb: 7ffd8000 Unfrozen ChildEBP RetAddr 01f9fc98 005e5e27 ntdll!DbgBreakPoint 01f9fcb4 005dc2de m3core!RTOS__Crash+0x4c [..\src\runtime\WIN32\RTOS.m3 @ 29] 01f9fccc 005da02e m3core!RTProcess__Crash+0x68 [..\src\runtime\common\RTProcess.m3 @ 66] 01f9fce4 005d9d42 m3core!RTError__EndError+0x37 [..\src\runtime\common\RTError.m3 @ 118] 01f9fcfc 005da601 m3core!RTError__MsgS+0x8d [..\src\runtime\common\RTError.m3 @ 40] 01f9fd44 005da381 m3core!RTException__Crash+0x1ee [..\src\runtime\common\RTException.m3 @ 79] 01f9fd7c 005da2e1 m3core!RTException__DefaultBackstop+0x6f [..\src\runtime\common\RTException.m3 @ 39] 01f9fd98 005e7873 m3core!RTException__InvokeBackstop+0x28 [..\src\runtime\common\RTException.m3 @ 25] 01f9fdc4 005da40b m3core!RTException__Raise+0x63 [..\src\runtime\ex_frame\RTExFrame.m3 @ 29] 01f9fdf4 005da2e1 m3core!RTException__DefaultBackstop+0xf9 [..\src\runtime\common\RTException.m3 @ 47] 01f9fe10 005e7873 m3core!RTException__InvokeBackstop+0x28 [..\src\runtime\common\RTException.m3 @ 25] 01f9fe3c 005c5559 m3core!RTException__Raise+0x63 [..\src\runtime\ex_frame\RTExFrame.m3 @ 29] 01f9fe80 00f56d79 m3core!RTHooks__ReportFault+0x93 [..\src\runtime\common\RTHooks.m3 @ 110] 01f9fe90 00f55d1b m3ui!MM_VBTRep_CRASH+0x11 [..\src\vbt\VBTRep.m3 @ 25] 01f9fef8 00f558aa m3ui!VBTRep__Redisplay+0x3ae [..\src\vbt\VBTRep.m3 @ 644] 01f9ff24 00f5593b m3ui!VBTRep__UncoverRedisplay+0xdd [..\src\vbt\VBTRep.m3 @ 602] 01f9ff4c 005eab3e m3ui!VBTRep__RdApply+0x8c [..\src\vbt\VBTRep.m3 @ 606] 01f9ff8c 005ea95e m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524] 01f9ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504] 01f9ffec 00000000 kernel32!BaseThreadStart+0x37 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Mon Nov 2 15:06:48 2009 From: jay.krell at cornell.edu (Jay K) Date: Mon, 2 Nov 2009 14:06:48 +0000 Subject: [M3devel] Start building RC4? Re: m3 RC In-Reply-To: <20091102105740.5n2gcc2bcw4g0os4@mail.elegosoft.com> References: <20091031044719.94A4D1A209A@async.async.caltech.edu> <641F0ADA-C3DC-4DA4-8111-D4B4D5A4B49C@cs.purdue.edu> Message-ID: > I'm still waiting for corrections wrt. Windows; but perhaps I'm > not up-to-date? A complete release build on all platforms will take You were right to wait. There was a long standing tendency to arbitrarily hang, demonstrated by Juno but not Juno or GUI specific. It should be ok now. - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Mon Nov 2 15:32:27 2009 From: jay.krell at cornell.edu (Jay K) Date: Mon, 2 Nov 2009 14:32:27 +0000 Subject: [M3devel] when CreateThread fails? Message-ID: It seems to me that when Fork() fails because CreateThread fails, it should use OSError.Raise(), but the Fork is in m3core and OSError is in libm3. Move it to m3core? (and OSError uses Atom.i3, also in libm3) - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Mon Nov 2 16:05:20 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 2 Nov 2009 10:05:20 -0500 Subject: [M3devel] Trestle crash closing Juno when starting up In-Reply-To: References: Message-ID: I guess, technically, it is not a crash. It is an unhandled exception that detected an error. Someone could program a handler to die with a nice error message, but hardly what I'd call a systemic bug. On 2 Nov 2009, at 05:39, Jay K wrote: > Seen this on Windows and Darwin/x86. > Close Juno while it is still starting up. > > *** > *** runtime error: > *** Unhandled exception: VBT.Error > *** file "../src/vbt/VBTClass.m3", line 879 > *** > > > Program received signal SIGABRT, Aborted. > 0x968e5e42 in __kill () > (gdb) bt > #0 0x968e5e42 in __kill () > #1 0x968e5e34 in kill$UNIX2003 () > #2 0x9695823a in raise () > #3 0x96964679 in abort () > #4 0x00b4d56a in RTOS__Crash () at ../src/runtime/POSIX/RTOS.m3:20 > #5 0x00b432ef in RTProcess__Crash (M3_Bd56fi_msg=0x0) at ../src/ > runtime/common/RTProcess.m3:65 > #6 0x00b40fb8 in RTError__EndError (M3_AicXUJ_crash=1 '\001') at ../ > src/runtime/common/RTError.m3:118 > #7 0x00b40cae in RTError__MsgS (M3_AJWxb1_file=0x6a2b90, > M3_AcxOUs_line=879, M3_Bd56fi_msgA=0xb862cc, > M3_Bd56fi_msgB=0x2994f50, M3_Bd56fi_msgC=0xb86308) at ../src/runtime/ > common/RTError.m3:40 > #8 0x00b413fa in RTException__Crash (M3_Cblw37_a=0xbffff47c, > M3_AicXUJ_raises=0 '\0', M3_AJWxb1_rte=0xb82620) at ../src/runtime/ > common/RTException.m3:79 > #9 0x00b41127 in RTException__DefaultBackstop > (M3_Cblw37_a=0xbffff47c, M3_AicXUJ_raises=0 '\0') at ../src/runtime/ > common/RTException.m3:39 > #10 0x00b4106b in RTException__InvokeBackstop > (M3_Cblw37_a=0xbffff47c, M3_AicXUJ_raises=0 '\0') at ../src/runtime/ > common/RTException.m3:25 > #11 0x00b4dec6 in RTException__Raise (M3_Cblw37_act=0xbffff47c) > at ../src/runtime/ex_frame/RTExFrame.m3:29 > #12 0x00b411c0 in RTException__DefaultBackstop > (M3_Cblw37_a=0xbffff47c, M3_AicXUJ_raises=0 '\0') at ../src/runtime/ > common/RTException.m3:47 > #13 0x00b4106b in RTException__InvokeBackstop > (M3_Cblw37_a=0xbffff47c, M3_AicXUJ_raises=0 '\0') at ../src/runtime/ > common/RTException.m3:25 > #14 0x00b4dec6 in RTException__Raise (M3_Cblw37_act=0xbffff47c) > at ../src/runtime/ex_frame/RTExFrame.m3:29 > #15 0x00b2c7a7 in RTHooks__Raise (M3_AJWxb1_ex=0x6a1e00, > M3_AJWxb1_arg=0x2, M3_AJWxb1_module=0x691a60, M3_AcxOUs_line=879) > at ../src/runtime/common/RTHooks.m3:79 > #16 0x0061a107 in VBTClass__ForgeDefault (M3_Dg4CVT_v=0x2049e90, > M3_BFdKo9_ch=0x210653c, M3_BFdKo9_w=0x20a8f78, M3_DFwkoj_type={ data fields>}, M3_AOBQ11_detail=0x6a1e18) at ../src/vbt/ > VBTClass.m3:879 > #17 0x0061a191 in VBTClass__ForgeDefault (M3_Dg4CVT_v=0x210653c, > M3_BFdKo9_ch=0x2474d9c, M3_BFdKo9_w=0x20a8f78, M3_DFwkoj_type={ data fields>}, M3_AOBQ11_detail=0x6a1e18) at ../src/vbt/ > VBTClass.m3:881 > #18 0x0061a191 in VBTClass__ForgeDefault (M3_Dg4CVT_v=0x2474d9c, > M3_BFdKo9_ch=0x247ad58, M3_BFdKo9_w=0x20a8f78, M3_DFwkoj_type={ data fields>}, M3_AOBQ11_detail=0x6a1e18) at ../src/vbt/ > VBTClass.m3:881 > #19 0x0061a191 in VBTClass__ForgeDefault (M3_Dg4CVT_v=0x247ad58, > M3_BFdKo9_ch=0x20a8f78, M3_BFdKo9_w=0x20a8f78, M3_DFwkoj_type={ data fields>}, M3_AOBQ11_detail=0x6a1e18) at ../src/vbt/ > VBTClass.m3:881 > #20 0x00619091 in VBTClass__Forge (M3_BFdKo9_v=0x20a8f78, > M3_DFwkoj_type={}, M3_AOBQ11_detail=0x6a1e18) at ../ > src/vbt/VBTClass.m3:644 > #21 0x0060b4a7 in VBT__Forge (M3_BFdKo9_v=0x20a8f78, > M3_DFwkoj_type={}, M3_AOBQ11_detail=0x6a1e18) at ../ > src/vbt/VBT.m3:176 > #22 0x0005e97b in Juno_M3 (M3_AcxOUs_mode=1) at ../src/Juno.m3:2163 > #23 0x00b401ed in RTLinker__RunMainBody (M3_DjPxE3_m=0x6fe40) at ../ > src/runtime/common/RTLinker.m3:399 > #24 0x00b3f649 in RTLinker__AddUnitI (M3_DjPxE3_m=0x6fe40) at ../src/ > runtime/common/RTLinker.m3:113 > #25 0x00b3f6cb in RTLinker__AddUnit (M3_DjPxE5_b=0x5b59a) at ../src/ > runtime/common/RTLinker.m3:122 > #26 0x00007afa in main (argc=1, argv=0xbffffa20, envp=0xbffffa28) at > _m3main.mc:4 > > > > > - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Mon Nov 2 16:08:46 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 2 Nov 2009 10:08:46 -0500 Subject: [M3devel] when CreateThread fails? In-Reply-To: References: Message-ID: <5770B080-3749-419A-97D7-3C6CEB581E57@cs.purdue.edu> No, that would smear the interfaces. The thread system should be standalone of libm3. On 2 Nov 2009, at 09:32, Jay K wrote: > It seems to me that when Fork() fails because CreateThread fails, it > should use OSError.Raise(), but the Fork is in m3core and OSError is > in libm3. Move it to m3core? > (and OSError uses Atom.i3, also in libm3) > > - Jay > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Mon Nov 2 16:11:28 2009 From: jay.krell at cornell.edu (Jay K) Date: Mon, 2 Nov 2009 15:11:28 +0000 Subject: [M3devel] join twice? Message-ID: Thread.i3: PROCEDURE Join(t: T): REFANY; (* Wait until "t" has terminated and return its result. It is a checked runtime error to call this more than once for any "t". *) ThreadWin32.m3: PROCEDURE Join(t: T): REFANY = VAR res: REFANY; BEGIN LOCK t DO IF t.joined THEN Die(ThisLine(), "attempt to join with thread twice"); END; WHILE NOT t.completed DO Wait(t, t.join) END; res := t.result; t.result := NIL; t.joined := TRUE; t.join := NIL; END; RETURN res; END Join; PROCEDURE AlertJoin(t: T): REFANY RAISES {Alerted} = similar ThreadPThread.m3: PROCEDURE Join (t: T): REFANY = BEGIN LOCK t DO WHILE NOT t.completed DO Wait(t, t.join) END; END; RETURN t.result; END Join; PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted} = similar Should we just loosen the comment and go with the simpler pthread version? I'd like Win32 and pthread to be more similar where possible, to ease maintenance. - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Mon Nov 2 16:12:51 2009 From: jay.krell at cornell.edu (Jay K) Date: Mon, 2 Nov 2009 15:12:51 +0000 Subject: [M3devel] when CreateThread fails? In-Reply-To: <5770B080-3749-419A-97D7-3C6CEB581E57@cs.purdue.edu> References: Message-ID: How about: RuntimeError.i3: SystemError, (* a low-level OS or machine error occurred *) ? I could also see: OutOfMemory, (* NEW() was unable to allocate more memory. *) since that is probably the only possible reason. - Jay CC: m3devel at elegosoft.com From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Subject: Re: [M3devel] when CreateThread fails? Date: Mon, 2 Nov 2009 10:08:46 -0500 No, that would smear the interfaces. The thread system should be standalone of libm3. On 2 Nov 2009, at 09:32, Jay K wrote: It seems to me that when Fork() fails because CreateThread fails, it should use OSError.Raise(), but the Fork is in m3core and OSError is in libm3. Move it to m3core? (and OSError uses Atom.i3, also in libm3) - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From mika at async.async.caltech.edu Mon Nov 2 18:20:11 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Mon, 02 Nov 2009 09:20:11 -0800 Subject: [M3devel] AMD64_FREEBSD problems with current RC from m3 site In-Reply-To: <1210FEF9-5EAD-4313-A96A-2709711F4BDE@cs.purdue.edu> References: <20091031161142.57E771A2097@async.async.caltech.edu> <20091031161514.C7E441A2097@async.async.caltech.edu> <7D03409A-CC44-4B27-BCE0-E7A3D110B242@cs.purdue.edu> <20091031182637.1D2DD1A209C@async.async.caltech.edu> <9666B412-E255-4103-9954-420E39AA9303@cs.purdue.edu> <20091031185401.0E3761A209C@async.async.caltech.edu> <20091031191011.63E701A2097@async.async.caltech.edu> <823EE49D-F6C9-4A13-A6BA-4EC73B00E13E@cs.purdue.edu> <20091031192335.050261A207D@async.async.caltech.edu> <20091031200623.C0BC71A2097@async.async.caltech.edu> <1210FEF9-5EAD-4313-A96A-2709711F4BDE@cs.purdue.edu> Message-ID: <20091102172011.A9D5B1A209F@async.async.caltech.edu> Tony (and others): I take it part of the problem I'm having is that I'm running a very out of date RC package on my FreeBSD7? Should I cvs update to something else to try? Note that what's in the "normal" CVS head didn't even compile when I tried it---see an earlier email from me. How can I specify the proper tag to get on to the "release" branch of the tree, if that's what I'm supposed to do? Mika Tony Hosking writes: > >--Apple-Mail-36--459856549 >Content-Type: text/plain; > charset=US-ASCII; > format=flowed; > delsp=yes >Content-Transfer-Encoding: 7bit > >Try regular gdb. >Set a breakpoint at RTHooks__ReportFault. >Then thread apply all bt. > > >Antony Hosking | Associate Professor | Computer Science | Purdue >University >305 N. University Street | West Lafayette | IN 47907 | USA >Office +1 765 494 6001 | Mobile +1 765 427 5484 > > > > >On 31 Oct 2009, at 16:06, Mika Nystrom wrote: > >> With the RC m3gdb it either segfaults gdb or: >> >> (m3gdb) threads >> Can't find Modula-3 identifier: ThreadPosix >> (m3gdb) threads all >> Can't find Modula-3 identifier: ThreadPosix >> (m3gdb) threads all bt >> Can't find Modula-3 identifier: ThreadPosix >> (m3gdb) >> >> Tony Hosking writes: >>> >>> --Apple-Mail-33--461716527 >>> Content-Type: text/plain; >>> charset=US-ASCII; >>> format=flowed; >>> delsp=yes >>> Content-Transfer-Encoding: 7bit >>> >>> threads all bt >>> >>> should give a backtrace of all threads. >>> > > >--Apple-Mail-36--459856549 >Content-Type: text/html; > charset=US-ASCII >Content-Transfer-Encoding: quoted-printable > >-webkit-line-break: after-white-space; ">Try regular gdb.
Set a = >breakpoint at RTHooks__ReportFault.
Then thread apply all = >bt.


style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = >Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = >font-weight: normal; letter-spacing: normal; line-height: normal; = >orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; = >white-space: normal; widows: 2; word-spacing: 0px; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = >auto; -webkit-text-stroke-width: 0; ">
break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >-webkit-line-break: after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">
class=3D"Apple-style-span" color=3D"#0000FF">class=3D"Apple-style-span" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Antony = >Hoskingface=3D"Gill Sans">'Gill Sans'; ">'Gill Sans'; "> |class=3D"Apple-converted-space"> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; ">class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >">Associate Professorstyle=3D"font-family: 'Gill Sans'; ">style=3D"font-family: 'Gill Sans'; "> | Computer Science | Purdue = >University
face=3D"GillSans-Light">style=3D"font-family: GillSans-Light; ">305 N. University Street | West = >Lafayette | IN 47907 | USA
class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Officeclass=3D"Apple-style-span" face=3D"GillSans-Light">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; = >"> +1 765 494 6001 |class=3D"Apple-converted-space"> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Mobileclass=3D"Apple-style-span" face=3D"GillSans-Light">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-converted-space"> +1 765 427 = >5484
face=3D"GillSans-Light">
class=3D"khtml-block-placeholder">
>

class=3D"Apple-interchange-newline">

class=3D"Apple-interchange-newline">

On 31 Oct 2009, = >at 16:06, Mika Nystrom wrote:

class=3D"Apple-interchange-newline">
With = >the RC m3gdb it either segfaults gdb or:

(m3gdb) threads
Can't = >find Modula-3 identifier: ThreadPosix
(m3gdb) threads all
Can't = >find Modula-3 identifier: ThreadPosix
(m3gdb) threads all bt = >
Can't find Modula-3 identifier: ThreadPosix
(m3gdb)

Tony = >Hosking writes:

type=3D"cite">--Apple-Mail-33--461716527
type=3D"cite">Content-Type: text/plain;
type=3D"cite"> = >charset=3DUS-ASCII;
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >format=3Dflowed;
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >delsp=3Dyes
type=3D"cite">Content-Transfer-Encoding: = >7bit
type=3D"cite">
threads all = >bt

type=3D"cite">should give a backtrace of all = >threads.
type=3D"cite">

<= >/html>= > >--Apple-Mail-36--459856549-- From hosking at cs.purdue.edu Mon Nov 2 18:59:36 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 2 Nov 2009 12:59:36 -0500 Subject: [M3devel] join twice? In-Reply-To: References: Message-ID: I don't know that there ever was a mandate that join can only be called once on a given thread. But, given that pthread_join is undefined when called more than once on the same thread we probably want to retain the comment. (Whether the implementation actually prohibits it or not is an implementation decision.) The point is that we should be free to give the error in some later implementation, so as to not to restrict what semantics the implementation must support. Antony Hosking | Associate Professor | Computer Science | Purdue University 305 N. University Street | West Lafayette | IN 47907 | USA Office +1 765 494 6001 | Mobile +1 765 427 5484 On 2 Nov 2009, at 10:11, Jay K wrote: > Thread.i3: > > > PROCEDURE Join(t: T): REFANY; > (* Wait until "t" has terminated and return its result. It is a > checked runtime error to call this more than once for any "t". *) > > > ThreadWin32.m3: > > > PROCEDURE Join(t: T): REFANY = > VAR res: REFANY; > BEGIN > LOCK t DO > IF t.joined THEN Die(ThisLine(), "attempt to join with thread > twice"); END; > WHILE NOT t.completed DO Wait(t, t.join) END; > res := t.result; > t.result := NIL; > t.joined := TRUE; > t.join := NIL; > END; > RETURN res; > END Join; > > PROCEDURE AlertJoin(t: T): REFANY RAISES {Alerted} = similar > > > ThreadPThread.m3: > > > PROCEDURE Join (t: T): REFANY = > BEGIN > LOCK t DO > WHILE NOT t.completed DO Wait(t, t.join) END; > END; > RETURN t.result; > END Join; > > PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted} = similar > > > Should we just loosen the comment and go with the simpler pthread > version? > I'd like Win32 and pthread to be more similar where possible, to > ease maintenance. > > > - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Mon Nov 2 19:00:35 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 2 Nov 2009 13:00:35 -0500 Subject: [M3devel] when CreateThread fails? In-Reply-To: References: Message-ID: <77806C64-7DC2-4214-ADCE-C5CD5155AB7B@cs.purdue.edu> On 2 Nov 2009, at 10:12, Jay K wrote: > How about: > > RuntimeError.i3: > > SystemError, (* a low-level OS or machine error > occurred *) > > ? > > I could also see: > OutOfMemory, (* NEW() was unable to allocate more > memory. *) > > since that is probably the only possible reason. Either of these seems fine to me. > > - Jay > > CC: m3devel at elegosoft.com > From: hosking at cs.purdue.edu > To: jay.krell at cornell.edu > Subject: Re: [M3devel] when CreateThread fails? > Date: Mon, 2 Nov 2009 10:08:46 -0500 > > No, that would smear the interfaces. The thread system should be > standalone of libm3. > > On 2 Nov 2009, at 09:32, Jay K wrote: > > It seems to me that when Fork() fails because CreateThread fails, it > should use OSError.Raise(), but the Fork is in m3core and OSError is > in libm3. Move it to m3core? > (and OSError uses Atom.i3, also in libm3) > > - Jay > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Mon Nov 2 19:04:14 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 2 Nov 2009 13:04:14 -0500 Subject: [M3devel] AMD64_FREEBSD problems with current RC from m3 site In-Reply-To: <20091102172011.A9D5B1A209F@async.async.caltech.edu> References: <20091031161142.57E771A2097@async.async.caltech.edu> <20091031161514.C7E441A2097@async.async.caltech.edu> <7D03409A-CC44-4B27-BCE0-E7A3D110B242@cs.purdue.edu> <20091031182637.1D2DD1A209C@async.async.caltech.edu> <9666B412-E255-4103-9954-420E39AA9303@cs.purdue.edu> <20091031185401.0E3761A209C@async.async.caltech.edu> <20091031191011.63E701A2097@async.async.caltech.edu> <823EE49D-F6C9-4A13-A6BA-4EC73B00E13E@cs.purdue.edu> <20091031192335.050261A207D@async.async.caltech.edu> <20091031200623.C0BC71A2097@async.async.caltech.edu> <1210FEF9-5EAD-4313-A96A-2709711F4BDE@cs.purdue.edu> <20091102172011.A9D5B1A209F@async.async.caltech.edu> Message-ID: <94D30830-E745-4305-B587-75E2AC7612CC@cs.purdue.edu> Possibly. Though it may be more than that. I've not tested on FreeBSD7 before. On 2 Nov 2009, at 12:20, Mika Nystrom wrote: > Tony (and others): > > I take it part of the problem I'm having is that I'm running a very > out > of date RC package on my FreeBSD7? > > Should I cvs update to something else to try? Note that what's in > the "normal" > CVS head didn't even compile when I tried it---see an earlier email > from me. > How can I specify the proper tag to get on to the "release" branch > of the > tree, if that's what I'm supposed to do? > > Mika > > Tony Hosking writes: >> >> --Apple-Mail-36--459856549 >> Content-Type: text/plain; >> charset=US-ASCII; >> format=flowed; >> delsp=yes >> Content-Transfer-Encoding: 7bit >> >> Try regular gdb. >> Set a breakpoint at RTHooks__ReportFault. >> Then thread apply all bt. >> >> >> Antony Hosking | Associate Professor | Computer Science | Purdue >> University >> 305 N. University Street | West Lafayette | IN 47907 | USA >> Office +1 765 494 6001 | Mobile +1 765 427 5484 >> >> >> >> >> On 31 Oct 2009, at 16:06, Mika Nystrom wrote: >> >>> With the RC m3gdb it either segfaults gdb or: >>> >>> (m3gdb) threads >>> Can't find Modula-3 identifier: ThreadPosix >>> (m3gdb) threads all >>> Can't find Modula-3 identifier: ThreadPosix >>> (m3gdb) threads all bt >>> Can't find Modula-3 identifier: ThreadPosix >>> (m3gdb) >>> >>> Tony Hosking writes: >>>> >>>> --Apple-Mail-33--461716527 >>>> Content-Type: text/plain; >>>> charset=US-ASCII; >>>> format=flowed; >>>> delsp=yes >>>> Content-Transfer-Encoding: 7bit >>>> >>>> threads all bt >>>> >>>> should give a backtrace of all threads. >>>> >> >> >> --Apple-Mail-36--459856549 >> Content-Type: text/html; >> charset=US-ASCII >> Content-Transfer-Encoding: quoted-printable >> >> > space; = >> -webkit-line-break: after-white-space; ">Try regular gdb.
Set a = >> breakpoint at RTHooks__ReportFault.
Then thread apply all = >> bt.


> span" = >> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font- >> family: = >> Helvetica; font-size: 12px; font-style: normal; font-variant: >> normal; = >> font-weight: normal; letter-spacing: normal; line-height: normal; = >> orphans: 2; text-align: auto; text-indent: 0px; text-transform: >> none; = >> white-space: normal; widows: 2; word-spacing: 0px; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size- >> adjust: = >> auto; -webkit-text-stroke-width: 0; ">
> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >> after-white-space; ">> style=3D"border-collapse: separate; -webkit-border-horizontal- >> spacing: = >> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >> font-family: Helvetica; font-size: 12px; font-style: normal; = >> font-variant: normal; font-weight: normal; letter-spacing: normal; = >> line-height: normal; -webkit-text-decorations-in-effect: none; = >> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >> none; = >> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >> ">
> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >> -webkit-line-break: after-white-space; ">> span" = >> style=3D"border-collapse: separate; -webkit-border-horizontal- >> spacing: = >> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >> font-family: Helvetica; font-size: 12px; font-style: normal; = >> font-variant: normal; font-weight: normal; letter-spacing: normal; = >> line-height: normal; -webkit-text-decorations-in-effect: none; = >> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >> none; = >> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >> ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">
> class=3D"Apple-style-span" color=3D"#0000FF">> class=3D"Apple-style-span" face=3D"Gill Sans">> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >> family: = >> 'Gill Sans'; ">> rgb(0, = >> 0, 255); font-family: 'Gill Sans'; ">Antony = >> Hosking> face=3D"Gill Sans">> family: = >> 'Gill Sans'; ">> family: = >> 'Gill Sans'; "> | >> > class=3D"Apple-converted-space"> > class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; >> ">> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >> ">Associate Professor> style=3D"font-family: 'Gill Sans'; ">> span" = >> style=3D"font-family: 'Gill Sans'; "> | Computer Science | >> Purdue = >> University
> style-span"= >> face=3D"GillSans-Light">> style=3D"font-family: GillSans-Light; ">305 N. University Street | >> West = >> Lafayette | IN 47907 | USA
> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >> Sans">> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >> family: = >> 'Gill Sans'; ">> rgb(0, = >> 0, 255); font-family: 'Gill Sans'; ">Office> font>> class=3D"Apple-style-span" face=3D"GillSans-Light">> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >> ">> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; = >> "> +1 765 494 6001 |> class=3D"Apple-converted-space"> > font>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >> Sans">> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >> family: = >> 'Gill Sans'; ">> rgb(0, = >> 0, 255); font-family: 'Gill Sans'; ">Mobile> font>> class=3D"Apple-style-span" face=3D"GillSans-Light">> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >> ">> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >> ">> class=3D"Apple-converted-space"> +1 765 427 = >> 5484
> span" = >> face=3D"GillSans-Light">
> class=3D"khtml-block-placeholder">
> span>>>

> class=3D"Apple-interchange-newline">
> span>
> class=3D"Apple-interchange-newline">

On 31 Oct >> 2009, = >> at 16:06, Mika Nystrom wrote:

> class=3D"Apple-interchange-newline">
> type=3D"cite">
With = >> the RC m3gdb it either segfaults gdb or:

(m3gdb) >> threads
Can't = >> find Modula-3 identifier: ThreadPosix
(m3gdb) threads >> all
Can't = >> find Modula-3 identifier: ThreadPosix
(m3gdb) threads all bt = >>
Can't find Modula-3 identifier: ThreadPosix
(m3gdb) >>

Tony = >> Hosking writes:

> blockquote>
> type=3D"cite">--Apple-Mail-33--461716527
> blockquote>
> type=3D"cite">Content-Type: text/plain;
> type=3D"cite">> space:pre"> = >> charset=3DUS-ASCII;
> type=3D"cite">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> format=3Dflowed;
> type=3D"cite">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> delsp=3Dyes
> type=3D"cite">Content-Transfer-Encoding: = >> 7bit
> type=3D"cite">
threads >> all = >> bt

> blockquote>
> type=3D"cite">should give a backtrace of all = >> threads.
> type=3D"cite">

> body><= >> /html>= >> >> --Apple-Mail-36--459856549-- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mika at async.async.caltech.edu Mon Nov 2 19:11:22 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Mon, 02 Nov 2009 10:11:22 -0800 Subject: [M3devel] AMD64_FREEBSD problems with current RC from m3 site In-Reply-To: <94D30830-E745-4305-B587-75E2AC7612CC@cs.purdue.edu> References: <20091031161142.57E771A2097@async.async.caltech.edu> <20091031161514.C7E441A2097@async.async.caltech.edu> <7D03409A-CC44-4B27-BCE0-E7A3D110B242@cs.purdue.edu> <20091031182637.1D2DD1A209C@async.async.caltech.edu> <9666B412-E255-4103-9954-420E39AA9303@cs.purdue.edu> <20091031185401.0E3761A209C@async.async.caltech.edu> <20091031191011.63E701A2097@async.async.caltech.edu> <823EE49D-F6C9-4A13-A6BA-4EC73B00E13E@cs.purdue.edu> <20091031192335.050261A207D@async.async.caltech.edu> <20091031200623.C0BC71A2097@async.async.caltech.edu> <1210FEF9-5EAD-4313-A96A-2709711F4BDE@cs.purdue.edu> <20091102172011.A9D5B1A209F@async.async.caltech.edu> <94D30830-E745-4305-B587-75E2AC7612CC@cs.purdue.edu> Message-ID: <20091102181122.4DE2A1A208F@async.async.caltech.edu> Let me know if you want an account :-) Tony Hosking writes: > >--Apple-Mail-62--295019692 >Content-Type: text/plain; > charset=US-ASCII; > format=flowed; > delsp=yes >Content-Transfer-Encoding: 7bit > >Possibly. Though it may be more than that. I've not tested on >FreeBSD7 before. > >On 2 Nov 2009, at 12:20, Mika Nystrom wrote: > >> Tony (and others): >> >> I take it part of the problem I'm having is that I'm running a very >> out >> of date RC package on my FreeBSD7? >> >> Should I cvs update to something else to try? Note that what's in >> the "normal" >> CVS head didn't even compile when I tried it---see an earlier email >> from me. >> How can I specify the proper tag to get on to the "release" branch >> of the >> tree, if that's what I'm supposed to do? >> >> Mika >> >> Tony Hosking writes: >>> >>> --Apple-Mail-36--459856549 >>> Content-Type: text/plain; >>> charset=US-ASCII; >>> format=flowed; >>> delsp=yes >>> Content-Transfer-Encoding: 7bit >>> >>> Try regular gdb. >>> Set a breakpoint at RTHooks__ReportFault. >>> Then thread apply all bt. >>> >>> >>> Antony Hosking | Associate Professor | Computer Science | Purdue >>> University >>> 305 N. University Street | West Lafayette | IN 47907 | USA >>> Office +1 765 494 6001 | Mobile +1 765 427 5484 >>> >>> >>> >>> >>> On 31 Oct 2009, at 16:06, Mika Nystrom wrote: >>> >>>> With the RC m3gdb it either segfaults gdb or: >>>> >>>> (m3gdb) threads >>>> Can't find Modula-3 identifier: ThreadPosix >>>> (m3gdb) threads all >>>> Can't find Modula-3 identifier: ThreadPosix >>>> (m3gdb) threads all bt >>>> Can't find Modula-3 identifier: ThreadPosix >>>> (m3gdb) >>>> >>>> Tony Hosking writes: >>>>> >>>>> --Apple-Mail-33--461716527 >>>>> Content-Type: text/plain; >>>>> charset=US-ASCII; >>>>> format=flowed; >>>>> delsp=yes >>>>> Content-Transfer-Encoding: 7bit >>>>> >>>>> threads all bt >>>>> >>>>> should give a backtrace of all threads. >>>>> >>> >>> >>> --Apple-Mail-36--459856549 >>> Content-Type: text/html; >>> charset=US-ASCII >>> Content-Transfer-Encoding: quoted-printable >>> >>> >> space; = >>> -webkit-line-break: after-white-space; ">Try regular gdb.
Set a = >>> breakpoint at RTHooks__ReportFault.
Then thread apply all = >>> bt.


>> span" = >>> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font- >>> family: = >>> Helvetica; font-size: 12px; font-style: normal; font-variant: >>> normal; = >>> font-weight: normal; letter-spacing: normal; line-height: normal; = >>> orphans: 2; text-align: auto; text-indent: 0px; text-transform: >>> none; = >>> white-space: normal; widows: 2; word-spacing: 0px; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size- >>> adjust: = >>> auto; -webkit-text-stroke-width: 0; ">
>> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >>> after-white-space; ">>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>> spacing: = >>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>> font-variant: normal; font-weight: normal; letter-spacing: normal; = >>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>> none; = >>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>> ">
>> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >>> -webkit-line-break: after-white-space; ">>> span" = >>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>> spacing: = >>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>> font-variant: normal; font-weight: normal; letter-spacing: normal; = >>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>> none; = >>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>> ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">
>> class=3D"Apple-style-span" color=3D"#0000FF">>> class=3D"Apple-style-span" face=3D"Gill Sans">>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>> family: = >>> 'Gill Sans'; ">>> rgb(0, = >>> 0, 255); font-family: 'Gill Sans'; ">Antony = >>> Hosking>> face=3D"Gill Sans">>> family: = >>> 'Gill Sans'; ">>> family: = >>> 'Gill Sans'; "> | >>> >> class=3D"Apple-converted-space"> >> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; >>> ">>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >>> ">Associate Professor>> style=3D"font-family: 'Gill Sans'; ">>> span" = >>> style=3D"font-family: 'Gill Sans'; "> | Computer Science | >>> Purdue = >>> University
>> style-span"= >>> face=3D"GillSans-Light">>> style=3D"font-family: GillSans-Light; ">305 N. University Street | >>> West = >>> Lafayette | IN 47907 | USA
>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>> Sans">>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>> family: = >>> 'Gill Sans'; ">>> rgb(0, = >>> 0, 255); font-family: 'Gill Sans'; ">Office>> font>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>> ">>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; = >>> "> +1 765 494 6001 |>> class=3D"Apple-converted-space"> >> font>>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>> Sans">>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>> family: = >>> 'Gill Sans'; ">>> rgb(0, = >>> 0, 255); font-family: 'Gill Sans'; ">Mobile>> font>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>> ">>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>> ">>> class=3D"Apple-converted-space"> +1 765 427 = >>> 5484
>> span" = >>> face=3D"GillSans-Light">
>> class=3D"khtml-block-placeholder">
>> span>>>>

>> class=3D"Apple-interchange-newline">
>> span>
>> class=3D"Apple-interchange-newline">

On 31 Oct >>> 2009, = >>> at 16:06, Mika Nystrom wrote:

>> class=3D"Apple-interchange-newline">
>> type=3D"cite">
With = >>> the RC m3gdb it either segfaults gdb or:

(m3gdb) >>> threads
Can't = >>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads >>> all
Can't = >>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads all bt = >>>
Can't find Modula-3 identifier: ThreadPosix
(m3gdb) >>>

Tony = >>> Hosking writes:

>> blockquote>
>> type=3D"cite">--Apple-Mail-33--461716527
>> blockquote>
>> type=3D"cite">Content-Type: text/plain;
>> type=3D"cite">>> space:pre"> = >>> charset=3DUS-ASCII;
>> type=3D"cite">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> format=3Dflowed;
>> type=3D"cite">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> delsp=3Dyes
>> type=3D"cite">Content-Transfer-Encoding: = >>> 7bit
>> type=3D"cite">
threads >>> all = >>> bt

>> blockquote>
>> type=3D"cite">should give a backtrace of all = >>> threads.
>> type=3D"cite">

>> body><= >>> /html>= >>> >>> --Apple-Mail-36--459856549-- > > >--Apple-Mail-62--295019692 >Content-Type: text/html; > charset=US-ASCII >Content-Transfer-Encoding: quoted-printable > >-webkit-line-break: after-white-space; ">Possibly.  Though it may = >be more than that.  I've not tested on FreeBSD7 = >before.
class=3D"Apple-style-span" style=3D"border-collapse: separate; color: = >rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = >normal; font-variant: normal; font-weight: normal; letter-spacing: = >normal; line-height: normal; orphans: 2; text-align: auto; text-indent: = >0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = >0px; -webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: 0px; = >-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = >auto; -webkit-text-stroke-width: 0; ">
break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >-webkit-line-break: after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">
class=3D"Apple-style-span" style=3D"font-size: medium;">class=3D"Apple-style-span" color=3D"#0000FF" face=3D"'Gill = >Sans'">
<= >/span>
On 2 Nov 2009, at = >12:20, Mika Nystrom wrote:

class=3D"Apple-interchange-newline">
Tony = >(and others):

I take it part of the problem I'm having is that = >I'm running a very out
of date RC package on my = >FreeBSD7?

Should I cvs update to something else to try? = > Note that what's in the "normal"
CVS head didn't even compile = >when I tried it---see an earlier email from me.
How can I specify the = >proper tag to get on to the "release" branch of the
tree, if that's = >what I'm supposed to do?

   Mika

Tony = >Hosking writes:

type=3D"cite">--Apple-Mail-36--459856549
type=3D"cite">Content-Type: text/plain;
type=3D"cite"> = >charset=3DUS-ASCII;
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >format=3Dflowed;
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >delsp=3Dyes
type=3D"cite">Content-Transfer-Encoding: = >7bit
type=3D"cite">
Try regular = >gdb.
Set a breakpoint at = >RTHooks__ReportFault.
Then = >thread apply all bt.
type=3D"cite">
type=3D"cite">
Antony Hosking = >| Associate Professor | Computer Science | Purdue = > 
type=3D"cite">University
305 = >N. University Street | West Lafayette | IN 47907 | = >USA
Office +1 765 494 6001 | = >Mobile +1 765 427 5484
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
On 31 Oct 2009, = >at 16:06, Mika Nystrom wrote:
type=3D"cite">
type=3D"cite">With the RC m3gdb it either segfaults gdb = >or:
type=3D"cite">
type=3D"cite">
(m3gdb) = >threads
type=3D"cite">Can't find Modula-3 identifier: = >ThreadPosix
type=3D"cite">
(m3gdb) threads = >all
type=3D"cite">Can't find Modula-3 identifier: = >ThreadPosix
type=3D"cite">
(m3gdb) threads all = >bt
type=3D"cite">Can't find Modula-3 identifier: = >ThreadPosix
type=3D"cite">
type=3D"cite">(m3gdb)
type=3D"cite">
type=3D"cite">
type=3D"cite">
Tony Hosking = >writes:
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">--Apple-Mail-33--461716527
ockquote>
type=3D"cite">Content-Type: = >text/plain;
type=3D"cite">
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >charset=3DUS-ASCII;
kquote type=3D"cite">
type=3D"cite"> = >format=3Dflowed;
ote type=3D"cite">
type=3D"cite"> = >delsp=3Dyes
type=3D"cite">
type=3D"cite">Content-Transfer-Encoding: = >7bit
type=3D"cite">
type=3D"cite">
type=3D"cite">
threads = >all bt
type=3D"cite">
type=3D"cite">
type=3D"cite">
should = >give a backtrace of all = >threads.
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">--Apple-Mail-36--459856549
type=3D"cite">Content-Type: text/html;
type=3D"cite"> = >charset=3DUS-ASCII
type=3D"cite">Content-Transfer-Encoding: = >quoted-printable
type=3D"cite">
type=3D"cite"><html><body style=3D3D"word-wrap: break-word; = >-webkit-nbsp-mode: space; =3D
type=3D"cite">-webkit-line-break: after-white-space; ">Try regular = >gdb.<div>Set a =3D
type=3D"cite">breakpoint at = >RTHooks__ReportFault.</div><div>Then thread apply all = >=3D
type=3D"cite">bt.</div><div><br></div><div>&= >lt;br><div> <span class=3D3D"Apple-style-span" = >=3D
style=3D3D"border-collapse: = >separate; color: rgb(0, 0, 0); font-family: = >=3D
Helvetica; font-size: = >12px; font-style: normal; font-variant: normal; = >=3D
font-weight: normal; = >letter-spacing: normal; line-height: normal; = >=3D
orphans: 2; text-align: = >auto; text-indent: 0px; text-transform: none; = >=3D
white-space: normal; = >widows: 2; word-spacing: 0px; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; -webkit-text-decorations-in-effect: none; = >-webkit-text-size-adjust: =3D
type=3D"cite">auto; -webkit-text-stroke-width: 0; "><div = >style=3D3D"word-wrap: =3D
type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >=3D
after-white-space; = >"><span class=3D3D"Apple-style-span" =3D
type=3D"cite">style=3D3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: =3D
type=3D"cite">0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, = >0, 0); =3D
font-family: = >Helvetica; font-size: 12px; font-style: normal; = >=3D
font-variant: normal; = >font-weight: normal; letter-spacing: normal; = >=3D
line-height: normal; = >-webkit-text-decorations-in-effect: none; =3D
type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; white-space: normal; widows: 2; word-spacing: = >0px; "><div =3D
type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp-mode: = >space; =3D
-webkit-line-break: = >after-white-space; "><span class=3D3D"Apple-style-span" = >=3D
style=3D3D"border-collapse: = >separate; -webkit-border-horizontal-spacing: = >=3D
0px; = >-webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >=3D
font-family: Helvetica; = >font-size: 12px; font-style: normal; =3D
type=3D"cite">font-variant: normal; font-weight: normal; letter-spacing: = >normal; =3D
line-height: = >normal; -webkit-text-decorations-in-effect: none; = >=3D
text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; = >=3D
orphans: 2; white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><div><font = >=3D
class=3D3D"Apple-style-span"= > color=3D3D"#0000FF"><font =3D
type=3D"cite">class=3D3D"Apple-style-span" face=3D3D"Gill = >Sans"><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, 0, = >255); font-family: =3D
'Gill = >Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = >rgb(0, =3D
0, 255); = >font-family: 'Gill Sans'; ">Antony =3D
type=3D"cite">Hosking</span></span></font></font>&= >lt;font class=3D3D"Apple-style-span" =3D
type=3D"cite">face=3D3D"Gill Sans"><span = >class=3D3D"Apple-style-span" style=3D3D"font-family: = >=3D
'Gill Sans'; "><span = >class=3D3D"Apple-style-span" style=3D3D"font-family: = >=3D
'Gill Sans'; "><span = >class=3D3D"Apple-converted-space">&nbsp;</span>|<span = >=3D
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= ></span></span><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: 'Gill = >Sans'; "><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: 'Gill = >Sans'; =3D
">Associate = >Professor</span></span><span class=3D3D"Apple-style-span" = >=3D
style=3D3D"font-family: = >'Gill Sans'; "><span class=3D3D"Apple-style-span" = >=3D
style=3D3D"font-family: = >'Gill Sans'; ">&nbsp;| Computer Science | Purdue = >=3D
type=3D"cite">University</span></span></font></div>= >;<div><font = >class=3D3D"Apple-style-span"=3D
type=3D"cite">face=3D3D"GillSans-Light"><span = >class=3D3D"Apple-style-span" =3D
type=3D"cite">style=3D3D"font-family: GillSans-Light; ">305 N. = >University Street | West =3D
type=3D"cite">Lafayette | IN 47907 | = >USA</span></font></div><div><font = >=3D
class=3D3D"Apple-style-span"= > color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"color: rgb(0, 0, 255); font-family: = >=3D
'Gill Sans'; "><span = >class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >=3D
0, 255); font-family: = >'Gill Sans'; ">Office</span></span></font><font = >=3D
class=3D3D"Apple-style-span"= > face=3D3D"GillSans-Light"><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; "><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; =3D
type=3D"cite">">&nbsp;+1 765 494 6001 |<span = >=3D
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= ></span></span></font><font = >=3D
class=3D3D"Apple-style-span"= > color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"color: rgb(0, 0, 255); font-family: = >=3D
'Gill Sans'; "><span = >class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >=3D
0, 255); font-family: = >'Gill Sans'; ">Mobile</span></span></font><font = >=3D
class=3D3D"Apple-style-span"= > face=3D3D"GillSans-Light"><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; "><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; "><span =3D
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= >+1 765 427 =3D
type=3D"cite">5484</span></span></font></div><d= >iv><font class=3D3D"Apple-style-span" = >=3D
type=3D"cite">face=3D3D"GillSans-Light"><br = >=3D
type=3D"cite">class=3D3D"khtml-block-placeholder"></font></div= >></span></span></span></span=3D
lockquote type=3D"cite">
type=3D"cite"></span></span></span><br = >=3D
type=3D"cite">class=3D3D"Apple-interchange-newline"></span></d= >iv></span></div></span><br = >=3D
type=3D"cite">class=3D3D"Apple-interchange-newline"> = ></div><br><div><div>On 31 Oct 2009, = >=3D
at 16:06, Mika Nystrom = >wrote:</div><br =3D
type=3D"cite">class=3D3D"Apple-interchange-newline"><blockquote = >type=3D3D"cite"><div>With =3D
type=3D"cite">the RC m3gdb it either segfaults gdb = >or:<br><br>(m3gdb) threads<br>Can't = >=3D
find Modula-3 identifier: = >ThreadPosix<br>(m3gdb) threads all<br>Can't = >=3D
find Modula-3 identifier: = >ThreadPosix<br>(m3gdb) threads all bt = >=3D
<br>Can't find = >Modula-3 identifier: ThreadPosix<br>(m3gdb) = ><br><br>Tony =3D
type=3D"cite">Hosking writes:<br><blockquote = >type=3D3D"cite"><br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">--Apple-Mail-33--461716527<br></= >blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Type: = >text/plain;<br></blockquote><blockquote = >=3D
type=3D3D"cite"><span = >class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">class=3D"Apple-tab-span" style=3D"white-space:pre"> = >=3D
type=3D"cite"></span>charset=3D3DUS-ASCII;<br></blockquote&= >gt;<blockquote type=3D3D"cite"><span=3D
te type=3D"cite">class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>format=3D3Dflowed;<br></blockquote>= ><blockquote type=3D3D"cite"><span =3D
type=3D"cite">class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>delsp=3D3Dyes<br></blockquote><b= >lockquote =3D
type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >=3D
type=3D"cite">7bit<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite">threads all =3D
type=3D"cite">bt<br></blockquote><blockquote = >type=3D3D"cite"><br></blockquote><blockquote = >=3D
type=3D3D"cite">should = >give a backtrace of all =3D
type=3D"cite">threads.<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote></div>= ></blockquote></div><br></div></body><=3D<= >br>
type=3D"cite">/html>=3D
type=3D"cite">
type=3D"cite">--Apple-Mail-36--459856549--
ote>

= > >--Apple-Mail-62--295019692-- From wagner at elegosoft.com Mon Nov 2 20:15:26 2009 From: wagner at elegosoft.com (Olaf Wagner) Date: Mon, 02 Nov 2009 20:15:26 +0100 Subject: [M3devel] Start building RC4? Re: m3 RC In-Reply-To: References: <20091031044719.94A4D1A209A@async.async.caltech.edu> <641F0ADA-C3DC-4DA4-8111-D4B4D5A4B49C@cs.purdue.edu> Message-ID: <20091102201526.obf536ea4osk484w@mail.elegosoft.com> Quoting Jay K : > > I'm still waiting for corrections wrt. Windows=3B but perhaps I'm > > not up-to-date? A complete release build on all platforms will take > > You were right to wait. > There was a long standing tendency to arbitrarily hang=2C > demonstrated by Juno but not Juno or GUI specific. > It should be ok now. I tried a simple build on the release branch at home (FreeBSD 6.3). It fails with mv bin ./usr/local/cm3/bin mv pkg ./usr/local/cm3/pkg mv lib ./usr/local/cm3/lib mv www ./usr/local/cm3/www mv man ./usr/local/cm3/man Traceback (most recent call last): File "/home/wagner/work/cm3/scripts/python/make-deb.py", line 13, in MakeDebianPackage(sys.argv[1], "/usr/local/cm3") File "/d/home/wagner/work/cm3/scripts/python/pylib.py", line 2950, in MakeDebianPackage + "Description: good stuff" + newline) TypeError: cannot concatenate 'str' and 'NoneType' objects ++ mv /var/tmp/cm3.deb /var/tmp/cm3-FreeBSD4-pre-RC4.deb mv: rename /var/tmp/cm3.deb to /var/tmp/cm3-FreeBSD4-pre-RC4.deb: No such file or directory +++ hostname ++ echo hostname=luthien.iceflower.in-berlin.de hostname=luthien.iceflower.in-berlin.de ++ echo SHIPRC= SHIPRC= +++ hostname ++ '[' luthien.iceflower.in-berlin.de = birch ']' ++ '[' '' = y -o '' = yes ']' real 34m55.725s user 15m40.699s sys 5m52.248s Why does it try to build Debian packages at all? Olaf -- 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 From jay.krell at cornell.edu Mon Nov 2 22:43:16 2009 From: jay.krell at cornell.edu (Jay K) Date: Mon, 2 Nov 2009 21:43:16 +0000 Subject: [M3devel] join twice? In-Reply-To: References: Message-ID: > (Whether the implementation actually prohibits it or not is an implementation decision.) Tony, I'm sympathetic to the smaller version but I think it is wrong. "It is a checked runtime error to call this more than once for any t" is a much different/stronger statement than e.g. "it is implementation defined what happens if you call join more than once for any t". The printed Reactor 4.1 docs have the same comment as current Thread.i3. You know, ideally if I write: Thread.Join(t); Thread.Join(t); and it works today on any system, it will continue to work on all systems. I think "implementation defined" is something Modula-3 tries to have less of. On the other hand, I think if we foresee it to work trivially on all forseeable implementations, we can change the interface by removing the comment. Win32 WaitForSingleObject(thread, INFINITE) is allowed multiple times, though that isn't the current implementation. - Jay From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Date: Mon, 2 Nov 2009 12:59:36 -0500 CC: m3devel at elegosoft.com Subject: Re: [M3devel] join twice? I don't know that there ever was a mandate that join can only be called once on a given thread. But, given that pthread_join is undefined when called more than once on the same thread we probably want to retain the comment. (Whether the implementation actually prohibits it or not is an implementation decision.) The point is that we should be free to give the error in some later implementation, so as to not to restrict what semantics the implementation must support. Antony Hosking | Associate Professor | Computer Science | Purdue University 305 N. University Street | West Lafayette | IN 47907 | USA Office +1 765 494 6001 | Mobile +1 765 427 5484 On 2 Nov 2009, at 10:11, Jay K wrote: Thread.i3: PROCEDURE Join(t: T): REFANY; (* Wait until "t" has terminated and return its result. It is a checked runtime error to call this more than once for any "t". *) ThreadWin32.m3: PROCEDURE Join(t: T): REFANY = VAR res: REFANY; BEGIN LOCK t DO IF t.joined THEN Die(ThisLine(), "attempt to join with thread twice"); END; WHILE NOT t.completed DO Wait(t, t.join) END; res := t.result; t.result := NIL; t.joined := TRUE; t.join := NIL; END; RETURN res; END Join; PROCEDURE AlertJoin(t: T): REFANY RAISES {Alerted} = similar ThreadPThread.m3: PROCEDURE Join (t: T): REFANY = BEGIN LOCK t DO WHILE NOT t.completed DO Wait(t, t.join) END; END; RETURN t.result; END Join; PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted} = similar Should we just loosen the comment and go with the simpler pthread version? I'd like Win32 and pthread to be more similar where possible, to ease maintenance. - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Mon Nov 2 22:59:45 2009 From: jay.krell at cornell.edu (Jay K) Date: Mon, 2 Nov 2009 21:59:45 +0000 Subject: [M3devel] Start building RC4? Re: m3 RC In-Reply-To: <20091102201526.obf536ea4osk484w@mail.elegosoft.com> References: <20091031044719.94A4D1A209A@async.async.caltech.edu> <641F0ADA-C3DC-4DA4-8111-D4B4D5A4B49C@cs.purdue.edu> Message-ID: Debian packages are pretty simple/portable and /might/ make sense for any target. They are just a .tar.gz or tar.bz2 or .tar.lzma with a tiny bit of textual metadata, wrapped up in an ar file. You know, they are nearly the same as our portable packages. If people disagree, we can check for "LINUX" in the target. Please try again. Thanks, - Jay > Date: Mon, 2 Nov 2009 20:15:26 +0100 > From: wagner at elegosoft.com > To: jay.krell at cornell.edu > CC: m3devel at elegosoft.com > Subject: Re: [M3devel] Start building RC4? Re: m3 RC > > Quoting Jay K : > > > > I'm still waiting for corrections wrt. Windows=3B but perhaps I'm > > > not up-to-date? A complete release build on all platforms will take > > > > You were right to wait. > > There was a long standing tendency to arbitrarily hang=2C > > demonstrated by Juno but not Juno or GUI specific. > > It should be ok now. > > I tried a simple build on the release branch at home (FreeBSD 6.3). > It fails with > > mv bin ./usr/local/cm3/bin > mv pkg ./usr/local/cm3/pkg > mv lib ./usr/local/cm3/lib > mv www ./usr/local/cm3/www > mv man ./usr/local/cm3/man > Traceback (most recent call last): > File "/home/wagner/work/cm3/scripts/python/make-deb.py", line 13, > in > MakeDebianPackage(sys.argv[1], "/usr/local/cm3") > File "/d/home/wagner/work/cm3/scripts/python/pylib.py", line 2950, > in MakeDebianPackage > + "Description: good stuff" + newline) > TypeError: cannot concatenate 'str' and 'NoneType' objects > ++ mv /var/tmp/cm3.deb /var/tmp/cm3-FreeBSD4-pre-RC4.deb > mv: rename /var/tmp/cm3.deb to /var/tmp/cm3-FreeBSD4-pre-RC4.deb: No > such file or directory > +++ hostname > ++ echo hostname=luthien.iceflower.in-berlin.de > hostname=luthien.iceflower.in-berlin.de > ++ echo SHIPRC= > SHIPRC= > +++ hostname > ++ '[' luthien.iceflower.in-berlin.de = birch ']' > ++ '[' '' = y -o '' = yes ']' > > real 34m55.725s > user 15m40.699s > sys 5m52.248s > > Why does it try to build Debian packages at all? > > Olaf > -- > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wagner at elegosoft.com Mon Nov 2 23:24:21 2009 From: wagner at elegosoft.com (Olaf Wagner) Date: Mon, 02 Nov 2009 23:24:21 +0100 Subject: [M3devel] Start building RC4? Re: m3 RC In-Reply-To: References: <20091031044719.94A4D1A209A@async.async.caltech.edu> <641F0ADA-C3DC-4DA4-8111-D4B4D5A4B49C@cs.purdue.edu> Message-ID: <20091102232421.93bpia0288ccwok4@mail.elegosoft.com> Quoting Jay K : > Debian packages are pretty simple/portable and /might/ make sense for any t= > arget. > > They are just a .tar.gz or tar.bz2 or .tar.lzma with a tiny bit of textual = > metadata=2C wrapped up in an ar file. > > You know=2C they are nearly the same as our portable packages. > > If people disagree=2C we can check for "LINUX" in the target. > > Please try again. No problem. Will do (try again), Olaf -- 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 From hosking at cs.purdue.edu Tue Nov 3 05:54:00 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 2 Nov 2009 23:54:00 -0500 Subject: [M3devel] join twice? In-Reply-To: References: Message-ID: <5788D8FB-8E44-4F62-BF49-9804E173C8A9@cs.purdue.edu> OK, sure. Fair enough. On 2 Nov 2009, at 16:43, Jay K wrote: > > (Whether the implementation actually prohibits it or not is an > implementation decision.) > > Tony, I'm sympathetic to the smaller version but I think it is wrong. > "It is a checked runtime error to call this more than once for any t" > is a much different/stronger statement than e.g. > "it is implementation defined what happens if you call join more > than once for any t". > The printed Reactor 4.1 docs have the same comment as current > Thread.i3. > > You know, ideally if I write: > Thread.Join(t); > Thread.Join(t); > > and it works today on any system, it will continue to work on all > systems. > I think "implementation defined" is something Modula-3 tries to have > less of. > > On the other hand, I think if we foresee it to work trivially on all > forseeable implementations, we can change the interface by removing > the comment. > Win32 WaitForSingleObject(thread, INFINITE) is allowed multiple > times, though > that isn't the current implementation. > > - Jay > > From: hosking at cs.purdue.edu > To: jay.krell at cornell.edu > Date: Mon, 2 Nov 2009 12:59:36 -0500 > CC: m3devel at elegosoft.com > Subject: Re: [M3devel] join twice? > > I don't know that there ever was a mandate that join can only be > called once on a given thread. But, given that pthread_join is > undefined when called more than once on the same thread we probably > want to retain the comment. (Whether the implementation actually > prohibits it or not is an implementation decision.) The point is > that we should be free to give the error in some later > implementation, so as to not to restrict what semantics the > implementation must support. > > Antony Hosking | Associate Professor | Computer Science | Purdue > University > 305 N. University Street | West Lafayette | IN 47907 | USA > Office +1 765 494 6001 | Mobile +1 765 427 5484 > > > > > On 2 Nov 2009, at 10:11, Jay K wrote: > > Thread.i3: > > > PROCEDURE Join(t: T): REFANY; > (* Wait until "t" has terminated and return its result. It is a > checked runtime error to call this more than once for any "t". *) > > > ThreadWin32.m3: > > > PROCEDURE Join(t: T): REFANY = > VAR res: REFANY; > BEGIN > LOCK t DO > IF t.joined THEN Die(ThisLine(), "attempt to join with thread > twice"); END; > WHILE NOT t.completed DO Wait(t, t.join) END; > res := t.result; > t.result := NIL; > t.joined := TRUE; > t.join := NIL; > END; > RETURN res; > END Join; > > PROCEDURE AlertJoin(t: T): REFANY RAISES {Alerted} = similar > > > ThreadPThread.m3: > > > PROCEDURE Join (t: T): REFANY = > BEGIN > LOCK t DO > WHILE NOT t.completed DO Wait(t, t.join) END; > END; > RETURN t.result; > END Join; > > PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted} = similar > > > Should we just loosen the comment and go with the simpler pthread > version? > I'd like Win32 and pthread to be more similar where possible, to > ease maintenance. > > > - Jay > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wagner at elegosoft.com Tue Nov 3 12:59:58 2009 From: wagner at elegosoft.com (Olaf Wagner) Date: Tue, 03 Nov 2009 12:59:58 +0100 Subject: [M3devel] release engineering: RC4 Message-ID: <20091103125958.mlv3f593y8c8kwws@mail.elegosoft.com> I've tagged RC4 yesterday night and made a test production on birch for AMD64_LINUX which is available for download now (follow the RC3 links, web pages not changed yet). There have been 29 changes since the last RC: http://hudson.modula3.com:8080/view/makedist/job/cm3-makedist-AMD64_LINUX/13/ The automated installation tests have passed, too: http://hudson.modula3.com:8080/view/test-install/job/cm3-test-install-AMD64_LINUX/15/testReport/(root)/workspace%20installation%20archive%20tests/ If anybody would care to test manually for additional confirmation of the quality of the archives that would be appreciated, too. Just to make sure before I start building on all other platforms: Are all relevant changes included? Is any important fix still missing? What about these open tickets: https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+Release+5.8+RC4 https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+release+5.8 Can we close any of them? Thanks in advance for any input, Olaf -- 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 From jay.krell at cornell.edu Tue Nov 3 13:14:47 2009 From: jay.krell at cornell.edu (Jay K) Date: Tue, 3 Nov 2009 12:14:47 +0000 Subject: [M3devel] release engineering: RC4 In-Reply-To: <20091103125958.mlv3f593y8c8kwws@mail.elegosoft.com> References: <20091103125958.mlv3f593y8c8kwws@mail.elegosoft.com> Message-ID: > juno/win32 heap corruption > win32 threads/alert/race I think are ok. I might run some more loops, but: - enter/leave critical section mixup fixed - head-only regression fixed - suspend/resume mismatch fixed Might cover it. (Every time I figure out a bug I think that must be the last one. :) ) OpenBSD is understood but not fixed. Their pthreads library is usermode and stinky. AND they don't have make/set/get/swapcontext. OpenBSD probably won't make this release. I'm working on it in head but initial two attempts didn't work. Reset my password? Thanks, - Jay > Date: Tue, 3 Nov 2009 12:59:58 +0100 > From: wagner at elegosoft.com > To: m3devel at elegosoft.com > Subject: [M3devel] release engineering: RC4 > > I've tagged RC4 yesterday night and made a test production on birch for > AMD64_LINUX which is available for download now (follow the RC3 links, > web pages not changed yet). > > There have been 29 changes since the last RC: > > > http://hudson.modula3.com:8080/view/makedist/job/cm3-makedist-AMD64_LINUX/13/ > > The automated installation tests have passed, too: > > > http://hudson.modula3.com:8080/view/test-install/job/cm3-test-install-AMD64_LINUX/15/testReport/(root)/workspace%20installation%20archive%20tests/ > > If anybody would care to test manually for additional confirmation of the > quality of the archives that would be appreciated, too. > > Just to make sure before I start building on all other platforms: > > Are all relevant changes included? Is any important fix still missing? > > What about these open tickets: > > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+Release+5.8+RC4 > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+release+5.8 > > Can we close any of them? > > Thanks in advance for any input, > > Olaf > -- > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wagner at elegosoft.com Tue Nov 3 13:39:15 2009 From: wagner at elegosoft.com (Olaf Wagner) Date: Tue, 03 Nov 2009 13:39:15 +0100 Subject: [M3devel] release engineering: RC4 In-Reply-To: References: <20091103125958.mlv3f593y8c8kwws@mail.elegosoft.com> Message-ID: <20091103133915.z0nfnawqo0k480gk@mail.elegosoft.com> Quoting Jay K : > > juno/win32 heap corruption > > win32 threads/alert/race > > I think are ok. Could you document the changes/fixes and close the tickets, please? > I might run some more loops, but: > > - enter/leave critical section mixup fixed > > - head-only regression fixed > > - suspend/resume mismatch fixed > > Might cover it. (Every time I figure out a bug I think that must be > the last one. :) ) That's the daily experience of any programmer :-) To add to Einstein, one could assume that there are actually three things in the universe that are unlimited: space (unconfirmed), human stupidity and software bugs. He couldn't know of those at that time of course ;-) > OpenBSD is understood but not fixed. Their pthreads library is > usermode and stinky. AND they don't have make/set/get/swapcontext. > > OpenBSD probably won't make this release. I'm working on it in head > but initial two attempts didn't work. No problem, I'll document that at the weekend. > Reset my password? I didn't reset anything. What are you talking about: trac or Hudson? Or do you want me to reset it? BTW, GUI administration should now work in trac. Olaf -- 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 From jay.krell at cornell.edu Tue Nov 3 14:23:01 2009 From: jay.krell at cornell.edu (Jay K) Date: Tue, 3 Nov 2009 13:23:01 +0000 Subject: [M3devel] munmap in user threads? Message-ID: Tony, void DisposeContext (Context **c) { if (munmap((*c)->ss.ss_sp, (*c)->ss.ss_size)) abort(); free(*c); *c = NULL; } Should that be (char*)ss_sp - pagesize, ss_size + 2 * pagesize? Or ok asis? Should there be checks for *c == NULL, or ss_sp == NULL? I think it is ok -- assuming the data isn't available to safe code that could double dispose it. - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcoleburn at scires.com Tue Nov 3 15:36:23 2009 From: rcoleburn at scires.com (Randy Coleburn) Date: Tue, 03 Nov 2009 09:36:23 -0500 Subject: [M3devel] join twice? In-Reply-To: <5788D8FB-8E44-4F62-BF49-9804E173C8A9@cs.purdue.edu> References: <5788D8FB-8E44-4F62-BF49-9804E173C8A9@cs.purdue.edu> Message-ID: <4AEFF851.1E75.00D7.1@scires.com> I think the comment in the code is correct. Semantically, it doesn't make sense to join a thread more than once. Join is the compliment to Fork. With fork, one thread becomes two. With Join, two threads become one. After they've become one, the 2nd thread is no more, so you can't join to it anymore. IMO, the implementation should enforce this behavior. What would be the "benefit" of allowing more than one join? What does it "mean" to join a "dead thread"? Regards, Randy Coleburn >>> Tony Hosking 11/2/2009 11:54 PM >>> OK, sure. Fair enough. On 2 Nov 2009, at 16:43, Jay K wrote: > (Whether the implementation actually prohibits it or not is an implementation decision.) Tony, I'm sympathetic to the smaller version but I think it is wrong. "It is a checked runtime error to call this more than once for any t" is a much different/stronger statement than e.g. "it is implementation defined what happens if you call join more than once for any t". The printed Reactor 4.1 docs have the same comment as current Thread.i3. You know, ideally if I write: Thread.Join(t); Thread.Join(t); and it works today on any system, it will continue to work on all systems. I think "implementation defined" is something Modula-3 tries to have less of. On the other hand, I think if we foresee it to work trivially on all forseeable implementations, we can change the interface by removing the comment. Win32 WaitForSingleObject(thread, INFINITE) is allowed multiple times, though that isn't the current implementation. - Jay From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Date: Mon, 2 Nov 2009 12:59:36 -0500 CC: m3devel at elegosoft.com Subject: Re: [M3devel] join twice? I don't know that there ever was a mandate that join can only be called once on a given thread. But, given that pthread_join is undefined when called more than once on the same thread we probably want to retain the comment. (Whether the implementation actually prohibits it or not is an implementation decision.) The point is that we should be free to give the error in some later implementation, so as to not to restrict what semantics the implementation must support. Antony Hosking | Associate Professor | Computer Science | Purdue University 305 N. University Street | West Lafayette | IN 47907 | USA Office +1 765 494 6001 | Mobile +1 765 427 5484 On 2 Nov 2009, at 10:11, Jay K wrote: Thread.i3: PROCEDURE Join(t: T): REFANY; (* Wait until "t" has terminated and return its result. It is a checked runtime error to call this more than once for any "t". *) ThreadWin32.m3: PROCEDURE Join(t: T): REFANY = VAR res: REFANY; BEGIN LOCK t DO IF t.joined THEN Die(ThisLine(), "attempt to join with thread twice"); END; WHILE NOT t.completed DO Wait(t, t.join) END; res := t.result; t.result := NIL; t.joined := TRUE; t.join := NIL; END; RETURN res; END Join; PROCEDURE AlertJoin(t: T): REFANY RAISES {Alerted} = similar ThreadPThread.m3: PROCEDURE Join (t: T): REFANY = BEGIN LOCK t DO WHILE NOT t.completed DO Wait(t, t.join) END; END; RETURN t.result; END Join; PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted} = similar Should we just loosen the comment and go with the simpler pthread version? I'd like Win32 and pthread to be more similar where possible, to ease maintenance. - Jay CONFIDENTIALITY NOTICE: This email and any attachments are intended solely for the use of the named recipient(s). This e-mail may contain confidential and/or proprietary information of Scientific Research Corporation. If you are not a named recipient, you are prohibited from making any use of the information in the email and attachments. If you believe you have received this email in error, please notify the sender immediately and permanently delete the email, any attachments, and all copies thereof from any drives or storage media and destroy any printouts of the email or attachments. EXPORT COMPLIANCE NOTICE: This email and any attachments may contain technical data subject to U.S export restrictions under the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). Export or transfer of this technical data and/or related information to any foreign person(s) or entity(ies), either within the U.S. or outside of the U.S., may require export authorization by the appropriate U.S. Government agency prior to export or transfer. In addition, technical data may not be exported or transferred to certain countries or specified designated nationals identified by U.S. embargo controls without prior export authorization. By accepting this email and any attachments, all recipients confirm that they understand and will comply with all applicable ITAR, EAR and embargo compliance requirements. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Tue Nov 3 15:54:43 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 3 Nov 2009 09:54:43 -0500 Subject: [M3devel] release engineering: RC4 In-Reply-To: References: <20091103125958.mlv3f593y8c8kwws@mail.elegosoft.com> Message-ID: <0703DC04-9A09-477B-82C8-4E89D5FAC9A6@cs.purdue.edu> On 3 Nov 2009, at 07:14, Jay K wrote: > > juno/win32 heap corruption > > win32 threads/alert/race > > I think are ok. > I might run some more loops, but: > - enter/leave critical section mixup fixed > - head-only regression fixed > - suspend/resume mismatch fixed > Might cover it. (Every time I figure out a bug I think that must be > the last one. :) ) > OpenBSD is understood but not fixed. Their pthreads library is > usermode and stinky. AND they don't have make/set/get/swapcontext. > OpenBSD probably won't make this release. I'm working on it in head > but initial two attempts didn't work. We can emulate make/set/get/swapcontext as per http://www.usenix.org/event/usenix2000/general/full_papers/engelschall/engelschall.pdf , using setjmp/longjmp/sigaction. > Reset my password? > > Thanks, > - Jay > > > > Date: Tue, 3 Nov 2009 12:59:58 +0100 > > From: wagner at elegosoft.com > > To: m3devel at elegosoft.com > > Subject: [M3devel] release engineering: RC4 > > > > I've tagged RC4 yesterday night and made a test production on > birch for > > AMD64_LINUX which is available for download now (follow the RC3 > links, > > web pages not changed yet). > > > > There have been 29 changes since the last RC: > > > > > > http://hudson.modula3.com:8080/view/makedist/job/cm3-makedist-AMD64_LINUX/13/ > > > > The automated installation tests have passed, too: > > > > > > http://hudson.modula3.com:8080/view/test-install/job/cm3-test-install-AMD64_LINUX/15/testReport/(root)/workspace%20installation%20archive%20tests/ > > > > If anybody would care to test manually for additional confirmation > of the > > quality of the archives that would be appreciated, too. > > > > Just to make sure before I start building on all other platforms: > > > > Are all relevant changes included? Is any important fix still > missing? > > > > What about these open tickets: > > > > > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+Release+5.8+RC4 > > > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+release+5.8 > > > > Can we close any of them? > > > > Thanks in advance for any input, > > > > Olaf > > -- > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Tue Nov 3 16:02:06 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 3 Nov 2009 10:02:06 -0500 Subject: [M3devel] munmap in user threads? In-Reply-To: References: Message-ID: No, notice how ss holds the original allocated space. Whereas uc gets the adjusted values for passing to makecontext. Antony Hosking | Associate Professor | Computer Science | Purdue University 305 N. University Street | West Lafayette | IN 47907 | USA Office +1 765 494 6001 | Mobile +1 765 427 5484 On 3 Nov 2009, at 08:23, Jay K wrote: > Tony, > > > void DisposeContext (Context **c) > { > if (munmap((*c)->ss.ss_sp, (*c)->ss.ss_size)) abort(); > free(*c); > *c = NULL; > } > > Should that be (char*)ss_sp - pagesize, ss_size + 2 * pagesize? > Or ok asis? > Should there be checks for *c == NULL, or ss_sp == NULL? > I think it is ok -- assuming the data isn't available to safe code > that could double dispose it. > > - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Tue Nov 3 16:04:48 2009 From: jay.krell at cornell.edu (Jay K) Date: Tue, 3 Nov 2009 15:04:48 +0000 Subject: [M3devel] munmap in user threads? In-Reply-To: References: Message-ID: yep, sorry, and adjusting it as I suggested makes it fail - Jay From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Date: Tue, 3 Nov 2009 10:02:06 -0500 CC: m3devel at elegosoft.com Subject: Re: [M3devel] munmap in user threads? No, notice how ss holds the original allocated space. Whereas uc gets the adjusted values for passing to makecontext. Antony Hosking | Associate Professor | Computer Science | Purdue University 305 N. University Street | West Lafayette | IN 47907 | USA Office +1 765 494 6001 | Mobile +1 765 427 5484 On 3 Nov 2009, at 08:23, Jay K wrote: Tony, void DisposeContext (Context **c) { if (munmap((*c)->ss.ss_sp, (*c)->ss.ss_size)) abort(); free(*c); *c = NULL; } Should that be (char*)ss_sp - pagesize, ss_size + 2 * pagesize? Or ok asis? Should there be checks for *c == NULL, or ss_sp == NULL? I think it is ok -- assuming the data isn't available to safe code that could double dispose it. - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Tue Nov 3 16:04:13 2009 From: jay.krell at cornell.edu (Jay K) Date: Tue, 3 Nov 2009 15:04:13 +0000 Subject: [M3devel] join twice? In-Reply-To: <4AEFF851.1E75.00D7.1@scires.com> References: Message-ID: To me..with a Win32 background..join means "wait for thread to finish". And there is a separate action "get thread result". You could consider these one merged operation "wait for thread to finish and get its result". In either case, it is reasonable to allow it multiple times. Waiting for a thread to finish that has already finished is just fast. Getting a thread result that you already got is also easy albeit usually unnecessary. Now, if the operation is "wait for thread to finish, get its result, and lose track of its result", that isn't idempotent. I'm torn. The existing implementations all either support multiple join or have to go out of their way to prevent it. Yet Thread.i3 has been commented so presumably forever. - Jay Date: Tue, 3 Nov 2009 09:36:23 -0500 From: rcoleburn at scires.com To: m3devel at elegosoft.com Subject: Re: [M3devel] join twice? I think the comment in the code is correct. Semantically, it doesn't make sense to join a thread more than once. Join is the compliment to Fork. With fork, one thread becomes two. With Join, two threads become one. After they've become one, the 2nd thread is no more, so you can't join to it anymore. IMO, the implementation should enforce this behavior. What would be the "benefit" of allowing more than one join? What does it "mean" to join a "dead thread"? Regards, Randy Coleburn >>> Tony Hosking 11/2/2009 11:54 PM >>> OK, sure. Fair enough. On 2 Nov 2009, at 16:43, Jay K wrote: > (Whether the implementation actually prohibits it or not is an implementation decision.) Tony, I'm sympathetic to the smaller version but I think it is wrong. "It is a checked runtime error to call this more than once for any t" is a much different/stronger statement than e.g. "it is implementation defined what happens if you call join more than once for any t". The printed Reactor 4.1 docs have the same comment as current Thread.i3. You know, ideally if I write: Thread.Join(t); Thread.Join(t); and it works today on any system, it will continue to work on all systems. I think "implementation defined" is something Modula-3 tries to have less of. On the other hand, I think if we foresee it to work trivially on all forseeable implementations, we can change the interface by removing the comment. Win32 WaitForSingleObject(thread, INFINITE) is allowed multiple times, though that isn't the current implementation. - Jay From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Date: Mon, 2 Nov 2009 12:59:36 -0500 CC: m3devel at elegosoft.com Subject: Re: [M3devel] join twice? I don't know that there ever was a mandate that join can only be called once on a given thread. But, given that pthread_join is undefined when called more than once on the same thread we probably want to retain the comment. (Whether the implementation actually prohibits it or not is an implementation decision.) The point is that we should be free to give the error in some later implementation, so as to not to restrict what semantics the implementation must support. Antony Hosking | Associate Professor | Computer Science | Purdue University 305 N. University Street | West Lafayette | IN 47907 | USA Office +1 765 494 6001 | Mobile +1 765 427 5484 On 2 Nov 2009, at 10:11, Jay K wrote: Thread.i3: PROCEDURE Join(t: T): REFANY; (* Wait until "t" has terminated and return its result. It is a checked runtime error to call this more than once for any "t". *) ThreadWin32.m3: PROCEDURE Join(t: T): REFANY = VAR res: REFANY; BEGIN LOCK t DO IF t.joined THEN Die(ThisLine(), "attempt to join with thread twice"); END; WHILE NOT t.completed DO Wait(t, t.join) END; res := t.result; t.result := NIL; t.joined := TRUE; t.join := NIL; END; RETURN res; END Join; PROCEDURE AlertJoin(t: T): REFANY RAISES {Alerted} = similar ThreadPThread.m3: PROCEDURE Join (t: T): REFANY = BEGIN LOCK t DO WHILE NOT t.completed DO Wait(t, t.join) END; END; RETURN t.result; END Join; PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted} = similar Should we just loosen the comment and go with the simpler pthread version? I'd like Win32 and pthread to be more similar where possible, to ease maintenance. - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Tue Nov 3 16:14:51 2009 From: jay.krell at cornell.edu (Jay K) Date: Tue, 3 Nov 2009 15:14:51 +0000 Subject: [M3devel] release engineering: RC4 In-Reply-To: <0703DC04-9A09-477B-82C8-4E89D5FAC9A6@cs.purdue.edu> References: <20091103125958.mlv3f593y8c8kwws@mail.elegosoft.com> Message-ID: I thought/think I have that working..but not quite. It is crashing. I'm using the setjmp + poke around to set the stack/pc method. Later.. - Jay CC: wagner at elegosoft.com; m3devel at elegosoft.com From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Subject: Re: [M3devel] release engineering: RC4 Date: Tue, 3 Nov 2009 09:54:43 -0500 On 3 Nov 2009, at 07:14, Jay K wrote: > juno/win32 heap corruption > win32 threads/alert/race I think are ok. I might run some more loops, but: - enter/leave critical section mixup fixed - head-only regression fixed - suspend/resume mismatch fixed Might cover it. (Every time I figure out a bug I think that must be the last one. :) ) OpenBSD is understood but not fixed. Their pthreads library is usermode and stinky. AND they don't have make/set/get/swapcontext. OpenBSD probably won't make this release. I'm working on it in head but initial two attempts didn't work. We can emulate make/set/get/swapcontext as per http://www.usenix.org/event/usenix2000/general/full_papers/engelschall/engelschall.pdf, using setjmp/longjmp/sigaction. Reset my password? Thanks, - Jay > Date: Tue, 3 Nov 2009 12:59:58 +0100 > From: wagner at elegosoft.com > To: m3devel at elegosoft.com > Subject: [M3devel] release engineering: RC4 > > I've tagged RC4 yesterday night and made a test production on birch for > AMD64_LINUX which is available for download now (follow the RC3 links, > web pages not changed yet). > > There have been 29 changes since the last RC: > > > http://hudson.modula3.com:8080/view/makedist/job/cm3-makedist-AMD64_LINUX/13/ > > The automated installation tests have passed, too: > > > http://hudson.modula3.com:8080/view/test-install/job/cm3-test-install-AMD64_LINUX/15/testReport/(root)/workspace%20installation%20archive%20tests/ > > If anybody would care to test manually for additional confirmation of the > quality of the archives that would be appreciated, too. > > Just to make sure before I start building on all other platforms: > > Are all relevant changes included? Is any important fix still missing? > > What about these open tickets: > > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+Release+5.8+RC4 > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+release+5.8 > > Can we close any of them? > > Thanks in advance for any input, > > Olaf > -- > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Tue Nov 3 16:16:37 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 3 Nov 2009 10:16:37 -0500 Subject: [M3devel] join twice? In-Reply-To: References: Message-ID: The original threads spec for Modula-3 does not mention join can only run once. The only mention is in Thread.i3. I agree that it seems silly to join twice. On the other hand, Java semantics does not prohibit multiple joins. Antony Hosking | Associate Professor | Computer Science | Purdue University 305 N. University Street | West Lafayette | IN 47907 | USA Office +1 765 494 6001 | Mobile +1 765 427 5484 On 3 Nov 2009, at 10:04, Jay K wrote: > > To me..with a Win32 background..join means "wait for thread to > finish". > > And there is a separate action "get thread result". > > You could consider these one merged operation "wait for thread to > finish and get its result". > > In either case, it is reasonable to allow it multiple times. > > Waiting for a thread to finish that has already finished is just fast. > > Getting a thread result that you already got is also easy albeit > usually unnecessary. > > > > Now, if the operation is "wait for thread to finish, get its result, > and lose track of its result", > > that isn't idempotent. > > > > I'm torn. The existing implementations all either support multiple > join or have to go out of > > their way to prevent it. Yet Thread.i3 has been commented so > presumably forever. > > > > - Jay > > > > > Date: Tue, 3 Nov 2009 09:36:23 -0500 > From: rcoleburn at scires.com > To: m3devel at elegosoft.com > Subject: Re: [M3devel] join twice? > > > I think the comment in the code is correct. > > Semantically, it doesn't make sense to join a thread more than > once. Join is the compliment to Fork. With fork, one thread > becomes two. With Join, two threads become one. After they've > become one, the 2nd thread is no more, so you can't join to it > anymore. > > IMO, the implementation should enforce this behavior. What would be > the "benefit" of allowing more than one join? What does it "mean" > to join a "dead thread"? > > Regards, > Randy Coleburn > >>>> Tony Hosking 11/2/2009 11:54 PM >>> > > > > > OK, sure. Fair enough. > > > On 2 Nov 2009, at 16:43, Jay K wrote: > >> (Whether the implementation actually prohibits it or not is an >> implementation decision.) > > Tony, I'm sympathetic to the smaller version but I think it is wrong. > "It is a checked runtime error to call this more than once for any t" > is a much different/stronger statement than e.g. > "it is implementation defined what happens if you call join more > than once for any t". > The printed Reactor 4.1 docs have the same comment as current > Thread.i3. > > You know, ideally if I write: > Thread.Join(t); > Thread.Join(t); > > and it works today on any system, it will continue to work on all > systems -------------- next part -------------- An HTML attachment was scrubbed... URL: From mika at async.async.caltech.edu Tue Nov 3 16:17:11 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Tue, 03 Nov 2009 07:17:11 -0800 Subject: [M3devel] join twice? In-Reply-To: References: Message-ID: <20091103151711.6D7D51A209F@async.async.caltech.edu> Jay K writes: > > <5788D8FB-8E44-4F62-BF49-9804E173C8A9 at cs.purdue.edu> > > > <4AEFF851.1E75.00D7.1 at scires.com> >MIME-Version: 1.0 > >--_e29f769b-4ae0-4e1d-9ac5-2f25246d5025_ >Content-Type: text/plain; charset="iso-8859-1" >Content-Transfer-Encoding: quoted-printable > > >To me..with a Win32 background..join means "wait for thread to finish". > >And there is a separate action "get thread result". > >You could consider these one merged operation "wait for thread to finish an= >d get its result". > >In either case=2C it is reasonable to allow it multiple times. > >Waiting for a thread to finish that has already finished is just fast. > >Getting a thread result that you already got is also easy albeit usually un= >necessary. And calling Thread.Fork several times on a single Thread.Closure is also idempotent? It may be "reasonable" to allow such things, but they almost always signal bugs in the calling code. Changing the specification to make them legal is in my opinion losing a valuable opportunity for preventing bugs. Note the Modula-3 philosophy, not everything reasonable (for a C programmer's definition of "reasonable", at least) is legal. Mika From rcoleburn at scires.com Tue Nov 3 16:49:13 2009 From: rcoleburn at scires.com (Randy Coleburn) Date: Tue, 03 Nov 2009 10:49:13 -0500 Subject: [M3devel] join twice? In-Reply-To: References: <4AEFF851.1E75.00D7.1@scires.com> Message-ID: <4AF00AAC.1E75.00D7.1@scires.com> Understand the part about being "torn". I for one, have always programmed with the understanding that the comment was enforced. IMO: If one needs to pass the result of a thread outside the thread's context, one should use an explicit mechanism or data structure (e.g., conditions, object data fields, etc.). If multiple threads need to wait for a thread to finish, that is the whole concept of a rendevous (see the "Little Book of Semaphores" you referenced earlier). If programmers must depend on multiple joins, when is it ever safe for the underlying infrastructure to "forget about" the dead thread and its return value(s), if any? At what point has it been "too long" for you to query about a dead thread's status/return values (millisecs, minutes, hours, days, weeks -- for long-running programs this can be problematic). I would argue that it is better for the programmer to be explicit in such matters. It is easy enough to implement given the capabilities of the language, and indeed, I've done so many times. Regards, Randy Coleburn >>> Jay K 11/3/2009 10:04 AM >>> To me..with a Win32 background..join means "wait for thread to finish". And there is a separate action "get thread result". You could consider these one merged operation "wait for thread to finish and get its result". In either case, it is reasonable to allow it multiple times. Waiting for a thread to finish that has already finished is just fast. Getting a thread result that you already got is also easy albeit usually unnecessary. Now, if the operation is "wait for thread to finish, get its result, and lose track of its result", that isn't idempotent. I'm torn. The existing implementations all either support multiple join or have to go out of their way to prevent it. Yet Thread.i3 has been commented so presumably forever. - Jay Date: Tue, 3 Nov 2009 09:36:23 -0500 From: rcoleburn at scires.com To: m3devel at elegosoft.com Subject: Re: [M3devel] join twice? I think the comment in the code is correct. Semantically, it doesn't make sense to join a thread more than once. Join is the compliment to Fork. With fork, one thread becomes two. With Join, two threads become one. After they've become one, the 2nd thread is no more, so you can't join to it anymore. IMO, the implementation should enforce this behavior. What would be the "benefit" of allowing more than one join? What does it "mean" to join a "dead thread"? Regards, Randy Coleburn >>> Tony Hosking 11/2/2009 11:54 PM >>> OK, sure. Fair enough. On 2 Nov 2009, at 16:43, Jay K wrote: > (Whether the implementation actually prohibits it or not is an implementation decision.) Tony, I'm sympathetic to the smaller version but I think it is wrong. "It is a checked runtime error to call this more than once for any t" is a much different/stronger statement than e.g. "it is implementation defined what happens if you call join more than once for any t". The printed Reactor 4.1 docs have the same comment as current Thread.i3. You know, ideally if I write: Thread.Join(t); Thread.Join(t); and it works today on any system, it will continue to work on all systems. I think "implementation defined" is something Modula-3 tries to have less of. On the other hand, I think if we foresee it to work trivially on all forseeable implementations, we can change the interface by removing the comment. Win32 WaitForSingleObject(thread, INFINITE) is allowed multiple times, though that isn't the current implementation. - Jay From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Date: Mon, 2 Nov 2009 12:59:36 -0500 CC: m3devel at elegosoft.com Subject: Re: [M3devel] join twice? I don't know that there ever was a mandate that join can only be called once on a given thread. But, given that pthread_join is undefined when called more than once on the same thread we probably want to retain the comment. (Whether the implementation actually prohibits it or not is an implementation decision.) The point is that we should be free to give the error in some later implementation, so as to not to restrict what semantics the implementation must support. Antony Hosking | Associate Professor | Computer Science | Purdue University 305 N. University Street | West Lafayette | IN 47907 | USA Office +1 765 494 6001 | Mobile +1 765 427 5484 On 2 Nov 2009, at 10:11, Jay K wrote: Thread.i3: PROCEDURE Join(t: T): REFANY; (* Wait until "t" has terminated and return its result. It is a checked runtime error to call this more than once for any "t". *) ThreadWin32.m3: PROCEDURE Join(t: T): REFANY = VAR res: REFANY; BEGIN LOCK t DO IF t.joined THEN Die(ThisLine(), "attempt to join with thread twice"); END; WHILE NOT t.completed DO Wait(t, t.join) END; res := t.result; t.result := NIL; t.joined := TRUE; t.join := NIL; END; RETURN res; END Join; PROCEDURE AlertJoin(t: T): REFANY RAISES {Alerted} = similar ThreadPThread.m3: PROCEDURE Join (t: T): REFANY = BEGIN LOCK t DO WHILE NOT t.completed DO Wait(t, t.join) END; END; RETURN t.result; END Join; PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted} = similar Should we just loosen the comment and go with the simpler pthread version? I'd like Win32 and pthread to be more similar where possible, to ease maintenance. - Jay CONFIDENTIALITY NOTICE: This email and any attachments are intended solely for the use of the named recipient(s). This e-mail may contain confidential and/or proprietary information of Scientific Research Corporation. If you are not a named recipient, you are prohibited from making any use of the information in the email and attachments. If you believe you have received this email in error, please notify the sender immediately and permanently delete the email, any attachments, and all copies thereof from any drives or storage media and destroy any printouts of the email or attachments. EXPORT COMPLIANCE NOTICE: This email and any attachments may contain technical data subject to U.S export restrictions under the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). Export or transfer of this technical data and/or related information to any foreign person(s) or entity(ies), either within the U.S. or outside of the U.S., may require export authorization by the appropriate U.S. Government agency prior to export or transfer. In addition, technical data may not be exported or transferred to certain countries or specified designated nationals identified by U.S. embargo controls without prior export authorization. By accepting this email and any attachments, all recipients confirm that they understand and will comply with all applicable ITAR, EAR and embargo compliance requirements. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Tue Nov 3 17:09:03 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 3 Nov 2009 11:09:03 -0500 Subject: [M3devel] join twice? In-Reply-To: <4AF00AAC.1E75.00D7.1@scires.com> References: <4AEFF851.1E75.00D7.1@scires.com> <4AF00AAC.1E75.00D7.1@scires.com> Message-ID: <49E815E6-3B03-49CB-AB57-BC45806A81CC@cs.purdue.edu> On 3 Nov 2009, at 10:49, Randy Coleburn wrote: > Understand the part about being "torn". > > I for one, have always programmed with the understanding that the > comment was enforced. > > IMO: If one needs to pass the result of a thread outside the > thread's context, one should use an explicit mechanism or data > structure (e.g., conditions, object data fields, etc.). > > If multiple threads need to wait for a thread to finish, that is the > whole concept of a rendevous (see the "Little Book of Semaphores" > you referenced earlier). Agreed. > If programmers must depend on multiple joins, when is it ever safe > for the underlying infrastructure to "forget about" the dead thread > and its return value(s), if any? At what point has it been "too > long" for you to query about a dead thread's status/return values > (millisecs, minutes, hours, days, weeks -- for long-running programs > this can be problematic). We can forget about the dead thread only when it is GC'd. No-one can call Join without a reference to it. > I would argue that it is better for the programmer to be explicit > in such matters. It is easy enough to implement given the > capabilities of the language, and indeed, I've done so many times. Agreed. The odd thing is just that the old "reference" user-level threads implementation never did the check, and permitted multiple joins. And the threads spec in SPwM3 is silent on the issue. > Regards, > Randy Coleburn > > >>> Jay K 11/3/2009 10:04 AM >>> > To me..with a Win32 background..join means "wait for thread to > finish". > And there is a separate action "get thread result". > You could consider these one merged operation "wait for thread to > finish and get its result". > In either case, it is reasonable to allow it multiple times. > Waiting for a thread to finish that has already finished is just fast. > Getting a thread result that you already got is also easy albeit > usually unnecessary. > > Now, if the operation is "wait for thread to finish, get its result, > and lose track of its result", > that isn't idempotent. > > I'm torn. The existing implementations all either support multiple > join or have to go out of > their way to prevent it. Yet Thread.i3 has been commented so > presumably forever. > > - Jay > > > Date: Tue, 3 Nov 2009 09:36:23 -0500 > From: rcoleburn at scires.com > To: m3devel at elegosoft.com > Subject: Re: [M3devel] join twice? > > I think the comment in the code is correct. > > Semantically, it doesn't make sense to join a thread more than > once. Join is the compliment to Fork. With fork, one thread > becomes two. With Join, two threads become one. After they've > become one, the 2nd thread is no more, so you can't join to it > anymore. > > IMO, the implementation should enforce this behavior. What would be > the "benefit" of allowing more than one join? What does it "mean" > to join a "dead thread"? > > Regards, > Randy Coleburn > > >>> Tony Hosking 11/2/2009 11:54 PM >>> > OK, sure. Fair enough. > > On 2 Nov 2009, at 16:43, Jay K wrote: > > > (Whether the implementation actually prohibits it or not is an > implementation decision.) > > Tony, I'm sympathetic to the smaller version but I think it is wrong. > "It is a checked runtime error to call this more than once for any t" > is a much different/stronger statement than e.g. > "it is implementation defined what happens if you call join more > than once for any t". > The printed Reactor 4.1 docs have the same comment as current > Thread.i3. > > You know, ideally if I write: > Thread.Join(t); > Thread.Join(t); > > and it works today on any system, it will continue to work on all > systems. > I think "implementation defined" is something Modula-3 tries to have > less of. > > On the other hand, I think if we foresee it to work trivially on all > forseeable implementations, we can change the interface by removing > the comment. > Win32 WaitForSingleObject(thread, INFINITE) is allowed multiple > times, though > that isn't the current implementation. > > - Jay > > From: hosking at cs.purdue.edu > To: jay.krell at cornell.edu > Date: Mon, 2 Nov 2009 12:59:36 -0500 > CC: m3devel at elegosoft.com > Subject: Re: [M3devel] join twice? > > I don't know that there ever was a mandate that join can only be > called once on a given thread. But, given that pthread_join is > undefined when called more than once on the same thread we probably > want to retain the comment. (Whether the implementation actually > prohibits it or not is an implementation decision.) The point is > that we should be free to give the error in some later > implementation, so as to not to restrict what semantics the > implementation must support. > > Antony Hosking | Associate Professor | Computer Science | Purdue > University > 305 N. University Street | West Lafayette | IN 47907 | USA > Office +1 765 494 6001 | Mobile +1 765 427 5484 > > > > > On 2 Nov 2009, at 10:11, Jay K wrote: > > Thread.i3: > > > PROCEDURE Join(t: T): REFANY; > (* Wait until "t" has terminated and return its result. It is a > checked runtime error to call this more than once for any "t". *) > > > ThreadWin32.m3: > > > PROCEDURE Join(t: T): REFANY = > VAR res: REFANY; > BEGIN > LOCK t DO > IF t.joined THEN Die(ThisLine(), "attempt to join with thread > twice"); END; > WHILE NOT t.completed DO Wait(t, t.join) END; > res := t.result; > t.result := NIL; > t.joined := TRUE; > t.join := NIL; > END; > RETURN res; > END Join; > > PROCEDURE AlertJoin(t: T): REFANY RAISES {Alerted} = similar > > > ThreadPThread.m3: > > > PROCEDURE Join (t: T): REFANY = > BEGIN > LOCK t DO > WHILE NOT t.completed DO Wait(t, t.join) END; > END; > RETURN t.result; > END Join; > > PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted} = similar > > > Should we just loosen the comment and go with the simpler pthread > version? > I'd like Win32 and pthread to be more similar where possible, to > ease maintenance. > > > - Jay > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Tue Nov 3 17:12:27 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 3 Nov 2009 11:12:27 -0500 Subject: [M3devel] release engineering: RC4 In-Reply-To: References: <20091103125958.mlv3f593y8c8kwws@mail.elegosoft.com> Message-ID: <6608C079-C31C-4A73-8815-CC964030435A@cs.purdue.edu> On 3 Nov 2009, at 10:14, Jay K wrote: > I thought/think I have that working..but not quite. It is crashing. > I'm using the setjmp + poke around to set the stack/pc method. Take a look at the sigaction technique mentioned in the paper. I think it may be more reliable. What happened with trying to use the thread stopping np primitives? > Later.. > - Jay > > > CC: wagner at elegosoft.com; m3devel at elegosoft.com > From: hosking at cs.purdue.edu > To: jay.krell at cornell.edu > Subject: Re: [M3devel] release engineering: RC4 > Date: Tue, 3 Nov 2009 09:54:43 -0500 > > On 3 Nov 2009, at 07:14, Jay K wrote: > > > juno/win32 heap corruption > > win32 threads/alert/race > > I think are ok. > I might run some more loops, but: > - enter/leave critical section mixup fixed > - head-only regression fixed > - suspend/resume mismatch fixed > Might cover it. (Every time I figure out a bug I think that must be > the last one. :) ) > OpenBSD is understood but not fixed. Their pthreads library is > usermode and stinky. AND they don't have make/set/get/swapcontext. > OpenBSD probably won't make this release. I'm working on it in head > but initial two attempts didn't work. > > We can emulate make/set/get/swapcontext as per http://www.usenix.org/event/usenix2000/general/full_papers/engelschall/engelschall.pdf > , using setjmp/longjmp/sigaction. > > Reset my password? > > Thanks, > - Jay > > > > Date: Tue, 3 Nov 2009 12:59:58 +0100 > > From: wagner at elegosoft.com > > To: m3devel at elegosoft.com > > Subject: [M3devel] release engineering: RC4 > > > > I've tagged RC4 yesterday night and made a test production on > birch for > > AMD64_LINUX which is available for download now (follow the RC3 > links, > > web pages not changed yet). > > > > There have been 29 changes since the last RC: > > > > > > http://hudson.modula3.com:8080/view/makedist/job/cm3-makedist-AMD64_LINUX/13/ > > > > The automated installation tests have passed, too: > > > > > > http://hudson.modula3.com:8080/view/test-install/job/cm3-test-install-AMD64_LINUX/15/testReport/(root)/workspace%20installation%20archive%20tests/ > > > > If anybody would care to test manually for additional confirmation > of the > > quality of the archives that would be appreciated, too. > > > > Just to make sure before I start building on all other platforms: > > > > Are all relevant changes included? Is any important fix still > missing? > > > > What about these open tickets: > > > > > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+Release+5.8+RC4 > > > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+release+5.8 > > > > Can we close any of them? > > > > Thanks in advance for any input, > > > > Olaf > > -- > > 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 > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Tue Nov 3 17:57:00 2009 From: jay.krell at cornell.edu (Jay K) Date: Tue, 3 Nov 2009 16:57:00 +0000 Subject: [M3devel] release engineering: RC4 In-Reply-To: <6608C079-C31C-4A73-8815-CC964030435A@cs.purdue.edu> References: <20091103125958.mlv3f593y8c8kwws@mail.elegosoft.com> Message-ID: > at happened with trying to use the thread stopping np primitives? First attempt failed. I didn't debug it. Juno works now on OpenBSD/x86 with user threads in head. - Jay From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Date: Tue, 3 Nov 2009 11:12:27 -0500 CC: m3devel at elegosoft.com Subject: Re: [M3devel] release engineering: RC4 On 3 Nov 2009, at 10:14, Jay K wrote: I thought/think I have that working..but not quite. It is crashing. I'm using the setjmp + poke around to set the stack/pc method. Take a look at the sigaction technique mentioned in the paper. I think it may be more reliable. What happened with trying to use the thread stopping np primitives? Later.. - Jay CC: wagner at elegosoft.com; m3devel at elegosoft.com From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Subject: Re: [M3devel] release engineering: RC4 Date: Tue, 3 Nov 2009 09:54:43 -0500 On 3 Nov 2009, at 07:14, Jay K wrote: > juno/win32 heap corruption > win32 threads/alert/race I think are ok. I might run some more loops, but: - enter/leave critical section mixup fixed - head-only regression fixed - suspend/resume mismatch fixed Might cover it. (Every time I figure out a bug I think that must be the last one. :) ) OpenBSD is understood but not fixed. Their pthreads library is usermode and stinky. AND they don't have make/set/get/swapcontext. OpenBSD probably won't make this release. I'm working on it in head but initial two attempts didn't work. We can emulate make/set/get/swapcontext as per http://www.usenix.org/event/usenix2000/general/full_papers/engelschall/engelschall.pdf, using setjmp/longjmp/sigaction. Reset my password? Thanks, - Jay > Date: Tue, 3 Nov 2009 12:59:58 +0100 > From: wagner at elegosoft.com > To: m3devel at elegosoft.com > Subject: [M3devel] release engineering: RC4 > > I've tagged RC4 yesterday night and made a test production on birch for > AMD64_LINUX which is available for download now (follow the RC3 links, > web pages not changed yet). > > There have been 29 changes since the last RC: > > > http://hudson.modula3.com:8080/view/makedist/job/cm3-makedist-AMD64_LINUX/13/ > > The automated installation tests have passed, too: > > > http://hudson.modula3.com:8080/view/test-install/job/cm3-test-install-AMD64_LINUX/15/testReport/(root)/workspace%20installation%20archive%20tests/ > > If anybody would care to test manually for additional confirmation of the > quality of the archives that would be appreciated, too. > > Just to make sure before I start building on all other platforms: > > Are all relevant changes included? Is any important fix still missing? > > What about these open tickets: > > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+Release+5.8+RC4 > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+release+5.8 > > Can we close any of them? > > Thanks in advance for any input, > > Olaf > -- > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Tue Nov 3 17:58:56 2009 From: jay.krell at cornell.edu (Jay K) Date: Tue, 3 Nov 2009 16:58:56 +0000 Subject: [M3devel] release engineering: RC4 In-Reply-To: <6608C079-C31C-4A73-8815-CC964030435A@cs.purdue.edu> References: <20091103125958.mlv3f593y8c8kwws@mail.elegosoft.com> Message-ID: > at happened with trying to use the thread stopping np primitives? > First attempt failed. ps: the simple code is in, src/thread/PTHREAD/ThreadPThreadC.c, disabled subtley by inserting a 0, and the m3makefiles point at the usre threads. Probably I should debug it. - Jay From: jay.krell at cornell.edu To: hosking at cs.purdue.edu CC: m3devel at elegosoft.com Subject: RE: [M3devel] release engineering: RC4 Date: Tue, 3 Nov 2009 16:57:00 +0000 > at happened with trying to use the thread stopping np primitives? First attempt failed. I didn't debug it. Juno works now on OpenBSD/x86 with user threads in head. - Jay From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Date: Tue, 3 Nov 2009 11:12:27 -0500 CC: m3devel at elegosoft.com Subject: Re: [M3devel] release engineering: RC4 On 3 Nov 2009, at 10:14, Jay K wrote: I thought/think I have that working..but not quite. It is crashing. I'm using the setjmp + poke around to set the stack/pc method. Take a look at the sigaction technique mentioned in the paper. I think it may be more reliable. What happened with trying to use the thread stopping np primitives? Later.. - Jay CC: wagner at elegosoft.com; m3devel at elegosoft.com From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Subject: Re: [M3devel] release engineering: RC4 Date: Tue, 3 Nov 2009 09:54:43 -0500 On 3 Nov 2009, at 07:14, Jay K wrote: > juno/win32 heap corruption > win32 threads/alert/race I think are ok. I might run some more loops, but: - enter/leave critical section mixup fixed - head-only regression fixed - suspend/resume mismatch fixed Might cover it. (Every time I figure out a bug I think that must be the last one. :) ) OpenBSD is understood but not fixed. Their pthreads library is usermode and stinky. AND they don't have make/set/get/swapcontext. OpenBSD probably won't make this release. I'm working on it in head but initial two attempts didn't work. We can emulate make/set/get/swapcontext as per http://www.usenix.org/event/usenix2000/general/full_papers/engelschall/engelschall.pdf, using setjmp/longjmp/sigaction. Reset my password? Thanks, - Jay > Date: Tue, 3 Nov 2009 12:59:58 +0100 > From: wagner at elegosoft.com > To: m3devel at elegosoft.com > Subject: [M3devel] release engineering: RC4 > > I've tagged RC4 yesterday night and made a test production on birch for > AMD64_LINUX which is available for download now (follow the RC3 links, > web pages not changed yet). > > There have been 29 changes since the last RC: > > > http://hudson.modula3.com:8080/view/makedist/job/cm3-makedist-AMD64_LINUX/13/ > > The automated installation tests have passed, too: > > > http://hudson.modula3.com:8080/view/test-install/job/cm3-test-install-AMD64_LINUX/15/testReport/(root)/workspace%20installation%20archive%20tests/ > > If anybody would care to test manually for additional confirmation of the > quality of the archives that would be appreciated, too. > > Just to make sure before I start building on all other platforms: > > Are all relevant changes included? Is any important fix still missing? > > What about these open tickets: > > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+Release+5.8+RC4 > > https://projects.elego.de/cm3/query?status=resolved&status=reopened&status=assigned&status=analyzed&status=new&status=accepted&group=status&milestone=CM3+release+5.8 > > Can we close any of them? > > Thanks in advance for any input, > > Olaf > -- > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcoleburn at scires.com Tue Nov 3 17:31:05 2009 From: rcoleburn at scires.com (Randy Coleburn) Date: Tue, 03 Nov 2009 11:31:05 -0500 Subject: [M3devel] join twice? In-Reply-To: <49E815E6-3B03-49CB-AB57-BC45806A81CC@cs.purdue.edu> References: <4AEFF851.1E75.00D7.1@scires.com> <4AF00AAC.1E75.00D7.1@scires.com> <49E815E6-3B03-49CB-AB57-BC45806A81CC@cs.purdue.edu> Message-ID: <4AF0147C.1E75.00D7.1@scires.com> I guess I will need to go back and look at Nelson again, but is it possible that one of the subsequent editions of SPwM3 added this prohibition against multiple joins? I seem to recall that some of the interfaces got a rework and were published after the first printing of the book, but that the community adopted these as a whole to be "the spec" for M3. Maybe the comment in Thread.i3 became law at that point? In any event, I still argue that it doesn't make sense to do multiple joins and I agree with Mika that it is often a symptom of bad programming and we want the language to help us write less buggy code. So, I would vote that we don't make any changes to permit multiple joins. It may be true that the current implementation does not enforce the prohibition against multiple joins on all platforms simply because it was the easiest thing to do at the time. In this case, I argue that the implementation is not being totally faithful to the specification; but if the programmer heeds the spec, then there is no consequence to the implementation's lack of enforcement. Bottom line: Let's not devolve from the noble position of doing the right thing simply because the implementation has been less than faithful. Keep the comment and the prohibition and work toward improving the implementation over time to be faithful to the specification. (Does that make me a "practical idealist"?) Regards, Randy Coleburn >>> Tony Hosking 11/3/2009 11:09 AM >>> On 3 Nov 2009, at 10:49, Randy Coleburn wrote: Understand the part about being "torn". I for one, have always programmed with the understanding that the comment was enforced. IMO: If one needs to pass the result of a thread outside the thread's context, one should use an explicit mechanism or data structure (e.g., conditions, object data fields, etc.). If multiple threads need to wait for a thread to finish, that is the whole concept of a rendevous (see the "Little Book of Semaphores" you referenced earlier). Agreed. If programmers must depend on multiple joins, when is it ever safe for the underlying infrastructure to "forget about" the dead thread and its return value(s), if any? At what point has it been "too long" for you to query about a dead thread's status/return values (millisecs, minutes, hours, days, weeks -- for long-running programs this can be problematic). We can forget about the dead thread only when it is GC'd. No-one can call Join without a reference to it. I would argue that it is better for the programmer to be explicit in such matters. It is easy enough to implement given the capabilities of the language, and indeed, I've done so many times. Agreed. The odd thing is just that the old "reference" user-level threads implementation never did the check, and permitted multiple joins. And the threads spec in SPwM3 is silent on the issue. Regards, Randy Coleburn >>> Jay K 11/3/2009 10:04 AM >>> To me..with a Win32 background..join means "wait for thread to finish". And there is a separate action "get thread result". You could consider these one merged operation "wait for thread to finish and get its result". In either case, it is reasonable to allow it multiple times. Waiting for a thread to finish that has already finished is just fast. Getting a thread result that you already got is also easy albeit usually unnecessary. Now, if the operation is "wait for thread to finish, get its result, and lose track of its result", that isn't idempotent. I'm torn. The existing implementations all either support multiple join or have to go out of their way to prevent it. Yet Thread.i3 has been commented so presumably forever. - Jay Date: Tue, 3 Nov 2009 09:36:23 -0500 From: rcoleburn at scires.com To: m3devel at elegosoft.com Subject: Re: [M3devel] join twice? I think the comment in the code is correct. Semantically, it doesn't make sense to join a thread more than once. Join is the compliment to Fork. With fork, one thread becomes two. With Join, two threads become one. After they've become one, the 2nd thread is no more, so you can't join to it anymore. IMO, the implementation should enforce this behavior. What would be the "benefit" of allowing more than one join? What does it "mean" to join a "dead thread"? Regards, Randy Coleburn >>> Tony Hosking 11/2/2009 11:54 PM >>> OK, sure. Fair enough. On 2 Nov 2009, at 16:43, Jay K wrote: > (Whether the implementation actually prohibits it or not is an implementation decision.) Tony, I'm sympathetic to the smaller version but I think it is wrong. "It is a checked runtime error to call this more than once for any t" is a much different/stronger statement than e.g. "it is implementation defined what happens if you call join more than once for any t". The printed Reactor 4.1 docs have the same comment as current Thread.i3. You know, ideally if I write: Thread.Join(t); Thread.Join(t); and it works today on any system, it will continue to work on all systems. I think "implementation defined" is something Modula-3 tries to have less of. On the other hand, I think if we foresee it to work trivially on all forseeable implementations, we can change the interface by removing the comment. Win32 WaitForSingleObject(thread, INFINITE) is allowed multiple times, though that isn't the current implementation. - Jay From: hosking at cs.purdue.edu To: jay.krell at cornell.edu Date: Mon, 2 Nov 2009 12:59:36 -0500 CC: m3devel at elegosoft.com Subject: Re: [M3devel] join twice? I don't know that there ever was a mandate that join can only be called once on a given thread. But, given that pthread_join is undefined when called more than once on the same thread we probably want to retain the comment. (Whether the implementation actually prohibits it or not is an implementation decision.) The point is that we should be free to give the error in some later implementation, so as to not to restrict what semantics the implementation must support. Antony Hosking | Associate Professor | Computer Science | Purdue University 305 N. University Street | West Lafayette | IN 47907 | USA Office +1 765 494 6001 | Mobile +1 765 427 5484 On 2 Nov 2009, at 10:11, Jay K wrote: Thread.i3: PROCEDURE Join(t: T): REFANY; (* Wait until "t" has terminated and return its result. It is a checked runtime error to call this more than once for any "t". *) ThreadWin32.m3: PROCEDURE Join(t: T): REFANY = VAR res: REFANY; BEGIN LOCK t DO IF t.joined THEN Die(ThisLine(), "attempt to join with thread twice"); END; WHILE NOT t.completed DO Wait(t, t.join) END; res := t.result; t.result := NIL; t.joined := TRUE; t.join := NIL; END; RETURN res; END Join; PROCEDURE AlertJoin(t: T): REFANY RAISES {Alerted} = similar ThreadPThread.m3: PROCEDURE Join (t: T): REFANY = BEGIN LOCK t DO WHILE NOT t.completed DO Wait(t, t.join) END; END; RETURN t.result; END Join; PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted} = similar Should we just loosen the comment and go with the simpler pthread version? I'd like Win32 and pthread to be more similar where possible, to ease maintenance. - Jay CONFIDENTIALITY NOTICE: This email and any attachments are intended solely for the use of the named recipient(s). This e-mail may contain confidential and/or proprietary information of Scientific Research Corporation. If you are not a named recipient, you are prohibited from making any use of the information in the email and attachments. If you believe you have received this email in error, please notify the sender immediately and permanently delete the email, any attachments, and all copies thereof from any drives or storage media and destroy any printouts of the email or attachments. EXPORT COMPLIANCE NOTICE: This email and any attachments may contain technical data subject to U.S export restrictions under the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). Export or transfer of this technical data and/or related information to any foreign person(s) or entity(ies), either within the U.S. or outside of the U.S., may require export authorization by the appropriate U.S. Government agency prior to export or transfer. In addition, technical data may not be exported or transferred to certain countries or specified designated nationals identified by U.S. embargo controls without prior export authorization. By accepting this email and any attachments, all recipients confirm that they understand and will comply with all applicable ITAR, EAR and embargo compliance requirements. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Tue Nov 3 18:19:17 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 3 Nov 2009 12:19:17 -0500 Subject: [M3devel] join twice? In-Reply-To: <4AF0147C.1E75.00D7.1@scires.com> References: <4AEFF851.1E75.00D7.1@scires.com> <4AF00AAC.1E75.00D7.1@scires.com> <49E815E6-3B03-49CB-AB57-BC45806A81CC@cs.purdue.edu> <4AF0147C.1E75.00D7.1@scires.com> Message-ID: This sounds like a great plan. To be honest, checking the multiple join error is not hard to do in any implementation. On 3 Nov 2009, at 11:31, Randy Coleburn wrote: > I guess I will need to go back and look at Nelson again, but is it > possible that one of the subsequent editions of SPwM3 added this > prohibition against multiple joins? I seem to recall that some of > the interfaces got a rework and were published after the first > printing of the book, but that the community adopted these as a > whole to be "the spec" for M3. Maybe the comment in Thread.i3 > became law at that point? > > In any event, I still argue that it doesn't make sense to do > multiple joins and I agree with Mika that it is often a symptom of > bad programming and we want the language to help us write less buggy > code. > > So, I would vote that we don't make any changes to permit multiple > joins. It may be true that the current implementation does not > enforce the prohibition against multiple joins on all platforms > simply because it was the easiest thing to do at the time. In this > case, I argue that the implementation is not being totally faithful > to the specification; but if the programmer heeds the spec, then > there is no consequence to the implementation's lack of enforcement. > > Bottom line: Let's not devolve from the noble position of doing the > right thing simply because the implementation has been less than > faithful. Keep the comment and the prohibition and work toward > improving the implementation over time to be faithful to the > specification. (Does that make me a "practical idealist"?) > > Regards, > Randy Coleburn > > >>> Tony Hosking 11/3/2009 11:09 AM >>> > On 3 Nov 2009, at 10:49, Randy Coleburn wrote: > >> Understand the part about being "torn". >> >> I for one, have always programmed with the understanding that the >> comment was enforced. >> >> IMO: If one needs to pass the result of a thread outside the >> thread's context, one should use an explicit mechanism or data >> structure (e.g., conditions, object data fields, etc.). >> >> If multiple threads need to wait for a thread to finish, that is >> the whole concept of a rendevous (see the "Little Book of >> Semaphores" you referenced earlier). > > Agreed. > >> If programmers must depend on multiple joins, when is it ever safe >> for the underlying infrastructure to "forget about" the dead thread >> and its return value(s), if any? At what point has it been "too >> long" for you to query about a dead thread's status/return values >> (millisecs, minutes, hours, days, weeks -- for long-running >> programs this can be problematic). > > We can forget about the dead thread only when it is GC'd. No-one > can call Join without a reference to it. > >> I would argue that it is better for the programmer to be explicit >> in such matters. It is easy enough to implement given the >> capabilities of the language, and indeed, I've done so many times. > > Agreed. The odd thing is just that the old "reference" user-level > threads implementation never did the check, and permitted multiple > joins. And the threads spec in SPwM3 is silent on the issue. > >> Regards, >> Randy Coleburn >> >> >>> Jay K 11/3/2009 10:04 AM >>> >> To me..with a Win32 background..join means "wait for thread to >> finish". >> And there is a separate action "get thread result". >> You could consider these one merged operation "wait for thread to >> finish and get its result". >> In either case, it is reasonable to allow it multiple times. >> Waiting for a thread to finish that has already finished is just >> fast. >> Getting a thread result that you already got is also easy albeit >> usually unnecessary. >> >> Now, if the operation is "wait for thread to finish, get its >> result, and lose track of its result", >> that isn't idempotent. >> >> I'm torn. The existing implementations all either support multiple >> join or have to go out of >> their way to prevent it. Yet Thread.i3 has been commented so >> presumably forever. >> >> - Jay >> >> >> Date: Tue, 3 Nov 2009 09:36:23 -0500 >> From: rcoleburn at scires.com >> To: m3devel at elegosoft.com >> Subject: Re: [M3devel] join twice? >> >> I think the comment in the code is correct. >> >> Semantically, it doesn't make sense to join a thread more than >> once. Join is the compliment to Fork. With fork, one thread >> becomes two. With Join, two threads become one. After they've >> become one, the 2nd thread is no more, so you can't join to it >> anymore. >> >> IMO, the implementation should enforce this behavior. What would >> be the "benefit" of allowing more than one join? What does it >> "mean" to join a "dead thread"? >> >> Regards, >> Randy Coleburn >> >> >>> Tony Hosking 11/2/2009 11:54 PM >>> >> OK, sure. Fair enough. >> >> On 2 Nov 2009, at 16:43, Jay K wrote: >> >> > (Whether the implementation actually prohibits it or not is an >> implementation decision.) >> >> Tony, I'm sympathetic to the smaller version but I think it is wrong. >> "It is a checked runtime error to call this more than once for any t" >> is a much different/stronger statement than e.g. >> "it is implementation defined what happens if you call join more >> than once for any t". >> The printed Reactor 4.1 docs have the same comment as current >> Thread.i3. >> >> You know, ideally if I write: >> Thread.Join(t); >> Thread.Join(t); >> >> and it works today on any system, it will continue to work on all >> systems. >> I think "implementation defined" is something Modula-3 tries to >> have less of. >> >> On the other hand, I think if we foresee it to work trivially on all >> forseeable implementations, we can change the interface by removing >> the comment. >> Win32 WaitForSingleObject(thread, INFINITE) is allowed multiple >> times, though >> that isn't the current implementation. >> >> - Jay >> >> From: hosking at cs.purdue.edu >> To: jay.krell at cornell.edu >> Date: Mon, 2 Nov 2009 12:59:36 -0500 >> CC: m3devel at elegosoft.com >> Subject: Re: [M3devel] join twice? >> >> I don't know that there ever was a mandate that join can only be >> called once on a given thread. But, given that pthread_join is >> undefined when called more than once on the same thread we probably >> want to retain the comment. (Whether the implementation actually >> prohibits it or not is an implementation decision.) The point is >> that we should be free to give the error in some later >> implementation, so as to not to restrict what semantics the >> implementation must support. >> >> Antony Hosking | Associate Professor | Computer Science | Purdue >> University >> 305 N. University Street | West Lafayette | IN 47907 | USA >> Office +1 765 494 6001 | Mobile +1 765 427 5484 >> >> >> >> >> On 2 Nov 2009, at 10:11, Jay K wrote: >> >> Thread.i3: >> >> >> PROCEDURE Join(t: T): REFANY; >> (* Wait until "t" has terminated and return its result. It is a >> checked runtime error to call this more than once for any "t". *) >> >> >> ThreadWin32.m3: >> >> >> PROCEDURE Join(t: T): REFANY = >> VAR res: REFANY; >> BEGIN >> LOCK t DO >> IF t.joined THEN Die(ThisLine(), "attempt to join with thread >> twice"); END; >> WHILE NOT t.completed DO Wait(t, t.join) END; >> res := t.result; >> t.result := NIL; >> t.joined := TRUE; >> t.join := NIL; >> END; >> RETURN res; >> END Join; >> >> PROCEDURE AlertJoin(t: T): REFANY RAISES {Alerted} = similar >> >> >> ThreadPThread.m3: >> >> >> PROCEDURE Join (t: T): REFANY = >> BEGIN >> LOCK t DO >> WHILE NOT t.completed DO Wait(t, t.join) END; >> END; >> RETURN t.result; >> END Join; >> >> PROCEDURE AlertJoin (t: T): REFANY RAISES {Alerted} = similar >> >> >> Should we just loosen the comment and go with the simpler pthread >> version? >> I'd like Win32 and pthread to be more similar where possible, to >> ease maintenance. >> >> >> - Jay >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Tue Nov 3 19:10:18 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 3 Nov 2009 13:10:18 -0500 Subject: [M3devel] join twice? In-Reply-To: References: Message-ID: So, here is a question. What happens with AlertJoin? If I get an alert before the join occurs can I rejoin? It would seem reasonable that I should be able to do so. Should we simply permit only one joiner at any given time? On 3 Nov 2009, at 10:16, Tony Hosking wrote: > The original threads spec for Modula-3 does not mention join can > only run once. The only mention is in Thread.i3. > > I agree that it seems silly to join twice. On the other hand, Java > semantics does not prohibit multiple joins. > > Antony Hosking | Associate Professor | Computer Science | Purdue > University > 305 N. University Street | West Lafayette | IN 47907 | USA > Office +1 765 494 6001 | Mobile +1 765 427 5484 > > > > > On 3 Nov 2009, at 10:04, Jay K wrote: > >> >> To me..with a Win32 background..join means "wait for thread to >> finish". >> >> And there is a separate action "get thread result". >> >> You could consider these one merged operation "wait for thread to >> finish and get its result". >> >> In either case, it is reasonable to allow it multiple times. >> >> Waiting for a thread to finish that has already finished is just >> fast. >> >> Getting a thread result that you already got is also easy albeit >> usually unnecessary. >> >> >> >> Now, if the operation is "wait for thread to finish, get its >> result, and lose track of its result", >> >> that isn't idempotent. >> >> >> >> I'm torn. The existing implementations all either support multiple >> join or have to go out of >> >> their way to prevent it. Yet Thread.i3 has been commented so >> presumably forever. >> >> >> >> - Jay >> >> >> >> >> Date: Tue, 3 Nov 2009 09:36:23 -0500 >> From: rcoleburn at scires.com >> To: m3devel at elegosoft.com >> Subject: Re: [M3devel] join twice? >> >> >> I think the comment in the code is correct. >> >> Semantically, it doesn't make sense to join a thread more than >> once. Join is the compliment to Fork. With fork, one thread >> becomes two. With Join, two threads become one. After they've >> become one, the 2nd thread is no more, so you can't join to it >> anymore. >> >> IMO, the implementation should enforce this behavior. What would >> be the "benefit" of allowing more than one join? What does it >> "mean" to join a "dead thread"? >> >> Regards, >> Randy Coleburn >> >>>>> Tony Hosking 11/2/2009 11:54 PM >>> >> >> >> >> >> OK, sure. Fair enough. >> >> >> On 2 Nov 2009, at 16:43, Jay K wrote: >> >>> (Whether the implementation actually prohibits it or not is an >>> implementation decision.) >> >> Tony, I'm sympathetic to the smaller version but I think it is wrong. >> "It is a checked runtime error to call this more than once for any t" >> is a much different/stronger statement than e.g. >> "it is implementation defined what happens if you call join more >> than once for any t". >> The printed Reactor 4.1 docs have the same comment as current >> Thread.i3. >> >> You know, ideally if I write: >> Thread.Join(t); >> Thread.Join(t); >> >> and it works today on any system, it will continue to work on all >> systems > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mika at async.async.caltech.edu Tue Nov 3 19:23:19 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Tue, 03 Nov 2009 10:23:19 -0800 Subject: [M3devel] join twice? In-Reply-To: References: Message-ID: <20091103182319.5E2FA1A20A0@async.async.caltech.edu> It seems to me that the AlertJoin "fails" if it is alerted...? So you would have to call it (or plain Join) again. Mika Tony Hosking writes: > >--Apple-Mail-99--208255775 >Content-Type: text/plain; > charset=US-ASCII; > format=flowed; > delsp=yes >Content-Transfer-Encoding: 7bit > >So, here is a question. What happens with AlertJoin? If I get an >alert before the join occurs can I rejoin? It would seem reasonable >that I should be able to do so. > >Should we simply permit only one joiner at any given time? > >On 3 Nov 2009, at 10:16, Tony Hosking wrote: > >> The original threads spec for Modula-3 does not mention join can >> only run once. The only mention is in Thread.i3. >> >> I agree that it seems silly to join twice. On the other hand, Java >> semantics does not prohibit multiple joins. >> >> Antony Hosking | Associate Professor | Computer Science | Purdue >> University >> 305 N. University Street | West Lafayette | IN 47907 | USA >> Office +1 765 494 6001 | Mobile +1 765 427 5484 >> >> >> >> >> On 3 Nov 2009, at 10:04, Jay K wrote: >> >>> >>> To me..with a Win32 background..join means "wait for thread to >>> finish". >>> >>> And there is a separate action "get thread result". >>> >>> You could consider these one merged operation "wait for thread to >>> finish and get its result". >>> >>> In either case, it is reasonable to allow it multiple times. >>> >>> Waiting for a thread to finish that has already finished is just >>> fast. >>> >>> Getting a thread result that you already got is also easy albeit >>> usually unnecessary. >>> >>> >>> >>> Now, if the operation is "wait for thread to finish, get its >>> result, and lose track of its result", >>> >>> that isn't idempotent. >>> >>> >>> >>> I'm torn. The existing implementations all either support multiple >>> join or have to go out of >>> >>> their way to prevent it. Yet Thread.i3 has been commented so >>> presumably forever. >>> >>> >>> >>> - Jay >>> >>> >>> >>> >>> Date: Tue, 3 Nov 2009 09:36:23 -0500 >>> From: rcoleburn at scires.com >>> To: m3devel at elegosoft.com >>> Subject: Re: [M3devel] join twice? >>> >>> >>> I think the comment in the code is correct. >>> >>> Semantically, it doesn't make sense to join a thread more than >>> once. Join is the compliment to Fork. With fork, one thread >>> becomes two. With Join, two threads become one. After they've >>> become one, the 2nd thread is no more, so you can't join to it >>> anymore. >>> >>> IMO, the implementation should enforce this behavior. What would >>> be the "benefit" of allowing more than one join? What does it >>> "mean" to join a "dead thread"? >>> >>> Regards, >>> Randy Coleburn >>> >>>>>> Tony Hosking 11/2/2009 11:54 PM >>> >>> >>> >>> >>> >>> OK, sure. Fair enough. >>> >>> >>> On 2 Nov 2009, at 16:43, Jay K wrote: >>> >>>> (Whether the implementation actually prohibits it or not is an >>>> implementation decision.) >>> >>> Tony, I'm sympathetic to the smaller version but I think it is wrong. >>> "It is a checked runtime error to call this more than once for any t" >>> is a much different/stronger statement than e.g. >>> "it is implementation defined what happens if you call join more >>> than once for any t". >>> The printed Reactor 4.1 docs have the same comment as current >>> Thread.i3. >>> >>> You know, ideally if I write: >>> Thread.Join(t); >>> Thread.Join(t); >>> >>> and it works today on any system, it will continue to work on all >>> systems >> > > >--Apple-Mail-99--208255775 >Content-Type: text/html; > charset=US-ASCII >Content-Transfer-Encoding: quoted-printable > >-webkit-line-break: after-white-space; ">So, here is a question. = > What happens with AlertJoin?  If I get an alert before the = >join occurs can I rejoin?  It would seem reasonable that I should = >be able to do so.

Should we simply permit only one = >joiner at any given time?

On 3 Nov 2009, at = >10:16, Tony Hosking wrote:

class=3D"Apple-interchange-newline">
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >-webkit-line-break: after-white-space; ">The original threads spec for = >Modula-3 does not mention join can only run once.  The only mention = >is in Thread.i3.

I agree that it seems silly to join = >twice.  On the other hand, Java semantics does not prohibit = >multiple joins.

style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = >Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = >font-weight: normal; letter-spacing: normal; line-height: normal; = >orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; = >white-space: normal; widows: 2; word-spacing: 0px; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = >auto; -webkit-text-stroke-width: 0; ">
break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >-webkit-line-break: after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">
class=3D"Apple-style-span" color=3D"#0000FF">class=3D"Apple-style-span" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Antony = >Hoskingface=3D"Gill Sans">'Gill Sans'; ">'Gill Sans'; "> |class=3D"Apple-converted-space"> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; ">class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >">Associate Professorstyle=3D"font-family: 'Gill Sans'; ">style=3D"font-family: 'Gill Sans'; "> | Computer Science | Purdue = >University
face=3D"GillSans-Light">style=3D"font-family: GillSans-Light; ">305 N. University Street | West = >Lafayette | IN 47907 | USA
class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Officeclass=3D"Apple-style-span" face=3D"GillSans-Light">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; = >"> +1 765 494 6001 |class=3D"Apple-converted-space"> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Mobileclass=3D"Apple-style-span" face=3D"GillSans-Light">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-converted-space"> +1 765 427 = >5484
face=3D"GillSans-Light">
class=3D"khtml-block-placeholder">
>

class=3D"Apple-interchange-newline">

class=3D"Apple-interchange-newline">

On 3 Nov 2009, = >at 10:04, Jay K wrote:

class=3D"Apple-interchange-newline">

To = >me..with a Win32 background..join means "wait for thread to = >finish".

And there is a separate action "get thread = >result".

You could consider these one merged operation "wait for = >thread to finish and get its result".

In either case, it is = >reasonable to allow it multiple times.

Waiting for a thread to = >finish that has already finished is just fast.

Getting a thread = >result that you already got is also easy albeit usually = >unnecessary.



Now, if the operation is "wait for thread to = >finish, get its result, and lose track of its result",

that isn't = >idempotent.



I'm torn. The existing implementations all = >either support multiple join or have to go out of

their way to = >prevent it. Yet Thread.i3 has been commented so presumably = >forever.



- Jay




Date: Tue, 3 Nov 2009 = >09:36:23 -0500
From: href=3D"mailto:rcoleburn at scires.com">rcoleburn at scires.com
To: href=3D"mailto:m3devel at elegosoft.com">m3devel at elegosoft.com
Subject= >: Re: [M3devel] join twice?


I think the comment in the code = >is correct.

Semantically, it doesn't make sense to join a thread = >more than once.  Join is the compliment to Fork.  With fork, = >one thread becomes two.  With Join, two threads become one. = > After they've become one, the 2nd thread is no more, so you can't = >join to it anymore.

IMO, the implementation should enforce this = >behavior.  What would be the "benefit" of allowing more than one = >join?  What does it "mean" to join a "dead = >thread"?

Regards,
Randy Coleburn

type=3D"cite">
Tony = >Hosking <href=3D"mailto:hosking at cs.purdue.edu">hosking at cs.purdue.edu> = >11/2/2009 11:54 PM = >>>>




OK,= > sure.  Fair enough.


On 2 Nov 2009, at 16:43, Jay K = >wrote:

(Whether the implementation = >actually prohibits it or not is an implementation decision.) = > 

Tony, I'm sympathetic to the smaller version = >but I think it is wrong.
"It is a checked runtime error to call this = >more than once for any t"
is a much different/stronger statement than = >e.g.
"it is implementation defined what happens if you call join more = >than once for any t".
The printed Reactor 4.1 docs have the same = >comment as current Thread.i3.

You know, ideally if I = >write:
Thread.Join(t);
Thread.Join(t);

and it works today = >on any system, it will continue to work on all = >systems

<= >br>
= > >--Apple-Mail-99--208255775-- From jay.krell at cornell.edu Wed Nov 4 07:01:38 2009 From: jay.krell at cornell.edu (Jay K) Date: Wed, 4 Nov 2009 06:01:38 +0000 Subject: [M3devel] join twice? In-Reply-To: <20091103151711.6D7D51A209F@async.async.caltech.edu> References: Message-ID: > And calling Thread.Fork several times on a single Thread.Closure is > also idempotent? Waiting for and getting a result is idempotent, nearly always. Requesting that work be done may or not be idempotent, depending on the instructions. "Increase bank balance by $10" vs. "Set bank balance to $10". - Jay > To: jay.krell at cornell.edu > Date: Tue, 3 Nov 2009 07:17:11 -0800 > From: mika at async.async.caltech.edu > CC: m3devel at elegosoft.com > Subject: Re: [M3devel] join twice? > > Jay K writes: > > > > <5788D8FB-8E44-4F62-BF49-9804E173C8A9 at cs.purdue.edu> > > > > > > <4AEFF851.1E75.00D7.1 at scires.com> > >MIME-Version: 1.0 > > > >--_e29f769b-4ae0-4e1d-9ac5-2f25246d5025_ > >Content-Type: text/plain; charset="iso-8859-1" > >Content-Transfer-Encoding: quoted-printable > > > > > >To me..with a Win32 background..join means "wait for thread to finish". > > > >And there is a separate action "get thread result". > > > >You could consider these one merged operation "wait for thread to finish an= > >d get its result". > > > >In either case=2C it is reasonable to allow it multiple times. > > > >Waiting for a thread to finish that has already finished is just fast. > > > >Getting a thread result that you already got is also easy albeit usually un= > >necessary. > > And calling Thread.Fork several times on a single Thread.Closure is > also idempotent? > > It may be "reasonable" to allow such things, but they almost always > signal bugs in the calling code. Changing the specification to make them > legal is in my opinion losing a valuable opportunity for preventing bugs. > Note the Modula-3 philosophy, not everything reasonable (for a C > programmer's definition of "reasonable", at least) is legal. > > Mika > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mika at async.async.caltech.edu Wed Nov 4 23:31:35 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Wed, 04 Nov 2009 14:31:35 -0800 Subject: [M3devel] ThreadF.{SuspendOthers,ResumeOthers} Message-ID: <20091104223135.225CB1A2087@async.async.caltech.edu> Hello m3devel, I'm trying to build my software with the CVS head of CM3 and I just ran into something. I've been using ThreadF.SuspendOthers and ThreadF.ResumeOthers (together with some busy waiting) to simulate machines of different speeds. (Big application with lots of threads, split across several machines). This is only for testing of course. But these routines have now been moved into a private interface? Is there anything similar one can do? Enable/DisableSwitching... or? Mika From mika at async.async.caltech.edu Thu Nov 5 01:57:32 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Wed, 04 Nov 2009 16:57:32 -0800 Subject: [M3devel] AMD64_FREEBSD problems with current RC from m3 site In-Reply-To: <94D30830-E745-4305-B587-75E2AC7612CC@cs.purdue.edu> References: <20091031161142.57E771A2097@async.async.caltech.edu> <20091031161514.C7E441A2097@async.async.caltech.edu> <7D03409A-CC44-4B27-BCE0-E7A3D110B242@cs.purdue.edu> <20091031182637.1D2DD1A209C@async.async.caltech.edu> <9666B412-E255-4103-9954-420E39AA9303@cs.purdue.edu> <20091031185401.0E3761A209C@async.async.caltech.edu> <20091031191011.63E701A2097@async.async.caltech.edu> <823EE49D-F6C9-4A13-A6BA-4EC73B00E13E@cs.purdue.edu> <20091031192335.050261A207D@async.async.caltech.edu> <20091031200623.C0BC71A2097@async.async.caltech.edu> <1210FEF9-5EAD-4313-A96A-2709711F4BDE@cs.purdue.edu> <20091102172011.A9D5B1A209F@async.async.caltech.edu> <94D30830-E745-4305-B587-75E2AC7612CC@cs.purdue.edu> Message-ID: <20091105005732.CA91E1A2087@async.async.caltech.edu> Hi Tony and others, I tested with the head now (it looks a bit more organized than a week ago), and I get the same problems. A "double assert failure". By the way I am noticing that the program is quite slow. It could be that I'm accessing data over NFS, possibly... not sure I've done a fair back-to-back comparison. (My benchmark is, as always, an ancient PM3 on "FreeBSD4" i386.) *** *** runtime error: *** <*ASSERT*> failed. *** file "../src/thread/PTHREAD/ThreadPThread.m3", line 967 *** *** *** runtime error: *** <*ASSERT*> failed. *** file "../src/runtime/common/RTCollector.m3", line 690 *** Program received signal SIGABRT, Aborted. 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 (m3gdb) The problem seems a bit different from before, however: Program received signal SIGABRT, Aborted. 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 (m3gdb) where #0 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 #1 0x0000000804d24f8b in abort () from /lib/libc.so.7 #2 0x000000080376e3cf in Crash () at ../src/runtime/POSIX/RTOS.m3:20 #3 0x0000000803761f05 in Crash (msg=Invalid C/C++ type code 26 in symbol table. ) at ../src/runtime/common/RTProcess.m3:65 #4 0x000000080375f3a2 in EndError (crash=Invalid C/C++ type code 36 in symbol table. ) at ../src/runtime/common/RTError.m3:118 #5 0x000000080375f09a in MsgS (file=Invalid C/C++ type code 35 in symbol table. ) at ../src/runtime/common/RTError.m3:40 #6 0x000000080375f875 in Crash (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:79 #7 0x000000080375f52c in DefaultBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:39 #8 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:25 #9 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/ex_frame/RTExFrame.m3:29 #10 0x000000080375f5de in DefaultBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:47 #11 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:25 #12 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/ex_frame/RTExFrame.m3:29 #13 0x0000000803746f81 in ReportFault (module=Invalid C/C++ type code 35 in symbol table. ) at ../src/runtime/common/RTHooks.m3:110 #14 0x000000080375c91c in _m3_fault (arg=Invalid C/C++ type code 39 in symbol table. ) from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 #15 0x0000000803752466 in CollectorOn () at ../src/runtime/common/RTCollector.m3:690 #16 0x0000000803759597 in CheckLoadTracedRef (ref=Invalid C/C++ type code 46 in symbol table. ) at ../src/runtime/common/RTCollector.m3:2229 #17 0x00000008034e8db4 in ShutDown () at ../src/rw/Stdio.m3:43 #18 0x0000000803761e5c in InvokeExitors () at ../src/runtime/common/RTProcess.m3:40 #19 0x0000000803761eee in Crash (msg=Invalid C/C++ type code 26 in symbol table. ) at ../src/runtime/common/RTProcess.m3:61 #20 0x000000080375f3a2 in EndError (crash=Invalid C/C++ type code 36 in symbol table. ) at ../src/runtime/common/RTError.m3:118 #21 0x000000080375f09a in MsgS (file=Invalid C/C++ type code 35 in symbol table. ) at ../src/runtime/common/RTError.m3:40 ---Type to continue, or q to quit--- #22 0x000000080375f875 in Crash (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:79 #23 0x000000080375f52c in DefaultBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:39 #24 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:25 #25 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/ex_frame/RTExFrame.m3:29 #26 0x000000080375f5de in DefaultBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:47 #27 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:25 #28 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/ex_frame/RTExFrame.m3:29 #29 0x0000000803746f81 in ReportFault (module=Invalid C/C++ type code 35 in symbol table. ) at ../src/runtime/common/RTHooks.m3:110 #30 0x00000008037761b1 in _m3_fault (arg=Invalid C/C++ type code 39 in symbol table. ) from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 #31 0x0000000803774c6b in ProcessOther (act=Invalid C/C++ type code 29 in symbol table. ) at ../src/thread/PTHREAD/ThreadPThread.m3:967 #32 0x000000080377485b in ProcessStacks (p=Invalid C/C++ type code 31 in symbol table. ) at ../src/thread/PTHREAD/ThreadPThread.m3:888 #33 0x0000000803752d59 in CollectSomeInStateZero () at ../src/runtime/common/RTCollector.m3:819 #34 0x00000008037526a0 in CollectSome () at ../src/runtime/common/RTCollector.m3:719 #35 0x00000008037520a1 in CollectEnough () at ../src/runtime/common/RTCollector.m3:653 #36 0x0000000803748f49 in AllocTraced (dataSize=Invalid C/C++ type code 40 in symbol table. ) at ../src/runtime/common/RTAllocator.m3:365 #37 0x0000000803747f1c in GetTracedObj (def=Invalid C/C++ type code 29 in symbol table. ) at ../src/runtime/common/RTAllocator.m3:224 #38 0x0000000803747833 in AllocateTracedObj (defn=Invalid C/C++ type code 35 in symbol table. ) at ../src/runtime/common/RTAllocator.m3:120 #39 0x0000000800ad4207 in ParseRec (chars=Invalid C/C++ type code 30 in symbol table. ) at ../src/TWSLogger.m3:127 #40 0x0000000800ad4ce1 in ReadRecord (h=Invalid C/C++ type code 35 in symbol table. ) at ../src/TWSReplayer.m3:109 #41 0x0000000800ad65fb in SearchBackwardForData (mu=Invalid C/C++ type code 26 in symbol table. ) at ../src/TWSReplayer.m3:350 #42 0x0000000800ad6e8a in ReqMktData (t=Invalid C/C++ type code 26 in symbol table. ) at ../src/TWSReplayer.m3:396 #43 0x0000000800adae34 in MreqMktData (t=Invalid C/C++ type code 26 in symbol table. ) ---Type to continue, or q to quit--- at ../src/TWSReplayBridge.m3 => /home/mika/t/calarm/twslib/src/TWSBridge.mg:574 #44 0x000000000040748a in AddContract (tws=Invalid C/C++ type code 26 in symbol table. ) at ../src/MktIsolator.m3:423 #45 0x00000000004086d8 in Init (t=Invalid C/C++ type code 26 in symbol table. ) at ../src/MktIsolator.m3:517 #46 0x00000000004106af in Main (mode=Invalid C/C++ type code 39 in symbol table. ) at ../src/Main.m3:734 #47 0x000000080375e507 in RunMainBody (m=Invalid C/C++ type code 29 in symbol table. ) at ../src/runtime/common/RTLinker.m3:399 #48 0x000000080375d6ee in AddUnitI (m=Invalid C/C++ type code 29 in symbol table. ) at ../src/runtime/common/RTLinker.m3:113 #49 0x000000080375d78c in AddUnit (b=Invalid C/C++ type code 31 in symbol table. ) at ../src/runtime/common/RTLinker.m3:122 #50 0x0000000000404194 in main (argc=45, argv=0x7fffffffddb0, envp=0x7fffffffdf20) at _m3main.mc:4 #51 0x00000000004040de in _start () (m3gdb) up 15 #15 0x0000000803752466 in CollectorOn () at ../src/runtime/common/RTCollector.m3:690 690 <* ASSERT NOT collectorOn *> Current language: auto; currently Modula-3 (m3gdb) print collectorOn $1 = TRUE (m3gdb) Also, the other assertion: PROCEDURE ProcessOther (act: Activation; p: PROCEDURE (start, stop: ADDRESS)) = (* LL=activeMu *) VAR sp: ADDRESS; BEGIN <*ASSERT act.state = ActState.Stopped*> (* here! *) IF DEBUG THEN RTIO.PutText("Processing act="); RTIO.PutAddr(act); RTIO.PutText("\n"); RTIO.Flush(); END; IF act.stackbase = NIL THEN RETURN END; RTHeapRep.FlushThreadState(act.heapState); (* process registers explicitly *) sp := ProcessState(act.handle, act.sp, p); (* or in my stack *) IF stack_grows_down THEN p(sp, act.stackbase); ELSE p(act.stackbase, sp); END; END ProcessOther; Mika Tony Hosking writes: > >--Apple-Mail-62--295019692 >Content-Type: text/plain; > charset=US-ASCII; > format=flowed; > delsp=yes >Content-Transfer-Encoding: 7bit > >Possibly. Though it may be more than that. I've not tested on >FreeBSD7 before. > >On 2 Nov 2009, at 12:20, Mika Nystrom wrote: > >> Tony (and others): >> >> I take it part of the problem I'm having is that I'm running a very >> out >> of date RC package on my FreeBSD7? >> >> Should I cvs update to something else to try? Note that what's in >> the "normal" >> CVS head didn't even compile when I tried it---see an earlier email >> from me. >> How can I specify the proper tag to get on to the "release" branch >> of the >> tree, if that's what I'm supposed to do? >> >> Mika >> >> Tony Hosking writes: >>> >>> --Apple-Mail-36--459856549 >>> Content-Type: text/plain; >>> charset=US-ASCII; >>> format=flowed; >>> delsp=yes >>> Content-Transfer-Encoding: 7bit >>> >>> Try regular gdb. >>> Set a breakpoint at RTHooks__ReportFault. >>> Then thread apply all bt. >>> >>> >>> Antony Hosking | Associate Professor | Computer Science | Purdue >>> University >>> 305 N. University Street | West Lafayette | IN 47907 | USA >>> Office +1 765 494 6001 | Mobile +1 765 427 5484 >>> >>> >>> >>> >>> On 31 Oct 2009, at 16:06, Mika Nystrom wrote: >>> >>>> With the RC m3gdb it either segfaults gdb or: >>>> >>>> (m3gdb) threads >>>> Can't find Modula-3 identifier: ThreadPosix >>>> (m3gdb) threads all >>>> Can't find Modula-3 identifier: ThreadPosix >>>> (m3gdb) threads all bt >>>> Can't find Modula-3 identifier: ThreadPosix >>>> (m3gdb) >>>> >>>> Tony Hosking writes: >>>>> >>>>> --Apple-Mail-33--461716527 >>>>> Content-Type: text/plain; >>>>> charset=US-ASCII; >>>>> format=flowed; >>>>> delsp=yes >>>>> Content-Transfer-Encoding: 7bit >>>>> >>>>> threads all bt >>>>> >>>>> should give a backtrace of all threads. >>>>> >>> >>> >>> --Apple-Mail-36--459856549 >>> Content-Type: text/html; >>> charset=US-ASCII >>> Content-Transfer-Encoding: quoted-printable >>> >>> >> space; = >>> -webkit-line-break: after-white-space; ">Try regular gdb.
Set a = >>> breakpoint at RTHooks__ReportFault.
Then thread apply all = >>> bt.


>> span" = >>> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font- >>> family: = >>> Helvetica; font-size: 12px; font-style: normal; font-variant: >>> normal; = >>> font-weight: normal; letter-spacing: normal; line-height: normal; = >>> orphans: 2; text-align: auto; text-indent: 0px; text-transform: >>> none; = >>> white-space: normal; widows: 2; word-spacing: 0px; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size- >>> adjust: = >>> auto; -webkit-text-stroke-width: 0; ">
>> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >>> after-white-space; ">>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>> spacing: = >>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>> font-variant: normal; font-weight: normal; letter-spacing: normal; = >>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>> none; = >>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>> ">
>> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >>> -webkit-line-break: after-white-space; ">>> span" = >>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>> spacing: = >>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>> font-variant: normal; font-weight: normal; letter-spacing: normal; = >>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>> none; = >>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>> ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">
>> class=3D"Apple-style-span" color=3D"#0000FF">>> class=3D"Apple-style-span" face=3D"Gill Sans">>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>> family: = >>> 'Gill Sans'; ">>> rgb(0, = >>> 0, 255); font-family: 'Gill Sans'; ">Antony = >>> Hosking>> face=3D"Gill Sans">>> family: = >>> 'Gill Sans'; ">>> family: = >>> 'Gill Sans'; "> | >>> >> class=3D"Apple-converted-space"> >> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; >>> ">>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >>> ">Associate Professor>> style=3D"font-family: 'Gill Sans'; ">>> span" = >>> style=3D"font-family: 'Gill Sans'; "> | Computer Science | >>> Purdue = >>> University
>> style-span"= >>> face=3D"GillSans-Light">>> style=3D"font-family: GillSans-Light; ">305 N. University Street | >>> West = >>> Lafayette | IN 47907 | USA
>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>> Sans">>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>> family: = >>> 'Gill Sans'; ">>> rgb(0, = >>> 0, 255); font-family: 'Gill Sans'; ">Office>> font>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>> ">>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; = >>> "> +1 765 494 6001 |>> class=3D"Apple-converted-space"> >> font>>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>> Sans">>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>> family: = >>> 'Gill Sans'; ">>> rgb(0, = >>> 0, 255); font-family: 'Gill Sans'; ">Mobile>> font>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>> ">>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>> ">>> class=3D"Apple-converted-space"> +1 765 427 = >>> 5484
>> span" = >>> face=3D"GillSans-Light">
>> class=3D"khtml-block-placeholder">
>> span>>>>

>> class=3D"Apple-interchange-newline">
>> span>
>> class=3D"Apple-interchange-newline">

On 31 Oct >>> 2009, = >>> at 16:06, Mika Nystrom wrote:

>> class=3D"Apple-interchange-newline">
>> type=3D"cite">
With = >>> the RC m3gdb it either segfaults gdb or:

(m3gdb) >>> threads
Can't = >>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads >>> all
Can't = >>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads all bt = >>>
Can't find Modula-3 identifier: ThreadPosix
(m3gdb) >>>

Tony = >>> Hosking writes:

>> blockquote>
>> type=3D"cite">--Apple-Mail-33--461716527
>> blockquote>
>> type=3D"cite">Content-Type: text/plain;
>> type=3D"cite">>> space:pre"> = >>> charset=3DUS-ASCII;
>> type=3D"cite">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> format=3Dflowed;
>> type=3D"cite">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> delsp=3Dyes
>> type=3D"cite">Content-Transfer-Encoding: = >>> 7bit
>> type=3D"cite">
threads >>> all = >>> bt

>> blockquote>
>> type=3D"cite">should give a backtrace of all = >>> threads.
>> type=3D"cite">

>> body><= >>> /html>= >>> >>> --Apple-Mail-36--459856549-- > > >--Apple-Mail-62--295019692 >Content-Type: text/html; > charset=US-ASCII >Content-Transfer-Encoding: quoted-printable > >-webkit-line-break: after-white-space; ">Possibly.  Though it may = >be more than that.  I've not tested on FreeBSD7 = >before.
class=3D"Apple-style-span" style=3D"border-collapse: separate; color: = >rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = >normal; font-variant: normal; font-weight: normal; letter-spacing: = >normal; line-height: normal; orphans: 2; text-align: auto; text-indent: = >0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = >0px; -webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: 0px; = >-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = >auto; -webkit-text-stroke-width: 0; ">
break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >-webkit-line-break: after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">
class=3D"Apple-style-span" style=3D"font-size: medium;">class=3D"Apple-style-span" color=3D"#0000FF" face=3D"'Gill = >Sans'">
<= >/span>
On 2 Nov 2009, at = >12:20, Mika Nystrom wrote:

class=3D"Apple-interchange-newline">
Tony = >(and others):

I take it part of the problem I'm having is that = >I'm running a very out
of date RC package on my = >FreeBSD7?

Should I cvs update to something else to try? = > Note that what's in the "normal"
CVS head didn't even compile = >when I tried it---see an earlier email from me.
How can I specify the = >proper tag to get on to the "release" branch of the
tree, if that's = >what I'm supposed to do?

   Mika

Tony = >Hosking writes:

type=3D"cite">--Apple-Mail-36--459856549
type=3D"cite">Content-Type: text/plain;
type=3D"cite"> = >charset=3DUS-ASCII;
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >format=3Dflowed;
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >delsp=3Dyes
type=3D"cite">Content-Transfer-Encoding: = >7bit
type=3D"cite">
Try regular = >gdb.
Set a breakpoint at = >RTHooks__ReportFault.
Then = >thread apply all bt.
type=3D"cite">
type=3D"cite">
Antony Hosking = >| Associate Professor | Computer Science | Purdue = > 
type=3D"cite">University
305 = >N. University Street | West Lafayette | IN 47907 | = >USA
Office +1 765 494 6001 | = >Mobile +1 765 427 5484
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
On 31 Oct 2009, = >at 16:06, Mika Nystrom wrote:
type=3D"cite">
type=3D"cite">With the RC m3gdb it either segfaults gdb = >or:
type=3D"cite">
type=3D"cite">
(m3gdb) = >threads
type=3D"cite">Can't find Modula-3 identifier: = >ThreadPosix
type=3D"cite">
(m3gdb) threads = >all
type=3D"cite">Can't find Modula-3 identifier: = >ThreadPosix
type=3D"cite">
(m3gdb) threads all = >bt
type=3D"cite">Can't find Modula-3 identifier: = >ThreadPosix
type=3D"cite">
type=3D"cite">(m3gdb)
type=3D"cite">
type=3D"cite">
type=3D"cite">
Tony Hosking = >writes:
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">--Apple-Mail-33--461716527
ockquote>
type=3D"cite">Content-Type: = >text/plain;
type=3D"cite">
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >charset=3DUS-ASCII;
kquote type=3D"cite">
type=3D"cite"> = >format=3Dflowed;
ote type=3D"cite">
type=3D"cite"> = >delsp=3Dyes
type=3D"cite">
type=3D"cite">Content-Transfer-Encoding: = >7bit
type=3D"cite">
type=3D"cite">
type=3D"cite">
threads = >all bt
type=3D"cite">
type=3D"cite">
type=3D"cite">
should = >give a backtrace of all = >threads.
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">--Apple-Mail-36--459856549
type=3D"cite">Content-Type: text/html;
type=3D"cite"> = >charset=3DUS-ASCII
type=3D"cite">Content-Transfer-Encoding: = >quoted-printable
type=3D"cite">
type=3D"cite"><html><body style=3D3D"word-wrap: break-word; = >-webkit-nbsp-mode: space; =3D
type=3D"cite">-webkit-line-break: after-white-space; ">Try regular = >gdb.<div>Set a =3D
type=3D"cite">breakpoint at = >RTHooks__ReportFault.</div><div>Then thread apply all = >=3D
type=3D"cite">bt.</div><div><br></div><div>&= >lt;br><div> <span class=3D3D"Apple-style-span" = >=3D
style=3D3D"border-collapse: = >separate; color: rgb(0, 0, 0); font-family: = >=3D
Helvetica; font-size: = >12px; font-style: normal; font-variant: normal; = >=3D
font-weight: normal; = >letter-spacing: normal; line-height: normal; = >=3D
orphans: 2; text-align: = >auto; text-indent: 0px; text-transform: none; = >=3D
white-space: normal; = >widows: 2; word-spacing: 0px; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; -webkit-text-decorations-in-effect: none; = >-webkit-text-size-adjust: =3D
type=3D"cite">auto; -webkit-text-stroke-width: 0; "><div = >style=3D3D"word-wrap: =3D
type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >=3D
after-white-space; = >"><span class=3D3D"Apple-style-span" =3D
type=3D"cite">style=3D3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: =3D
type=3D"cite">0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, = >0, 0); =3D
font-family: = >Helvetica; font-size: 12px; font-style: normal; = >=3D
font-variant: normal; = >font-weight: normal; letter-spacing: normal; = >=3D
line-height: normal; = >-webkit-text-decorations-in-effect: none; =3D
type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; white-space: normal; widows: 2; word-spacing: = >0px; "><div =3D
type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp-mode: = >space; =3D
-webkit-line-break: = >after-white-space; "><span class=3D3D"Apple-style-span" = >=3D
style=3D3D"border-collapse: = >separate; -webkit-border-horizontal-spacing: = >=3D
0px; = >-webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >=3D
font-family: Helvetica; = >font-size: 12px; font-style: normal; =3D
type=3D"cite">font-variant: normal; font-weight: normal; letter-spacing: = >normal; =3D
line-height: = >normal; -webkit-text-decorations-in-effect: none; = >=3D
text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; = >=3D
orphans: 2; white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><div><font = >=3D
class=3D3D"Apple-style-span"= > color=3D3D"#0000FF"><font =3D
type=3D"cite">class=3D3D"Apple-style-span" face=3D3D"Gill = >Sans"><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, 0, = >255); font-family: =3D
'Gill = >Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = >rgb(0, =3D
0, 255); = >font-family: 'Gill Sans'; ">Antony =3D
type=3D"cite">Hosking</span></span></font></font>&= >lt;font class=3D3D"Apple-style-span" =3D
type=3D"cite">face=3D3D"Gill Sans"><span = >class=3D3D"Apple-style-span" style=3D3D"font-family: = >=3D
'Gill Sans'; "><span = >class=3D3D"Apple-style-span" style=3D3D"font-family: = >=3D
'Gill Sans'; "><span = >class=3D3D"Apple-converted-space">&nbsp;</span>|<span = >=3D
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= ></span></span><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: 'Gill = >Sans'; "><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: 'Gill = >Sans'; =3D
">Associate = >Professor</span></span><span class=3D3D"Apple-style-span" = >=3D
style=3D3D"font-family: = >'Gill Sans'; "><span class=3D3D"Apple-style-span" = >=3D
style=3D3D"font-family: = >'Gill Sans'; ">&nbsp;| Computer Science | Purdue = >=3D
type=3D"cite">University</span></span></font></div>= >;<div><font = >class=3D3D"Apple-style-span"=3D
type=3D"cite">face=3D3D"GillSans-Light"><span = >class=3D3D"Apple-style-span" =3D
type=3D"cite">style=3D3D"font-family: GillSans-Light; ">305 N. = >University Street | West =3D
type=3D"cite">Lafayette | IN 47907 | = >USA</span></font></div><div><font = >=3D
class=3D3D"Apple-style-span"= > color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"color: rgb(0, 0, 255); font-family: = >=3D
'Gill Sans'; "><span = >class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >=3D
0, 255); font-family: = >'Gill Sans'; ">Office</span></span></font><font = >=3D
class=3D3D"Apple-style-span"= > face=3D3D"GillSans-Light"><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; "><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; =3D
type=3D"cite">">&nbsp;+1 765 494 6001 |<span = >=3D
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= ></span></span></font><font = >=3D
class=3D3D"Apple-style-span"= > color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"color: rgb(0, 0, 255); font-family: = >=3D
'Gill Sans'; "><span = >class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >=3D
0, 255); font-family: = >'Gill Sans'; ">Mobile</span></span></font><font = >=3D
class=3D3D"Apple-style-span"= > face=3D3D"GillSans-Light"><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; "><span =3D
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; "><span =3D
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= >+1 765 427 =3D
type=3D"cite">5484</span></span></font></div><d= >iv><font class=3D3D"Apple-style-span" = >=3D
type=3D"cite">face=3D3D"GillSans-Light"><br = >=3D
type=3D"cite">class=3D3D"khtml-block-placeholder"></font></div= >></span></span></span></span=3D
lockquote type=3D"cite">
type=3D"cite"></span></span></span><br = >=3D
type=3D"cite">class=3D3D"Apple-interchange-newline"></span></d= >iv></span></div></span><br = >=3D
type=3D"cite">class=3D3D"Apple-interchange-newline"> = ></div><br><div><div>On 31 Oct 2009, = >=3D
at 16:06, Mika Nystrom = >wrote:</div><br =3D
type=3D"cite">class=3D3D"Apple-interchange-newline"><blockquote = >type=3D3D"cite"><div>With =3D
type=3D"cite">the RC m3gdb it either segfaults gdb = >or:<br><br>(m3gdb) threads<br>Can't = >=3D
find Modula-3 identifier: = >ThreadPosix<br>(m3gdb) threads all<br>Can't = >=3D
find Modula-3 identifier: = >ThreadPosix<br>(m3gdb) threads all bt = >=3D
<br>Can't find = >Modula-3 identifier: ThreadPosix<br>(m3gdb) = ><br><br>Tony =3D
type=3D"cite">Hosking writes:<br><blockquote = >type=3D3D"cite"><br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">--Apple-Mail-33--461716527<br></= >blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Type: = >text/plain;<br></blockquote><blockquote = >=3D
type=3D3D"cite"><span = >class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">class=3D"Apple-tab-span" style=3D"white-space:pre"> = >=3D
type=3D"cite"></span>charset=3D3DUS-ASCII;<br></blockquote&= >gt;<blockquote type=3D3D"cite"><span=3D
te type=3D"cite">class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>format=3D3Dflowed;<br></blockquote>= ><blockquote type=3D3D"cite"><span =3D
type=3D"cite">class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>delsp=3D3Dyes<br></blockquote><b= >lockquote =3D
type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >=3D
type=3D"cite">7bit<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite">threads all =3D
type=3D"cite">bt<br></blockquote><blockquote = >type=3D3D"cite"><br></blockquote><blockquote = >=3D
type=3D3D"cite">should = >give a backtrace of all =3D
type=3D"cite">threads.<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote></div>= ></blockquote></div><br></div></body><=3D<= >br>
type=3D"cite">/html>=3D
type=3D"cite">
type=3D"cite">--Apple-Mail-36--459856549--
ote>

= > >--Apple-Mail-62--295019692-- From mika at async.async.caltech.edu Thu Nov 5 02:16:51 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Wed, 04 Nov 2009 17:16:51 -0800 Subject: [M3devel] current head fails to build on AMD64_FREEBSD, something in cvsup Message-ID: <20091105011651.BE25A1A2087@async.async.caltech.edu> Hello m3devel, Attempting to build the current head on AMD64_FREEBSD, I see the following. Not quite sure what's going on, it appears to be complaining about m3-tools/cvsup/suplib/src/m3makefile , but I can't see anything wrong with it... removing the cvsup directories makes the whole std build just fine and mentor seems to work admirably. Mika === package /big/home2/mika/2/cm3-cvs/cm3/m3-tools/cvsup/suplib === +++ cm3 -build -DROOT='/big/home2/mika/2/cm3-cvs/cm3' -DCM3_VERSION_TEXT='d5.8.2' -DCM3_VERSION_NUMBER='050802' -DCM3_LAST_CHANGED='2009-07-15' $RARGS && cm3 -ship $RARGS -DROOT='/big/home2/mika/2/cm3-cvs/cm3' -DCM3_VERSION_TEXT='d5.8.2' -DCM3_VERSION_NUMBER='050802' -DCM3_LAST_CHANGED='2009-07-15' +++ --- building in AMD64_FREEBSD --- ignoring ../src/m3overrides "/big/home2/mika/2/cm3-cvs/cm3/m3-tools/cvsup/suplib/AMD64_FREEBSD/m3make.args", line 8: quake runtime error: /big/home2/mika/2/cm3-cvs/cm3/m3-tools/cvsup/suplib/src/m3makefile, line 263: syntax error: "end" or "else" expected after "if" --procedure-- -line- -file--- include_dir -- 8 /big/home2/mika/2/cm3-cvs/cm3/m3-tools/cvsup/suplib/AMD64_FREEBSD/m3make.args Fatal Error: package build failed ==> /big/home2/mika/2/cm3-cvs/cm3/m3-tools/cvsup/suplib done === package /big/home2/mika/2/cm3-cvs/cm3/m3-tools/cvsup/client === +++ cm3 -build -DROOT='/big/home2/mika/2/cm3-cvs/cm3' -DCM3_VERSION_TEXT='d5.8.2' -DCM3_VERSION_NUMBER='050802' -DCM3_LAST_CHANGED='2009-07-15' $RARGS && cm3 -ship $RARGS -DROOT='/big/home2/mika/2/cm3-cvs/cm3' -DCM3_VERSION_TEXT='d5.8.2' -DCM3_VERSION_NUMBER='050802' -DCM3_LAST_CHANGED='2009-07-15' +++ --- building in AMD64_FREEBSD --- ignoring ../src/m3overrides new source -> compiling Version.m3 Fatal Error: bad version stamps: FileAttr.m3 version stamp mismatch: Utime.gettimeofday <4c80d7c38bf506ed> => FileAttr.m3 => Utime.i3 FileAttr.m3: missing imported type: _t517ef6ef FileAttr.m3: missing imported type: _t0a222e09 *** execution of cm3 -build -DROOT='/big/home2/mika/2/cm3-cvs/cm3' -DCM3_VERSION_TEXT='d5.8.2' -DCM3_VERSION_NUMBER='050802' -DCM3_LAST_CHANGED='2009-07-15' $RARGS && cm3 -ship $RARGS -DROOT='/big/home2/mika/2/cm3-cvs/cm3' -DCM3_VERSION_TEXT='d5.8.2' -DCM3_VERSION_NUMBER='050802' -DCM3_LAST_CHANGED='2009-07-15' failed *** From mika at async.async.caltech.edu Thu Nov 5 02:27:47 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Wed, 04 Nov 2009 17:27:47 -0800 Subject: [M3devel] assertion failure in Juno Message-ID: <20091105012747.5C8401A2087@async.async.caltech.edu> Hello m3devel, I'm afraid the following is probably an orphan bug, but in case anyone has a clue what's going on, here it is: 1. Put down three points in Juno, draw a curve using them (looping from one point back to itself, with the other two as control points). 2. Turn on the grid. 3. Move one of the control points around, so it snaps to the grid. 4. Move the other control point to the same spot. What happens on my AMD64_FREEBSD is this: (323)ginger:~/cm3/scripts>Juno Xlib: extension "Generic Event Extension" missing on display "rover:1.0". Assertion failed: (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=, dpy->request)), function process_responses, file xcb_io.c, line 242. Assertion failed: (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=, dpy->request)), function process_responses, file xcb_io.c, line 242. Abort (324)ginger:~/cm3/scripts> now if it had crashed in Juno's M3 code I wouldn't be concerned, but it seems to be crashing in X code, which just sounds wrong... and it seems to crash in some sort of messaging queue code? Mika P.S. More detail: (m3gdb) run Starting program: /usr/local/cm3/bin/Juno Can't disable VM GC. Signal Stop Print Pass to program Description SIG64 No No Yes Real-time event 64 Program received signal SIGUSR2, User defined signal 2. 0x0000000802eb729c in __error () from /lib/libthr.so.3 (m3gdb) handle SIGUSR2 nostop noprint Signal Stop Print Pass to program Description SIGUSR2 No No Yes User defined signal 2 (m3gdb) cont Continuing. Xlib: extension "Generic Event Extension" missing on display "rover:1.0". Assertion failed: (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=, dpy->request)), function process_responses, file xcb_io.c, line 242. Assertion failed: (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=, dpy->request)), function process_responses, file xcb_io.c, line 242. Program received signal SIGABRT, Aborted. 0x000000080300ea9c in thr_kill () from /lib/libc.so.7 (m3gdb) where #0 0x000000080300ea9c in thr_kill () from /lib/libc.so.7 #1 0x000000080309df8b in abort () from /lib/libc.so.7 #2 0x0000000803085f55 in __assert () from /lib/libc.so.7 #3 0x0000000802ba7451 in process_responses () from /usr/local/lib/libX11.so.6 #4 0x0000000802ba7cc7 in _XEventsQueued () from /usr/local/lib/libX11.so.6 #5 0x0000000802b91b8b in XEventsQueued () from /usr/local/lib/libX11.so.6 #6 0x0000000801268b1b in AdjustCoverage (xcon=Invalid C/C++ type code 26 in symbol table. ) at ../src/xvbt/XClientF.m3:362 #7 0x000000080124dfb5 in Messenger (self=Invalid C/C++ type code 26 in symbol table. ) at ../src/xvbt/XMessenger.m3:108 #8 0x0000000801aeb7b3 in RunThread (me=Invalid C/C++ type code 29 in symbol table. ) at ../src/thread/PTHREAD/ThreadPThread.m3:509 #9 0x0000000801aeb569 in ThreadBase (param=Invalid C/C++ type code 35 in symbol table. ) at ../src/thread/PTHREAD/ThreadPThread.m3:490 #10 0x0000000802ead4d1 in pthread_getprio () from /lib/libthr.so.3 #11 0x0000000000000000 in ?? () (m3gdb) (m3gdb) up 6 #6 0x0000000801268b1b in AdjustCoverage (xcon=16_000000080377a2c0, d=1) at ../src/xvbt/XClientF.m3:362 362 IF X.XEventsQueued(xcon.dpy, X.QueuedAfterReading) # 0 THEN Current language: auto; currently Modula-3 (m3gdb) list 357 RAISES {TrestleComm.Failure} = 358 BEGIN 359 TRY 360 INC(xcon.coverage, d); 361 IF xcon.coverage = 0 THEN X.XFlush(xcon.dpy) END; 362 IF X.XEventsQueued(xcon.dpy, X.QueuedAfterReading) # 0 THEN 363 Thread.Signal(xcon.qNonEmpty) 364 END; 365 EXCEPT X.Error => RAISE TrestleComm.Failure END; 366 END AdjustCoverage; (m3gdb) print xcon.dpy $1 = 16_000000080389f000 From hosking at cs.purdue.edu Thu Nov 5 04:07:12 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Wed, 4 Nov 2009 22:07:12 -0500 Subject: [M3devel] ThreadF.{SuspendOthers,ResumeOthers} In-Reply-To: <20091104223135.225CB1A2087@async.async.caltech.edu> References: <20091104223135.225CB1A2087@async.async.caltech.edu> Message-ID: <98349341-1CB1-468D-99FD-CA67F8715841@cs.purdue.edu> Yikes. Not what they are really intended for... I don't advocate ever exposing them again. Enable/Disable only mean anything for user threads, otherwise no-ops. For your purposes, I suppose you could re-expose them. On 4 Nov 2009, at 17:31, Mika Nystrom wrote: > > Hello m3devel, > > I'm trying to build my software with the CVS head of CM3 and I just > ran > into something. > > I've been using ThreadF.SuspendOthers and ThreadF.ResumeOthers > (together > with some busy waiting) to simulate machines of different speeds. > (Big application with lots of threads, split across several machines). > This is only for testing of course. > > But these routines have now been moved into a private interface? > Is there anything similar one can do? Enable/DisableSwitching... or? > > Mika -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Thu Nov 5 04:16:10 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Wed, 4 Nov 2009 22:16:10 -0500 Subject: [M3devel] AMD64_FREEBSD problems with current RC from m3 site In-Reply-To: <20091105005732.CA91E1A2087@async.async.caltech.edu> References: <20091031161142.57E771A2097@async.async.caltech.edu> <20091031161514.C7E441A2097@async.async.caltech.edu> <7D03409A-CC44-4B27-BCE0-E7A3D110B242@cs.purdue.edu> <20091031182637.1D2DD1A209C@async.async.caltech.edu> <9666B412-E255-4103-9954-420E39AA9303@cs.purdue.edu> <20091031185401.0E3761A209C@async.async.caltech.edu> <20091031191011.63E701A2097@async.async.caltech.edu> <823EE49D-F6C9-4A13-A6BA-4EC73B00E13E@cs.purdue.edu> <20091031192335.050261A207D@async.async.caltech.edu> <20091031200623.C0BC71A2097@async.async.caltech.edu> <1210FEF9-5EAD-4313-A96A-2709711F4BDE@cs.purdue.edu> <20091102172011.A9D5B1A209F@async.async.caltech.edu> <94D30830-E745-4305-B587-75E2AC7612CC@cs.purdue.edu> <20091105005732.CA91E1A2087@async.async.caltech.edu> Message-ID: Can you get this to break at the first fault: break RTHooks__ReportFault And then: p ThreadPThread__DumpThreads() Clearly somethings is *very* broken. How can we be processing a thread that is not stopped when we should have stopped them all. Antony Hosking | Associate Professor | Computer Science | Purdue University 305 N. University Street | West Lafayette | IN 47907 | USA Office +1 765 494 6001 | Mobile +1 765 427 5484 On 4 Nov 2009, at 19:57, Mika Nystrom wrote: > Hi Tony and others, > > I tested with the head now (it looks a bit more organized than a week > ago), and I get the same problems. A "double assert failure". > > By the way I am noticing that the program is quite slow. It could be > that I'm accessing data over NFS, possibly... not sure I've done a > fair > back-to-back comparison. (My benchmark is, as always, an ancient > PM3 on > "FreeBSD4" i386.) > > > *** > *** runtime error: > *** <*ASSERT*> failed. > *** file "../src/thread/PTHREAD/ThreadPThread.m3", line 967 > *** > > > > *** > *** runtime error: > *** <*ASSERT*> failed. > *** file "../src/runtime/common/RTCollector.m3", line 690 > *** > > > Program received signal SIGABRT, Aborted. > 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 > (m3gdb) > > The problem seems a bit different from before, however: > > Program received signal SIGABRT, Aborted. > 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 > (m3gdb) where > #0 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 > #1 0x0000000804d24f8b in abort () from /lib/libc.so.7 > #2 0x000000080376e3cf in Crash () at ../src/runtime/POSIX/RTOS.m3:20 > #3 0x0000000803761f05 in Crash (msg=Invalid C/C++ type code 26 in > symbol table. > ) at ../src/runtime/common/RTProcess.m3:65 > #4 0x000000080375f3a2 in EndError (crash=Invalid C/C++ type code 36 > in symbol table. > ) at ../src/runtime/common/RTError.m3:118 > #5 0x000000080375f09a in MsgS (file=Invalid C/C++ type code 35 in > symbol table. > ) at ../src/runtime/common/RTError.m3:40 > #6 0x000000080375f875 in Crash (a=Invalid C/C++ type code 30 in > symbol table. > ) at ../src/runtime/common/RTException.m3:79 > #7 0x000000080375f52c in DefaultBackstop (a=Invalid C/C++ type code > 30 in symbol table. > ) at ../src/runtime/common/RTException.m3:39 > #8 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code > 30 in symbol table. > ) at ../src/runtime/common/RTException.m3:25 > #9 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in > symbol table. > ) at ../src/runtime/ex_frame/RTExFrame.m3:29 > #10 0x000000080375f5de in DefaultBackstop (a=Invalid C/C++ type code > 30 in symbol table. > ) at ../src/runtime/common/RTException.m3:47 > #11 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code > 30 in symbol table. > ) at ../src/runtime/common/RTException.m3:25 > #12 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in > symbol table. > ) at ../src/runtime/ex_frame/RTExFrame.m3:29 > #13 0x0000000803746f81 in ReportFault (module=Invalid C/C++ type > code 35 in symbol table. > ) at ../src/runtime/common/RTHooks.m3:110 > #14 0x000000080375c91c in _m3_fault (arg=Invalid C/C++ type code 39 > in symbol table. > ) > from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 > #15 0x0000000803752466 in CollectorOn () at ../src/runtime/common/ > RTCollector.m3:690 > #16 0x0000000803759597 in CheckLoadTracedRef (ref=Invalid C/C++ type > code 46 in symbol table. > ) at ../src/runtime/common/RTCollector.m3:2229 > #17 0x00000008034e8db4 in ShutDown () at ../src/rw/Stdio.m3:43 > #18 0x0000000803761e5c in InvokeExitors () at ../src/runtime/common/ > RTProcess.m3:40 > #19 0x0000000803761eee in Crash (msg=Invalid C/C++ type code 26 in > symbol table. > ) at ../src/runtime/common/RTProcess.m3:61 > #20 0x000000080375f3a2 in EndError (crash=Invalid C/C++ type code 36 > in symbol table. > ) at ../src/runtime/common/RTError.m3:118 > #21 0x000000080375f09a in MsgS (file=Invalid C/C++ type code 35 in > symbol table. > ) at ../src/runtime/common/RTError.m3:40 > ---Type to continue, or q to quit--- > #22 0x000000080375f875 in Crash (a=Invalid C/C++ type code 30 in > symbol table. > ) at ../src/runtime/common/RTException.m3:79 > #23 0x000000080375f52c in DefaultBackstop (a=Invalid C/C++ type code > 30 in symbol table. > ) at ../src/runtime/common/RTException.m3:39 > #24 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code > 30 in symbol table. > ) at ../src/runtime/common/RTException.m3:25 > #25 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in > symbol table. > ) at ../src/runtime/ex_frame/RTExFrame.m3:29 > #26 0x000000080375f5de in DefaultBackstop (a=Invalid C/C++ type code > 30 in symbol table. > ) at ../src/runtime/common/RTException.m3:47 > #27 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code > 30 in symbol table. > ) at ../src/runtime/common/RTException.m3:25 > #28 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in > symbol table. > ) at ../src/runtime/ex_frame/RTExFrame.m3:29 > #29 0x0000000803746f81 in ReportFault (module=Invalid C/C++ type > code 35 in symbol table. > ) at ../src/runtime/common/RTHooks.m3:110 > #30 0x00000008037761b1 in _m3_fault (arg=Invalid C/C++ type code 39 > in symbol table. > ) > from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 > #31 0x0000000803774c6b in ProcessOther (act=Invalid C/C++ type code > 29 in symbol table. > ) at ../src/thread/PTHREAD/ThreadPThread.m3:967 > #32 0x000000080377485b in ProcessStacks (p=Invalid C/C++ type code > 31 in symbol table. > ) at ../src/thread/PTHREAD/ThreadPThread.m3:888 > #33 0x0000000803752d59 in CollectSomeInStateZero () at ../src/ > runtime/common/RTCollector.m3:819 > #34 0x00000008037526a0 in CollectSome () at ../src/runtime/common/ > RTCollector.m3:719 > #35 0x00000008037520a1 in CollectEnough () at ../src/runtime/common/ > RTCollector.m3:653 > #36 0x0000000803748f49 in AllocTraced (dataSize=Invalid C/C++ type > code 40 in symbol table. > ) at ../src/runtime/common/RTAllocator.m3:365 > #37 0x0000000803747f1c in GetTracedObj (def=Invalid C/C++ type code > 29 in symbol table. > ) at ../src/runtime/common/RTAllocator.m3:224 > #38 0x0000000803747833 in AllocateTracedObj (defn=Invalid C/C++ type > code 35 in symbol table. > ) at ../src/runtime/common/RTAllocator.m3:120 > #39 0x0000000800ad4207 in ParseRec (chars=Invalid C/C++ type code 30 > in symbol table. > ) at ../src/TWSLogger.m3:127 > #40 0x0000000800ad4ce1 in ReadRecord (h=Invalid C/C++ type code 35 > in symbol table. > ) at ../src/TWSReplayer.m3:109 > #41 0x0000000800ad65fb in SearchBackwardForData (mu=Invalid C/C++ > type code 26 in symbol table. > ) at ../src/TWSReplayer.m3:350 > #42 0x0000000800ad6e8a in ReqMktData (t=Invalid C/C++ type code 26 > in symbol table. > ) at ../src/TWSReplayer.m3:396 > #43 0x0000000800adae34 in MreqMktData (t=Invalid C/C++ type code 26 > in symbol table. > ) > ---Type to continue, or q to quit--- > at ../src/TWSReplayBridge.m3 => /home/mika/t/calarm/twslib/src/ > TWSBridge.mg:574 > #44 0x000000000040748a in AddContract (tws=Invalid C/C++ type code > 26 in symbol table. > ) at ../src/MktIsolator.m3:423 > #45 0x00000000004086d8 in Init (t=Invalid C/C++ type code 26 in > symbol table. > ) at ../src/MktIsolator.m3:517 > #46 0x00000000004106af in Main (mode=Invalid C/C++ type code 39 in > symbol table. > ) at ../src/Main.m3:734 > #47 0x000000080375e507 in RunMainBody (m=Invalid C/C++ type code 29 > in symbol table. > ) at ../src/runtime/common/RTLinker.m3:399 > #48 0x000000080375d6ee in AddUnitI (m=Invalid C/C++ type code 29 in > symbol table. > ) at ../src/runtime/common/RTLinker.m3:113 > #49 0x000000080375d78c in AddUnit (b=Invalid C/C++ type code 31 in > symbol table. > ) at ../src/runtime/common/RTLinker.m3:122 > #50 0x0000000000404194 in main (argc=45, argv=0x7fffffffddb0, > envp=0x7fffffffdf20) at _m3main.mc:4 > #51 0x00000000004040de in _start () > (m3gdb) up 15 > #15 0x0000000803752466 in CollectorOn () at ../src/runtime/common/ > RTCollector.m3:690 > 690 <* ASSERT NOT collectorOn *> > Current language: auto; currently Modula-3 > (m3gdb) print collectorOn > $1 = TRUE > (m3gdb) > > Also, the other assertion: > > PROCEDURE ProcessOther (act: Activation; p: PROCEDURE (start, stop: > ADDRESS)) = > (* LL=activeMu *) > VAR sp: ADDRESS; > BEGIN > <*ASSERT act.state = ActState.Stopped*> (* here! *) > IF DEBUG THEN > RTIO.PutText("Processing act="); RTIO.PutAddr(act); > RTIO.PutText("\n"); RTIO.Flush(); > END; > IF act.stackbase = NIL THEN RETURN END; > RTHeapRep.FlushThreadState(act.heapState); > (* process registers explicitly *) > sp := ProcessState(act.handle, act.sp, p); > (* or in my stack *) > IF stack_grows_down > THEN p(sp, act.stackbase); > ELSE p(act.stackbase, sp); > END; > END ProcessOther; > > Mika > > Tony Hosking writes: >> >> --Apple-Mail-62--295019692 >> Content-Type: text/plain; >> charset=US-ASCII; >> format=flowed; >> delsp=yes >> Content-Transfer-Encoding: 7bit >> >> Possibly. Though it may be more than that. I've not tested on >> FreeBSD7 before. >> >> On 2 Nov 2009, at 12:20, Mika Nystrom wrote: >> >>> Tony (and others): >>> >>> I take it part of the problem I'm having is that I'm running a very >>> out >>> of date RC package on my FreeBSD7? >>> >>> Should I cvs update to something else to try? Note that what's in >>> the "normal" >>> CVS head didn't even compile when I tried it---see an earlier email >>> from me. >>> How can I specify the proper tag to get on to the "release" branch >>> of the >>> tree, if that's what I'm supposed to do? >>> >>> Mika >>> >>> Tony Hosking writes: >>>> >>>> --Apple-Mail-36--459856549 >>>> Content-Type: text/plain; >>>> charset=US-ASCII; >>>> format=flowed; >>>> delsp=yes >>>> Content-Transfer-Encoding: 7bit >>>> >>>> Try regular gdb. >>>> Set a breakpoint at RTHooks__ReportFault. >>>> Then thread apply all bt. >>>> >>>> >>>> Antony Hosking | Associate Professor | Computer Science | Purdue >>>> University >>>> 305 N. University Street | West Lafayette | IN 47907 | USA >>>> Office +1 765 494 6001 | Mobile +1 765 427 5484 >>>> >>>> >>>> >>>> >>>> On 31 Oct 2009, at 16:06, Mika Nystrom wrote: >>>> >>>>> With the RC m3gdb it either segfaults gdb or: >>>>> >>>>> (m3gdb) threads >>>>> Can't find Modula-3 identifier: ThreadPosix >>>>> (m3gdb) threads all >>>>> Can't find Modula-3 identifier: ThreadPosix >>>>> (m3gdb) threads all bt >>>>> Can't find Modula-3 identifier: ThreadPosix >>>>> (m3gdb) >>>>> >>>>> Tony Hosking writes: >>>>>> >>>>>> --Apple-Mail-33--461716527 >>>>>> Content-Type: text/plain; >>>>>> charset=US-ASCII; >>>>>> format=flowed; >>>>>> delsp=yes >>>>>> Content-Transfer-Encoding: 7bit >>>>>> >>>>>> threads all bt >>>>>> >>>>>> should give a backtrace of all threads. >>>>>> >>>> >>>> >>>> --Apple-Mail-36--459856549 >>>> Content-Type: text/html; >>>> charset=US-ASCII >>>> Content-Transfer-Encoding: quoted-printable >>>> >>>> >>> space; = >>>> -webkit-line-break: after-white-space; ">Try regular gdb.
Set >>>> a = >>>> breakpoint at RTHooks__ReportFault.
Then thread apply >>>> all = >>>> bt.


>>> span" = >>>> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font- >>>> family: = >>>> Helvetica; font-size: 12px; font-style: normal; font-variant: >>>> normal; = >>>> font-weight: normal; letter-spacing: normal; line-height: normal; = >>>> orphans: 2; text-align: auto; text-indent: 0px; text-transform: >>>> none; = >>>> white-space: normal; widows: 2; word-spacing: 0px; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size- >>>> adjust: = >>>> auto; -webkit-text-stroke-width: 0; ">
>>> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >>>> after-white-space; ">>>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>>> spacing: = >>>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>>> font-variant: normal; font-weight: normal; letter-spacing: >>>> normal; = >>>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>>> none; = >>>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>>> ">
>>> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >>>> -webkit-line-break: after-white-space; ">>>> style- >>>> span" = >>>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>>> spacing: = >>>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>>> font-variant: normal; font-weight: normal; letter-spacing: >>>> normal; = >>>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>>> none; = >>>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>>> ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">
>>> class=3D"Apple-style-span" color=3D"#0000FF">>>> class=3D"Apple-style-span" face=3D"Gill Sans">>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>> family: = >>>> 'Gill Sans'; ">>>> rgb(0, = >>>> 0, 255); font-family: 'Gill Sans'; ">Antony = >>>> Hosking>>> span" = >>>> face=3D"Gill Sans">>>> family: = >>>> 'Gill Sans'; ">>>> family: = >>>> 'Gill Sans'; "> | >>>> >>> class=3D"Apple-converted-space"> >>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; >>>> ">>>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >>>> ">Associate Professor>>> span" = >>>> style=3D"font-family: 'Gill Sans'; ">>>> span" = >>>> style=3D"font-family: 'Gill Sans'; "> | Computer Science | >>>> Purdue = >>>> University
>>> style-span"= >>>> face=3D"GillSans-Light">>>> style=3D"font-family: GillSans-Light; ">305 N. University Street | >>>> West = >>>> Lafayette | IN 47907 | USA
>>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>>> Sans">>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>> family: = >>>> 'Gill Sans'; ">>>> rgb(0, = >>>> 0, 255); font-family: 'Gill Sans'; ">Office>>> font>>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>> ">>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; = >>>> "> +1 765 494 6001 |>>> class=3D"Apple-converted-space"> >>> font>>>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>>> Sans">>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>> family: = >>>> 'Gill Sans'; ">>>> rgb(0, = >>>> 0, 255); font-family: 'Gill Sans'; ">Mobile>>> font>>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>> ">>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>> ">>>> class=3D"Apple-converted-space"> +1 765 427 = >>>> 5484
>>> span" = >>>> face=3D"GillSans-Light">
>>> class=3D"khtml-block-placeholder">
>>> span>>>>>

>>> class=3D"Apple-interchange-newline">
>>> span>
>>> class=3D"Apple-interchange-newline">

On 31 Oct >>>> 2009, = >>>> at 16:06, Mika Nystrom wrote:

>>> class=3D"Apple-interchange-newline">
>>> type=3D"cite">
With = >>>> the RC m3gdb it either segfaults gdb or:

(m3gdb) >>>> threads
Can't = >>>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads >>>> all
Can't = >>>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads all bt = >>>>
Can't find Modula-3 identifier: ThreadPosix
(m3gdb) >>>>

Tony = >>>> Hosking writes:

>>> blockquote>
>>> type=3D"cite">--Apple-Mail-33--461716527
>>> blockquote>
>>> type=3D"cite">Content-Type: text/plain;
>>> blockquote>
>>> type=3D"cite">>>> space:pre"> = >>>> charset=3DUS-ASCII;
>>> type=3D"cite">>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>> format=3Dflowed;
>>> type=3D"cite">>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>> delsp=3Dyes
>>> type=3D"cite">Content-Transfer-Encoding: = >>>> 7bit
>>> type=3D"cite">
threads >>>> all = >>>> bt

>>> blockquote>
>>> type=3D"cite">should give a backtrace of all = >>>> threads.
>>> type=3D"cite">

>>> div>>>> body><= >>>> /html>= >>>> >>>> --Apple-Mail-36--459856549-- >> >> >> --Apple-Mail-62--295019692 >> Content-Type: text/html; >> charset=US-ASCII >> Content-Transfer-Encoding: quoted-printable >> >> > space; = >> -webkit-line-break: after-white-space; ">Possibly.  Though it >> may = >> be more than that.  I've not tested on FreeBSD7 = >> before.
> class=3D"Apple-style-span" style=3D"border-collapse: separate; >> color: = >> rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = >> normal; font-variant: normal; font-weight: normal; letter-spacing: = >> normal; line-height: normal; orphans: 2; text-align: auto; text- >> indent: = >> 0px; text-transform: none; white-space: normal; widows: 2; word- >> spacing: = >> 0px; -webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: 0px; = >> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = >> auto; -webkit-text-stroke-width: 0; ">
> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >> after-white-space; ">> style=3D"border-collapse: separate; -webkit-border-horizontal- >> spacing: = >> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >> font-family: Helvetica; font-size: 12px; font-style: normal; = >> font-variant: normal; font-weight: normal; letter-spacing: normal; = >> line-height: normal; -webkit-text-decorations-in-effect: none; = >> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >> none; = >> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >> ">
> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >> -webkit-line-break: after-white-space; ">> span" = >> style=3D"border-collapse: separate; -webkit-border-horizontal- >> spacing: = >> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >> font-family: Helvetica; font-size: 12px; font-style: normal; = >> font-variant: normal; font-weight: normal; letter-spacing: normal; = >> line-height: normal; -webkit-text-decorations-in-effect: none; = >> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >> none; = >> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >> ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">
> class=3D"Apple-style-span" style=3D"font-size: medium;">> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"'Gill = >> Sans'">
> span><= >> /span>
On 2 Nov >> 2009, at = >> 12:20, Mika Nystrom wrote:

> class=3D"Apple-interchange-newline">
> type=3D"cite">
Tony = >> (and others):

I take it part of the problem I'm having is >> that = >> I'm running a very out
of date RC package on my = >> FreeBSD7?

Should I cvs update to something else to try? = >>  Note that what's in the "normal"
CVS head didn't even >> compile = >> when I tried it---see an earlier email from me.
How can I >> specify the = >> proper tag to get on to the "release" branch of the
tree, if >> that's = >> what I'm supposed to do?

   Mika

Tony = >> Hosking writes:

> blockquote>
> type=3D"cite">--Apple-Mail-36--459856549
> blockquote>
> type=3D"cite">Content-Type: text/plain;
> type=3D"cite">> space:pre"> = >> charset=3DUS-ASCII;
> type=3D"cite">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> format=3Dflowed;
> type=3D"cite">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> delsp=3Dyes
> type=3D"cite">Content-Transfer-Encoding: = >> 7bit
> type=3D"cite">
Try >> regular = >> gdb.
Set a breakpoint at = >> RTHooks__ReportFault.
> type=3D"cite">Then = >> thread apply all bt.
> type=3D"cite">
> type=3D"cite">
Antony >> Hosking = >> | Associate Professor | Computer Science | Purdue = >>  
> type=3D"cite">University
> type=3D"cite">305 = >> N. University Street | West Lafayette | IN 47907 | = >> USA
Office +1 765 494 >> 6001 | = >> Mobile +1 765 427 5484
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">
On 31 Oct >> 2009, = >> at 16:06, Mika Nystrom wrote:
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">With the RC m3gdb it either segfaults gdb = >> or:
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">
(m3gdb) = >> threads
> type=3D"cite">> type=3D"cite">Can't find Modula-3 identifier: = >> ThreadPosix
> type=3D"cite">
(m3gdb) threads = >> all
> type=3D"cite">
> type=3D"cite">Can't find Modula-3 identifier: = >> ThreadPosix
> type=3D"cite">
(m3gdb) threads all = >> bt
> type=3D"cite">
> type=3D"cite">Can't find Modula-3 identifier: = >> ThreadPosix
> type=3D"cite">
> type=3D"cite">(m3gdb)
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">
Tony Hosking = >> writes:
> type=3D"cite">> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">--Apple-Mail-33--461716527
> blockquote>> ockquote>
> type=3D"cite">
> type=3D"cite">Content-Type: = >> text/plain;
> type=3D"cite">
> type=3D"cite">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> charset=3DUS-ASCII;
> blockquote>> kquote type=3D"cite">
> type=3D"cite">> space:pre"> = >> format=3Dflowed;
> blockquote>> ote type=3D"cite">
> type=3D"cite">> space:pre"> = >> delsp=3Dyes
> blockquote>
> type=3D"cite">
> type=3D"cite">Content-Transfer-Encoding: = >> 7bit
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">threads = >> all bt
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">should = >> give a backtrace of all = >> threads.
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">--Apple-Mail-36--459856549
> blockquote>
> type=3D"cite">Content-Type: text/html;
> type=3D"cite">> space:pre"> = >> charset=3DUS-ASCII
> type=3D"cite">Content-Transfer-Encoding: = >> quoted-printable
> type=3D"cite">
> type=3D"cite"><html><body style=3D3D"word-wrap: break- >> word; = >> -webkit-nbsp-mode: space; =3D
> type=3D"cite">-webkit-line-break: after-white-space; ">Try >> regular = >> gdb.<div>Set a =3D
> type=3D"cite">breakpoint at = >> RTHooks__ReportFault.</div><div>Then thread apply all = >> =3D
> type=3D"cite">bt.</div><div><br></ >> div><div>&= >> lt;br><div> <span class=3D3D"Apple-style-span" = >> =3D
style=3D3D"border- >> collapse: = >> separate; color: rgb(0, 0, 0); font-family: = >> =3D
Helvetica; font-size: = >> 12px; font-style: normal; font-variant: normal; = >> =3D
font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> =3D
orphans: 2; text- >> align: = >> auto; text-indent: 0px; text-transform: none; = >> =3D
white-space: normal; = >> widows: 2; word-spacing: 0px; =3D
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; -webkit-text-decorations-in-effect: none; = >> -webkit-text-size-adjust: =3D
> type=3D"cite">auto; -webkit-text-stroke-width: 0; "><div = >> style=3D3D"word-wrap: =3D
> type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line- >> break: = >> =3D
after-white-space; = >> "><span class=3D3D"Apple-style-span" =3D
> blockquote>> type=3D"cite">style=3D3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: =3D
> type=3D"cite">0px; -webkit-border-vertical-spacing: 0px; color: >> rgb(0, = >> 0, 0); =3D
font-family: = >> Helvetica; font-size: 12px; font-style: normal; = >> =3D
font-variant: normal; = >> font-weight: normal; letter-spacing: normal; = >> =3D
line-height: normal; = >> -webkit-text-decorations-in-effect: none; =3D
> blockquote>
> type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >> text-transform: none; =3D
> type=3D"cite">orphans: 2; white-space: normal; widows: 2; word- >> spacing: = >> 0px; "><div =3D
> type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp-mode: = >> space; =3D
-webkit-line- >> break: = >> after-white-space; "><span class=3D3D"Apple-style-span" = >> =3D
style=3D3D"border- >> collapse: = >> separate; -webkit-border-horizontal-spacing: = >> =3D
0px; = >> -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >> =3D
font-family: >> Helvetica; = >> font-size: 12px; font-style: normal; =3D
> blockquote>
> type=3D"cite">font-variant: normal; font-weight: normal; letter- >> spacing: = >> normal; =3D
line-height: = >> normal; -webkit-text-decorations-in-effect: none; = >> =3D
text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; = >> =3D
orphans: 2; white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><div><font = >> =3D
class=3D3D"Apple- >> style-span"= >> color=3D3D"#0000FF"><font =3D
> type=3D"cite">class=3D3D"Apple-style-span" face=3D3D"Gill = >> Sans"><span =3D
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, >> 0, = >> 255); font-family: =3D
> type=3D"cite">'Gill = >> Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = >> rgb(0, =3D
0, 255); = >> font-family: 'Gill Sans'; ">Antony =3D
> blockquote>
> type=3D"cite">Hosking</span></span></font></ >> font>&= >> lt;font class=3D3D"Apple-style-span" =3D
> blockquote>
> type=3D"cite">face=3D3D"Gill Sans"><span = >> class=3D3D"Apple-style-span" style=3D3D"font-family: = >> =3D
'Gill Sans'; >> "><span = >> class=3D3D"Apple-style-span" style=3D3D"font-family: = >> =3D
'Gill Sans'; >> "><span = >> class=3D3D"Apple-converted-space">&nbsp;</span>| >> <span = >> =3D
> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >> span>= >> </span></span><span =3D
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: >> 'Gill = >> Sans'; "><span =3D
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: >> 'Gill = >> Sans'; =3D
">Associate = >> Professor</span></span><span class=3D3D"Apple-style- >> span" = >> =3D
style=3D3D"font- >> family: = >> 'Gill Sans'; "><span class=3D3D"Apple-style-span" = >> =3D
style=3D3D"font- >> family: = >> 'Gill Sans'; ">&nbsp;| Computer Science | Purdue = >> =3D
> type=3D"cite">University</span></span></font></ >> div>= >> ;<div><font = >> class=3D3D"Apple-style-span"=3D
> type=3D"cite">face=3D3D"GillSans-Light"><span = >> class=3D3D"Apple-style-span" =3D
> type=3D"cite">style=3D3D"font-family: GillSans-Light; ">305 N. = >> University Street | West =3D
> type=3D"cite">Lafayette | IN 47907 | = >> USA</span></font></div><div><font = >> =3D
class=3D3D"Apple- >> style-span"= >> color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"color: rgb(0, 0, 255); font-family: = >> =3D
'Gill Sans'; >> "><span = >> class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >> =3D
0, 255); font-family: = >> 'Gill Sans'; ">Office</span></span></ >> font><font = >> =3D
class=3D3D"Apple- >> style-span"= >> face=3D3D"GillSans-Light"><span =3D
> blockquote>
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >> GillSans-Light; "><span =3D
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >> GillSans-Light; =3D
> type=3D"cite">">&nbsp;+1 765 494 6001 |<span = >> =3D
> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >> span>= >> </span></span></font><font = >> =3D
class=3D3D"Apple- >> style-span"= >> color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"color: rgb(0, 0, 255); font-family: = >> =3D
'Gill Sans'; >> "><span = >> class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >> =3D
0, 255); font-family: = >> 'Gill Sans'; ">Mobile</span></span></ >> font><font = >> =3D
class=3D3D"Apple- >> style-span"= >> face=3D3D"GillSans-Light"><span =3D
> blockquote>
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >> GillSans-Light; "><span =3D
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >> GillSans-Light; "><span =3D
> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >> span>= >> +1 765 427 =3D
> type=3D"cite">5484</span></span></font></ >> div><d= >> iv><font class=3D3D"Apple-style-span" = >> =3D
> type=3D"cite">face=3D3D"GillSans-Light"><br = >> =3D
> type=3D"cite">class=3D3D"khtml-block-placeholder"></ >> font></div= >> ></span></span></span></span=3D
> blockquote>> lockquote type=3D"cite">
> type=3D"cite"></span></span></span><br = >> =3D
> type=3D"cite">class=3D3D"Apple-interchange-newline"></ >> span></d= >> iv></span></div></span><br = >> =3D
> type=3D"cite">class=3D3D"Apple-interchange-newline"> = >> </div><br><div><div>On 31 Oct 2009, = >> =3D
at 16:06, Mika >> Nystrom = >> wrote:</div><br =3D
> type=3D"cite">class=3D3D"Apple-interchange- >> newline"><blockquote = >> type=3D3D"cite"><div>With =3D
> type=3D"cite">the RC m3gdb it either segfaults gdb = >> or:<br><br>(m3gdb) threads<br>Can't = >> =3D
find Modula-3 >> identifier: = >> ThreadPosix<br>(m3gdb) threads all<br>Can't = >> =3D
find Modula-3 >> identifier: = >> ThreadPosix<br>(m3gdb) threads all bt = >> =3D
<br>Can't find = >> Modula-3 identifier: ThreadPosix<br>(m3gdb) = >> <br><br>Tony =3D
> type=3D"cite">Hosking writes:<br><blockquote = >> type=3D3D"cite"><br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">--Apple- >> Mail-33--461716527<br></= >> blockquote><blockquote =3D
> type=3D"cite">type=3D3D"cite">Content-Type: = >> text/plain;<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><span = >> class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> =3D
> type=3D"cite"></span>charset=3D3DUS-ASCII;<br></ >> blockquote&= >> gt;<blockquote type=3D3D"cite"><span=3D
> blockquote>> te type=3D"cite">class=3D3D"Apple-tab-span" = >> style=3D3D"white-space:pre">> style=3D"white-space:pre"> =3D
> type=3D"cite"></span>format=3D3Dflowed;<br></ >> blockquote>= >> <blockquote type=3D3D"cite"><span =3D
> blockquote>> type=3D"cite">class=3D3D"Apple-tab-span" = >> style=3D3D"white-space:pre">> style=3D"white-space:pre"> =3D
> type=3D"cite"></span>delsp=3D3Dyes<br></ >> blockquote><b= >> lockquote =3D
> type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >> =3D
> type=3D"cite">7bit<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te type=3D3D"cite">threads all =3D
> type=3D"cite">bt<br></blockquote><blockquote = >> type=3D3D"cite"><br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">should = >> give a backtrace of all =3D
> type=3D"cite">threads.<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><br></blockquote></ >> div>= >> </blockquote></div><br></div></ >> body><=3D<= >> br>
> type=3D"cite">/html>=3D
> type=3D"cite">
> type=3D"cite">--Apple-Mail-36--459856549--
> blockqu= >> ote>

= >> >> --Apple-Mail-62--295019692-- -------------- next part -------------- An HTML attachment was scrubbed... URL: From dabenavidesd at yahoo.es Thu Nov 5 04:47:38 2009 From: dabenavidesd at yahoo.es (Daniel Alejandro Benavides D.) Date: Thu, 5 Nov 2009 03:47:38 +0000 (GMT) Subject: [M3devel] assertion failure in Juno In-Reply-To: <20091105012747.5C8401A2087@async.async.caltech.edu> Message-ID: <4836.13966.qm@web23602.mail.ird.yahoo.com> Hi: I can?t get how do you get actually to draw it, coould you send a screen cast of it or some .juno code to run it? --- El mi?, 4/11/09, Mika Nystrom escribi?: > De: Mika Nystrom > Asunto: [M3devel] assertion failure in Juno > Para: m3devel at elegosoft.com > Fecha: mi?rcoles, 4 noviembre, 2009 8:27 > Hello m3devel, > > I'm afraid the following is probably an orphan bug, but in > case anyone > has a clue what's going on, here it is: > > 1. Put down three points in Juno, draw a curve using them > (looping from > one point back to itself, with the other two as control > points). > > 2. Turn on the grid. > > 3. Move one of the control points around, so it snaps to > the grid. > > 4. Move the other control point to the same spot. > > What happens on my AMD64_FREEBSD is this: > > (323)ginger:~/cm3/scripts>Juno > Xlib: extension "Generic Event Extension" missing on > display "rover:1.0". > Assertion failed: > (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=, > dpy->request)), function process_responses, file > xcb_io.c, line 242. > Assertion failed: > (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=, > dpy->request)), function process_responses, file > xcb_io.c, line 242. > Abort > (324)ginger:~/cm3/scripts> > > now if it had crashed in Juno's M3 code I wouldn't be > concerned, but it > seems to be crashing in X code, which just sounds wrong... > and it seems > to crash in some sort of messaging queue code? > > Mika > > P.S. More detail: > > (m3gdb) run > Starting program: /usr/local/cm3/bin/Juno > Can't disable VM GC. > Signal Stop > Print Pass to program Description > SIG64 No > No Yes > Real-time event 64 > > Program received signal SIGUSR2, User defined signal 2. > 0x0000000802eb729c in __error () from /lib/libthr.so.3 > (m3gdb) handle SIGUSR2 nostop noprint > Signal Stop > Print Pass to program Description > SIGUSR2 No > No Yes > User defined signal 2 > (m3gdb) cont > Continuing. > Xlib: extension "Generic Event Extension" missing on > display "rover:1.0". > Assertion failed: > (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=, > dpy->request)), function process_responses, file > xcb_io.c, line 242. > Assertion failed: > (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=, > dpy->request)), function process_responses, file > xcb_io.c, line 242. > > Program received signal SIGABRT, Aborted. > 0x000000080300ea9c in thr_kill () from /lib/libc.so.7 > (m3gdb) where > #0 0x000000080300ea9c in thr_kill () from > /lib/libc.so.7 > #1 0x000000080309df8b in abort () from > /lib/libc.so.7 > #2 0x0000000803085f55 in __assert () from > /lib/libc.so.7 > #3 0x0000000802ba7451 in process_responses () from > /usr/local/lib/libX11.so.6 > #4 0x0000000802ba7cc7 in _XEventsQueued () from > /usr/local/lib/libX11.so.6 > #5 0x0000000802b91b8b in XEventsQueued () from > /usr/local/lib/libX11.so.6 > #6 0x0000000801268b1b in AdjustCoverage (xcon=Invalid > C/C++ type code 26 in symbol table. > ) at ../src/xvbt/XClientF.m3:362 > #7 0x000000080124dfb5 in Messenger (self=Invalid > C/C++ type code 26 in symbol table. > ) at ../src/xvbt/XMessenger.m3:108 > #8 0x0000000801aeb7b3 in RunThread (me=Invalid C/C++ > type code 29 in symbol table. > ) at ../src/thread/PTHREAD/ThreadPThread.m3:509 > #9 0x0000000801aeb569 in ThreadBase (param=Invalid > C/C++ type code 35 in symbol table. > ) at ../src/thread/PTHREAD/ThreadPThread.m3:490 > #10 0x0000000802ead4d1 in pthread_getprio () from > /lib/libthr.so.3 > #11 0x0000000000000000 in ?? () > (m3gdb) > (m3gdb) up 6 > #6 0x0000000801268b1b in AdjustCoverage > (xcon=16_000000080377a2c0, d=1) at > ../src/xvbt/XClientF.m3:362 > 362 IF > X.XEventsQueued(xcon.dpy, X.QueuedAfterReading) # 0 THEN > Current language: auto; currently Modula-3 > (m3gdb) list > 357 RAISES > {TrestleComm.Failure} = > 358 BEGIN > 359 TRY > 360 > INC(xcon.coverage, d); > 361 IF xcon.coverage > = 0 THEN X.XFlush(xcon.dpy) END; > 362 IF > X.XEventsQueued(xcon.dpy, X.QueuedAfterReading) # 0 THEN > 363 > Thread.Signal(xcon.qNonEmpty) > 364 END; > 365 EXCEPT X.Error > => RAISE TrestleComm.Failure END; > 366 END AdjustCoverage; > (m3gdb) print xcon.dpy > $1 = 16_000000080389f000 > > > > From mika at async.async.caltech.edu Thu Nov 5 07:02:37 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Wed, 04 Nov 2009 22:02:37 -0800 Subject: [M3devel] assertion failure in Juno In-Reply-To: <4836.13966.qm@web23602.mail.ird.yahoo.com> References: <4836.13966.qm@web23602.mail.ird.yahoo.com> Message-ID: <20091105060237.CA20A1A2087@async.async.caltech.edu> Here's the Juno code. Turn on the grid and make a and c coincide. Mika VAR a ~ (-47.98, 178.3), b ~ (-56.62, 56.57), c ~ (-69.1, 179.3) IN PS.MoveTo(b); PS.CurveTo(a, c, b) END "Daniel Alejandro Benavides D." writes: >Hi: >I can=B4t get how do you get actually to draw it, coould you send a screen = >cast of it or some .juno code to run it?=20 > >--- El mi=E9, 4/11/09, Mika Nystrom escribi= >=F3: > >> De: Mika Nystrom >> Asunto: [M3devel] assertion failure in Juno >> Para: m3devel at elegosoft.com >> Fecha: mi=E9rcoles, 4 noviembre, 2009 8:27 >> Hello m3devel, >>=20 >> I'm afraid the following is probably an orphan bug, but in >> case anyone >> has a clue what's going on, here it is: >>=20 >> 1. Put down three points in Juno, draw a curve using them >> (looping from >> one point back to itself, with the other two as control >> points). >>=20 >> 2. Turn on the grid. >>=20 >> 3. Move one of the control points around, so it snaps to >> the grid. >>=20 >> 4. Move the other control point to the same spot. >>=20 >> What happens on my AMD64_FREEBSD is this: >>=20 >> (323)ginger:~/cm3/scripts>Juno >> Xlib: extension "Generic Event Extension" missing on >> display "rover:1.0". >> Assertion failed: >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=3D, >> dpy->request)), function process_responses, file >> xcb_io.c, line 242. >> Assertion failed: >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=3D, >> dpy->request)), function process_responses, file >> xcb_io.c, line 242. >> Abort >> (324)ginger:~/cm3/scripts> >>=20 >> now if it had crashed in Juno's M3 code I wouldn't be >> concerned, but it >> seems to be crashing in X code, which just sounds wrong... >> and it seems >> to crash in some sort of messaging queue code? =20 >>=20 >> Mika >>=20 >> P.S. More detail: >>=20 >> (m3gdb) run >> Starting program: /usr/local/cm3/bin/Juno=20 >> Can't disable VM GC. >> Signal Stop =20 >> Print Pass to program Description >> SIG64 No =20 >> No Yes =20 >> Real-time event 64 >>=20 >> Program received signal SIGUSR2, User defined signal 2. >> 0x0000000802eb729c in __error () from /lib/libthr.so.3 >> (m3gdb) handle SIGUSR2 nostop noprint >> Signal Stop =20 >> Print Pass to program Description >> SIGUSR2 No =20 >> No Yes =20 >> User defined signal 2 >> (m3gdb) cont >> Continuing. >> Xlib: extension "Generic Event Extension" missing on >> display "rover:1.0". >> Assertion failed: >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=3D, >> dpy->request)), function process_responses, file >> xcb_io.c, line 242. >> Assertion failed: >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, <=3D, >> dpy->request)), function process_responses, file >> xcb_io.c, line 242. >>=20 >> Program received signal SIGABRT, Aborted. >> 0x000000080300ea9c in thr_kill () from /lib/libc.so.7 >> (m3gdb) where >> #0 0x000000080300ea9c in thr_kill () from >> /lib/libc.so.7 >> #1 0x000000080309df8b in abort () from >> /lib/libc.so.7 >> #2 0x0000000803085f55 in __assert () from >> /lib/libc.so.7 >> #3 0x0000000802ba7451 in process_responses () from >> /usr/local/lib/libX11.so.6 >> #4 0x0000000802ba7cc7 in _XEventsQueued () from >> /usr/local/lib/libX11.so.6 >> #5 0x0000000802b91b8b in XEventsQueued () from >> /usr/local/lib/libX11.so.6 >> #6 0x0000000801268b1b in AdjustCoverage (xcon=3DInvalid >> C/C++ type code 26 in symbol table. >> ) at ../src/xvbt/XClientF.m3:362 >> #7 0x000000080124dfb5 in Messenger (self=3DInvalid >> C/C++ type code 26 in symbol table. >> ) at ../src/xvbt/XMessenger.m3:108 >> #8 0x0000000801aeb7b3 in RunThread (me=3DInvalid C/C++ >> type code 29 in symbol table. >> ) at ../src/thread/PTHREAD/ThreadPThread.m3:509 >> #9 0x0000000801aeb569 in ThreadBase (param=3DInvalid >> C/C++ type code 35 in symbol table. >> ) at ../src/thread/PTHREAD/ThreadPThread.m3:490 >> #10 0x0000000802ead4d1 in pthread_getprio () from >> /lib/libthr.so.3 >> #11 0x0000000000000000 in ?? () >> (m3gdb)=20 >> (m3gdb) up 6 >> #6 0x0000000801268b1b in AdjustCoverage >> (xcon=3D16_000000080377a2c0, d=3D1) at >> ../src/xvbt/XClientF.m3:362 >> 362 IF >> X.XEventsQueued(xcon.dpy, X.QueuedAfterReading) # 0 THEN >> Current language: auto; currently Modula-3 >> (m3gdb) list >> 357 RAISES >> {TrestleComm.Failure} =3D >> 358 BEGIN >> 359 TRY >> 360 =20 >> INC(xcon.coverage, d); >> 361 IF xcon.coverage >> =3D 0 THEN X.XFlush(xcon.dpy) END; >> 362 IF >> X.XEventsQueued(xcon.dpy, X.QueuedAfterReading) # 0 THEN >> 363 =20 >> Thread.Signal(xcon.qNonEmpty) >> 364 END; >> 365 EXCEPT X.Error >> =3D> RAISE TrestleComm.Failure END; >> 366 END AdjustCoverage; >> (m3gdb) print xcon.dpy >> $1 =3D 16_000000080389f000 >>=20 >>=20 >>=20 >> =0A=0A=0A From mika at async.async.caltech.edu Thu Nov 5 07:42:46 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Wed, 04 Nov 2009 22:42:46 -0800 Subject: [M3devel] AMD64_FREEBSD problems with current RC from m3 site In-Reply-To: References: <20091031161142.57E771A2097@async.async.caltech.edu> <20091031161514.C7E441A2097@async.async.caltech.edu> <7D03409A-CC44-4B27-BCE0-E7A3D110B242@cs.purdue.edu> <20091031182637.1D2DD1A209C@async.async.caltech.edu> <9666B412-E255-4103-9954-420E39AA9303@cs.purdue.edu> <20091031185401.0E3761A209C@async.async.caltech.edu> <20091031191011.63E701A2097@async.async.caltech.edu> <823EE49D-F6C9-4A13-A6BA-4EC73B00E13E@cs.purdue.edu> <20091031192335.050261A207D@async.async.caltech.edu> <20091031200623.C0BC71A2097@async.async.caltech.edu> <1210FEF9-5EAD-4313-A96A-2709711F4BDE@cs.purdue.edu> <20091102172011.A9D5B1A209F@async.async.caltech.edu> <94D30830-E745-4305-B587-75E2AC7612CC@cs.purdue.edu> <20091105005732.CA91E1A2087@async.async.caltech.edu> Message-ID: <20091105064246.21CB21A2087@async.async.caltech.edu> Ok... m3gdb segfaults when you try to set a breakpoint at RTHooks__ReportFault for this particular binary. With standard gdb... Ok not very helpful: [New Thread 0x805c07ce0 (LWP 100440)] [New Thread 0x805c07e70 (LWP 100442)] [Switching to Thread 0x805c020b0 (LWP 100234)] Breakpoint 1, RTHooks__ReportFault (M3_AJWxb1_module=Error accessing memory address 0x8000ffffbe88: Bad address. ) at ../src/runtime/common/RTHooks.m3:95 95 VAR a: RT0.RaiseActivation; code := Word.And (info, 16_1f); (gdb) p ThreadPThread__DumpThreads() Breakpoint 1, RTHooks__ReportFault (M3_AJWxb1_module=Error accessing memory address 0x8000ffffbc68: Bad address. ) at ../src/runtime/common/RTHooks.m3:95 95 VAR a: RT0.RaiseActivation; code := Word.And (info, 16_1f); The program being debugged stopped while in a function called from GDB. When the function (ThreadPThread__DumpThreads) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) (gdb) where #0 RTHooks__ReportFault (M3_AJWxb1_module=Error accessing memory address 0x8000ffffbc68: Bad addres s. ) at ../src/runtime/common/RTHooks.m3:95 #1 0x000000080375c91c in _m3_fault (M3_AcxOUs_arg=Error accessing memory address 0x8000ffffbce8: Ba d address. ) from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 #2 0x0000000803752466 in RTCollector__CollectorOn () at ../src/runtime/common/RTCollector.m3:690 #3 0x0000000803759597 in RTHooks__CheckLoadTracedRef (M3_Af40ku_ref=Error accessing memory address 0x8000ffffbd18: Bad address. ) at ../src/runtime/common/RTCollector.m3:2229 #4 0x00000008037721d5 in ThreadPThread__DumpThreads () at ../src/thread/PTHREAD/ThreadPThread.m3:430 #5 #6 RTHooks__ReportFault (M3_AJWxb1_module=Error accessing memory address 0x8000ffffbe88: Bad addres s. ) at ../src/runtime/common/RTHooks.m3:95 #7 0x00000008037761b1 in _m3_fault (M3_AcxOUs_arg=Error accessing memory address 0x8000ffffbf08: Ba d address. ) from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 #8 0x0000000803774c6b in ThreadPThread__ProcessOther (M3_CgoaiZ_act=Error accessing memory address 0x8000ffffbf28: Bad address. ) at ../src/thread/PTHREAD/ThreadPThread.m3:967 #9 0x000000080377485b in ThreadInternal__ProcessStacks (M3_Ad3xEV_p=Error accessing memory address 0x8000ffffbf68: Bad address. ) at ../src/thread/PTHREAD/ThreadPThread.m3:888 #10 0x0000000803752d59 in RTCollector__CollectSomeInStateZero () at ../src/runtime/common/RTCollector.m3:819 #11 0x00000008037526a0 in RTCollector__CollectSome () at ../src/runtime/common/RTCollector.m3:719 #12 0x00000008037520a1 in RTHeapRep__CollectEnough () at ../src/runtime/common/RTCollector.m3:653 #13 0x0000000803748f49 in RTAllocator__AllocTraced (M3_Cwb5VA_dataSize=Error accessing memory addres s 0x8000ffffc138: Bad address. ) at ../src/runtime/common/RTAllocator.m3:365 #14 0x00000008037487a7 in RTAllocator__GetOpenArray (M3_Eic7CK_def=Error accessing memory address 0x 8000ffffc228: Bad address. ) #15 0x00000008037478e9 in RTHooks__AllocateOpenArray (M3_AJWxb1_defn=Error accessing memory address 0x8000ffffc2a8: Bad address. ) at ../src/runtime/common/RTAllocator.m3:141 #16 0x000000080378929b in Text8__Create (M3_Cwb5VA_n=Error accessing memory address 0x8000ffffc2e8: Bad address. ) at ../src/text/Text8.m3:27 #17 0x00000008037890df in Text8__New (M3_CKMnXU_a=Error accessing memory address 0x8000ffffc348: Bad address. ) at ../src/text/Text8.m3:19 #18 0x0000000803787c0b in Text__FromChars (M3_CKMnXU_a=Error accessing memory address 0x8000ffffc3c8: Bad address. ) at ../src/text/Text.m3:226 #19 0x0000000800ad41e5 in TWSLogger__ParseRec (M3_CKMnXU_chars=Error accessing memory address 0x8000ffffc418: Bad address. ) at ../src/TWSLogger.m3:126 #20 0x0000000800ad4ce1 in TWSReplayer__ReadRecord (M3_AJWxb1_h=Error accessing memory address 0x8000ffffc5b8: Bad address. ) at ../src/TWSReplayer.m3:109 #21 0x0000000800ad65fb in TWSReplayer__SearchBackwardForData (M3_AYIbX3_mu=Error accessing memory address 0x8000ffffce88: Bad address. ) at ../src/TWSReplayer.m3:350 #22 0x0000000800ad6e8a in TWSReplayer__ReqMktData (M3_AHDbrZ_t=Error accessing memory address 0x8000ffffd018: Bad address. ) at ../src/TWSReplayer.m3:396 #23 0x0000000800adae34 in TWSReplayBridge__MreqMktData (M3_Bswth7_t=Error accessing memory address 0x8000ffffd228: Bad address. ) at ../src/TWSReplayBridge.m3 => /home/mika/t/calarm/twslib/src/TWSBridge.mg:574 #24 0x000000000040748a in MktIsolator__AddContract (M3_AGQ7IN_tws=Error accessing memory address 0x8000ffffd278: Bad address. ) at ../src/MktIsolator.m3:423 #25 0x00000000004086d8 in MktIsolator__Init (M3_EXOfcS_t=Error accessing memory address 0x8000ffffd2d8: Bad address. ) at ../src/MktIsolator.m3:517 #26 0x00000000004106af in Main_M3 (M3_AcxOUs_mode=Error accessing memory address 0x8000ffffd5c8: Bad address. ) at ../src/Main.m3:734 #27 0x000000080375e507 in RTLinker__RunMainBody (M3_DjPxE3_m=Error accessing memory address 0x8000ffffdc48: Bad address. ) at ../src/runtime/common/RTLinker.m3:399 #28 0x000000080375d6ee in RTLinker__AddUnitI (M3_DjPxE3_m=Error accessing memory address 0x8000ffffdce8: Bad address. ) at ../src/runtime/common/RTLinker.m3:113 #29 0x000000080375d78c in RTLinker__AddUnit (M3_DjPxE5_b=Error accessing memory address 0x8000ffffdd08: Bad address. ) at ../src/runtime/common/RTLinker.m3:122 #30 0x0000000000404194 in main (argc=Error accessing memory address 0x8000ffffdd58: Bad address. ) at _m3main.mc:4 (gdb) (gdb) (gdb) cont Continuing. *** *** runtime error: *** <*ASSERT*> failed. *** file "../src/runtime/common/RTCollector.m3", line 690 *** Breakpoint 1, RTHooks__ReportFault (M3_AJWxb1_module=Error accessing memory address 0x8000ffffb0d8: Bad address. ) at ../src/runtime/common/RTHooks.m3:95 95 VAR a: RT0.RaiseActivation; code := Word.And (info, 16_1f); (gdb) Continuing. *** *** runtime error: *** <*ASSERT*> failed. *** file "../src/runtime/common/RTCollector.m3", line 690 *** Program received signal SIGABRT, Aborted. 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 (gdb) Continuing. ====================================================================== Well, here's another program that crashed in Env.Get (sorry, yes, my programs have a lot of threads): *** *** runtime error: *** <*ASSERT*> failed. *** file "../src/thread/PTHREAD/ThreadPThread.m3", line 1055 *** Program received signal SIGABRT, Aborted. 0x0000000805c50a9c in thr_kill () from /lib/libc.so.7 (m3gdb) p ThreadPThread__DumpThreads() Thread: 0x800550018 mutex: 0x806c130a8 cond: 0x806c130b0 act: 0x806c16080 closure: 0x0 result: 0x0 waitingOn: 0x8005ae790 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800550078 Thread: 0x800557468 mutex: 0x806c133f8 cond: 0x806c13400 act: 0x806cbb100 closure: 0x8005573a8 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005574c8 Thread: 0x80056c2a8 mutex: 0x806c135c0 cond: 0x806c135c8 act: 0x806cbb180 closure: 0x80056c298 result: 0x0 waitingOn: 0x80056c260 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80056c308 Thread: 0x80056cd40 mutex: 0x806c135e0 cond: 0x806c135e8 act: 0x806cbb200 closure: 0x80056cd28 result: 0x0 waitingOn: 0x800552050 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80056cda0 Thread: 0x80056d048 mutex: 0x806c135f0 cond: 0x806c135f8 act: 0x806cbb280 closure: 0x80056d030 result: 0x0 waitingOn: 0x800588050 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80056d0a8 Thread: 0x80056d350 mutex: 0x806c13600 cond: 0x806c13608 act: 0x806cbb300 closure: 0x80056d338 result: 0x0 waitingOn: 0x800586070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80056d3b0 Thread: 0x80056d808 mutex: 0x806c13610 cond: 0x806c13618 act: 0x806cbb380 closure: 0x80056d7f0 result: 0x0 waitingOn: 0x800582070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800584018 Thread: 0x8005842c0 mutex: 0x806c13620 cond: 0x806c13628 act: 0x806cbb400 closure: 0x8005842a8 result: 0x0 waitingOn: 0x800554070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800584320 Thread: 0x8005847e8 mutex: 0x806c13630 cond: 0x806c13638 act: 0x806cbb480 closure: 0x8005847d0 result: 0x0 waitingOn: 0x80057c070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800584848 Thread: 0x800584af0 mutex: 0x806c13468 cond: 0x806c13470 act: 0x806cbb500 closure: 0x800584ad8 result: 0x0 waitingOn: 0x80057e070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800584b50 Thread: 0x800585e58 mutex: 0x806c13478 cond: 0x806c13480 act: 0x806cbb580 closure: 0x800585e40 result: 0x0 waitingOn: 0x800566070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800585eb8 Thread: 0x800564170 mutex: 0x806c13488 cond: 0x806c13490 act: 0x806cbb600 closure: 0x800564158 result: 0x0 waitingOn: 0x800568070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005641d0 Thread: 0x800564478 mutex: 0x806c13498 cond: 0x806c134a0 act: 0x806cbb680 closure: 0x800564460 result: 0x0 waitingOn: 0x80056a070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005644d8 Thread: 0x800564938 mutex: 0x806c134a8 cond: 0x806c134b0 act: 0x806cbb700 closure: 0x800564920 result: 0x0 waitingOn: 0x800592070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800564998 Thread: 0x800564c40 mutex: 0x806c134b8 cond: 0x806c134c0 act: 0x806cbb780 closure: 0x800564c28 result: 0x0 waitingOn: 0x800594070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800564ca0 Thread: 0x800564f48 mutex: 0x806c134c8 cond: 0x806c134d0 act: 0x806cbb800 closure: 0x800564f30 result: 0x0 waitingOn: 0x800596070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800564fa8 Thread: 0x800565250 mutex: 0x806c134d8 cond: 0x806c134e0 act: 0x806cbb880 closure: 0x800565238 result: 0x0 waitingOn: 0x800598070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005652b0 Thread: 0x800565558 mutex: 0x806c134e8 cond: 0x806c134f0 act: 0x806cbb900 closure: 0x800565540 result: 0x0 waitingOn: 0x80059a070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005655b8 Thread: 0x800565860 mutex: 0x806c134f8 cond: 0x806c13500 act: 0x806cbb980 closure: 0x800565848 result: 0x0 waitingOn: 0x8005d0050 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005658c0 Thread: 0x800565b68 mutex: 0x806c13508 cond: 0x806c13510 act: 0x806cbba00 closure: 0x800565b50 result: 0x0 waitingOn: 0x8005ce070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d2018 Thread: 0x8005d25c8 mutex: 0x806c13518 cond: 0x806c13520 act: 0x806cbba80 closure: 0x8005d25b0 result: 0x0 waitingOn: 0x8005cc070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d2628 Thread: 0x8005d28d0 mutex: 0x806c13528 cond: 0x806c13530 act: 0x806cbbb00 closure: 0x8005d28b8 result: 0x0 waitingOn: 0x800590070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d2930 Thread: 0x8005d2df8 mutex: 0x806c13538 cond: 0x806c13540 act: 0x806cbbb80 closure: 0x8005d2de0 result: 0x0 waitingOn: 0x80056e070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d2e58 Thread: 0x8005d3100 mutex: 0x806c13548 cond: 0x806c13550 act: 0x806cbbc00 closure: 0x8005d30e8 result: 0x0 waitingOn: 0x800570070 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d3160 Thread: 0x80057a888 mutex: 0x806c13560 cond: 0x806c13568 act: 0x806cbbc80 closure: 0x80057a878 result: 0x0 waitingOn: 0x80057a858 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80057a8e8 Thread: 0x80057aa40 mutex: 0x806c13570 cond: 0x806c13578 act: 0x806cbbd00 closure: 0x80057aa30 result: 0x0 waitingOn: 0x80057aa10 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80057aaa0 Thread: 0x8005b0210 mutex: 0x806c13650 cond: 0x806c13658 act: 0x806cbbd80 closure: 0x8005b01f0 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005b0270 Thread: 0x8005b07b0 mutex: 0x806c13660 cond: 0x806c13668 act: 0x806cbbe00 closure: 0x8005b0798 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005b0810 Thread: 0x8005b4598 mutex: 0x806c13688 cond: 0x806c13690 act: 0x806cbbe80 closure: 0x8005b4398 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005b45f8 Thread: 0x8005b47d8 mutex: 0x806c136a8 cond: 0x806c136b0 act: 0x806cbbf00 closure: 0x8005b47b8 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005b4838 Thread: 0x8005c3828 mutex: 0x806c136c8 cond: 0x806c136d0 act: 0x806cbbf80 closure: 0x8005c3808 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005c3888 Thread: 0x8005c40a8 mutex: 0x806c136d8 cond: 0x806c136e0 act: 0x806cdf080 closure: 0x8005c4088 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005c4108 Thread: 0x8005c4430 mutex: 0x806c13718 cond: 0x806c13720 act: 0x806cdf100 closure: 0x8005c43f8 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005c4490 Thread: 0x8005c7808 mutex: 0x806c137b0 cond: 0x806c137b8 act: 0x806cdf180 closure: 0x8005c77e8 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005c7868 Thread: 0x8005d41b8 mutex: 0x806c137c0 cond: 0x806c137c8 act: 0x806cdf280 closure: 0x8005d41a0 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d4218 Thread: 0x8005d5418 mutex: 0x806c137f0 cond: 0x806c137f8 act: 0x806cdf300 closure: 0x8005d5330 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d5478 Thread: 0x8005d5498 mutex: 0x806c13800 cond: 0x806c13808 act: 0x806cdf380 closure: 0x8005d4f58 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d54f8 Thread: 0x8005d5648 mutex: 0x806c13810 cond: 0x806c13818 act: 0x806cdf400 closure: 0x8005d5518 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d56a8 Thread: 0x8005d5980 mutex: 0x806c13820 cond: 0x806c13828 act: 0x806cdf480 closure: 0x8005d5968 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d59e0 Thread: 0x8005d5ec0 mutex: 0x806c13830 cond: 0x806c13838 act: 0x806cdf500 closure: 0x8005d5dd8 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d5f20 Thread: 0x8005de2b0 mutex: 0x806c13840 cond: 0x806c13848 act: 0x806cdf580 closure: 0x8005d5a00 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005de310 Thread: 0x8005c00b8 mutex: 0x806c13850 cond: 0x806c13858 act: 0x806cdf200 closure: 0x8005de708 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005c0118 Thread: 0x8005c0138 mutex: 0x806c13860 cond: 0x806c13868 act: 0x806cdf600 closure: 0x8005de330 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005c0198 Thread: 0x806bd00b8 mutex: 0x806c13870 cond: 0x806c13878 act: 0x806cdf680 closure: 0x8005c0590 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806bd0118 Thread: 0x806bd0138 mutex: 0x806c13880 cond: 0x806c13888 act: 0x806cdf700 closure: 0x8005c01b8 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806bd0198 Thread: 0x806e420b8 mutex: 0x806c13890 cond: 0x806c13898 act: 0x806cdf780 closure: 0x806bd0590 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806e42118 Thread: 0x806e42138 mutex: 0x806c138a0 cond: 0x806c138a8 act: 0x806cdf800 closure: 0x806bd01b8 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806e42198 Thread: 0x8005ae0b8 mutex: 0x806c138b0 cond: 0x806c138b8 act: 0x806cdf880 closure: 0x806e42590 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005ae118 Thread: 0x8005ae138 mutex: 0x806c138c0 cond: 0x806c138c8 act: 0x806cdf900 closure: 0x806e421b8 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005ae198 Thread: 0x8005ae678 mutex: 0x806c138d0 cond: 0x806c138d8 act: 0x806cdf980 closure: 0x8005ae590 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005ae6d8 Thread: 0x8005ae6f8 mutex: 0x806c138e0 cond: 0x806c138e8 act: 0x806cdfa00 closure: 0x8005ae1b8 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005ae758 Thread: 0x806e337f8 mutex: 0x806d4d070 cond: 0x806d4d078 act: 0x806d4e080 closure: 0x806e33488 result: 0x0 waitingOn: 0x80060a3b0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806e33858 Thread: 0x806e01850 mutex: 0x806c13928 cond: 0x806c13930 act: 0x806cdfa80 closure: 0x806e01838 result: 0x0 waitingOn: 0x8005ae790 nextWaiter: 0x806e01a28 alerted: 0 joined: 0 join: 0x806e018b0 Thread: 0x806e018e8 mutex: 0x806c13938 cond: 0x806c13940 act: 0x806cdfb00 closure: 0x806e018d0 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806e01948 Thread: 0x806e01990 mutex: 0x806c13948 cond: 0x806c13950 act: 0x806cdfb80 closure: 0x806e01968 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806e019f0 Thread: 0x806e01a28 mutex: 0x806c13958 cond: 0x806c13960 act: 0x806cdfc00 closure: 0x806e01a10 result: 0x0 waitingOn: 0x8005ae790 nextWaiter: 0x800550018 alerted: 0 joined: 0 join: 0x806e01a88 Thread: 0x806e01ac0 mutex: 0x806c13968 cond: 0x806c13970 act: 0x806cdfc80 closure: 0x806e01aa8 result: 0x0 waitingOn: 0x8005ae790 nextWaiter: 0x806e01850 alerted: 0 joined: 0 join: 0x806e01b20 Thread: 0x806e01bf8 mutex: 0x806c13988 cond: 0x806c13990 act: 0x806cdfd00 closure: 0x806e01be0 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806e01c58 Thread: 0x80707e238 mutex: 0x806d036d0 cond: 0x806d036d8 act: 0x806d4e100 closure: 0x80707deb0 result: 0x0 waitingOn: 0x8005c43d8 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80707e298 Thread: 0x806bd2f20 mutex: 0x806d4dc28 cond: 0x806d4dc30 act: 0x806d4e180 closure: 0x806bd2ef0 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806bd2f80 $1 = 79 (m3gdb) (m3gdb) where #0 0x0000000805c50a9c in thr_kill () from /lib/libc.so.7 #1 0x0000000805cdff8b in abort () from /lib/libc.so.7 #2 0x00000008047293cf in Crash () at ../src/runtime/POSIX/RTOS.m3:20 #3 0x000000080471cf05 in Crash (msg=Invalid C/C++ type code 26 in symbol table. ) at ../src/runtime/common/RTProcess.m3:65 #4 0x000000080471a3a2 in EndError (crash=Invalid C/C++ type code 36 in symbol table. ) at ../src/runtime/common/RTError.m3:118 #5 0x000000080471a09a in MsgS (file=Invalid C/C++ type code 35 in symbol table. ) at ../src/runtime/common/RTError.m3:40 #6 0x000000080471a875 in Crash (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:79 #7 0x000000080471a52c in DefaultBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:39 #8 0x000000080471a45e in InvokeBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:25 #9 0x0000000804729e93 in Raise (act=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/ex_frame/RTExFrame.m3:29 #10 0x000000080471a5de in DefaultBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:47 #11 0x000000080471a45e in InvokeBackstop (a=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/common/RTException.m3:25 #12 0x0000000804729e93 in Raise (act=Invalid C/C++ type code 30 in symbol table. ) at ../src/runtime/ex_frame/RTExFrame.m3:29 #13 0x0000000804701f81 in ReportFault (module=Invalid C/C++ type code 35 in symbol table. ) at ../src/runtime/common/RTHooks.m3:110 #14 0x00000008047311b1 in _m3_fault (arg=Invalid C/C++ type code 39 in symbol table. ) from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 #15 0x0000000804730104 in StopWorld () at ../src/thread/PTHREAD/ThreadPThread.m3:1055 #16 0x000000080472f75c in SuspendOthers () at ../src/thread/PTHREAD/ThreadPThread.m3:865 #17 0x000000080470d6f4 in CollectSomeInStateZero () at ../src/runtime/common/RTCollector.m3:745 #18 0x000000080470d6a0 in CollectSome () at ../src/runtime/common/RTCollector.m3:719 #19 0x000000080470d0a1 in CollectEnough () at ../src/runtime/common/RTCollector.m3:653 #20 0x0000000804703f49 in AllocTraced (dataSize=Invalid C/C++ type code 40 in symbol table. ) at ../src/runtime/common/RTAllocator.m3:365 #21 0x0000000804702f1c in GetTracedObj (def=Invalid C/C++ type code 29 in symbol table. ) at ../src/runtime/common/RTAllocator.m3:224 ---Type to continue, or q to quit--- #22 0x0000000804702833 in AllocateTracedObj (defn=Invalid C/C++ type code 35 in symbol table. ) at ../src/runtime/common/RTAllocator.m3:120 #23 0x0000000804744215 in Create (n=Invalid C/C++ type code 40 in symbol table. ) at ../src/text/Text8.m3:25 #24 0x000000080473441b in CopyStoT (s=Invalid C/C++ type code 29 in symbol table. ) at ../src/C/Common/M3toC.m3:96 #25 0x00000008044dfb03 in Get (nm=Invalid C/C++ type code 26 in symbol table. ) at ../src/params/Env.m3:25 #26 0x0000000803abc509 in HaveEnv (var=Invalid C/C++ type code 26 in symbol table. ) at ../src/Debug.m3:67 #27 0x0000000803abd720 in DebugThis (this=Invalid C/C++ type code 26 in symbol table. ) at ../src/Debug.m3:75 #28 0x0000000803abd847 in Out (t=Invalid C/C++ type code 26 in symbol table. ) at ../src/Debug.m3:130 #29 0x0000000803726bf0 in ExecM (t=Invalid C/C++ type code 26 in symbol table. ) at ../src/UnsafeDatabase.m3:241 #30 0x0000000803726d59 in TExecM (t=Invalid C/C++ type code 26 in symbol table. ) at ../src/UnsafeDatabase.m3:258 #31 0x0000000800f110af in ExecuteQuery () at ../src/DesynchronizedDB.m3:167 #32 0x0000000800f10d96 in PApply (p=Invalid C/C++ type code 26 in symbol table. ) at ../src/DesynchronizedDB.m3:222 #33 0x000000080472d7b3 in RunThread (me=Invalid C/C++ type code 29 in symbol table. ) at ../src/thread/PTHREAD/ThreadPThread.m3:509 #34 0x000000080472d569 in ThreadBase (param=Invalid C/C++ type code 35 in symbol table. ) at ../src/thread/PTHREAD/ThreadPThread.m3:490 #35 0x0000000805aef4d1 in pthread_getprio () from /lib/libthr.so.3 #36 0x0000000000000000 in ?? () (m3gdb) Tony Hosking writes: > >--Apple-Mail-121--89103770 >Content-Type: text/plain; > charset=US-ASCII; > format=flowed; > delsp=yes >Content-Transfer-Encoding: 7bit > >Can you get this to break at the first fault: > >break RTHooks__ReportFault > >And then: > >p ThreadPThread__DumpThreads() > >Clearly somethings is *very* broken. How can we be processing a >thread that is not stopped when we should have stopped them all. > >Antony Hosking | Associate Professor | Computer Science | Purdue >University >305 N. University Street | West Lafayette | IN 47907 | USA >Office +1 765 494 6001 | Mobile +1 765 427 5484 > > > > >On 4 Nov 2009, at 19:57, Mika Nystrom wrote: > >> Hi Tony and others, >> >> I tested with the head now (it looks a bit more organized than a week >> ago), and I get the same problems. A "double assert failure". >> >> By the way I am noticing that the program is quite slow. It could be >> that I'm accessing data over NFS, possibly... not sure I've done a >> fair >> back-to-back comparison. (My benchmark is, as always, an ancient >> PM3 on >> "FreeBSD4" i386.) >> >> >> *** >> *** runtime error: >> *** <*ASSERT*> failed. >> *** file "../src/thread/PTHREAD/ThreadPThread.m3", line 967 >> *** >> >> >> >> *** >> *** runtime error: >> *** <*ASSERT*> failed. >> *** file "../src/runtime/common/RTCollector.m3", line 690 >> *** >> >> >> Program received signal SIGABRT, Aborted. >> 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 >> (m3gdb) >> >> The problem seems a bit different from before, however: >> >> Program received signal SIGABRT, Aborted. >> 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 >> (m3gdb) where >> #0 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 >> #1 0x0000000804d24f8b in abort () from /lib/libc.so.7 >> #2 0x000000080376e3cf in Crash () at ../src/runtime/POSIX/RTOS.m3:20 >> #3 0x0000000803761f05 in Crash (msg=Invalid C/C++ type code 26 in >> symbol table. >> ) at ../src/runtime/common/RTProcess.m3:65 >> #4 0x000000080375f3a2 in EndError (crash=Invalid C/C++ type code 36 >> in symbol table. >> ) at ../src/runtime/common/RTError.m3:118 >> #5 0x000000080375f09a in MsgS (file=Invalid C/C++ type code 35 in >> symbol table. >> ) at ../src/runtime/common/RTError.m3:40 >> #6 0x000000080375f875 in Crash (a=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/common/RTException.m3:79 >> #7 0x000000080375f52c in DefaultBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:39 >> #8 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:25 >> #9 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >> #10 0x000000080375f5de in DefaultBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:47 >> #11 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:25 >> #12 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >> #13 0x0000000803746f81 in ReportFault (module=Invalid C/C++ type >> code 35 in symbol table. >> ) at ../src/runtime/common/RTHooks.m3:110 >> #14 0x000000080375c91c in _m3_fault (arg=Invalid C/C++ type code 39 >> in symbol table. >> ) >> from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 >> #15 0x0000000803752466 in CollectorOn () at ../src/runtime/common/ >> RTCollector.m3:690 >> #16 0x0000000803759597 in CheckLoadTracedRef (ref=Invalid C/C++ type >> code 46 in symbol table. >> ) at ../src/runtime/common/RTCollector.m3:2229 >> #17 0x00000008034e8db4 in ShutDown () at ../src/rw/Stdio.m3:43 >> #18 0x0000000803761e5c in InvokeExitors () at ../src/runtime/common/ >> RTProcess.m3:40 >> #19 0x0000000803761eee in Crash (msg=Invalid C/C++ type code 26 in >> symbol table. >> ) at ../src/runtime/common/RTProcess.m3:61 >> #20 0x000000080375f3a2 in EndError (crash=Invalid C/C++ type code 36 >> in symbol table. >> ) at ../src/runtime/common/RTError.m3:118 >> #21 0x000000080375f09a in MsgS (file=Invalid C/C++ type code 35 in >> symbol table. >> ) at ../src/runtime/common/RTError.m3:40 >> ---Type to continue, or q to quit--- >> #22 0x000000080375f875 in Crash (a=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/common/RTException.m3:79 >> #23 0x000000080375f52c in DefaultBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:39 >> #24 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:25 >> #25 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >> #26 0x000000080375f5de in DefaultBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:47 >> #27 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:25 >> #28 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >> #29 0x0000000803746f81 in ReportFault (module=Invalid C/C++ type >> code 35 in symbol table. >> ) at ../src/runtime/common/RTHooks.m3:110 >> #30 0x00000008037761b1 in _m3_fault (arg=Invalid C/C++ type code 39 >> in symbol table. >> ) >> from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 >> #31 0x0000000803774c6b in ProcessOther (act=Invalid C/C++ type code >> 29 in symbol table. >> ) at ../src/thread/PTHREAD/ThreadPThread.m3:967 >> #32 0x000000080377485b in ProcessStacks (p=Invalid C/C++ type code >> 31 in symbol table. >> ) at ../src/thread/PTHREAD/ThreadPThread.m3:888 >> #33 0x0000000803752d59 in CollectSomeInStateZero () at ../src/ >> runtime/common/RTCollector.m3:819 >> #34 0x00000008037526a0 in CollectSome () at ../src/runtime/common/ >> RTCollector.m3:719 >> #35 0x00000008037520a1 in CollectEnough () at ../src/runtime/common/ >> RTCollector.m3:653 >> #36 0x0000000803748f49 in AllocTraced (dataSize=Invalid C/C++ type >> code 40 in symbol table. >> ) at ../src/runtime/common/RTAllocator.m3:365 >> #37 0x0000000803747f1c in GetTracedObj (def=Invalid C/C++ type code >> 29 in symbol table. >> ) at ../src/runtime/common/RTAllocator.m3:224 >> #38 0x0000000803747833 in AllocateTracedObj (defn=Invalid C/C++ type >> code 35 in symbol table. >> ) at ../src/runtime/common/RTAllocator.m3:120 >> #39 0x0000000800ad4207 in ParseRec (chars=Invalid C/C++ type code 30 >> in symbol table. >> ) at ../src/TWSLogger.m3:127 >> #40 0x0000000800ad4ce1 in ReadRecord (h=Invalid C/C++ type code 35 >> in symbol table. >> ) at ../src/TWSReplayer.m3:109 >> #41 0x0000000800ad65fb in SearchBackwardForData (mu=Invalid C/C++ >> type code 26 in symbol table. >> ) at ../src/TWSReplayer.m3:350 >> #42 0x0000000800ad6e8a in ReqMktData (t=Invalid C/C++ type code 26 >> in symbol table. >> ) at ../src/TWSReplayer.m3:396 >> #43 0x0000000800adae34 in MreqMktData (t=Invalid C/C++ type code 26 >> in symbol table. >> ) >> ---Type to continue, or q to quit--- >> at ../src/TWSReplayBridge.m3 => /home/mika/t/calarm/twslib/src/ >> TWSBridge.mg:574 >> #44 0x000000000040748a in AddContract (tws=Invalid C/C++ type code >> 26 in symbol table. >> ) at ../src/MktIsolator.m3:423 >> #45 0x00000000004086d8 in Init (t=Invalid C/C++ type code 26 in >> symbol table. >> ) at ../src/MktIsolator.m3:517 >> #46 0x00000000004106af in Main (mode=Invalid C/C++ type code 39 in >> symbol table. >> ) at ../src/Main.m3:734 >> #47 0x000000080375e507 in RunMainBody (m=Invalid C/C++ type code 29 >> in symbol table. >> ) at ../src/runtime/common/RTLinker.m3:399 >> #48 0x000000080375d6ee in AddUnitI (m=Invalid C/C++ type code 29 in >> symbol table. >> ) at ../src/runtime/common/RTLinker.m3:113 >> #49 0x000000080375d78c in AddUnit (b=Invalid C/C++ type code 31 in >> symbol table. >> ) at ../src/runtime/common/RTLinker.m3:122 >> #50 0x0000000000404194 in main (argc=45, argv=0x7fffffffddb0, >> envp=0x7fffffffdf20) at _m3main.mc:4 >> #51 0x00000000004040de in _start () >> (m3gdb) up 15 >> #15 0x0000000803752466 in CollectorOn () at ../src/runtime/common/ >> RTCollector.m3:690 >> 690 <* ASSERT NOT collectorOn *> >> Current language: auto; currently Modula-3 >> (m3gdb) print collectorOn >> $1 = TRUE >> (m3gdb) >> >> Also, the other assertion: >> >> PROCEDURE ProcessOther (act: Activation; p: PROCEDURE (start, stop: >> ADDRESS)) = >> (* LL=activeMu *) >> VAR sp: ADDRESS; >> BEGIN >> <*ASSERT act.state = ActState.Stopped*> (* here! *) >> IF DEBUG THEN >> RTIO.PutText("Processing act="); RTIO.PutAddr(act); >> RTIO.PutText("\n"); RTIO.Flush(); >> END; >> IF act.stackbase = NIL THEN RETURN END; >> RTHeapRep.FlushThreadState(act.heapState); >> (* process registers explicitly *) >> sp := ProcessState(act.handle, act.sp, p); >> (* or in my stack *) >> IF stack_grows_down >> THEN p(sp, act.stackbase); >> ELSE p(act.stackbase, sp); >> END; >> END ProcessOther; >> >> Mika >> >> Tony Hosking writes: >>> >>> --Apple-Mail-62--295019692 >>> Content-Type: text/plain; >>> charset=US-ASCII; >>> format=flowed; >>> delsp=yes >>> Content-Transfer-Encoding: 7bit >>> >>> Possibly. Though it may be more than that. I've not tested on >>> FreeBSD7 before. >>> >>> On 2 Nov 2009, at 12:20, Mika Nystrom wrote: >>> >>>> Tony (and others): >>>> >>>> I take it part of the problem I'm having is that I'm running a very >>>> out >>>> of date RC package on my FreeBSD7? >>>> >>>> Should I cvs update to something else to try? Note that what's in >>>> the "normal" >>>> CVS head didn't even compile when I tried it---see an earlier email >>>> from me. >>>> How can I specify the proper tag to get on to the "release" branch >>>> of the >>>> tree, if that's what I'm supposed to do? >>>> >>>> Mika >>>> >>>> Tony Hosking writes: >>>>> >>>>> --Apple-Mail-36--459856549 >>>>> Content-Type: text/plain; >>>>> charset=US-ASCII; >>>>> format=flowed; >>>>> delsp=yes >>>>> Content-Transfer-Encoding: 7bit >>>>> >>>>> Try regular gdb. >>>>> Set a breakpoint at RTHooks__ReportFault. >>>>> Then thread apply all bt. >>>>> >>>>> >>>>> Antony Hosking | Associate Professor | Computer Science | Purdue >>>>> University >>>>> 305 N. University Street | West Lafayette | IN 47907 | USA >>>>> Office +1 765 494 6001 | Mobile +1 765 427 5484 >>>>> >>>>> >>>>> >>>>> >>>>> On 31 Oct 2009, at 16:06, Mika Nystrom wrote: >>>>> >>>>>> With the RC m3gdb it either segfaults gdb or: >>>>>> >>>>>> (m3gdb) threads >>>>>> Can't find Modula-3 identifier: ThreadPosix >>>>>> (m3gdb) threads all >>>>>> Can't find Modula-3 identifier: ThreadPosix >>>>>> (m3gdb) threads all bt >>>>>> Can't find Modula-3 identifier: ThreadPosix >>>>>> (m3gdb) >>>>>> >>>>>> Tony Hosking writes: >>>>>>> >>>>>>> --Apple-Mail-33--461716527 >>>>>>> Content-Type: text/plain; >>>>>>> charset=US-ASCII; >>>>>>> format=flowed; >>>>>>> delsp=yes >>>>>>> Content-Transfer-Encoding: 7bit >>>>>>> >>>>>>> threads all bt >>>>>>> >>>>>>> should give a backtrace of all threads. >>>>>>> >>>>> >>>>> >>>>> --Apple-Mail-36--459856549 >>>>> Content-Type: text/html; >>>>> charset=US-ASCII >>>>> Content-Transfer-Encoding: quoted-printable >>>>> >>>>> >>>> space; = >>>>> -webkit-line-break: after-white-space; ">Try regular gdb.
Set >>>>> a = >>>>> breakpoint at RTHooks__ReportFault.
Then thread apply >>>>> all = >>>>> bt.


>>>> span" = >>>>> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font- >>>>> family: = >>>>> Helvetica; font-size: 12px; font-style: normal; font-variant: >>>>> normal; = >>>>> font-weight: normal; letter-spacing: normal; line-height: normal; = >>>>> orphans: 2; text-align: auto; text-indent: 0px; text-transform: >>>>> none; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size- >>>>> adjust: = >>>>> auto; -webkit-text-stroke-width: 0; ">
>>>> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >>>>> after-white-space; ">>>>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>>>> spacing: = >>>>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>>>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>>>> font-variant: normal; font-weight: normal; letter-spacing: >>>>> normal; = >>>>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>>>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>>>> none; = >>>>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>>>> ">
>>>> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >>>>> -webkit-line-break: after-white-space; ">>>>> style- >>>>> span" = >>>>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>>>> spacing: = >>>>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>>>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>>>> font-variant: normal; font-weight: normal; letter-spacing: >>>>> normal; = >>>>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>>>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>>>> none; = >>>>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>>>> ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">
>>>> class=3D"Apple-style-span" color=3D"#0000FF">>>>> class=3D"Apple-style-span" face=3D"Gill Sans">>>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>>> family: = >>>>> 'Gill Sans'; ">>>>> rgb(0, = >>>>> 0, 255); font-family: 'Gill Sans'; ">Antony = >>>>> Hosking>>>> span" = >>>>> face=3D"Gill Sans">>>>> family: = >>>>> 'Gill Sans'; ">>>>> family: = >>>>> 'Gill Sans'; "> | >>>>> >>>> class=3D"Apple-converted-space"> >>>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; >>>>> ">>>>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >>>>> ">Associate Professor>>>> span" = >>>>> style=3D"font-family: 'Gill Sans'; ">>>>> span" = >>>>> style=3D"font-family: 'Gill Sans'; "> | Computer Science | >>>>> Purdue = >>>>> University
>>>> style-span"= >>>>> face=3D"GillSans-Light">>>>> style=3D"font-family: GillSans-Light; ">305 N. University Street | >>>>> West = >>>>> Lafayette | IN 47907 | USA
>>>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>>>> Sans">>>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>>> family: = >>>>> 'Gill Sans'; ">>>>> rgb(0, = >>>>> 0, 255); font-family: 'Gill Sans'; ">Office>>>> font>>>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>>> ">>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; = >>>>> "> +1 765 494 6001 |>>>> class=3D"Apple-converted-space"> >>>> font>>>>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>>>> Sans">>>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>>> family: = >>>>> 'Gill Sans'; ">>>>> rgb(0, = >>>>> 0, 255); font-family: 'Gill Sans'; ">Mobile>>>> font>>>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>>> ">>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>>> ">>>>> class=3D"Apple-converted-space"> +1 765 427 = >>>>> 5484
>>>> span" = >>>>> face=3D"GillSans-Light">
>>>> class=3D"khtml-block-placeholder">
>>>> span>>>>>>

>>>> class=3D"Apple-interchange-newline">
>>>> span>
>>>> class=3D"Apple-interchange-newline">

On 31 Oct >>>>> 2009, = >>>>> at 16:06, Mika Nystrom wrote:

>>>> class=3D"Apple-interchange-newline">
>>>> type=3D"cite">
With = >>>>> the RC m3gdb it either segfaults gdb or:

(m3gdb) >>>>> threads
Can't = >>>>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads >>>>> all
Can't = >>>>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads all bt = >>>>>
Can't find Modula-3 identifier: ThreadPosix
(m3gdb) >>>>>

Tony = >>>>> Hosking writes:

>>>> blockquote>
>>>> type=3D"cite">--Apple-Mail-33--461716527
>>>> blockquote>
>>>> type=3D"cite">Content-Type: text/plain;
>>>> blockquote>
>>>> type=3D"cite">>>>> space:pre"> = >>>>> charset=3DUS-ASCII;
>>>> type=3D"cite">>>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>>> format=3Dflowed;
>>>> type=3D"cite">>>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>>> delsp=3Dyes
>>>> type=3D"cite">Content-Transfer-Encoding: = >>>>> 7bit
>>>> type=3D"cite">
threads >>>>> all = >>>>> bt

>>>> blockquote>
>>>> type=3D"cite">should give a backtrace of all = >>>>> threads.
>>>> type=3D"cite">

>>>> div>>>>> body><= >>>>> /html>= >>>>> >>>>> --Apple-Mail-36--459856549-- >>> >>> >>> --Apple-Mail-62--295019692 >>> Content-Type: text/html; >>> charset=US-ASCII >>> Content-Transfer-Encoding: quoted-printable >>> >>> >> space; = >>> -webkit-line-break: after-white-space; ">Possibly.  Though it >>> may = >>> be more than that.  I've not tested on FreeBSD7 = >>> before.
>> class=3D"Apple-style-span" style=3D"border-collapse: separate; >>> color: = >>> rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = >>> normal; font-variant: normal; font-weight: normal; letter-spacing: = >>> normal; line-height: normal; orphans: 2; text-align: auto; text- >>> indent: = >>> 0px; text-transform: none; white-space: normal; widows: 2; word- >>> spacing: = >>> 0px; -webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: 0px; = >>> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = >>> auto; -webkit-text-stroke-width: 0; ">
>> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >>> after-white-space; ">>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>> spacing: = >>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>> font-variant: normal; font-weight: normal; letter-spacing: normal; = >>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>> none; = >>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>> ">
>> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >>> -webkit-line-break: after-white-space; ">>> span" = >>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>> spacing: = >>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>> font-variant: normal; font-weight: normal; letter-spacing: normal; = >>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>> none; = >>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>> ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">
>> class=3D"Apple-style-span" style=3D"font-size: medium;">>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"'Gill = >>> Sans'">
>> span><= >>> /span>
On 2 Nov >>> 2009, at = >>> 12:20, Mika Nystrom wrote:

>> class=3D"Apple-interchange-newline">
>> type=3D"cite">
Tony = >>> (and others):

I take it part of the problem I'm having is >>> that = >>> I'm running a very out
of date RC package on my = >>> FreeBSD7?

Should I cvs update to something else to try? = >>>  Note that what's in the "normal"
CVS head didn't even >>> compile = >>> when I tried it---see an earlier email from me.
How can I >>> specify the = >>> proper tag to get on to the "release" branch of the
tree, if >>> that's = >>> what I'm supposed to do?

   Mika

Tony = >>> Hosking writes:

>> blockquote>
>> type=3D"cite">--Apple-Mail-36--459856549
>> blockquote>
>> type=3D"cite">Content-Type: text/plain;
>> type=3D"cite">>> space:pre"> = >>> charset=3DUS-ASCII;
>> type=3D"cite">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> format=3Dflowed;
>> type=3D"cite">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> delsp=3Dyes
>> type=3D"cite">Content-Transfer-Encoding: = >>> 7bit
>> type=3D"cite">
Try >>> regular = >>> gdb.
Set a breakpoint at = >>> RTHooks__ReportFault.
>> type=3D"cite">Then = >>> thread apply all bt.
>> type=3D"cite">
>> type=3D"cite">
Antony >>> Hosking = >>> | Associate Professor | Computer Science | Purdue = >>>  
>> type=3D"cite">University
>> type=3D"cite">305 = >>> N. University Street | West Lafayette | IN 47907 | = >>> USA
Office +1 765 494 >>> 6001 | = >>> Mobile +1 765 427 5484
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">
On 31 Oct >>> 2009, = >>> at 16:06, Mika Nystrom wrote:
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">With the RC m3gdb it either segfaults gdb = >>> or:
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">
(m3gdb) = >>> threads
>> type=3D"cite">>> type=3D"cite">Can't find Modula-3 identifier: = >>> ThreadPosix
>> type=3D"cite">
(m3gdb) threads = >>> all
>> type=3D"cite">
>> type=3D"cite">Can't find Modula-3 identifier: = >>> ThreadPosix
>> type=3D"cite">
(m3gdb) threads all = >>> bt
>> type=3D"cite">
>> type=3D"cite">Can't find Modula-3 identifier: = >>> ThreadPosix
>> type=3D"cite">
>> type=3D"cite">(m3gdb)
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">
Tony Hosking = >>> writes:
>> type=3D"cite">>> type=3D"cite">
>> type=3D"cite">
>> blockquote>
>> type=3D"cite">
>> type=3D"cite">--Apple-Mail-33--461716527
>> blockquote>>> ockquote>
>> type=3D"cite">
>> type=3D"cite">Content-Type: = >>> text/plain;
>> type=3D"cite">
>> type=3D"cite">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> charset=3DUS-ASCII;
>> blockquote>>> kquote type=3D"cite">
>> type=3D"cite">>> space:pre"> = >>> format=3Dflowed;
>> blockquote>>> ote type=3D"cite">
>> type=3D"cite">>> space:pre"> = >>> delsp=3Dyes
>> blockquote>
>> type=3D"cite">
>> type=3D"cite">Content-Transfer-Encoding: = >>> 7bit
>> type=3D"cite">
>> type=3D"cite">
>> blockquote>
>> type=3D"cite">
>> type=3D"cite">threads = >>> all bt
>> type=3D"cite">
>> type=3D"cite">
>> blockquote>
>> type=3D"cite">
>> type=3D"cite">should = >>> give a backtrace of all = >>> threads.
>> type=3D"cite">
>> type=3D"cite">
>> blockquote>
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">--Apple-Mail-36--459856549
>> blockquote>
>> type=3D"cite">Content-Type: text/html;
>> type=3D"cite">>> space:pre"> = >>> charset=3DUS-ASCII
>> type=3D"cite">Content-Transfer-Encoding: = >>> quoted-printable
>> type=3D"cite">
>> type=3D"cite"><html><body style=3D3D"word-wrap: break- >>> word; = >>> -webkit-nbsp-mode: space; =3D
>> type=3D"cite">-webkit-line-break: after-white-space; ">Try >>> regular = >>> gdb.<div>Set a =3D
>> type=3D"cite">breakpoint at = >>> RTHooks__ReportFault.</div><div>Then thread apply all = >>> =3D
>> type=3D"cite">bt.</div><div><br></ >>> div><div>&= >>> lt;br><div> <span class=3D3D"Apple-style-span" = >>> =3D
style=3D3D"border- >>> collapse: = >>> separate; color: rgb(0, 0, 0); font-family: = >>> =3D
Helvetica; font-size: = >>> 12px; font-style: normal; font-variant: normal; = >>> =3D
font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> =3D
orphans: 2; text- >>> align: = >>> auto; text-indent: 0px; text-transform: none; = >>> =3D
white-space: normal; = >>> widows: 2; word-spacing: 0px; =3D
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; -webkit-text-decorations-in-effect: none; = >>> -webkit-text-size-adjust: =3D
>> type=3D"cite">auto; -webkit-text-stroke-width: 0; "><div = >>> style=3D3D"word-wrap: =3D
>> type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line- >>> break: = >>> =3D
after-white-space; = >>> "><span class=3D3D"Apple-style-span" =3D
>> blockquote>>> type=3D"cite">style=3D3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: =3D
>> type=3D"cite">0px; -webkit-border-vertical-spacing: 0px; color: >>> rgb(0, = >>> 0, 0); =3D
font-family: = >>> Helvetica; font-size: 12px; font-style: normal; = >>> =3D
font-variant: normal; = >>> font-weight: normal; letter-spacing: normal; = >>> =3D
line-height: normal; = >>> -webkit-text-decorations-in-effect: none; =3D
>> blockquote>
>> type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >>> text-transform: none; =3D
>> type=3D"cite">orphans: 2; white-space: normal; widows: 2; word- >>> spacing: = >>> 0px; "><div =3D
>> type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp-mode: = >>> space; =3D
-webkit-line- >>> break: = >>> after-white-space; "><span class=3D3D"Apple-style-span" = >>> =3D
style=3D3D"border- >>> collapse: = >>> separate; -webkit-border-horizontal-spacing: = >>> =3D
0px; = >>> -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>> =3D
font-family: >>> Helvetica; = >>> font-size: 12px; font-style: normal; =3D
>> blockquote>
>> type=3D"cite">font-variant: normal; font-weight: normal; letter- >>> spacing: = >>> normal; =3D
line-height: = >>> normal; -webkit-text-decorations-in-effect: none; = >>> =3D
text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; = >>> =3D
orphans: 2; white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><div><font = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> color=3D3D"#0000FF"><font =3D
>> type=3D"cite">class=3D3D"Apple-style-span" face=3D3D"Gill = >>> Sans"><span =3D
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, >>> 0, = >>> 255); font-family: =3D
>> type=3D"cite">'Gill = >>> Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = >>> rgb(0, =3D
0, 255); = >>> font-family: 'Gill Sans'; ">Antony =3D
>> blockquote>
>> type=3D"cite">Hosking</span></span></font></ >>> font>&= >>> lt;font class=3D3D"Apple-style-span" =3D
>> blockquote>
>> type=3D"cite">face=3D3D"Gill Sans"><span = >>> class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> =3D
'Gill Sans'; >>> "><span = >>> class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> =3D
'Gill Sans'; >>> "><span = >>> class=3D3D"Apple-converted-space">&nbsp;</span>| >>> <span = >>> =3D
>> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >>> span>= >>> </span></span><span =3D
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: >>> 'Gill = >>> Sans'; "><span =3D
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: >>> 'Gill = >>> Sans'; =3D
">Associate = >>> Professor</span></span><span class=3D3D"Apple-style- >>> span" = >>> =3D
style=3D3D"font- >>> family: = >>> 'Gill Sans'; "><span class=3D3D"Apple-style-span" = >>> =3D
style=3D3D"font- >>> family: = >>> 'Gill Sans'; ">&nbsp;| Computer Science | Purdue = >>> =3D
>> type=3D"cite">University</span></span></font></ >>> div>= >>> ;<div><font = >>> class=3D3D"Apple-style-span"=3D
>> type=3D"cite">face=3D3D"GillSans-Light"><span = >>> class=3D3D"Apple-style-span" =3D
>> type=3D"cite">style=3D3D"font-family: GillSans-Light; ">305 N. = >>> University Street | West =3D
>> type=3D"cite">Lafayette | IN 47907 | = >>> USA</span></font></div><div><font = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"color: rgb(0, 0, 255); font-family: = >>> =3D
'Gill Sans'; >>> "><span = >>> class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >>> =3D
0, 255); font-family: = >>> 'Gill Sans'; ">Office</span></span></ >>> font><font = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> face=3D3D"GillSans-Light"><span =3D
>> blockquote>
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> GillSans-Light; "><span =3D
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> GillSans-Light; =3D
>> type=3D"cite">">&nbsp;+1 765 494 6001 |<span = >>> =3D
>> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >>> span>= >>> </span></span></font><font = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"color: rgb(0, 0, 255); font-family: = >>> =3D
'Gill Sans'; >>> "><span = >>> class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >>> =3D
0, 255); font-family: = >>> 'Gill Sans'; ">Mobile</span></span></ >>> font><font = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> face=3D3D"GillSans-Light"><span =3D
>> blockquote>
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> GillSans-Light; "><span =3D
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> GillSans-Light; "><span =3D
>> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >>> span>= >>> +1 765 427 =3D
>> type=3D"cite">5484</span></span></font></ >>> div><d= >>> iv><font class=3D3D"Apple-style-span" = >>> =3D
>> type=3D"cite">face=3D3D"GillSans-Light"><br = >>> =3D
>> type=3D"cite">class=3D3D"khtml-block-placeholder"></ >>> font></div= >>> ></span></span></span></span=3D
>> blockquote>>> lockquote type=3D"cite">
>> type=3D"cite"></span></span></span><br = >>> =3D
>> type=3D"cite">class=3D3D"Apple-interchange-newline"></ >>> span></d= >>> iv></span></div></span><br = >>> =3D
>> type=3D"cite">class=3D3D"Apple-interchange-newline"> = >>> </div><br><div><div>On 31 Oct 2009, = >>> =3D
at 16:06, Mika >>> Nystrom = >>> wrote:</div><br =3D
>> type=3D"cite">class=3D3D"Apple-interchange- >>> newline"><blockquote = >>> type=3D3D"cite"><div>With =3D
>> type=3D"cite">the RC m3gdb it either segfaults gdb = >>> or:<br><br>(m3gdb) threads<br>Can't = >>> =3D
find Modula-3 >>> identifier: = >>> ThreadPosix<br>(m3gdb) threads all<br>Can't = >>> =3D
find Modula-3 >>> identifier: = >>> ThreadPosix<br>(m3gdb) threads all bt = >>> =3D
<br>Can't find = >>> Modula-3 identifier: ThreadPosix<br>(m3gdb) = >>> <br><br>Tony =3D
>> type=3D"cite">Hosking writes:<br><blockquote = >>> type=3D3D"cite"><br></blockquote><blockquote = >>> =3D
>> type=3D"cite">type=3D3D"cite">--Apple- >>> Mail-33--461716527<br></= >>> blockquote><blockquote =3D
>> type=3D"cite">type=3D3D"cite">Content-Type: = >>> text/plain;<br></blockquote><blockquote = >>> =3D
>> type=3D"cite">type=3D3D"cite"><span = >>> class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> =3D
>> type=3D"cite"></span>charset=3D3DUS-ASCII;<br></ >>> blockquote&= >>> gt;<blockquote type=3D3D"cite"><span=3D
>> blockquote>>> te type=3D"cite">class=3D3D"Apple-tab-span" = >>> style=3D3D"white-space:pre">>> style=3D"white-space:pre"> =3D
>> type=3D"cite"></span>format=3D3Dflowed;<br></ >>> blockquote>= >>> <blockquote type=3D3D"cite"><span =3D
>> blockquote>>> type=3D"cite">class=3D3D"Apple-tab-span" = >>> style=3D3D"white-space:pre">>> style=3D"white-space:pre"> =3D
>> type=3D"cite"></span>delsp=3D3Dyes<br></ >>> blockquote><b= >>> lockquote =3D
>> type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >>> =3D
>> type=3D"cite">7bit<br></blockquote><blockquote = >>> =3D
>> type=3D"cite">type=3D3D"cite"><br></ >>> blockquote><blockquo= >>> te type=3D3D"cite">threads all =3D
>> type=3D"cite">bt<br></blockquote><blockquote = >>> type=3D3D"cite"><br></blockquote><blockquote = >>> =3D
>> type=3D"cite">type=3D3D"cite">should = >>> give a backtrace of all =3D
>> type=3D"cite">threads.<br></blockquote><blockquote = >>> =3D
>> type=3D"cite">type=3D3D"cite"><br></blockquote></ >>> div>= >>> </blockquote></div><br></div></ >>> body><=3D<= >>> br>
>> type=3D"cite">/html>=3D
>> type=3D"cite">
>> type=3D"cite">--Apple-Mail-36--459856549--
>> blockqu= >>> ote>

= >>> >>> --Apple-Mail-62--295019692-- > > >--Apple-Mail-121--89103770 >Content-Type: text/html; > charset=US-ASCII >Content-Transfer-Encoding: quoted-printable > >-webkit-line-break: after-white-space; ">Can you get this to break at = >the first fault:

break = >RTHooks__ReportFault

And = >then:

p = >ThreadPThread__DumpThreads()

Clearly somethings = >is *very* broken.  How can we be processing a thread that is not = >stopped when we should have stopped them all.

class=3D"Apple-style-span" style=3D"border-collapse: separate; color: = >rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = >normal; font-variant: normal; font-weight: normal; letter-spacing: = >normal; line-height: normal; orphans: 2; text-align: auto; text-indent: = >0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = >0px; -webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: 0px; = >-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = >auto; -webkit-text-stroke-width: 0; ">
break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >-webkit-line-break: after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">
class=3D"Apple-style-span" color=3D"#0000FF">class=3D"Apple-style-span" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Antony = >Hoskingface=3D"Gill Sans">'Gill Sans'; ">'Gill Sans'; "> |class=3D"Apple-converted-space"> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; ">class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >">Associate Professorstyle=3D"font-family: 'Gill Sans'; ">style=3D"font-family: 'Gill Sans'; "> | Computer Science | Purdue = >University
face=3D"GillSans-Light">style=3D"font-family: GillSans-Light; ">305 N. University Street | West = >Lafayette | IN 47907 | USA
class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Officeclass=3D"Apple-style-span" face=3D"GillSans-Light">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; = >"> +1 765 494 6001 |class=3D"Apple-converted-space"> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Mobileclass=3D"Apple-style-span" face=3D"GillSans-Light">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-converted-space"> +1 765 427 = >5484
face=3D"GillSans-Light">
class=3D"khtml-block-placeholder">
>

class=3D"Apple-interchange-newline">

class=3D"Apple-interchange-newline">

On 4 Nov 2009, = >at 19:57, Mika Nystrom wrote:

class=3D"Apple-interchange-newline">
Hi = >Tony and others,

I tested with the head now (it looks a bit more = >organized than a week
ago), and I get the same problems.  A = >"double assert failure".

By the way I am noticing that the = >program is quite slow.  It could be
that I'm accessing data over = >NFS, possibly... not sure I've done a fair
back-to-back comparison. = > (My benchmark is, as always, an ancient PM3 on
"FreeBSD4" = >i386.)


***
*** runtime error:
*** = >   <*ASSERT*> failed.
***    file = >"../src/thread/PTHREAD/ThreadPThread.m3", line = >967
***



***
*** runtime error:
*** = >   <*ASSERT*> failed.
***    file = >"../src/runtime/common/RTCollector.m3", line = >690
***


Program received signal SIGABRT, = >Aborted.
0x0000000804c95a9c in thr_kill () from = >/lib/libc.so.7
(m3gdb)

The problem seems a bit different from = >before, however:

Program received signal SIGABRT, = >Aborted.
0x0000000804c95a9c in thr_kill () from = >/lib/libc.so.7
(m3gdb) where
#0  0x0000000804c95a9c in = >thr_kill () from /lib/libc.so.7
#1  0x0000000804d24f8b in abort = >() from /lib/libc.so.7
#2  0x000000080376e3cf in Crash () at = >../src/runtime/POSIX/RTOS.m3:20
#3  0x0000000803761f05 in Crash = >(msg=3DInvalid C/C++ type code 26 in symbol table.
) at = >../src/runtime/common/RTProcess.m3:65
#4  0x000000080375f3a2 in = >EndError (crash=3DInvalid C/C++ type code 36 in symbol table.
) at = >../src/runtime/common/RTError.m3:118
#5  0x000000080375f09a in = >MsgS (file=3DInvalid C/C++ type code 35 in symbol table.
) at = >../src/runtime/common/RTError.m3:40
#6  0x000000080375f875 in = >Crash (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:79
#7  0x000000080375f52c = >in DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) = >at ../src/runtime/common/RTException.m3:39
#8 = > 0x000000080375f45e in InvokeBackstop (a=3DInvalid C/C++ type code = >30 in symbol table.
) at = >../src/runtime/common/RTException.m3:25
#9  0x000000080376ee93 = >in Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/ex_frame/RTExFrame.m3:29
#10 0x000000080375f5de in = >DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:47
#11 0x000000080375f45e in = >InvokeBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:25
#12 0x000000080376ee93 in = >Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/ex_frame/RTExFrame.m3:29
#13 0x0000000803746f81 in = >ReportFault (module=3DInvalid C/C++ type code 35 in symbol table.
) = >at ../src/runtime/common/RTHooks.m3:110
#14 0x000000080375c91c in = >_m3_fault (arg=3DInvalid C/C++ type code 39 in symbol table.
)
= >  from = >/usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5
#15 = >0x0000000803752466 in CollectorOn () at = >../src/runtime/common/RTCollector.m3:690
#16 0x0000000803759597 in = >CheckLoadTracedRef (ref=3DInvalid C/C++ type code 46 in symbol = >table.
) at ../src/runtime/common/RTCollector.m3:2229
#17 = >0x00000008034e8db4 in ShutDown () at ../src/rw/Stdio.m3:43
#18 = >0x0000000803761e5c in InvokeExitors () at = >../src/runtime/common/RTProcess.m3:40
#19 0x0000000803761eee in Crash = >(msg=3DInvalid C/C++ type code 26 in symbol table.
) at = >../src/runtime/common/RTProcess.m3:61
#20 0x000000080375f3a2 in = >EndError (crash=3DInvalid C/C++ type code 36 in symbol table.
) at = >../src/runtime/common/RTError.m3:118
#21 0x000000080375f09a in MsgS = >(file=3DInvalid C/C++ type code 35 in symbol table.
) at = >../src/runtime/common/RTError.m3:40
---Type <return> to = >continue, or q <return> to quit---
#22 0x000000080375f875 in = >Crash (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:79
#23 0x000000080375f52c in = >DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:39
#24 0x000000080375f45e in = >InvokeBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:25
#25 0x000000080376ee93 in = >Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/ex_frame/RTExFrame.m3:29
#26 0x000000080375f5de in = >DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:47
#27 0x000000080375f45e in = >InvokeBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:25
#28 0x000000080376ee93 in = >Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/ex_frame/RTExFrame.m3:29
#29 0x0000000803746f81 in = >ReportFault (module=3DInvalid C/C++ type code 35 in symbol table.
) = >at ../src/runtime/common/RTHooks.m3:110
#30 0x00000008037761b1 in = >_m3_fault (arg=3DInvalid C/C++ type code 39 in symbol table.
)
= >  from = >/usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5
#31 = >0x0000000803774c6b in ProcessOther (act=3DInvalid C/C++ type code 29 in = >symbol table.
) at ../src/thread/PTHREAD/ThreadPThread.m3:967
#32 = >0x000000080377485b in ProcessStacks (p=3DInvalid C/C++ type code 31 in = >symbol table.
) at ../src/thread/PTHREAD/ThreadPThread.m3:888
#33 = >0x0000000803752d59 in CollectSomeInStateZero () at = >../src/runtime/common/RTCollector.m3:819
#34 0x00000008037526a0 in = >CollectSome () at ../src/runtime/common/RTCollector.m3:719
#35 = >0x00000008037520a1 in CollectEnough () at = >../src/runtime/common/RTCollector.m3:653
#36 0x0000000803748f49 in = >AllocTraced (dataSize=3DInvalid C/C++ type code 40 in symbol table.
) = >at ../src/runtime/common/RTAllocator.m3:365
#37 0x0000000803747f1c in = >GetTracedObj (def=3DInvalid C/C++ type code 29 in symbol table.
) at = >../src/runtime/common/RTAllocator.m3:224
#38 0x0000000803747833 in = >AllocateTracedObj (defn=3DInvalid C/C++ type code 35 in symbol = >table.
) at ../src/runtime/common/RTAllocator.m3:120
#39 = >0x0000000800ad4207 in ParseRec (chars=3DInvalid C/C++ type code 30 in = >symbol table.
) at ../src/TWSLogger.m3:127
#40 0x0000000800ad4ce1 = >in ReadRecord (h=3DInvalid C/C++ type code 35 in symbol table.
) at = >../src/TWSReplayer.m3:109
#41 0x0000000800ad65fb in = >SearchBackwardForData (mu=3DInvalid C/C++ type code 26 in symbol = >table.
) at ../src/TWSReplayer.m3:350
#42 0x0000000800ad6e8a in = >ReqMktData (t=3DInvalid C/C++ type code 26 in symbol table.
) at = >../src/TWSReplayer.m3:396
#43 0x0000000800adae34 in MreqMktData = >(t=3DInvalid C/C++ type code 26 in symbol table.
)
---Type = ><return> to continue, or q <return> to quit---
= >   at ../src/TWSReplayBridge.m3 =3D> = >/home/mika/t/calarm/twslib/src/TWSBridge.mg:574
#44 = >0x000000000040748a in AddContract (tws=3DInvalid C/C++ type code 26 in = >symbol table.
) at ../src/MktIsolator.m3:423
#45 = >0x00000000004086d8 in Init (t=3DInvalid C/C++ type code 26 in symbol = >table.
) at ../src/MktIsolator.m3:517
#46 0x00000000004106af in = >Main (mode=3DInvalid C/C++ type code 39 in symbol table.
) at = >../src/Main.m3:734
#47 0x000000080375e507 in RunMainBody (m=3DInvalid = >C/C++ type code 29 in symbol table.
) at = >../src/runtime/common/RTLinker.m3:399
#48 0x000000080375d6ee in = >AddUnitI (m=3DInvalid C/C++ type code 29 in symbol table.
) at = >../src/runtime/common/RTLinker.m3:113
#49 0x000000080375d78c in = >AddUnit (b=3DInvalid C/C++ type code 31 in symbol table.
) at = >../src/runtime/common/RTLinker.m3:122
#50 0x0000000000404194 in main = >(argc=3D45, argv=3D0x7fffffffddb0, envp=3D0x7fffffffdf20) at = >_m3main.mc:4
#51 0x00000000004040de in _start ()
(m3gdb) up = >15
#15 0x0000000803752466 in CollectorOn () at = >../src/runtime/common/RTCollector.m3:690
690 = >        <* ASSERT NOT = >collectorOn *>
Current language:  auto; currently = >Modula-3
(m3gdb) print collectorOn
$1 =3D TRUE
(m3gdb) = >

Also, the other assertion:

PROCEDURE ProcessOther (act: = >Activation;  p: PROCEDURE (start, stop: ADDRESS)) =3D
 (* = >LL=3DactiveMu *)
 VAR sp: ADDRESS;
 BEGIN
= >   <*ASSERT act.state =3D ActState.Stopped*> = > (* here! *)
   IF DEBUG THEN
= >     RTIO.PutText("Processing act=3D"); = >RTIO.PutAddr(act); RTIO.PutText("\n"); RTIO.Flush();
= >   END;
   IF act.stackbase =3D NIL = >THEN RETURN END;
= >   RTHeapRep.FlushThreadState(act.heapState);
= >   (* process registers explicitly *)
= >   sp :=3D ProcessState(act.handle, act.sp, p);
= >   (* or in my stack *)
   IF = >stack_grows_down
     THEN p(sp, = >act.stackbase);
     ELSE p(act.stackbase, = >sp);
   END;
 END ProcessOther;

= >    Mika

Tony Hosking writes:
type=3D"cite">
type=3D"cite">--Apple-Mail-62--295019692
type=3D"cite">Content-Type: text/plain;
type=3D"cite"> = >charset=3DUS-ASCII;
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >format=3Dflowed;
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >delsp=3Dyes
type=3D"cite">Content-Transfer-Encoding: = >7bit
type=3D"cite">
Possibly. = > Though it may be more than that.  I've not tested on = > 
FreeBSD7 = >before.
type=3D"cite">
On 2 Nov 2009, = >at 12:20, Mika Nystrom wrote:
type=3D"cite">
type=3D"cite">Tony (and = >others):
type=3D"cite">
type=3D"cite">
type=3D"cite">
I take it part of the problem = >I'm having is that I'm running a very = > 
type=3D"cite">out
type=3D"cite">
of date RC package on my = >FreeBSD7?
type=3D"cite">
type=3D"cite">
type=3D"cite">
Should I cvs update to something = >else to try?  Note that what's in = > 
type=3D"cite">the "normal"
type=3D"cite">
CVS head didn't even compile = >when I tried it---see an earlier email = > 
type=3D"cite">from me.
type=3D"cite">
How can I specify the proper tag = >to get on to the "release" branch = > 
type=3D"cite">of the
type=3D"cite">
tree, if that's what I'm = >supposed to do?
type=3D"cite">
type=3D"cite">
type=3D"cite">
= >  Mika
type=3D"cite">
type=3D"cite">
type=3D"cite">
Tony Hosking = >writes:
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">--Apple-Mail-36--459856549
ockquote>
type=3D"cite">Content-Type: = >text/plain;
type=3D"cite">
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >charset=3DUS-ASCII;
kquote type=3D"cite">
type=3D"cite"> = >format=3Dflowed;
ote type=3D"cite">
type=3D"cite"> = >delsp=3Dyes
type=3D"cite">
type=3D"cite">Content-Transfer-Encoding: = >7bit
type=3D"cite">
type=3D"cite">
type=3D"cite">
Try = >regular gdb.
type=3D"cite">
Set a = >breakpoint at = >RTHooks__ReportFault.
e type=3D"cite">
Then = >thread apply all = >bt.
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
Antony = >Hosking | Associate Professor | Computer Science | = >Purdue
type=3D"cite">
type=3D"cite">University
uote type=3D"cite">
305= > N. University Street | West Lafayette | IN 47907 | = >USA
type=3D"cite">
Office = >+1 765 494 6001 | Mobile +1 765 427 = >5484
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
On 31 = >Oct 2009, at 16:06, Mika Nystrom = >wrote:
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
With the RC m3gdb it either = >segfaults gdb = >or:
type=3D"cite">
type=3D"cite">
type=3D"cite">
ckquote type=3D"cite">
type=3D"cite">
(m3gdb) = >threads
type=3D"cite">
type=3D"cite">
Can't find Modula-3 identifier: = >ThreadPosix
uote type=3D"cite">
type=3D"cite">
(m3gdb) threads = >all
type=3D"cite">
type=3D"cite">
Can't find Modula-3 identifier: = >ThreadPosix
uote type=3D"cite">
type=3D"cite">
(m3gdb) threads all = >bt
type=3D"cite">
type=3D"cite">
Can't find Modula-3 identifier: = >ThreadPosix
uote type=3D"cite">
type=3D"cite">
type=3D"cite">(m3gdb)
te>
type=3D"cite">
type=3D"cite">
ckquote type=3D"cite">
type=3D"cite">
Tony Hosking = >writes:
type=3D"cite">
type=3D"cite">
type=3D"cite">
ockquote>
type=3D"cite">
type=3D"cite">--Apple-Mail-33--461716527
ockquote>
type=3D"cite">
type=3D"cite">
Content-Type: = >text/plain;
quote>
type=3D"cite">
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >charset=3DUS-ASCII;
ckquote>
type=3D"cite">
type=3D"cite">
style=3D"white-space:pre"> = >format=3Dflowed;
uote>
type=3D"cite">
type=3D"cite">
style=3D"white-space:pre"> = >delsp=3Dyes
= >
type=3D"cite">
type=3D"cite">
Content-Transfer-Encoding: = >7bit
<= >blockquote type=3D"cite">
type=3D"cite">
type=3D"cite">
ockquote>
type=3D"cite">
threads = >all = >bt
ockquote type=3D"cite">
type=3D"cite">
type=3D"cite">
ockquote>
type=3D"cite">
should = >give a backtrace of all = >threads.
te>
type=3D"cite">
type=3D"cite">
ockquote>
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">--Apple-Mail-36--459856549
ockquote>
type=3D"cite">Content-Type: = >text/html;
type=3D"cite">
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >charset=3DUS-ASCII
quote type=3D"cite">
type=3D"cite">Content-Transfer-Encoding: = >quoted-printable
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite"><html><body style=3D3D"word-wrap: break-word; = >-webkit-nbsp-mode: = > 
type=3D"cite">
space; = >=3D
type=3D"cite">
type=3D"cite">-webkit-line-break: after-white-space; ">Try regular = >gdb.<div>Set a = >=3D
type=3D"cite">
type=3D"cite">breakpoint at = >RTHooks__ReportFault.</div><div>Then thread apply all = >=3D
type=3D"cite">
type=3D"cite">bt.</div><div><br></div><div>&= >lt;br><div> <span class=3D3D"Apple-style- = >
type=3D"cite">
span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"border-collapse: separate; color: rgb(0, 0, 0); = >font-
type=3D"cite">
family: = >=3D
type=3D"cite">
type=3D"cite">Helvetica; font-size: 12px; font-style: normal; = >font-variant: = > 
type=3D"cite">
normal; = >=3D
type=3D"cite">
type=3D"cite">font-weight: normal; letter-spacing: normal; line-height: = >normal; =3D
type=3D"cite">
orphans:= > 2; text-align: auto; text-indent: 0px; text-transform: = > 
type=3D"cite">
none; = >=3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >=3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >-webkit-text-decorations-in-effect: none; -webkit-text-size- = >
type=3D"cite">
adjust: = >=3D
type=3D"cite">
auto; = >-webkit-text-stroke-width: 0; "><div style=3D3D"word-wrap: = >=3D
type=3D"cite">
type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >=3D
type=3D"cite">
type=3D"cite">after-white-space; "><span = >class=3D3D"Apple-style-span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"border-collapse: separate; = >-webkit-border-horizontal- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >-webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >=3D
type=3D"cite">
type=3D"cite">font-family: Helvetica; font-size: 12px; font-style: = >normal; =3D
type=3D"cite">
type=3D"cite">font-variant: normal; font-weight: normal; letter-spacing: = >normal; =3D
type=3D"cite">
type=3D"cite">line-height: normal; -webkit-text-decorations-in-effect: = >none; =3D
type=3D"cite">
type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >text-transform: = > 
type=3D"cite">
none; = >=3D
type=3D"cite">
orphans:= > 2; white-space: normal; widows: 2; word-spacing: 0px; = > 
type=3D"cite">
type=3D"cite">"><div = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp-mode: = >space; =3D
type=3D"cite">
type=3D"cite">-webkit-line-break: after-white-space; "><span = >class=3D3D"Apple-style- = >
type=3D"cite">
span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"border-collapse: separate; = >-webkit-border-horizontal- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >-webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >=3D
type=3D"cite">
type=3D"cite">font-family: Helvetica; font-size: 12px; font-style: = >normal; =3D
type=3D"cite">
type=3D"cite">font-variant: normal; font-weight: normal; letter-spacing: = >normal; =3D
type=3D"cite">
type=3D"cite">line-height: normal; -webkit-text-decorations-in-effect: = >none; =3D
type=3D"cite">
type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >text-transform: = > 
type=3D"cite">
none; = >=3D
type=3D"cite">
orphans:= > 2; white-space: normal; widows: 2; word-spacing: 0px; = > 
type=3D"cite">
type=3D"cite">"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><div><font = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" color=3D3D"#0000FF"><font= > =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" face=3D3D"Gill = >Sans"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, 0, = >255); font-
type=3D"cite">
family: = >=3D
type=3D"cite">
'Gill = >Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = > 
type=3D"cite">
rgb(0, = >=3D
type=3D"cite">
0, = >255); font-family: 'Gill Sans'; ">Antony = >=3D
type=3D"cite">
type=3D"cite">Hosking</span></span></font></font>&= >lt;font class=3D3D"Apple-style-span" = >=3D
type=3D"cite">
type=3D"cite">face=3D3D"Gill Sans"><span = >class=3D3D"Apple-style-span" style=3D3D"font- = >
type=3D"cite">
family: = >=3D
type=3D"cite">
'Gill = >Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"font- = >
type=3D"cite">
family: = >=3D
type=3D"cite">
'Gill = >Sans'; "><span = >class=3D3D"Apple-converted-space">&nbsp;</span>| = >
type=3D"cite">
<span= > =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= ></span></span><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: 'Gill = >Sans';  
type=3D"cite">
type=3D"cite">"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: 'Gill = >Sans'; =3D
type=3D"cite">
type=3D"cite">">Associate Professor</span></span><span = >class=3D3D"Apple-style-span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"font-family: 'Gill Sans'; "><span = >class=3D3D"Apple-style- = >
type=3D"cite">
span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"font-family: 'Gill Sans'; ">&nbsp;| = >Computer Science | = > 
type=3D"cite">
Purdue = >=3D
type=3D"cite">
type=3D"cite">University</span></span></font></div>= >;<div><font class=3D3D"Apple- = >
type=3D"cite">
type=3D"cite">style-span"=3D
ockquote type=3D"cite">
type=3D"cite">face=3D3D"GillSans-Light"><span = >class=3D3D"Apple-style-span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"font-family: GillSans-Light; ">305 N. = >University Street | = > 
type=3D"cite">
West = >=3D
type=3D"cite">
type=3D"cite">Lafayette | IN 47907 | = >USA</span></font></div><div><font = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" color=3D3D"#0000FF" = >face=3D3D"Gill = > 
type=3D"cite">
type=3D"cite">Sans"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, 0, = >255); font-
type=3D"cite">
family: = >=3D
type=3D"cite">
'Gill = >Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = > 
type=3D"cite">
rgb(0, = >=3D
type=3D"cite">
0, = >255); font-family: 'Gill Sans'; = >">Office</span></span></ = >
type=3D"cite">
type=3D"cite">font><font = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" = >face=3D3D"GillSans-Light"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; = > 
type=3D"cite">
type=3D"cite">"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; =3D
type=3D"cite">
type=3D"cite">">&nbsp;+1 765 494 6001 |<span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= ></span></span></ = >
type=3D"cite">
type=3D"cite">font><font = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" color=3D3D"#0000FF" = >face=3D3D"Gill = > 
type=3D"cite">
type=3D"cite">Sans"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, 0, = >255); font-
type=3D"cite">
family: = >=3D
type=3D"cite">
'Gill = >Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = > 
type=3D"cite">
rgb(0, = >=3D
type=3D"cite">
0, = >255); font-family: 'Gill Sans'; = >">Mobile</span></span></ = >
type=3D"cite">
type=3D"cite">font><font = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" = >face=3D3D"GillSans-Light"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; = > 
type=3D"cite">
type=3D"cite">"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; = > 
type=3D"cite">
type=3D"cite">"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= >+1 765 427 =3D
type=3D"cite">
type=3D"cite">5484</span></span></font></div><d= >iv><font class=3D3D"Apple-style- = >
type=3D"cite">
span" = >=3D
type=3D"cite">
type=3D"cite">face=3D3D"GillSans-Light"><br = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"khtml-block-placeholder"></font></div= >></span></span></ = >
type=3D"cite">
type=3D"cite">span></span=3D
te>
type=3D"cite">
type=3D"cite"></span></span></span><br = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-interchange-newline"></span></d= >iv></span></div></ = >
type=3D"cite">
type=3D"cite">span><br = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-interchange-newline"> = ></div><br><div><div>On 31 Oct = > 
type=3D"cite">
2009, = >=3D
type=3D"cite">
at = >16:06, Mika Nystrom wrote:</div><br = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-interchange-newline"><blockquote = > 
type=3D"cite">
type=3D"cite">type=3D3D"cite"><div>With = >=3D
type=3D"cite">
the RC = >m3gdb it either segfaults gdb or:<br><br>(m3gdb) = > 
type=3D"cite">
type=3D"cite">threads<br>Can't = >=3D
type=3D"cite">
find = >Modula-3 identifier: ThreadPosix<br>(m3gdb) threads = > 
type=3D"cite">
type=3D"cite">all<br>Can't = >=3D
type=3D"cite">
find = >Modula-3 identifier: ThreadPosix<br>(m3gdb) threads all bt = >=3D
type=3D"cite">
type=3D"cite"><br>Can't find Modula-3 identifier: = >ThreadPosix<br>(m3gdb) = > 
type=3D"cite">
type=3D"cite"><br><br>Tony = >=3D
type=3D"cite">
Hosking = >writes:<br><blockquote type=3D3D"cite"><br></ = >
type=3D"cite">
type=3D"cite">blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite">--Apple-Mail-33--461716527<br></= >
type=3D"cite">
type=3D"cite">blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite">Content-Type: = >text/plain;<br></blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite"><span class=3D3D"Apple-tab-span" = >style=3D3D"white-
type=3D"cite">
type=3D"cite">space:pre">style=3D"white-space:pre"> = >=3D
type=3D"cite">
type=3D"cite"></span>charset=3D3DUS-ASCII;<br></blockquote&= >gt;<blockquote = > 
type=3D"cite">
type=3D"cite">type=3D3D"cite"><span=3D
= >
type=3D"cite">
class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> = >=3D
type=3D"cite">
type=3D"cite"></span>format=3D3Dflowed;<br></blockquote>= ><blockquote = > 
type=3D"cite">
type=3D"cite">type=3D3D"cite"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> = >=3D
type=3D"cite">
type=3D"cite"></span>delsp=3D3Dyes<br></blockquote><b= >lockquote =3D
type=3D"cite">
type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >=3D
type=3D"cite">
type=3D"cite">7bit<br></blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite">threads = > 
type=3D"cite">
all = >=3D
type=3D"cite">
type=3D"cite">bt<br></blockquote><blockquote = >type=3D3D"cite"><br></ = >
type=3D"cite">
type=3D"cite">blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite">should give a backtrace of all = >=3D
type=3D"cite">
type=3D"cite">threads.<br></blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite"><br></blockquote></div>= ></blockquote></div><br></div></ = >
type=3D"cite">
type=3D"cite">body><=3D
lockquote type=3D"cite">
type=3D"cite">/html>=3D
kquote type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">--Apple-Mail-36--459856549--
blockquote>

type=3D"cite">
type=3D"cite">--Apple-Mail-62--295019692
type=3D"cite">Content-Type: text/html;
type=3D"cite"> = >charset=3DUS-ASCII
type=3D"cite">Content-Transfer-Encoding: = >quoted-printable
type=3D"cite">
type=3D"cite"><html><body style=3D3D"word-wrap: break-word; = >-webkit-nbsp-mode: space; =3D
type=3D"cite">-webkit-line-break: after-white-space; ">Possibly. = >&nbsp;Though it may =3D
be = >more than that. &nbsp;I've not tested on FreeBSD7 = >=3D
type=3D"cite">before.<br><div><div = >apple-content-edited=3D3D"true"><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; color: = >=3D
rgb(0, 0, 0); font-family: = >Helvetica; font-size: 12px; font-style: =3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >letter-spacing: =3D
normal; = >line-height: normal; orphans: 2; text-align: auto; text-indent: = >=3D
0px; text-transform: none; = >white-space: normal; widows: 2; word-spacing: = >=3D
0px; = >-webkit-border-horizontal-spacing: 0px; =3D
type=3D"cite">-webkit-border-vertical-spacing: 0px; = >=3D
type=3D"cite">-webkit-text-decorations-in-effect: none; = >-webkit-text-size-adjust: =3D
type=3D"cite">auto; -webkit-text-stroke-width: 0; "><div = >style=3D3D"word-wrap: =3D
type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >=3D
after-white-space; = >"><span class=3D3D"Apple-style-span" =3D
type=3D"cite">style=3D3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: =3D
type=3D"cite">0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, = >0, 0); =3D
font-family: = >Helvetica; font-size: 12px; font-style: normal; = >=3D
font-variant: normal; = >font-weight: normal; letter-spacing: normal; = >=3D
line-height: normal; = >-webkit-text-decorations-in-effect: none; =3D
type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; white-space: normal; widows: 2; word-spacing: = >0px; "><div =3D
type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp-mode: = >space; =3D
-webkit-line-break: = >after-white-space; "><span class=3D3D"Apple-style-span" = >=3D
style=3D3D"border-collapse: = >separate; -webkit-border-horizontal-spacing: = >=3D
0px; = >-webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >=3D
font-family: Helvetica; = >font-size: 12px; font-style: normal; =3D
type=3D"cite">font-variant: normal; font-weight: normal; letter-spacing: = >normal; =3D
line-height: = >normal; -webkit-text-decorations-in-effect: none; = >=3D
text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; = >=3D
orphans: 2; white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><div><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"font-size: medium;"><font = >=3D
class=3D3D"Apple-style-span"= > color=3D3D"#0000FF" face=3D3D"'Gill =3D
type=3D"cite">Sans'"><br></font></span></div>&l= >t;/span></span></span></span></span></span&g= >t;<=3D
type=3D"cite">/span></span></div></span></div>&= >lt;/span></div><div><div>On 2 Nov 2009, at = >=3D
12:20, Mika Nystrom = >wrote:</div><br =3D
type=3D"cite">class=3D3D"Apple-interchange-newline"><blockquote = >type=3D3D"cite"><div>Tony =3D
type=3D"cite">(and others):<br><br>I take it part of the = >problem I'm having is that =3D
type=3D"cite">I'm running a very out<br>of date RC package on my = >=3D
type=3D"cite">FreeBSD7?<br><br>Should I cvs update to = >something else to try? =3D
type=3D"cite">&nbsp;Note that what's in the "normal"<br>CVS = >head didn't even compile =3D
type=3D"cite">when I tried it---see an earlier email from = >me.<br>How can I specify the =3D
type=3D"cite">proper tag to get on to the "release" branch of = >the<br>tree, if that's =3D
type=3D"cite">what I'm supposed to do?<br><br> = >&nbsp;&nbsp;&nbsp;Mika<br><br>Tony = >=3D
Hosking = >writes:<br><blockquote = >type=3D3D"cite"><br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">--Apple-Mail-36--459856549<br></= >blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Type: = >text/plain;<br></blockquote><blockquote = >=3D
type=3D3D"cite"><span = >class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">class=3D"Apple-tab-span" style=3D"white-space:pre"> = >=3D
type=3D"cite"></span>charset=3D3DUS-ASCII;<br></blockquote&= >gt;<blockquote type=3D3D"cite"><span=3D
te type=3D"cite">class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>format=3D3Dflowed;<br></blockquote>= ><blockquote type=3D3D"cite"><span =3D
type=3D"cite">class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>delsp=3D3Dyes<br></blockquote><b= >lockquote =3D
type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >=3D
type=3D"cite">7bit<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite">Try regular =3D
type=3D"cite">gdb.<br></blockquote><blockquote = >type=3D3D"cite">Set a breakpoint at =3D
type=3D"cite">RTHooks__ReportFault.<br></blockquote><blockq= >uote type=3D3D"cite">Then =3D
type=3D"cite">thread apply all = >bt.<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite">Antony Hosking =3D
type=3D"cite">| Associate Professor | Computer Science | Purdue = >=3D
type=3D"cite">&nbsp;<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">University<br></blockquote>&l= >t;blockquote type=3D3D"cite">305 =3D
type=3D"cite">N. University Street | West Lafayette | IN 47907 | = >=3D
type=3D"cite">USA<br></blockquote><blockquote = >type=3D3D"cite">Office +1 765 494 6001 | = >=3D
Mobile +1 765 427 = >5484<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite">On 31 Oct 2009, =3D
type=3D"cite">at 16:06, Mika Nystrom = >wrote:<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">With the RC m3gdb it either segfaults = >gdb =3D
type=3D"cite">or:<br></blockquote></blockquote><block= >quote type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote type=3D3D"cite">(m3gdb)= > =3D
type=3D"cite">threads<br></blockquote></blockquote><b= >lockquote type=3D3D"cite"><blockquote=3D
type=3D"cite">type=3D3D"cite">Can't find Modula-3 identifier: = >=3D
type=3D"cite">ThreadPosix<br></blockquote></blockquote>&= >lt;blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote type=3D3D"cite">(m3gdb)= > threads =3D
type=3D"cite">all<br></blockquote></blockquote><block= >quote type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">Can't find Modula-3 identifier: = >=3D
type=3D"cite">ThreadPosix<br></blockquote></blockquote>&= >lt;blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote type=3D3D"cite">(m3gdb)= > threads all =3D
type=3D"cite">bt<br></blockquote></blockquote><blockq= >uote type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">Can't find Modula-3 identifier: = >=3D
type=3D"cite">ThreadPosix<br></blockquote></blockquote>&= >lt;blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >=3D
type=3D"cite">type=3D3D"cite">(m3gdb)<br></blockquote></= >blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote type=3D3D"cite">Tony = >Hosking =3D
type=3D"cite">writes:<br></blockquote></blockquote><b= >lockquote type=3D3D"cite"><blockquote=3D
type=3D"cite">type=3D3D"cite"><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote></blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">--Apple-Mail-33--461716527<br></= >blockquote></blockquote></bl=3D
type=3D"cite">ockquote><blockquote type=3D3D"cite"><blockquote= > type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Type: = >=3D
type=3D"cite">text/plain;<br></blockquote></blockquote>&= >lt;/blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote type=3D3D"cite"><span = >=3D
class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>charset=3D3DUS-ASCII;<br></blockquote&= >gt;</blockquote></blockquote><bloc=3D
kquote type=3D"cite">kquote type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><span class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>format=3D3Dflowed;<br></blockquote>= ></blockquote></blockquote><blockqu=3D
kquote type=3D"cite">ote type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><span class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>delsp=3D3Dyes<br></blockquote></= >blockquote></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >=3D
type=3D"cite">7bit<br></blockquote></blockquote></blo= >ckquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote></blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote type=3D3D"cite">threads = >=3D
all = >bt<br></blockquote></blockquote></blockquote><b= >lockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote></blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote type=3D3D"cite">should = >=3D
give a backtrace of all = >=3D
type=3D"cite">threads.<br></blockquote></blockquote><= >/blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote></blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite">--Apple-Mail-36--459856549<br></= >blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Type: = >text/html;<br></blockquote><blockquote = >=3D
type=3D3D"cite"><span = >class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">class=3D"Apple-tab-span" style=3D"white-space:pre"> = >=3D
type=3D"cite"></span>charset=3D3DUS-ASCII<br></blockquote&g= >t;<blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >=3D
type=3D"cite">quoted-printable<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite">&lt;html&gt;&lt;body = >style=3D3D3D"word-wrap: break-word; =3D
type=3D"cite">-webkit-nbsp-mode: space; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-line-break: after-white-space; = >"&gt;Try regular =3D
type=3D"cite">gdb.&lt;div&gt;Set a = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">breakpoin= >t at =3D
type=3D"cite">RTHooks__ReportFault.&lt;/div&gt;&lt;div&gt;= >Then thread apply all =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">bt.&lt;/div&gt;&lt;div&gt= >;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&=3D
ockquote>
lt;br&gt;&lt;div&gt; = >&lt;span class=3D3D3D"Apple-style-span" = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">style=3D3D3D"border-collapse: = >=3D
separate; color: rgb(0, 0, = >0); font-family: =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">Helvetica; font-size: =3D
type=3D"cite">12px; font-style: normal; font-variant: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-weight: normal; =3D
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">orphans: 2; text-align: =3D
type=3D"cite">auto; text-indent: 0px; text-transform: none; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">white-space: normal; =3D
type=3D"cite">widows: 2; word-spacing: 0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >-webkit-text-decorations-in-effect: none; =3D
type=3D"cite">-webkit-text-size-adjust: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">auto; = >-webkit-text-stroke-width: 0; "&gt;&lt;div = >=3D
style=3D3D3D"word-wrap: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">break-wor= >d; -webkit-nbsp-mode: space; -webkit-line-break: = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">after-white-space; =3D
type=3D"cite">"&gt;&lt;span class=3D3D3D"Apple-style-span" = >=3D3D<br></blockquote><blockquote=3D
quote type=3D"cite">type=3D3D"cite">style=3D3D3D"border-collapse: = >separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >-webkit-border-vertical-spacing: 0px; color: rgb(0, = >=3D
0, 0); = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-family: =3D
type=3D"cite">Helvetica; font-size: 12px; font-style: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-variant: normal; =3D
type=3D"cite">font-weight: normal; letter-spacing: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">text-indent: 0px; = >-webkit-text-size-adjust: auto; =3D
type=3D"cite">text-transform: none; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">orphans: = >2; white-space: normal; widows: 2; word-spacing: = >=3D
0px; "&gt;&lt;div = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">style=3D3D3D"word-wrap: break-word; = >-webkit-nbsp-mode: =3D
space; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">-webkit-line-break: =3D
type=3D"cite">after-white-space; "&gt;&lt;span = >class=3D3D3D"Apple-style-span" =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">style=3D3D3D"border-collapse: = >=3D
separate; = >-webkit-border-horizontal-spacing: =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">0px; =3D
type=3D"cite">-webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-family: Helvetica; =3D
type=3D"cite">font-size: 12px; font-style: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">font-variant: normal; font-weight: = >normal; letter-spacing: =3D
type=3D"cite">normal; =3D3D<br></blockquote><blockquote = >type=3D3D"cite">line-height: =3D
type=3D"cite">normal; -webkit-text-decorations-in-effect: none; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">text-indent: 0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">orphans: 2; white-space: = >=3D
normal; widows: 2; = >word-spacing: 0px; "&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;div&gt;&lt;font =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">color=3D3D3D"#0000FF"&gt;&lt;font = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >face=3D3D3D"Gill =3D
type=3D"cite">Sans"&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"color: rgb(0, 0, =3D
type=3D"cite">255); font-family: = >=3D3D<br></blockquote><blockquote type=3D3D"cite">'Gill = >=3D
Sans'; = >"&gt;&lt;span class=3D3D3D"Apple-style-span" style=3D3D3D"color: = >=3D
rgb(0, = >=3D3D<br></blockquote><blockquote type=3D3D"cite">0, = >255); =3D
font-family: 'Gill = >Sans'; "&gt;Antony =3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">Hosking&lt;/span&gt;&lt;/span= >&gt;&lt;/font&gt;&lt;/font&gt;&=3D
>
lt;font class=3D3D3D"Apple-style-span" = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">face=3D3D3D"Gill = >Sans"&gt;&lt;span =3D
type=3D"cite">class=3D3D3D"Apple-style-span" style=3D3D3D"font-family: = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >=3D
class=3D3D3D"Apple-style-spa= >n" style=3D3D3D"font-family: =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >=3D
type=3D"cite">class=3D3D3D"Apple-converted-space"&gt;&amp;nbsp;&am= >p;lt;/span&gt;|&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-converted-space"&g= >t;&amp;nbsp;&lt;/span&gt;=3D
type=3D"cite">&lt;/span&gt;&lt;/span&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: 'Gill =3D
type=3D"cite">Sans'; "&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: 'Gill =3D
type=3D"cite">Sans'; =3D3D<br></blockquote><blockquote = >type=3D3D"cite">"&gt;Associate =3D
type=3D"cite">Professor&lt;/span&gt;&lt;/span&gt;&lt;s= >pan class=3D3D3D"Apple-style-span" =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">style=3D3D3D"font-family: = >=3D
'Gill Sans'; = >"&gt;&lt;span class=3D3D3D"Apple-style-span" = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">style=3D3D3D"font-family: = >=3D
'Gill Sans'; = >"&gt;&amp;nbsp;| Computer Science | Purdue = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">University&lt;/span&gt;&lt;/s= >pan&gt;&lt;/font&gt;&lt;/div&gt=3D
ockquote type=3D"cite">;&lt;div&gt;&lt;font = >=3D
type=3D"cite">class=3D3D3D"Apple-style-span"=3D3D<br></blockquote= >><blockquote =3D
type=3D"cite">type=3D3D"cite">face=3D3D3D"GillSans-Light"&gt;&l= >t;span =3D
type=3D"cite">class=3D3D3D"Apple-style-span" = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">style=3D3D3D"font-family: = >GillSans-Light; "&gt;305 N. =3D
type=3D"cite">University Street | West = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">Lafayette= > | IN 47907 | =3D
type=3D"cite">USA&lt;/span&gt;&lt;/font&gt;&lt;/div&am= >p;gt;&lt;div&gt;&lt;font =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">color=3D3D3D"#0000FF" face=3D3D3D"Gill = >Sans"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"color: rgb(0, 0, 255); font-family: = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >=3D
class=3D3D3D"Apple-style-spa= >n" style=3D3D3D"color: rgb(0, =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">0, 255); font-family: =3D
type=3D"cite">'Gill Sans'; = >"&gt;Office&lt;/span&gt;&lt;/span&gt;&lt;/font&= >;gt;&lt;font =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">face=3D3D3D"GillSans-Light"&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: =3D
type=3D"cite">GillSans-Light; "&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: =3D
type=3D"cite">GillSans-Light; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">"&gt;&amp;nbsp;+1 765 494 6001 = >|&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-converted-space"&g= >t;&amp;nbsp;&lt;/span&gt;=3D
type=3D"cite">&lt;/span&gt;&lt;/span&gt;&lt;/font&= >gt;&lt;font =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">color=3D3D3D"#0000FF" face=3D3D3D"Gill = >Sans"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"color: rgb(0, 0, 255); font-family: = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >=3D
class=3D3D3D"Apple-style-spa= >n" style=3D3D3D"color: rgb(0, =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">0, 255); font-family: =3D
type=3D"cite">'Gill Sans'; = >"&gt;Mobile&lt;/span&gt;&lt;/span&gt;&lt;/font&= >;gt;&lt;font =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">face=3D3D3D"GillSans-Light"&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: =3D
type=3D"cite">GillSans-Light; "&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: =3D
type=3D"cite">GillSans-Light; "&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-converted-space"&g= >t;&amp;nbsp;&lt;/span&gt;=3D
type=3D"cite">+1 765 427 =3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">5484&lt;/span&gt;&lt;/span&am= >p;gt;&lt;/font&gt;&lt;/div&gt;&lt;d=3D
>
iv&gt;&lt;font = >class=3D3D3D"Apple-style-span" =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">face=3D3D3D"GillSans-Light"&gt;&l= >t;br =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"khtml-block-placeholder"&= >;gt;&lt;/font&gt;&lt;/div=3D
type=3D"cite">&gt;&lt;/span&gt;&lt;/span&gt;&lt;/s= >pan&gt;&lt;/span=3D3D<br></blockquote><b=3D
ockquote>
lockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">&lt;/span&gt;&lt;/span&gt= >;&lt;/span&gt;&lt;br =3D
type=3D"cite">=3D3D<br></blockquote></blockquote><blo= >ckquote =3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-interchange-newline"&a= >mp;gt;&lt;/span&gt;&lt;/d=3D
type=3D"cite">iv&gt;&lt;/span&gt;&lt;/div&gt;&lt;/= >span&gt;&lt;br =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-interchange-newline"&a= >mp;gt; =3D
type=3D"cite">&lt;/div&gt;&lt;br&gt;&lt;div&gt;&am= >p;lt;div&gt;On 31 Oct 2009, =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">at 16:06, Mika Nystrom =3D
type=3D"cite">wrote:&lt;/div&gt;&lt;br = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-interchange-newline"&a= >mp;gt;&lt;blockquote =3D
type=3D"cite">type=3D3D3D"cite"&gt;&lt;div&gt;With = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">the RC = >m3gdb it either segfaults gdb =3D
type=3D"cite">or:&lt;br&gt;&lt;br&gt;(m3gdb) = >threads&lt;br&gt;Can't =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">find Modula-3 identifier: = >=3D
type=3D"cite">ThreadPosix&lt;br&gt;(m3gdb) threads = >all&lt;br&gt;Can't =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">find Modula-3 identifier: = >=3D
type=3D"cite">ThreadPosix&lt;br&gt;(m3gdb) threads all bt = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">&lt;br&gt;Can't find = >=3D
Modula-3 identifier: = >ThreadPosix&lt;br&gt;(m3gdb) =3D
type=3D"cite">&lt;br&gt;&lt;br&gt;Tony = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">Hosking = >writes:&lt;br&gt;&lt;blockquote = >=3D
type=3D"cite">type=3D3D3D"cite"&gt;&lt;br&gt;&lt;/blockquo= >te&gt;&lt;blockquote =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;--Apple-Mail-33-= >-461716527&lt;br&gt;&lt;/=3D
type=3D"cite">blockquote&gt;&lt;blockquote = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;Content-Type: = >=3D
type=3D"cite">text/plain;&lt;br&gt;&lt;/blockquote&gt;&= >;lt;blockquote =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">type=3D3D3D"cite"&gt;&lt;span = >=3D
class=3D3D3D"Apple-tab-span"= > style=3D3D3D"white-space:pre"&gt;<span = >=3D
class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>=3D3D<br></blockquote><blockquot= >e =3D
type=3D"cite">type=3D3D"cite">&lt;/span&gt;charset=3D3D3DUS-ASC= >II;&lt;br&gt;&lt;/blockquote&=3D
te type=3D"cite">gt;&lt;blockquote = >type=3D3D3D"cite"&gt;&lt;span=3D3D<br></blockquote><= >;blockquo=3D
te = >type=3D3D"cite">class=3D3D3D"Apple-tab-span" = >=3D
type=3D"cite">style=3D3D3D"white-space:pre"&gt;<span = >class=3D3D"Apple-tab-span" =3D
type=3D"cite">style=3D3D"white-space:pre">class=3D"Apple-tab-span" style=3D"white-space:pre"> = ></span>=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">&lt;/span&gt;format=3D3D3Dflowed;= >&lt;br&gt;&lt;/blockquote&gt;=3D
te type=3D"cite">&lt;blockquote type=3D3D3D"cite"&gt;&lt;span = >=3D3D<br></blockquote><blockquote=3D
quote type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-tab-span" = >=3D
type=3D"cite">style=3D3D3D"white-space:pre"&gt;<span = >class=3D3D"Apple-tab-span" =3D
type=3D"cite">style=3D3D"white-space:pre">class=3D"Apple-tab-span" style=3D"white-space:pre"> = ></span>=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">&lt;/span&gt;delsp=3D3D3Dyes&= >lt;br&gt;&lt;/blockquote&gt;&lt;b=3D
kquote type=3D"cite">lockquote = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;Content-Transfer= >-Encoding: =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">7bit&lt;br&gt;&lt;/blockquote= >&gt;&lt;blockquote =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;&lt;br&g= >t;&lt;/blockquote&gt;&lt;blockquo=3D
te type=3D"cite">te type=3D3D3D"cite"&gt;threads all = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">bt&lt;br&gt;&lt;/blockquote&a= >mp;gt;&lt;blockquote =3D
type=3D"cite">type=3D3D3D"cite"&gt;&lt;br&gt;&lt;/blockquo= >te&gt;&lt;blockquote =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">type=3D3D3D"cite"&gt;should = >=3D
give a backtrace of all = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">threads.&lt;br&gt;&lt;/blockq= >uote&gt;&lt;blockquote =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;&lt;br&g= >t;&lt;/blockquote&gt;&lt;/div&gt;=3D
kquote = >type=3D"cite">&lt;/blockquote&gt;&lt;/div&gt;&lt;br&am= >p;gt;&lt;/div&gt;&lt;/body&gt;&lt;=3D3D<=3D
ockquote>
br></blockquote><blockquote= > =3D
type=3D"cite">type=3D3D"cite">/html&gt;=3D3D<br></blockquo= >te><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite">--Apple-Mail-36--459856549--<br><= >;/blockquote></div></blockqu=3D
type=3D"cite">ote></div><br></div></body></h= >tml>=3D
type=3D"cite">
type=3D"cite">--Apple-Mail-62--295019692--
ote>

= > >--Apple-Mail-121--89103770-- From mika at async.async.caltech.edu Thu Nov 5 07:46:28 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Wed, 04 Nov 2009 22:46:28 -0800 Subject: [M3devel] AMD64_FREEBSD problems with current RC from m3 site In-Reply-To: References: <20091031161142.57E771A2097@async.async.caltech.edu> <20091031161514.C7E441A2097@async.async.caltech.edu> <7D03409A-CC44-4B27-BCE0-E7A3D110B242@cs.purdue.edu> <20091031182637.1D2DD1A209C@async.async.caltech.edu> <9666B412-E255-4103-9954-420E39AA9303@cs.purdue.edu> <20091031185401.0E3761A209C@async.async.caltech.edu> <20091031191011.63E701A2097@async.async.caltech.edu> <823EE49D-F6C9-4A13-A6BA-4EC73B00E13E@cs.purdue.edu> <20091031192335.050261A207D@async.async.caltech.edu> <20091031200623.C0BC71A2097@async.async.caltech.edu> <1210FEF9-5EAD-4313-A96A-2709711F4BDE@cs.purdue.edu> <20091102172011.A9D5B1A209F@async.async.caltech.edu> <94D30830-E745-4305-B587-75E2AC7612CC@cs.purdue.edu> <20091105005732.CA91E1A2087@async.async.caltech.edu> Message-ID: <20091105064628.883E71A2087@async.async.caltech.edu> Tony, I also think.. is it possible that the "general sluggishness" I'm seeing is related? I checked the network traffic and my program really isn't waiting for NFS at all. It's just 10x slower than it ought to be. Ctrl-c reveals: (Perhaps spending a lot of time in __error is normal? I don't know.) WARNING: TWSReplayer.ReqMktData: Couldnt find data for VFC:TSE:CAD [New Thread 0x805c031e0 (LWP 100185)] [New Thread 0x805c03370 (LWP 100190)] ^C Program received signal SIGINT, Interrupt. [Switching to Thread 0x805c03370 (LWP 100190)] 0x0000000804b3e29c in __error () from /lib/libthr.so.3 (gdb) where #0 0x0000000804b3e29c in __error () from /lib/libthr.so.3 #1 0x0000000804b3c365 in pthread_cond_signal () from /lib/libthr.so.3 #2 0x00000008037769ad in ThreadPThread__pthread_cond_wait (cond=Error accessing memory address 0x8000fe7f4718: Bad address. ) at ../src/thread/PTHREAD/ThreadPThreadC.c:479 #3 0x000000080377083f in ThreadPThread__XWait (M3_BXP32l_self=Error accessing memory address 0x8000fe7f4748: Bad address. ) at ../src/thread/PTHREAD/ThreadPThread.m3:200 #4 0x0000000803770a85 in Thread__Wait (M3_AYIbX3_m=Error accessing memory address 0x8000fe7f47b8: Bad address. ) at ../src/thread/PTHREAD/ThreadPThread.m3:229 #5 0x0000000802947374 in SXSelect__WaitE (M3_CNERyx_on=Error accessing memory address 0x8000fe7f4848: Bad address. ) at ../src/SX.m3:217 #6 0x0000000802946972 in SXSelect__Wait (M3_CNERyx_on=Error accessing memory address 0x8000fe7f49e8: Bad address. ) at ../src/SX.m3:152 #7 0x00000008011ac748 in MktAsset__WaitLocked (M3_DwTwqf_t=Error accessing memory address 0x8000fe7f4a48: Bad address. ) at ../src/MktAsset.m3:117 #8 0x00000008011b2950 in MktPlace__RecApply (M3_ELxH3G_cl=Error accessing memory address 0x8000fe7f4d18: Bad address. ) at ../src/MktPlace.m3:469 #9 0x00000008037727b3 in ThreadPThread__RunThread (M3_CgoaiZ_me=Error accessing memory address 0x8000fe7f4f08: Bad address. ) at ../src/thread/PTHREAD/ThreadPThread.m3:509 #10 0x0000000803772569 in ThreadPThread__ThreadBase (M3_AJWxb1_param=Error accessing memory address 0x8000fe7f4f88: Bad address. ) at ../src/thread/PTHREAD/ThreadPThread.m3:490 #11 0x0000000804b344d1 in pthread_getprio () from /lib/libthr.so.3 #12 0x0000000000000000 in ?? () Error accessing memory address 0x7ffffe7f5000: Bad address. (gdb) Tony Hosking writes: > >--Apple-Mail-121--89103770 >Content-Type: text/plain; > charset=US-ASCII; > format=flowed; > delsp=yes >Content-Transfer-Encoding: 7bit > >Can you get this to break at the first fault: > >break RTHooks__ReportFault > >And then: > >p ThreadPThread__DumpThreads() > >Clearly somethings is *very* broken. How can we be processing a >thread that is not stopped when we should have stopped them all. > >Antony Hosking | Associate Professor | Computer Science | Purdue >University >305 N. University Street | West Lafayette | IN 47907 | USA >Office +1 765 494 6001 | Mobile +1 765 427 5484 > > > > >On 4 Nov 2009, at 19:57, Mika Nystrom wrote: > >> Hi Tony and others, >> >> I tested with the head now (it looks a bit more organized than a week >> ago), and I get the same problems. A "double assert failure". >> >> By the way I am noticing that the program is quite slow. It could be >> that I'm accessing data over NFS, possibly... not sure I've done a >> fair >> back-to-back comparison. (My benchmark is, as always, an ancient >> PM3 on >> "FreeBSD4" i386.) >> >> >> *** >> *** runtime error: >> *** <*ASSERT*> failed. >> *** file "../src/thread/PTHREAD/ThreadPThread.m3", line 967 >> *** >> >> >> >> *** >> *** runtime error: >> *** <*ASSERT*> failed. >> *** file "../src/runtime/common/RTCollector.m3", line 690 >> *** >> >> >> Program received signal SIGABRT, Aborted. >> 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 >> (m3gdb) >> >> The problem seems a bit different from before, however: >> >> Program received signal SIGABRT, Aborted. >> 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 >> (m3gdb) where >> #0 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 >> #1 0x0000000804d24f8b in abort () from /lib/libc.so.7 >> #2 0x000000080376e3cf in Crash () at ../src/runtime/POSIX/RTOS.m3:20 >> #3 0x0000000803761f05 in Crash (msg=Invalid C/C++ type code 26 in >> symbol table. >> ) at ../src/runtime/common/RTProcess.m3:65 >> #4 0x000000080375f3a2 in EndError (crash=Invalid C/C++ type code 36 >> in symbol table. >> ) at ../src/runtime/common/RTError.m3:118 >> #5 0x000000080375f09a in MsgS (file=Invalid C/C++ type code 35 in >> symbol table. >> ) at ../src/runtime/common/RTError.m3:40 >> #6 0x000000080375f875 in Crash (a=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/common/RTException.m3:79 >> #7 0x000000080375f52c in DefaultBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:39 >> #8 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:25 >> #9 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >> #10 0x000000080375f5de in DefaultBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:47 >> #11 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:25 >> #12 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >> #13 0x0000000803746f81 in ReportFault (module=Invalid C/C++ type >> code 35 in symbol table. >> ) at ../src/runtime/common/RTHooks.m3:110 >> #14 0x000000080375c91c in _m3_fault (arg=Invalid C/C++ type code 39 >> in symbol table. >> ) >> from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 >> #15 0x0000000803752466 in CollectorOn () at ../src/runtime/common/ >> RTCollector.m3:690 >> #16 0x0000000803759597 in CheckLoadTracedRef (ref=Invalid C/C++ type >> code 46 in symbol table. >> ) at ../src/runtime/common/RTCollector.m3:2229 >> #17 0x00000008034e8db4 in ShutDown () at ../src/rw/Stdio.m3:43 >> #18 0x0000000803761e5c in InvokeExitors () at ../src/runtime/common/ >> RTProcess.m3:40 >> #19 0x0000000803761eee in Crash (msg=Invalid C/C++ type code 26 in >> symbol table. >> ) at ../src/runtime/common/RTProcess.m3:61 >> #20 0x000000080375f3a2 in EndError (crash=Invalid C/C++ type code 36 >> in symbol table. >> ) at ../src/runtime/common/RTError.m3:118 >> #21 0x000000080375f09a in MsgS (file=Invalid C/C++ type code 35 in >> symbol table. >> ) at ../src/runtime/common/RTError.m3:40 >> ---Type to continue, or q to quit--- >> #22 0x000000080375f875 in Crash (a=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/common/RTException.m3:79 >> #23 0x000000080375f52c in DefaultBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:39 >> #24 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:25 >> #25 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >> #26 0x000000080375f5de in DefaultBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:47 >> #27 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >> 30 in symbol table. >> ) at ../src/runtime/common/RTException.m3:25 >> #28 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >> symbol table. >> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >> #29 0x0000000803746f81 in ReportFault (module=Invalid C/C++ type >> code 35 in symbol table. >> ) at ../src/runtime/common/RTHooks.m3:110 >> #30 0x00000008037761b1 in _m3_fault (arg=Invalid C/C++ type code 39 >> in symbol table. >> ) >> from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 >> #31 0x0000000803774c6b in ProcessOther (act=Invalid C/C++ type code >> 29 in symbol table. >> ) at ../src/thread/PTHREAD/ThreadPThread.m3:967 >> #32 0x000000080377485b in ProcessStacks (p=Invalid C/C++ type code >> 31 in symbol table. >> ) at ../src/thread/PTHREAD/ThreadPThread.m3:888 >> #33 0x0000000803752d59 in CollectSomeInStateZero () at ../src/ >> runtime/common/RTCollector.m3:819 >> #34 0x00000008037526a0 in CollectSome () at ../src/runtime/common/ >> RTCollector.m3:719 >> #35 0x00000008037520a1 in CollectEnough () at ../src/runtime/common/ >> RTCollector.m3:653 >> #36 0x0000000803748f49 in AllocTraced (dataSize=Invalid C/C++ type >> code 40 in symbol table. >> ) at ../src/runtime/common/RTAllocator.m3:365 >> #37 0x0000000803747f1c in GetTracedObj (def=Invalid C/C++ type code >> 29 in symbol table. >> ) at ../src/runtime/common/RTAllocator.m3:224 >> #38 0x0000000803747833 in AllocateTracedObj (defn=Invalid C/C++ type >> code 35 in symbol table. >> ) at ../src/runtime/common/RTAllocator.m3:120 >> #39 0x0000000800ad4207 in ParseRec (chars=Invalid C/C++ type code 30 >> in symbol table. >> ) at ../src/TWSLogger.m3:127 >> #40 0x0000000800ad4ce1 in ReadRecord (h=Invalid C/C++ type code 35 >> in symbol table. >> ) at ../src/TWSReplayer.m3:109 >> #41 0x0000000800ad65fb in SearchBackwardForData (mu=Invalid C/C++ >> type code 26 in symbol table. >> ) at ../src/TWSReplayer.m3:350 >> #42 0x0000000800ad6e8a in ReqMktData (t=Invalid C/C++ type code 26 >> in symbol table. >> ) at ../src/TWSReplayer.m3:396 >> #43 0x0000000800adae34 in MreqMktData (t=Invalid C/C++ type code 26 >> in symbol table. >> ) >> ---Type to continue, or q to quit--- >> at ../src/TWSReplayBridge.m3 => /home/mika/t/calarm/twslib/src/ >> TWSBridge.mg:574 >> #44 0x000000000040748a in AddContract (tws=Invalid C/C++ type code >> 26 in symbol table. >> ) at ../src/MktIsolator.m3:423 >> #45 0x00000000004086d8 in Init (t=Invalid C/C++ type code 26 in >> symbol table. >> ) at ../src/MktIsolator.m3:517 >> #46 0x00000000004106af in Main (mode=Invalid C/C++ type code 39 in >> symbol table. >> ) at ../src/Main.m3:734 >> #47 0x000000080375e507 in RunMainBody (m=Invalid C/C++ type code 29 >> in symbol table. >> ) at ../src/runtime/common/RTLinker.m3:399 >> #48 0x000000080375d6ee in AddUnitI (m=Invalid C/C++ type code 29 in >> symbol table. >> ) at ../src/runtime/common/RTLinker.m3:113 >> #49 0x000000080375d78c in AddUnit (b=Invalid C/C++ type code 31 in >> symbol table. >> ) at ../src/runtime/common/RTLinker.m3:122 >> #50 0x0000000000404194 in main (argc=45, argv=0x7fffffffddb0, >> envp=0x7fffffffdf20) at _m3main.mc:4 >> #51 0x00000000004040de in _start () >> (m3gdb) up 15 >> #15 0x0000000803752466 in CollectorOn () at ../src/runtime/common/ >> RTCollector.m3:690 >> 690 <* ASSERT NOT collectorOn *> >> Current language: auto; currently Modula-3 >> (m3gdb) print collectorOn >> $1 = TRUE >> (m3gdb) >> >> Also, the other assertion: >> >> PROCEDURE ProcessOther (act: Activation; p: PROCEDURE (start, stop: >> ADDRESS)) = >> (* LL=activeMu *) >> VAR sp: ADDRESS; >> BEGIN >> <*ASSERT act.state = ActState.Stopped*> (* here! *) >> IF DEBUG THEN >> RTIO.PutText("Processing act="); RTIO.PutAddr(act); >> RTIO.PutText("\n"); RTIO.Flush(); >> END; >> IF act.stackbase = NIL THEN RETURN END; >> RTHeapRep.FlushThreadState(act.heapState); >> (* process registers explicitly *) >> sp := ProcessState(act.handle, act.sp, p); >> (* or in my stack *) >> IF stack_grows_down >> THEN p(sp, act.stackbase); >> ELSE p(act.stackbase, sp); >> END; >> END ProcessOther; >> >> Mika >> >> Tony Hosking writes: >>> >>> --Apple-Mail-62--295019692 >>> Content-Type: text/plain; >>> charset=US-ASCII; >>> format=flowed; >>> delsp=yes >>> Content-Transfer-Encoding: 7bit >>> >>> Possibly. Though it may be more than that. I've not tested on >>> FreeBSD7 before. >>> >>> On 2 Nov 2009, at 12:20, Mika Nystrom wrote: >>> >>>> Tony (and others): >>>> >>>> I take it part of the problem I'm having is that I'm running a very >>>> out >>>> of date RC package on my FreeBSD7? >>>> >>>> Should I cvs update to something else to try? Note that what's in >>>> the "normal" >>>> CVS head didn't even compile when I tried it---see an earlier email >>>> from me. >>>> How can I specify the proper tag to get on to the "release" branch >>>> of the >>>> tree, if that's what I'm supposed to do? >>>> >>>> Mika >>>> >>>> Tony Hosking writes: >>>>> >>>>> --Apple-Mail-36--459856549 >>>>> Content-Type: text/plain; >>>>> charset=US-ASCII; >>>>> format=flowed; >>>>> delsp=yes >>>>> Content-Transfer-Encoding: 7bit >>>>> >>>>> Try regular gdb. >>>>> Set a breakpoint at RTHooks__ReportFault. >>>>> Then thread apply all bt. >>>>> >>>>> >>>>> Antony Hosking | Associate Professor | Computer Science | Purdue >>>>> University >>>>> 305 N. University Street | West Lafayette | IN 47907 | USA >>>>> Office +1 765 494 6001 | Mobile +1 765 427 5484 >>>>> >>>>> >>>>> >>>>> >>>>> On 31 Oct 2009, at 16:06, Mika Nystrom wrote: >>>>> >>>>>> With the RC m3gdb it either segfaults gdb or: >>>>>> >>>>>> (m3gdb) threads >>>>>> Can't find Modula-3 identifier: ThreadPosix >>>>>> (m3gdb) threads all >>>>>> Can't find Modula-3 identifier: ThreadPosix >>>>>> (m3gdb) threads all bt >>>>>> Can't find Modula-3 identifier: ThreadPosix >>>>>> (m3gdb) >>>>>> >>>>>> Tony Hosking writes: >>>>>>> >>>>>>> --Apple-Mail-33--461716527 >>>>>>> Content-Type: text/plain; >>>>>>> charset=US-ASCII; >>>>>>> format=flowed; >>>>>>> delsp=yes >>>>>>> Content-Transfer-Encoding: 7bit >>>>>>> >>>>>>> threads all bt >>>>>>> >>>>>>> should give a backtrace of all threads. >>>>>>> >>>>> >>>>> >>>>> --Apple-Mail-36--459856549 >>>>> Content-Type: text/html; >>>>> charset=US-ASCII >>>>> Content-Transfer-Encoding: quoted-printable >>>>> >>>>> >>>> space; = >>>>> -webkit-line-break: after-white-space; ">Try regular gdb.
Set >>>>> a = >>>>> breakpoint at RTHooks__ReportFault.
Then thread apply >>>>> all = >>>>> bt.


>>>> span" = >>>>> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font- >>>>> family: = >>>>> Helvetica; font-size: 12px; font-style: normal; font-variant: >>>>> normal; = >>>>> font-weight: normal; letter-spacing: normal; line-height: normal; = >>>>> orphans: 2; text-align: auto; text-indent: 0px; text-transform: >>>>> none; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size- >>>>> adjust: = >>>>> auto; -webkit-text-stroke-width: 0; ">
>>>> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >>>>> after-white-space; ">>>>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>>>> spacing: = >>>>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>>>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>>>> font-variant: normal; font-weight: normal; letter-spacing: >>>>> normal; = >>>>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>>>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>>>> none; = >>>>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>>>> ">
>>>> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >>>>> -webkit-line-break: after-white-space; ">>>>> style- >>>>> span" = >>>>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>>>> spacing: = >>>>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>>>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>>>> font-variant: normal; font-weight: normal; letter-spacing: >>>>> normal; = >>>>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>>>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>>>> none; = >>>>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>>>> ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>> spacing: = >>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>> 12px; = >>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>> letter-spacing: normal; line-height: normal; = >>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>>> white-space: normal; widows: 2; word-spacing: 0px; ">
>>>> class=3D"Apple-style-span" color=3D"#0000FF">>>>> class=3D"Apple-style-span" face=3D"Gill Sans">>>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>>> family: = >>>>> 'Gill Sans'; ">>>>> rgb(0, = >>>>> 0, 255); font-family: 'Gill Sans'; ">Antony = >>>>> Hosking>>>> span" = >>>>> face=3D"Gill Sans">>>>> family: = >>>>> 'Gill Sans'; ">>>>> family: = >>>>> 'Gill Sans'; "> | >>>>> >>>> class=3D"Apple-converted-space"> >>>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; >>>>> ">>>>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >>>>> ">Associate Professor>>>> span" = >>>>> style=3D"font-family: 'Gill Sans'; ">>>>> span" = >>>>> style=3D"font-family: 'Gill Sans'; "> | Computer Science | >>>>> Purdue = >>>>> University
>>>> style-span"= >>>>> face=3D"GillSans-Light">>>>> style=3D"font-family: GillSans-Light; ">305 N. University Street | >>>>> West = >>>>> Lafayette | IN 47907 | USA
>>>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>>>> Sans">>>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>>> family: = >>>>> 'Gill Sans'; ">>>>> rgb(0, = >>>>> 0, 255); font-family: 'Gill Sans'; ">Office>>>> font>>>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>>> ">>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; = >>>>> "> +1 765 494 6001 |>>>> class=3D"Apple-converted-space"> >>>> font>>>>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>>>> Sans">>>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>>> family: = >>>>> 'Gill Sans'; ">>>>> rgb(0, = >>>>> 0, 255); font-family: 'Gill Sans'; ">Mobile>>>> font>>>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>>> ">>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>>> ">>>>> class=3D"Apple-converted-space"> +1 765 427 = >>>>> 5484
>>>> span" = >>>>> face=3D"GillSans-Light">
>>>> class=3D"khtml-block-placeholder">
>>>> span>>>>>>

>>>> class=3D"Apple-interchange-newline">
>>>> span>
>>>> class=3D"Apple-interchange-newline">

On 31 Oct >>>>> 2009, = >>>>> at 16:06, Mika Nystrom wrote:

>>>> class=3D"Apple-interchange-newline">
>>>> type=3D"cite">
With = >>>>> the RC m3gdb it either segfaults gdb or:

(m3gdb) >>>>> threads
Can't = >>>>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads >>>>> all
Can't = >>>>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads all bt = >>>>>
Can't find Modula-3 identifier: ThreadPosix
(m3gdb) >>>>>

Tony = >>>>> Hosking writes:

>>>> blockquote>
>>>> type=3D"cite">--Apple-Mail-33--461716527
>>>> blockquote>
>>>> type=3D"cite">Content-Type: text/plain;
>>>> blockquote>
>>>> type=3D"cite">>>>> space:pre"> = >>>>> charset=3DUS-ASCII;
>>>> type=3D"cite">>>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>>> format=3Dflowed;
>>>> type=3D"cite">>>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>>> delsp=3Dyes
>>>> type=3D"cite">Content-Transfer-Encoding: = >>>>> 7bit
>>>> type=3D"cite">
threads >>>>> all = >>>>> bt

>>>> blockquote>
>>>> type=3D"cite">should give a backtrace of all = >>>>> threads.
>>>> type=3D"cite">

>>>> div>>>>> body><= >>>>> /html>= >>>>> >>>>> --Apple-Mail-36--459856549-- >>> >>> >>> --Apple-Mail-62--295019692 >>> Content-Type: text/html; >>> charset=US-ASCII >>> Content-Transfer-Encoding: quoted-printable >>> >>> >> space; = >>> -webkit-line-break: after-white-space; ">Possibly.  Though it >>> may = >>> be more than that.  I've not tested on FreeBSD7 = >>> before.
>> class=3D"Apple-style-span" style=3D"border-collapse: separate; >>> color: = >>> rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = >>> normal; font-variant: normal; font-weight: normal; letter-spacing: = >>> normal; line-height: normal; orphans: 2; text-align: auto; text- >>> indent: = >>> 0px; text-transform: none; white-space: normal; widows: 2; word- >>> spacing: = >>> 0px; -webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: 0px; = >>> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = >>> auto; -webkit-text-stroke-width: 0; ">
>> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >>> after-white-space; ">>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>> spacing: = >>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>> font-variant: normal; font-weight: normal; letter-spacing: normal; = >>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>> none; = >>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>> ">
>> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >>> -webkit-line-break: after-white-space; ">>> span" = >>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>> spacing: = >>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>> font-variant: normal; font-weight: normal; letter-spacing: normal; = >>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>> none; = >>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>> ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>> spacing: = >>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >>> font-style: normal; font-variant: normal; font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>> white-space: normal; widows: 2; word-spacing: 0px; ">
>> class=3D"Apple-style-span" style=3D"font-size: medium;">>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"'Gill = >>> Sans'">
>> span><= >>> /span>
On 2 Nov >>> 2009, at = >>> 12:20, Mika Nystrom wrote:

>> class=3D"Apple-interchange-newline">
>> type=3D"cite">
Tony = >>> (and others):

I take it part of the problem I'm having is >>> that = >>> I'm running a very out
of date RC package on my = >>> FreeBSD7?

Should I cvs update to something else to try? = >>>  Note that what's in the "normal"
CVS head didn't even >>> compile = >>> when I tried it---see an earlier email from me.
How can I >>> specify the = >>> proper tag to get on to the "release" branch of the
tree, if >>> that's = >>> what I'm supposed to do?

   Mika

Tony = >>> Hosking writes:

>> blockquote>
>> type=3D"cite">--Apple-Mail-36--459856549
>> blockquote>
>> type=3D"cite">Content-Type: text/plain;
>> type=3D"cite">>> space:pre"> = >>> charset=3DUS-ASCII;
>> type=3D"cite">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> format=3Dflowed;
>> type=3D"cite">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> delsp=3Dyes
>> type=3D"cite">Content-Transfer-Encoding: = >>> 7bit
>> type=3D"cite">
Try >>> regular = >>> gdb.
Set a breakpoint at = >>> RTHooks__ReportFault.
>> type=3D"cite">Then = >>> thread apply all bt.
>> type=3D"cite">
>> type=3D"cite">
Antony >>> Hosking = >>> | Associate Professor | Computer Science | Purdue = >>>  
>> type=3D"cite">University
>> type=3D"cite">305 = >>> N. University Street | West Lafayette | IN 47907 | = >>> USA
Office +1 765 494 >>> 6001 | = >>> Mobile +1 765 427 5484
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">
On 31 Oct >>> 2009, = >>> at 16:06, Mika Nystrom wrote:
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">With the RC m3gdb it either segfaults gdb = >>> or:
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">
(m3gdb) = >>> threads
>> type=3D"cite">>> type=3D"cite">Can't find Modula-3 identifier: = >>> ThreadPosix
>> type=3D"cite">
(m3gdb) threads = >>> all
>> type=3D"cite">
>> type=3D"cite">Can't find Modula-3 identifier: = >>> ThreadPosix
>> type=3D"cite">
(m3gdb) threads all = >>> bt
>> type=3D"cite">
>> type=3D"cite">Can't find Modula-3 identifier: = >>> ThreadPosix
>> type=3D"cite">
>> type=3D"cite">(m3gdb)
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">
Tony Hosking = >>> writes:
>> type=3D"cite">>> type=3D"cite">
>> type=3D"cite">
>> blockquote>
>> type=3D"cite">
>> type=3D"cite">--Apple-Mail-33--461716527
>> blockquote>>> ockquote>
>> type=3D"cite">
>> type=3D"cite">Content-Type: = >>> text/plain;
>> type=3D"cite">
>> type=3D"cite">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> charset=3DUS-ASCII;
>> blockquote>>> kquote type=3D"cite">
>> type=3D"cite">>> space:pre"> = >>> format=3Dflowed;
>> blockquote>>> ote type=3D"cite">
>> type=3D"cite">>> space:pre"> = >>> delsp=3Dyes
>> blockquote>
>> type=3D"cite">
>> type=3D"cite">Content-Transfer-Encoding: = >>> 7bit
>> type=3D"cite">
>> type=3D"cite">
>> blockquote>
>> type=3D"cite">
>> type=3D"cite">threads = >>> all bt
>> type=3D"cite">
>> type=3D"cite">
>> blockquote>
>> type=3D"cite">
>> type=3D"cite">should = >>> give a backtrace of all = >>> threads.
>> type=3D"cite">
>> type=3D"cite">
>> blockquote>
>> type=3D"cite">
>> type=3D"cite">
>> type=3D"cite">--Apple-Mail-36--459856549
>> blockquote>
>> type=3D"cite">Content-Type: text/html;
>> type=3D"cite">>> space:pre"> = >>> charset=3DUS-ASCII
>> type=3D"cite">Content-Transfer-Encoding: = >>> quoted-printable
>> type=3D"cite">
>> type=3D"cite"><html><body style=3D3D"word-wrap: break- >>> word; = >>> -webkit-nbsp-mode: space; =3D
>> type=3D"cite">-webkit-line-break: after-white-space; ">Try >>> regular = >>> gdb.<div>Set a =3D
>> type=3D"cite">breakpoint at = >>> RTHooks__ReportFault.</div><div>Then thread apply all = >>> =3D
>> type=3D"cite">bt.</div><div><br></ >>> div><div>&= >>> lt;br><div> <span class=3D3D"Apple-style-span" = >>> =3D
style=3D3D"border- >>> collapse: = >>> separate; color: rgb(0, 0, 0); font-family: = >>> =3D
Helvetica; font-size: = >>> 12px; font-style: normal; font-variant: normal; = >>> =3D
font-weight: normal; = >>> letter-spacing: normal; line-height: normal; = >>> =3D
orphans: 2; text- >>> align: = >>> auto; text-indent: 0px; text-transform: none; = >>> =3D
white-space: normal; = >>> widows: 2; word-spacing: 0px; =3D
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; -webkit-text-decorations-in-effect: none; = >>> -webkit-text-size-adjust: =3D
>> type=3D"cite">auto; -webkit-text-stroke-width: 0; "><div = >>> style=3D3D"word-wrap: =3D
>> type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line- >>> break: = >>> =3D
after-white-space; = >>> "><span class=3D3D"Apple-style-span" =3D
>> blockquote>>> type=3D"cite">style=3D3D"border-collapse: separate; = >>> -webkit-border-horizontal-spacing: =3D
>> type=3D"cite">0px; -webkit-border-vertical-spacing: 0px; color: >>> rgb(0, = >>> 0, 0); =3D
font-family: = >>> Helvetica; font-size: 12px; font-style: normal; = >>> =3D
font-variant: normal; = >>> font-weight: normal; letter-spacing: normal; = >>> =3D
line-height: normal; = >>> -webkit-text-decorations-in-effect: none; =3D
>> blockquote>
>> type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >>> text-transform: none; =3D
>> type=3D"cite">orphans: 2; white-space: normal; widows: 2; word- >>> spacing: = >>> 0px; "><div =3D
>> type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp-mode: = >>> space; =3D
-webkit-line- >>> break: = >>> after-white-space; "><span class=3D3D"Apple-style-span" = >>> =3D
style=3D3D"border- >>> collapse: = >>> separate; -webkit-border-horizontal-spacing: = >>> =3D
0px; = >>> -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>> =3D
font-family: >>> Helvetica; = >>> font-size: 12px; font-style: normal; =3D
>> blockquote>
>> type=3D"cite">font-variant: normal; font-weight: normal; letter- >>> spacing: = >>> normal; =3D
line-height: = >>> normal; -webkit-text-decorations-in-effect: none; = >>> =3D
text-indent: 0px; = >>> -webkit-text-size-adjust: auto; text-transform: none; = >>> =3D
orphans: 2; white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"border-collapse: separate; =3D
>> blockquote>
>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>> -webkit-border-vertical-spacing: =3D
>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>> font-size: 12px; =3D
font- >>> style:= >>> normal; font-variant: normal; font-weight: normal; = >>> =3D
letter-spacing: >>> normal; = >>> line-height: normal; =3D
>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>> indent: = >>> 0px; =3D
>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >>> orphans: 2; =3D
white- >>> space: = >>> normal; widows: 2; word-spacing: 0px; "><div><font = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> color=3D3D"#0000FF"><font =3D
>> type=3D"cite">class=3D3D"Apple-style-span" face=3D3D"Gill = >>> Sans"><span =3D
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, >>> 0, = >>> 255); font-family: =3D
>> type=3D"cite">'Gill = >>> Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = >>> rgb(0, =3D
0, 255); = >>> font-family: 'Gill Sans'; ">Antony =3D
>> blockquote>
>> type=3D"cite">Hosking</span></span></font></ >>> font>&= >>> lt;font class=3D3D"Apple-style-span" =3D
>> blockquote>
>> type=3D"cite">face=3D3D"Gill Sans"><span = >>> class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> =3D
'Gill Sans'; >>> "><span = >>> class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> =3D
'Gill Sans'; >>> "><span = >>> class=3D3D"Apple-converted-space">&nbsp;</span>| >>> <span = >>> =3D
>> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >>> span>= >>> </span></span><span =3D
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: >>> 'Gill = >>> Sans'; "><span =3D
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: >>> 'Gill = >>> Sans'; =3D
">Associate = >>> Professor</span></span><span class=3D3D"Apple-style- >>> span" = >>> =3D
style=3D3D"font- >>> family: = >>> 'Gill Sans'; "><span class=3D3D"Apple-style-span" = >>> =3D
style=3D3D"font- >>> family: = >>> 'Gill Sans'; ">&nbsp;| Computer Science | Purdue = >>> =3D
>> type=3D"cite">University</span></span></font></ >>> div>= >>> ;<div><font = >>> class=3D3D"Apple-style-span"=3D
>> type=3D"cite">face=3D3D"GillSans-Light"><span = >>> class=3D3D"Apple-style-span" =3D
>> type=3D"cite">style=3D3D"font-family: GillSans-Light; ">305 N. = >>> University Street | West =3D
>> type=3D"cite">Lafayette | IN 47907 | = >>> USA</span></font></div><div><font = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"color: rgb(0, 0, 255); font-family: = >>> =3D
'Gill Sans'; >>> "><span = >>> class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >>> =3D
0, 255); font-family: = >>> 'Gill Sans'; ">Office</span></span></ >>> font><font = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> face=3D3D"GillSans-Light"><span =3D
>> blockquote>
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> GillSans-Light; "><span =3D
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> GillSans-Light; =3D
>> type=3D"cite">">&nbsp;+1 765 494 6001 |<span = >>> =3D
>> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >>> span>= >>> </span></span></font><font = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> style=3D3D"color: rgb(0, 0, 255); font-family: = >>> =3D
'Gill Sans'; >>> "><span = >>> class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >>> =3D
0, 255); font-family: = >>> 'Gill Sans'; ">Mobile</span></span></ >>> font><font = >>> =3D
class=3D3D"Apple- >>> style-span"= >>> face=3D3D"GillSans-Light"><span =3D
>> blockquote>
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> GillSans-Light; "><span =3D
>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >>> GillSans-Light; "><span =3D
>> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >>> span>= >>> +1 765 427 =3D
>> type=3D"cite">5484</span></span></font></ >>> div><d= >>> iv><font class=3D3D"Apple-style-span" = >>> =3D
>> type=3D"cite">face=3D3D"GillSans-Light"><br = >>> =3D
>> type=3D"cite">class=3D3D"khtml-block-placeholder"></ >>> font></div= >>> ></span></span></span></span=3D
>> blockquote>>> lockquote type=3D"cite">
>> type=3D"cite"></span></span></span><br = >>> =3D
>> type=3D"cite">class=3D3D"Apple-interchange-newline"></ >>> span></d= >>> iv></span></div></span><br = >>> =3D
>> type=3D"cite">class=3D3D"Apple-interchange-newline"> = >>> </div><br><div><div>On 31 Oct 2009, = >>> =3D
at 16:06, Mika >>> Nystrom = >>> wrote:</div><br =3D
>> type=3D"cite">class=3D3D"Apple-interchange- >>> newline"><blockquote = >>> type=3D3D"cite"><div>With =3D
>> type=3D"cite">the RC m3gdb it either segfaults gdb = >>> or:<br><br>(m3gdb) threads<br>Can't = >>> =3D
find Modula-3 >>> identifier: = >>> ThreadPosix<br>(m3gdb) threads all<br>Can't = >>> =3D
find Modula-3 >>> identifier: = >>> ThreadPosix<br>(m3gdb) threads all bt = >>> =3D
<br>Can't find = >>> Modula-3 identifier: ThreadPosix<br>(m3gdb) = >>> <br><br>Tony =3D
>> type=3D"cite">Hosking writes:<br><blockquote = >>> type=3D3D"cite"><br></blockquote><blockquote = >>> =3D
>> type=3D"cite">type=3D3D"cite">--Apple- >>> Mail-33--461716527<br></= >>> blockquote><blockquote =3D
>> type=3D"cite">type=3D3D"cite">Content-Type: = >>> text/plain;<br></blockquote><blockquote = >>> =3D
>> type=3D"cite">type=3D3D"cite"><span = >>> class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>> =3D
>> type=3D"cite"></span>charset=3D3DUS-ASCII;<br></ >>> blockquote&= >>> gt;<blockquote type=3D3D"cite"><span=3D
>> blockquote>>> te type=3D"cite">class=3D3D"Apple-tab-span" = >>> style=3D3D"white-space:pre">>> style=3D"white-space:pre"> =3D
>> type=3D"cite"></span>format=3D3Dflowed;<br></ >>> blockquote>= >>> <blockquote type=3D3D"cite"><span =3D
>> blockquote>>> type=3D"cite">class=3D3D"Apple-tab-span" = >>> style=3D3D"white-space:pre">>> style=3D"white-space:pre"> =3D
>> type=3D"cite"></span>delsp=3D3Dyes<br></ >>> blockquote><b= >>> lockquote =3D
>> type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >>> =3D
>> type=3D"cite">7bit<br></blockquote><blockquote = >>> =3D
>> type=3D"cite">type=3D3D"cite"><br></ >>> blockquote><blockquo= >>> te type=3D3D"cite">threads all =3D
>> type=3D"cite">bt<br></blockquote><blockquote = >>> type=3D3D"cite"><br></blockquote><blockquote = >>> =3D
>> type=3D"cite">type=3D3D"cite">should = >>> give a backtrace of all =3D
>> type=3D"cite">threads.<br></blockquote><blockquote = >>> =3D
>> type=3D"cite">type=3D3D"cite"><br></blockquote></ >>> div>= >>> </blockquote></div><br></div></ >>> body><=3D<= >>> br>
>> type=3D"cite">/html>=3D
>> type=3D"cite">
>> type=3D"cite">--Apple-Mail-36--459856549--
>> blockqu= >>> ote>

= >>> >>> --Apple-Mail-62--295019692-- > > >--Apple-Mail-121--89103770 >Content-Type: text/html; > charset=US-ASCII >Content-Transfer-Encoding: quoted-printable > >-webkit-line-break: after-white-space; ">Can you get this to break at = >the first fault:

break = >RTHooks__ReportFault

And = >then:

p = >ThreadPThread__DumpThreads()

Clearly somethings = >is *very* broken.  How can we be processing a thread that is not = >stopped when we should have stopped them all.

class=3D"Apple-style-span" style=3D"border-collapse: separate; color: = >rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = >normal; font-variant: normal; font-weight: normal; letter-spacing: = >normal; line-height: normal; orphans: 2; text-align: auto; text-indent: = >0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = >0px; -webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: 0px; = >-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = >auto; -webkit-text-stroke-width: 0; ">
break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >-webkit-line-break: after-white-space; ">style=3D"border-collapse: separate; -webkit-border-horizontal-spacing: = >0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >font-family: Helvetica; font-size: 12px; font-style: normal; = >font-variant: normal; font-weight: normal; letter-spacing: normal; = >line-height: normal; -webkit-text-decorations-in-effect: none; = >text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">class=3D"Apple-style-span" style=3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = >0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >font-style: normal; font-variant: normal; font-weight: normal; = >letter-spacing: normal; line-height: normal; = >-webkit-text-decorations-in-effect: none; text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >white-space: normal; widows: 2; word-spacing: 0px; ">
class=3D"Apple-style-span" color=3D"#0000FF">class=3D"Apple-style-span" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Antony = >Hoskingface=3D"Gill Sans">'Gill Sans'; ">'Gill Sans'; "> |class=3D"Apple-converted-space"> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; ">class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >">Associate Professorstyle=3D"font-family: 'Gill Sans'; ">style=3D"font-family: 'Gill Sans'; "> | Computer Science | Purdue = >University
face=3D"GillSans-Light">style=3D"font-family: GillSans-Light; ">305 N. University Street | West = >Lafayette | IN 47907 | USA
class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Officeclass=3D"Apple-style-span" face=3D"GillSans-Light">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; = >"> +1 765 494 6001 |class=3D"Apple-converted-space"> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill Sans">class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font-family: = >'Gill Sans'; ">0, 255); font-family: 'Gill Sans'; ">Mobileclass=3D"Apple-style-span" face=3D"GillSans-Light">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; ">class=3D"Apple-converted-space"> +1 765 427 = >5484
face=3D"GillSans-Light">
class=3D"khtml-block-placeholder">
>

class=3D"Apple-interchange-newline">

class=3D"Apple-interchange-newline">

On 4 Nov 2009, = >at 19:57, Mika Nystrom wrote:

class=3D"Apple-interchange-newline">
Hi = >Tony and others,

I tested with the head now (it looks a bit more = >organized than a week
ago), and I get the same problems.  A = >"double assert failure".

By the way I am noticing that the = >program is quite slow.  It could be
that I'm accessing data over = >NFS, possibly... not sure I've done a fair
back-to-back comparison. = > (My benchmark is, as always, an ancient PM3 on
"FreeBSD4" = >i386.)


***
*** runtime error:
*** = >   <*ASSERT*> failed.
***    file = >"../src/thread/PTHREAD/ThreadPThread.m3", line = >967
***



***
*** runtime error:
*** = >   <*ASSERT*> failed.
***    file = >"../src/runtime/common/RTCollector.m3", line = >690
***


Program received signal SIGABRT, = >Aborted.
0x0000000804c95a9c in thr_kill () from = >/lib/libc.so.7
(m3gdb)

The problem seems a bit different from = >before, however:

Program received signal SIGABRT, = >Aborted.
0x0000000804c95a9c in thr_kill () from = >/lib/libc.so.7
(m3gdb) where
#0  0x0000000804c95a9c in = >thr_kill () from /lib/libc.so.7
#1  0x0000000804d24f8b in abort = >() from /lib/libc.so.7
#2  0x000000080376e3cf in Crash () at = >../src/runtime/POSIX/RTOS.m3:20
#3  0x0000000803761f05 in Crash = >(msg=3DInvalid C/C++ type code 26 in symbol table.
) at = >../src/runtime/common/RTProcess.m3:65
#4  0x000000080375f3a2 in = >EndError (crash=3DInvalid C/C++ type code 36 in symbol table.
) at = >../src/runtime/common/RTError.m3:118
#5  0x000000080375f09a in = >MsgS (file=3DInvalid C/C++ type code 35 in symbol table.
) at = >../src/runtime/common/RTError.m3:40
#6  0x000000080375f875 in = >Crash (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:79
#7  0x000000080375f52c = >in DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) = >at ../src/runtime/common/RTException.m3:39
#8 = > 0x000000080375f45e in InvokeBackstop (a=3DInvalid C/C++ type code = >30 in symbol table.
) at = >../src/runtime/common/RTException.m3:25
#9  0x000000080376ee93 = >in Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/ex_frame/RTExFrame.m3:29
#10 0x000000080375f5de in = >DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:47
#11 0x000000080375f45e in = >InvokeBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:25
#12 0x000000080376ee93 in = >Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/ex_frame/RTExFrame.m3:29
#13 0x0000000803746f81 in = >ReportFault (module=3DInvalid C/C++ type code 35 in symbol table.
) = >at ../src/runtime/common/RTHooks.m3:110
#14 0x000000080375c91c in = >_m3_fault (arg=3DInvalid C/C++ type code 39 in symbol table.
)
= >  from = >/usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5
#15 = >0x0000000803752466 in CollectorOn () at = >../src/runtime/common/RTCollector.m3:690
#16 0x0000000803759597 in = >CheckLoadTracedRef (ref=3DInvalid C/C++ type code 46 in symbol = >table.
) at ../src/runtime/common/RTCollector.m3:2229
#17 = >0x00000008034e8db4 in ShutDown () at ../src/rw/Stdio.m3:43
#18 = >0x0000000803761e5c in InvokeExitors () at = >../src/runtime/common/RTProcess.m3:40
#19 0x0000000803761eee in Crash = >(msg=3DInvalid C/C++ type code 26 in symbol table.
) at = >../src/runtime/common/RTProcess.m3:61
#20 0x000000080375f3a2 in = >EndError (crash=3DInvalid C/C++ type code 36 in symbol table.
) at = >../src/runtime/common/RTError.m3:118
#21 0x000000080375f09a in MsgS = >(file=3DInvalid C/C++ type code 35 in symbol table.
) at = >../src/runtime/common/RTError.m3:40
---Type <return> to = >continue, or q <return> to quit---
#22 0x000000080375f875 in = >Crash (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:79
#23 0x000000080375f52c in = >DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:39
#24 0x000000080375f45e in = >InvokeBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:25
#25 0x000000080376ee93 in = >Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/ex_frame/RTExFrame.m3:29
#26 0x000000080375f5de in = >DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:47
#27 0x000000080375f45e in = >InvokeBackstop (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/common/RTException.m3:25
#28 0x000000080376ee93 in = >Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >../src/runtime/ex_frame/RTExFrame.m3:29
#29 0x0000000803746f81 in = >ReportFault (module=3DInvalid C/C++ type code 35 in symbol table.
) = >at ../src/runtime/common/RTHooks.m3:110
#30 0x00000008037761b1 in = >_m3_fault (arg=3DInvalid C/C++ type code 39 in symbol table.
)
= >  from = >/usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5
#31 = >0x0000000803774c6b in ProcessOther (act=3DInvalid C/C++ type code 29 in = >symbol table.
) at ../src/thread/PTHREAD/ThreadPThread.m3:967
#32 = >0x000000080377485b in ProcessStacks (p=3DInvalid C/C++ type code 31 in = >symbol table.
) at ../src/thread/PTHREAD/ThreadPThread.m3:888
#33 = >0x0000000803752d59 in CollectSomeInStateZero () at = >../src/runtime/common/RTCollector.m3:819
#34 0x00000008037526a0 in = >CollectSome () at ../src/runtime/common/RTCollector.m3:719
#35 = >0x00000008037520a1 in CollectEnough () at = >../src/runtime/common/RTCollector.m3:653
#36 0x0000000803748f49 in = >AllocTraced (dataSize=3DInvalid C/C++ type code 40 in symbol table.
) = >at ../src/runtime/common/RTAllocator.m3:365
#37 0x0000000803747f1c in = >GetTracedObj (def=3DInvalid C/C++ type code 29 in symbol table.
) at = >../src/runtime/common/RTAllocator.m3:224
#38 0x0000000803747833 in = >AllocateTracedObj (defn=3DInvalid C/C++ type code 35 in symbol = >table.
) at ../src/runtime/common/RTAllocator.m3:120
#39 = >0x0000000800ad4207 in ParseRec (chars=3DInvalid C/C++ type code 30 in = >symbol table.
) at ../src/TWSLogger.m3:127
#40 0x0000000800ad4ce1 = >in ReadRecord (h=3DInvalid C/C++ type code 35 in symbol table.
) at = >../src/TWSReplayer.m3:109
#41 0x0000000800ad65fb in = >SearchBackwardForData (mu=3DInvalid C/C++ type code 26 in symbol = >table.
) at ../src/TWSReplayer.m3:350
#42 0x0000000800ad6e8a in = >ReqMktData (t=3DInvalid C/C++ type code 26 in symbol table.
) at = >../src/TWSReplayer.m3:396
#43 0x0000000800adae34 in MreqMktData = >(t=3DInvalid C/C++ type code 26 in symbol table.
)
---Type = ><return> to continue, or q <return> to quit---
= >   at ../src/TWSReplayBridge.m3 =3D> = >/home/mika/t/calarm/twslib/src/TWSBridge.mg:574
#44 = >0x000000000040748a in AddContract (tws=3DInvalid C/C++ type code 26 in = >symbol table.
) at ../src/MktIsolator.m3:423
#45 = >0x00000000004086d8 in Init (t=3DInvalid C/C++ type code 26 in symbol = >table.
) at ../src/MktIsolator.m3:517
#46 0x00000000004106af in = >Main (mode=3DInvalid C/C++ type code 39 in symbol table.
) at = >../src/Main.m3:734
#47 0x000000080375e507 in RunMainBody (m=3DInvalid = >C/C++ type code 29 in symbol table.
) at = >../src/runtime/common/RTLinker.m3:399
#48 0x000000080375d6ee in = >AddUnitI (m=3DInvalid C/C++ type code 29 in symbol table.
) at = >../src/runtime/common/RTLinker.m3:113
#49 0x000000080375d78c in = >AddUnit (b=3DInvalid C/C++ type code 31 in symbol table.
) at = >../src/runtime/common/RTLinker.m3:122
#50 0x0000000000404194 in main = >(argc=3D45, argv=3D0x7fffffffddb0, envp=3D0x7fffffffdf20) at = >_m3main.mc:4
#51 0x00000000004040de in _start ()
(m3gdb) up = >15
#15 0x0000000803752466 in CollectorOn () at = >../src/runtime/common/RTCollector.m3:690
690 = >        <* ASSERT NOT = >collectorOn *>
Current language:  auto; currently = >Modula-3
(m3gdb) print collectorOn
$1 =3D TRUE
(m3gdb) = >

Also, the other assertion:

PROCEDURE ProcessOther (act: = >Activation;  p: PROCEDURE (start, stop: ADDRESS)) =3D
 (* = >LL=3DactiveMu *)
 VAR sp: ADDRESS;
 BEGIN
= >   <*ASSERT act.state =3D ActState.Stopped*> = > (* here! *)
   IF DEBUG THEN
= >     RTIO.PutText("Processing act=3D"); = >RTIO.PutAddr(act); RTIO.PutText("\n"); RTIO.Flush();
= >   END;
   IF act.stackbase =3D NIL = >THEN RETURN END;
= >   RTHeapRep.FlushThreadState(act.heapState);
= >   (* process registers explicitly *)
= >   sp :=3D ProcessState(act.handle, act.sp, p);
= >   (* or in my stack *)
   IF = >stack_grows_down
     THEN p(sp, = >act.stackbase);
     ELSE p(act.stackbase, = >sp);
   END;
 END ProcessOther;

= >    Mika

Tony Hosking writes:
type=3D"cite">
type=3D"cite">--Apple-Mail-62--295019692
type=3D"cite">Content-Type: text/plain;
type=3D"cite"> = >charset=3DUS-ASCII;
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >format=3Dflowed;
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >delsp=3Dyes
type=3D"cite">Content-Transfer-Encoding: = >7bit
type=3D"cite">
Possibly. = > Though it may be more than that.  I've not tested on = > 
FreeBSD7 = >before.
type=3D"cite">
On 2 Nov 2009, = >at 12:20, Mika Nystrom wrote:
type=3D"cite">
type=3D"cite">Tony (and = >others):
type=3D"cite">
type=3D"cite">
type=3D"cite">
I take it part of the problem = >I'm having is that I'm running a very = > 
type=3D"cite">out
type=3D"cite">
of date RC package on my = >FreeBSD7?
type=3D"cite">
type=3D"cite">
type=3D"cite">
Should I cvs update to something = >else to try?  Note that what's in = > 
type=3D"cite">the "normal"
type=3D"cite">
CVS head didn't even compile = >when I tried it---see an earlier email = > 
type=3D"cite">from me.
type=3D"cite">
How can I specify the proper tag = >to get on to the "release" branch = > 
type=3D"cite">of the
type=3D"cite">
tree, if that's what I'm = >supposed to do?
type=3D"cite">
type=3D"cite">
type=3D"cite">
= >  Mika
type=3D"cite">
type=3D"cite">
type=3D"cite">
Tony Hosking = >writes:
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">--Apple-Mail-36--459856549
ockquote>
type=3D"cite">Content-Type: = >text/plain;
type=3D"cite">
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >charset=3DUS-ASCII;
kquote type=3D"cite">
type=3D"cite"> = >format=3Dflowed;
ote type=3D"cite">
type=3D"cite"> = >delsp=3Dyes
type=3D"cite">
type=3D"cite">Content-Transfer-Encoding: = >7bit
type=3D"cite">
type=3D"cite">
type=3D"cite">
Try = >regular gdb.
type=3D"cite">
Set a = >breakpoint at = >RTHooks__ReportFault.
e type=3D"cite">
Then = >thread apply all = >bt.
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
Antony = >Hosking | Associate Professor | Computer Science | = >Purdue
type=3D"cite">
type=3D"cite">University
uote type=3D"cite">
305= > N. University Street | West Lafayette | IN 47907 | = >USA
type=3D"cite">
Office = >+1 765 494 6001 | Mobile +1 765 427 = >5484
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
On 31 = >Oct 2009, at 16:06, Mika Nystrom = >wrote:
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
With the RC m3gdb it either = >segfaults gdb = >or:
type=3D"cite">
type=3D"cite">
type=3D"cite">
ckquote type=3D"cite">
type=3D"cite">
(m3gdb) = >threads
type=3D"cite">
type=3D"cite">
Can't find Modula-3 identifier: = >ThreadPosix
uote type=3D"cite">
type=3D"cite">
(m3gdb) threads = >all
type=3D"cite">
type=3D"cite">
Can't find Modula-3 identifier: = >ThreadPosix
uote type=3D"cite">
type=3D"cite">
(m3gdb) threads all = >bt
type=3D"cite">
type=3D"cite">
Can't find Modula-3 identifier: = >ThreadPosix
uote type=3D"cite">
type=3D"cite">
type=3D"cite">(m3gdb)
te>
type=3D"cite">
type=3D"cite">
ckquote type=3D"cite">
type=3D"cite">
Tony Hosking = >writes:
type=3D"cite">
type=3D"cite">
type=3D"cite">
ockquote>
type=3D"cite">
type=3D"cite">--Apple-Mail-33--461716527
ockquote>
type=3D"cite">
type=3D"cite">
Content-Type: = >text/plain;
quote>
type=3D"cite">
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >charset=3DUS-ASCII;
ckquote>
type=3D"cite">
type=3D"cite">
style=3D"white-space:pre"> = >format=3Dflowed;
uote>
type=3D"cite">
type=3D"cite">
style=3D"white-space:pre"> = >delsp=3Dyes
= >
type=3D"cite">
type=3D"cite">
Content-Transfer-Encoding: = >7bit
<= >blockquote type=3D"cite">
type=3D"cite">
type=3D"cite">
ockquote>
type=3D"cite">
threads = >all = >bt
ockquote type=3D"cite">
type=3D"cite">
type=3D"cite">
ockquote>
type=3D"cite">
should = >give a backtrace of all = >threads.
te>
type=3D"cite">
type=3D"cite">
ockquote>
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">--Apple-Mail-36--459856549
ockquote>
type=3D"cite">Content-Type: = >text/html;
type=3D"cite">
class=3D"Apple-tab-span" style=3D"white-space:pre"> = >charset=3DUS-ASCII
quote type=3D"cite">
type=3D"cite">Content-Transfer-Encoding: = >quoted-printable
type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite"><html><body style=3D3D"word-wrap: break-word; = >-webkit-nbsp-mode: = > 
type=3D"cite">
space; = >=3D
type=3D"cite">
type=3D"cite">-webkit-line-break: after-white-space; ">Try regular = >gdb.<div>Set a = >=3D
type=3D"cite">
type=3D"cite">breakpoint at = >RTHooks__ReportFault.</div><div>Then thread apply all = >=3D
type=3D"cite">
type=3D"cite">bt.</div><div><br></div><div>&= >lt;br><div> <span class=3D3D"Apple-style- = >
type=3D"cite">
span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"border-collapse: separate; color: rgb(0, 0, 0); = >font-
type=3D"cite">
family: = >=3D
type=3D"cite">
type=3D"cite">Helvetica; font-size: 12px; font-style: normal; = >font-variant: = > 
type=3D"cite">
normal; = >=3D
type=3D"cite">
type=3D"cite">font-weight: normal; letter-spacing: normal; line-height: = >normal; =3D
type=3D"cite">
orphans:= > 2; text-align: auto; text-indent: 0px; text-transform: = > 
type=3D"cite">
none; = >=3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >=3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >-webkit-text-decorations-in-effect: none; -webkit-text-size- = >
type=3D"cite">
adjust: = >=3D
type=3D"cite">
auto; = >-webkit-text-stroke-width: 0; "><div style=3D3D"word-wrap: = >=3D
type=3D"cite">
type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >=3D
type=3D"cite">
type=3D"cite">after-white-space; "><span = >class=3D3D"Apple-style-span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"border-collapse: separate; = >-webkit-border-horizontal- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >-webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >=3D
type=3D"cite">
type=3D"cite">font-family: Helvetica; font-size: 12px; font-style: = >normal; =3D
type=3D"cite">
type=3D"cite">font-variant: normal; font-weight: normal; letter-spacing: = >normal; =3D
type=3D"cite">
type=3D"cite">line-height: normal; -webkit-text-decorations-in-effect: = >none; =3D
type=3D"cite">
type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >text-transform: = > 
type=3D"cite">
none; = >=3D
type=3D"cite">
orphans:= > 2; white-space: normal; widows: 2; word-spacing: 0px; = > 
type=3D"cite">
type=3D"cite">"><div = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp-mode: = >space; =3D
type=3D"cite">
type=3D"cite">-webkit-line-break: after-white-space; "><span = >class=3D3D"Apple-style- = >
type=3D"cite">
span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"border-collapse: separate; = >-webkit-border-horizontal- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >-webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >=3D
type=3D"cite">
type=3D"cite">font-family: Helvetica; font-size: 12px; font-style: = >normal; =3D
type=3D"cite">
type=3D"cite">font-variant: normal; font-weight: normal; letter-spacing: = >normal; =3D
type=3D"cite">
type=3D"cite">line-height: normal; -webkit-text-decorations-in-effect: = >none; =3D
type=3D"cite">
type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >text-transform: = > 
type=3D"cite">
none; = >=3D
type=3D"cite">
orphans:= > 2; white-space: normal; widows: 2; word-spacing: 0px; = > 
type=3D"cite">
type=3D"cite">"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><span =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border-collapse: = >separate; =3D
type=3D"cite">
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical- = >
type=3D"cite">
spacing:= > =3D
type=3D"cite">
0px; = >color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >=3D
type=3D"cite">
type=3D"cite">font-style: normal; font-variant: normal; font-weight: = >normal; =3D
type=3D"cite">
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
type=3D"cite">
type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >"><div><font = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" color=3D3D"#0000FF"><font= > =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" face=3D3D"Gill = >Sans"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, 0, = >255); font-
type=3D"cite">
family: = >=3D
type=3D"cite">
'Gill = >Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = > 
type=3D"cite">
rgb(0, = >=3D
type=3D"cite">
0, = >255); font-family: 'Gill Sans'; ">Antony = >=3D
type=3D"cite">
type=3D"cite">Hosking</span></span></font></font>&= >lt;font class=3D3D"Apple-style-span" = >=3D
type=3D"cite">
type=3D"cite">face=3D3D"Gill Sans"><span = >class=3D3D"Apple-style-span" style=3D3D"font- = >
type=3D"cite">
family: = >=3D
type=3D"cite">
'Gill = >Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"font- = >
type=3D"cite">
family: = >=3D
type=3D"cite">
'Gill = >Sans'; "><span = >class=3D3D"Apple-converted-space">&nbsp;</span>| = >
type=3D"cite">
<span= > =3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= ></span></span><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: 'Gill = >Sans';  
type=3D"cite">
type=3D"cite">"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: 'Gill = >Sans'; =3D
type=3D"cite">
type=3D"cite">">Associate Professor</span></span><span = >class=3D3D"Apple-style-span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"font-family: 'Gill Sans'; "><span = >class=3D3D"Apple-style- = >
type=3D"cite">
span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"font-family: 'Gill Sans'; ">&nbsp;| = >Computer Science | = > 
type=3D"cite">
Purdue = >=3D
type=3D"cite">
type=3D"cite">University</span></span></font></div>= >;<div><font class=3D3D"Apple- = >
type=3D"cite">
type=3D"cite">style-span"=3D
ockquote type=3D"cite">
type=3D"cite">face=3D3D"GillSans-Light"><span = >class=3D3D"Apple-style-span" = >=3D
type=3D"cite">
type=3D"cite">style=3D3D"font-family: GillSans-Light; ">305 N. = >University Street | = > 
type=3D"cite">
West = >=3D
type=3D"cite">
type=3D"cite">Lafayette | IN 47907 | = >USA</span></font></div><div><font = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" color=3D3D"#0000FF" = >face=3D3D"Gill = > 
type=3D"cite">
type=3D"cite">Sans"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, 0, = >255); font-
type=3D"cite">
family: = >=3D
type=3D"cite">
'Gill = >Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = > 
type=3D"cite">
rgb(0, = >=3D
type=3D"cite">
0, = >255); font-family: 'Gill Sans'; = >">Office</span></span></ = >
type=3D"cite">
type=3D"cite">font><font = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" = >face=3D3D"GillSans-Light"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; = > 
type=3D"cite">
type=3D"cite">"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; =3D
type=3D"cite">
type=3D"cite">">&nbsp;+1 765 494 6001 |<span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= ></span></span></ = >
type=3D"cite">
type=3D"cite">font><font = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" color=3D3D"#0000FF" = >face=3D3D"Gill = > 
type=3D"cite">
type=3D"cite">Sans"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, 0, = >255); font-
type=3D"cite">
family: = >=3D
type=3D"cite">
'Gill = >Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = > 
type=3D"cite">
rgb(0, = >=3D
type=3D"cite">
0, = >255); font-family: 'Gill Sans'; = >">Mobile</span></span></ = >
type=3D"cite">
type=3D"cite">font><font = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" = >face=3D3D"GillSans-Light"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; = > 
type=3D"cite">
type=3D"cite">"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >GillSans-Light; = > 
type=3D"cite">
type=3D"cite">"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</span>= >+1 765 427 =3D
type=3D"cite">
type=3D"cite">5484</span></span></font></div><d= >iv><font class=3D3D"Apple-style- = >
type=3D"cite">
span" = >=3D
type=3D"cite">
type=3D"cite">face=3D3D"GillSans-Light"><br = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"khtml-block-placeholder"></font></div= >></span></span></ = >
type=3D"cite">
type=3D"cite">span></span=3D
te>
type=3D"cite">
type=3D"cite"></span></span></span><br = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-interchange-newline"></span></d= >iv></span></div></ = >
type=3D"cite">
type=3D"cite">span><br = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-interchange-newline"> = ></div><br><div><div>On 31 Oct = > 
type=3D"cite">
2009, = >=3D
type=3D"cite">
at = >16:06, Mika Nystrom wrote:</div><br = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-interchange-newline"><blockquote = > 
type=3D"cite">
type=3D"cite">type=3D3D"cite"><div>With = >=3D
type=3D"cite">
the RC = >m3gdb it either segfaults gdb or:<br><br>(m3gdb) = > 
type=3D"cite">
type=3D"cite">threads<br>Can't = >=3D
type=3D"cite">
find = >Modula-3 identifier: ThreadPosix<br>(m3gdb) threads = > 
type=3D"cite">
type=3D"cite">all<br>Can't = >=3D
type=3D"cite">
find = >Modula-3 identifier: ThreadPosix<br>(m3gdb) threads all bt = >=3D
type=3D"cite">
type=3D"cite"><br>Can't find Modula-3 identifier: = >ThreadPosix<br>(m3gdb) = > 
type=3D"cite">
type=3D"cite"><br><br>Tony = >=3D
type=3D"cite">
Hosking = >writes:<br><blockquote type=3D3D"cite"><br></ = >
type=3D"cite">
type=3D"cite">blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite">--Apple-Mail-33--461716527<br></= >
type=3D"cite">
type=3D"cite">blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite">Content-Type: = >text/plain;<br></blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite"><span class=3D3D"Apple-tab-span" = >style=3D3D"white-
type=3D"cite">
type=3D"cite">space:pre">style=3D"white-space:pre"> = >=3D
type=3D"cite">
type=3D"cite"></span>charset=3D3DUS-ASCII;<br></blockquote&= >gt;<blockquote = > 
type=3D"cite">
type=3D"cite">type=3D3D"cite"><span=3D
= >
type=3D"cite">
class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> = >=3D
type=3D"cite">
type=3D"cite"></span>format=3D3Dflowed;<br></blockquote>= ><blockquote = > 
type=3D"cite">
type=3D"cite">type=3D3D"cite"><span = >=3D
type=3D"cite">
type=3D"cite">class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> = >=3D
type=3D"cite">
type=3D"cite"></span>delsp=3D3Dyes<br></blockquote><b= >lockquote =3D
type=3D"cite">
type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >=3D
type=3D"cite">
type=3D"cite">7bit<br></blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite">threads = > 
type=3D"cite">
all = >=3D
type=3D"cite">
type=3D"cite">bt<br></blockquote><blockquote = >type=3D3D"cite"><br></ = >
type=3D"cite">
type=3D"cite">blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite">should give a backtrace of all = >=3D
type=3D"cite">
type=3D"cite">threads.<br></blockquote><blockquote = >=3D
type=3D"cite">
type=3D"cite">type=3D3D"cite"><br></blockquote></div>= ></blockquote></div><br></div></ = >
type=3D"cite">
type=3D"cite">body><=3D
lockquote type=3D"cite">
type=3D"cite">/html>=3D
kquote type=3D"cite">
type=3D"cite">
type=3D"cite">
type=3D"cite">--Apple-Mail-36--459856549--
blockquote>

type=3D"cite">
type=3D"cite">--Apple-Mail-62--295019692
type=3D"cite">Content-Type: text/html;
type=3D"cite"> = >charset=3DUS-ASCII
type=3D"cite">Content-Transfer-Encoding: = >quoted-printable
type=3D"cite">
type=3D"cite"><html><body style=3D3D"word-wrap: break-word; = >-webkit-nbsp-mode: space; =3D
type=3D"cite">-webkit-line-break: after-white-space; ">Possibly. = >&nbsp;Though it may =3D
be = >more than that. &nbsp;I've not tested on FreeBSD7 = >=3D
type=3D"cite">before.<br><div><div = >apple-content-edited=3D3D"true"><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; color: = >=3D
rgb(0, 0, 0); font-family: = >Helvetica; font-size: 12px; font-style: =3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >letter-spacing: =3D
normal; = >line-height: normal; orphans: 2; text-align: auto; text-indent: = >=3D
0px; text-transform: none; = >white-space: normal; widows: 2; word-spacing: = >=3D
0px; = >-webkit-border-horizontal-spacing: 0px; =3D
type=3D"cite">-webkit-border-vertical-spacing: 0px; = >=3D
type=3D"cite">-webkit-text-decorations-in-effect: none; = >-webkit-text-size-adjust: =3D
type=3D"cite">auto; -webkit-text-stroke-width: 0; "><div = >style=3D3D"word-wrap: =3D
type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >=3D
after-white-space; = >"><span class=3D3D"Apple-style-span" =3D
type=3D"cite">style=3D3D"border-collapse: separate; = >-webkit-border-horizontal-spacing: =3D
type=3D"cite">0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, = >0, 0); =3D
font-family: = >Helvetica; font-size: 12px; font-style: normal; = >=3D
font-variant: normal; = >font-weight: normal; letter-spacing: normal; = >=3D
line-height: normal; = >-webkit-text-decorations-in-effect: none; =3D
type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; white-space: normal; widows: 2; word-spacing: = >0px; "><div =3D
type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp-mode: = >space; =3D
-webkit-line-break: = >after-white-space; "><span class=3D3D"Apple-style-span" = >=3D
style=3D3D"border-collapse: = >separate; -webkit-border-horizontal-spacing: = >=3D
0px; = >-webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >=3D
font-family: Helvetica; = >font-size: 12px; font-style: normal; =3D
type=3D"cite">font-variant: normal; font-weight: normal; letter-spacing: = >normal; =3D
line-height: = >normal; -webkit-text-decorations-in-effect: none; = >=3D
text-indent: 0px; = >-webkit-text-size-adjust: auto; text-transform: none; = >=3D
orphans: 2; white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"border-collapse: separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >-webkit-border-vertical-spacing: =3D
type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >font-size: 12px; =3D
font-style:= > normal; font-variant: normal; font-weight: normal; = >=3D
letter-spacing: normal; = >line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; text-indent: = >0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >orphans: 2; =3D
white-space: = >normal; widows: 2; word-spacing: 0px; "><div><span = >=3D
class=3D3D"Apple-style-span"= > style=3D3D"font-size: medium;"><font = >=3D
class=3D3D"Apple-style-span"= > color=3D3D"#0000FF" face=3D3D"'Gill =3D
type=3D"cite">Sans'"><br></font></span></div>&l= >t;/span></span></span></span></span></span&g= >t;<=3D
type=3D"cite">/span></span></div></span></div>&= >lt;/span></div><div><div>On 2 Nov 2009, at = >=3D
12:20, Mika Nystrom = >wrote:</div><br =3D
type=3D"cite">class=3D3D"Apple-interchange-newline"><blockquote = >type=3D3D"cite"><div>Tony =3D
type=3D"cite">(and others):<br><br>I take it part of the = >problem I'm having is that =3D
type=3D"cite">I'm running a very out<br>of date RC package on my = >=3D
type=3D"cite">FreeBSD7?<br><br>Should I cvs update to = >something else to try? =3D
type=3D"cite">&nbsp;Note that what's in the "normal"<br>CVS = >head didn't even compile =3D
type=3D"cite">when I tried it---see an earlier email from = >me.<br>How can I specify the =3D
type=3D"cite">proper tag to get on to the "release" branch of = >the<br>tree, if that's =3D
type=3D"cite">what I'm supposed to do?<br><br> = >&nbsp;&nbsp;&nbsp;Mika<br><br>Tony = >=3D
Hosking = >writes:<br><blockquote = >type=3D3D"cite"><br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">--Apple-Mail-36--459856549<br></= >blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Type: = >text/plain;<br></blockquote><blockquote = >=3D
type=3D3D"cite"><span = >class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">class=3D"Apple-tab-span" style=3D"white-space:pre"> = >=3D
type=3D"cite"></span>charset=3D3DUS-ASCII;<br></blockquote&= >gt;<blockquote type=3D3D"cite"><span=3D
te type=3D"cite">class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>format=3D3Dflowed;<br></blockquote>= ><blockquote type=3D3D"cite"><span =3D
type=3D"cite">class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>delsp=3D3Dyes<br></blockquote><b= >lockquote =3D
type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >=3D
type=3D"cite">7bit<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite">Try regular =3D
type=3D"cite">gdb.<br></blockquote><blockquote = >type=3D3D"cite">Set a breakpoint at =3D
type=3D"cite">RTHooks__ReportFault.<br></blockquote><blockq= >uote type=3D3D"cite">Then =3D
type=3D"cite">thread apply all = >bt.<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite">Antony Hosking =3D
type=3D"cite">| Associate Professor | Computer Science | Purdue = >=3D
type=3D"cite">&nbsp;<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">University<br></blockquote>&l= >t;blockquote type=3D3D"cite">305 =3D
type=3D"cite">N. University Street | West Lafayette | IN 47907 | = >=3D
type=3D"cite">USA<br></blockquote><blockquote = >type=3D3D"cite">Office +1 765 494 6001 | = >=3D
Mobile +1 765 427 = >5484<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite">On 31 Oct 2009, =3D
type=3D"cite">at 16:06, Mika Nystrom = >wrote:<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">With the RC m3gdb it either segfaults = >gdb =3D
type=3D"cite">or:<br></blockquote></blockquote><block= >quote type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote type=3D3D"cite">(m3gdb)= > =3D
type=3D"cite">threads<br></blockquote></blockquote><b= >lockquote type=3D3D"cite"><blockquote=3D
type=3D"cite">type=3D3D"cite">Can't find Modula-3 identifier: = >=3D
type=3D"cite">ThreadPosix<br></blockquote></blockquote>&= >lt;blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote type=3D3D"cite">(m3gdb)= > threads =3D
type=3D"cite">all<br></blockquote></blockquote><block= >quote type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">Can't find Modula-3 identifier: = >=3D
type=3D"cite">ThreadPosix<br></blockquote></blockquote>&= >lt;blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote type=3D3D"cite">(m3gdb)= > threads all =3D
type=3D"cite">bt<br></blockquote></blockquote><blockq= >uote type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">Can't find Modula-3 identifier: = >=3D
type=3D"cite">ThreadPosix<br></blockquote></blockquote>&= >lt;blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >=3D
type=3D"cite">type=3D3D"cite">(m3gdb)<br></blockquote></= >blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote type=3D3D"cite">Tony = >Hosking =3D
type=3D"cite">writes:<br></blockquote></blockquote><b= >lockquote type=3D3D"cite"><blockquote=3D
type=3D"cite">type=3D3D"cite"><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote></blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">--Apple-Mail-33--461716527<br></= >blockquote></blockquote></bl=3D
type=3D"cite">ockquote><blockquote type=3D3D"cite"><blockquote= > type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Type: = >=3D
type=3D"cite">text/plain;<br></blockquote></blockquote>&= >lt;/blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote type=3D3D"cite"><span = >=3D
class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>charset=3D3DUS-ASCII;<br></blockquote&= >gt;</blockquote></blockquote><bloc=3D
kquote type=3D"cite">kquote type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><span class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>format=3D3Dflowed;<br></blockquote>= ></blockquote></blockquote><blockqu=3D
kquote type=3D"cite">ote type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><span class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>delsp=3D3Dyes<br></blockquote></= >blockquote></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >=3D
type=3D"cite">7bit<br></blockquote></blockquote></blo= >ckquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote></blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote type=3D3D"cite">threads = >=3D
all = >bt<br></blockquote></blockquote></blockquote><b= >lockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote></blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote type=3D3D"cite">should = >=3D
give a backtrace of all = >=3D
type=3D"cite">threads.<br></blockquote></blockquote><= >/blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><blockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote></blockqu= >ote></blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite">--Apple-Mail-36--459856549<br></= >blockquote><blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Type: = >text/html;<br></blockquote><blockquote = >=3D
type=3D3D"cite"><span = >class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">class=3D"Apple-tab-span" style=3D"white-space:pre"> = >=3D
type=3D"cite"></span>charset=3D3DUS-ASCII<br></blockquote&g= >t;<blockquote =3D
type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >=3D
type=3D"cite">quoted-printable<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite">&lt;html&gt;&lt;body = >style=3D3D3D"word-wrap: break-word; =3D
type=3D"cite">-webkit-nbsp-mode: space; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-line-break: after-white-space; = >"&gt;Try regular =3D
type=3D"cite">gdb.&lt;div&gt;Set a = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">breakpoin= >t at =3D
type=3D"cite">RTHooks__ReportFault.&lt;/div&gt;&lt;div&gt;= >Then thread apply all =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">bt.&lt;/div&gt;&lt;div&gt= >;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&=3D
ockquote>
lt;br&gt;&lt;div&gt; = >&lt;span class=3D3D3D"Apple-style-span" = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">style=3D3D3D"border-collapse: = >=3D
separate; color: rgb(0, 0, = >0); font-family: =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">Helvetica; font-size: =3D
type=3D"cite">12px; font-style: normal; font-variant: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-weight: normal; =3D
type=3D"cite">letter-spacing: normal; line-height: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">orphans: 2; text-align: =3D
type=3D"cite">auto; text-indent: 0px; text-transform: none; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">white-space: normal; =3D
type=3D"cite">widows: 2; word-spacing: 0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >-webkit-text-decorations-in-effect: none; =3D
type=3D"cite">-webkit-text-size-adjust: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">auto; = >-webkit-text-stroke-width: 0; "&gt;&lt;div = >=3D
style=3D3D3D"word-wrap: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">break-wor= >d; -webkit-nbsp-mode: space; -webkit-line-break: = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">after-white-space; =3D
type=3D"cite">"&gt;&lt;span class=3D3D3D"Apple-style-span" = >=3D3D<br></blockquote><blockquote=3D
quote type=3D"cite">type=3D3D"cite">style=3D3D3D"border-collapse: = >separate; =3D
type=3D"cite">-webkit-border-horizontal-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >-webkit-border-vertical-spacing: 0px; color: rgb(0, = >=3D
0, 0); = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-family: =3D
type=3D"cite">Helvetica; font-size: 12px; font-style: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-variant: normal; =3D
type=3D"cite">font-weight: normal; letter-spacing: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">line-height: normal; =3D
type=3D"cite">-webkit-text-decorations-in-effect: none; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">text-indent: 0px; = >-webkit-text-size-adjust: auto; =3D
type=3D"cite">text-transform: none; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">orphans: = >2; white-space: normal; widows: 2; word-spacing: = >=3D
0px; "&gt;&lt;div = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">style=3D3D3D"word-wrap: break-word; = >-webkit-nbsp-mode: =3D
space; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">-webkit-line-break: =3D
type=3D"cite">after-white-space; "&gt;&lt;span = >class=3D3D3D"Apple-style-span" =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">style=3D3D3D"border-collapse: = >=3D
separate; = >-webkit-border-horizontal-spacing: =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">0px; =3D
type=3D"cite">-webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-family: Helvetica; =3D
type=3D"cite">font-size: 12px; font-style: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">font-variant: normal; font-weight: = >normal; letter-spacing: =3D
type=3D"cite">normal; =3D3D<br></blockquote><blockquote = >type=3D3D"cite">line-height: =3D
type=3D"cite">normal; -webkit-text-decorations-in-effect: none; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">text-indent: 0px; =3D
type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">orphans: 2; white-space: = >=3D
normal; widows: 2; = >word-spacing: 0px; "&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: 0px; = >=3D
type=3D"cite">-webkit-border-vertical-spacing: = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">0px; = >color: rgb(0, 0, 0); font-family: Helvetica; = >=3D
font-size: 12px; = >=3D3D<br></blockquote><blockquote = >type=3D3D"cite">font-style:=3D
type=3D"cite">normal; font-variant: normal; font-weight: normal; = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">letter-spacing: normal; =3D
type=3D"cite">line-height: normal; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in-effect: = >none; text-indent: =3D
0px; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >text-transform: none; =3D
type=3D"cite">orphans: 2; =3D3D<br></blockquote><blockquote= > type=3D3D"cite">white-space: =3D
type=3D"cite">normal; widows: 2; word-spacing: 0px; = >"&gt;&lt;div&gt;&lt;font =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">color=3D3D3D"#0000FF"&gt;&lt;font = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >face=3D3D3D"Gill =3D
type=3D"cite">Sans"&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"color: rgb(0, 0, =3D
type=3D"cite">255); font-family: = >=3D3D<br></blockquote><blockquote type=3D3D"cite">'Gill = >=3D
Sans'; = >"&gt;&lt;span class=3D3D3D"Apple-style-span" style=3D3D3D"color: = >=3D
rgb(0, = >=3D3D<br></blockquote><blockquote type=3D3D"cite">0, = >255); =3D
font-family: 'Gill = >Sans'; "&gt;Antony =3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">Hosking&lt;/span&gt;&lt;/span= >&gt;&lt;/font&gt;&lt;/font&gt;&=3D
>
lt;font class=3D3D3D"Apple-style-span" = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">face=3D3D3D"Gill = >Sans"&gt;&lt;span =3D
type=3D"cite">class=3D3D3D"Apple-style-span" style=3D3D3D"font-family: = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >=3D
class=3D3D3D"Apple-style-spa= >n" style=3D3D3D"font-family: =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >=3D
type=3D"cite">class=3D3D3D"Apple-converted-space"&gt;&amp;nbsp;&am= >p;lt;/span&gt;|&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-converted-space"&g= >t;&amp;nbsp;&lt;/span&gt;=3D
type=3D"cite">&lt;/span&gt;&lt;/span&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: 'Gill =3D
type=3D"cite">Sans'; "&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: 'Gill =3D
type=3D"cite">Sans'; =3D3D<br></blockquote><blockquote = >type=3D3D"cite">"&gt;Associate =3D
type=3D"cite">Professor&lt;/span&gt;&lt;/span&gt;&lt;s= >pan class=3D3D3D"Apple-style-span" =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">style=3D3D3D"font-family: = >=3D
'Gill Sans'; = >"&gt;&lt;span class=3D3D3D"Apple-style-span" = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">style=3D3D3D"font-family: = >=3D
'Gill Sans'; = >"&gt;&amp;nbsp;| Computer Science | Purdue = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">University&lt;/span&gt;&lt;/s= >pan&gt;&lt;/font&gt;&lt;/div&gt=3D
ockquote type=3D"cite">;&lt;div&gt;&lt;font = >=3D
type=3D"cite">class=3D3D3D"Apple-style-span"=3D3D<br></blockquote= >><blockquote =3D
type=3D"cite">type=3D3D"cite">face=3D3D3D"GillSans-Light"&gt;&l= >t;span =3D
type=3D"cite">class=3D3D3D"Apple-style-span" = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">style=3D3D3D"font-family: = >GillSans-Light; "&gt;305 N. =3D
type=3D"cite">University Street | West = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">Lafayette= > | IN 47907 | =3D
type=3D"cite">USA&lt;/span&gt;&lt;/font&gt;&lt;/div&am= >p;gt;&lt;div&gt;&lt;font =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">color=3D3D3D"#0000FF" face=3D3D3D"Gill = >Sans"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"color: rgb(0, 0, 255); font-family: = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >=3D
class=3D3D3D"Apple-style-spa= >n" style=3D3D3D"color: rgb(0, =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">0, 255); font-family: =3D
type=3D"cite">'Gill Sans'; = >"&gt;Office&lt;/span&gt;&lt;/span&gt;&lt;/font&= >;gt;&lt;font =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">face=3D3D3D"GillSans-Light"&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: =3D
type=3D"cite">GillSans-Light; "&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: =3D
type=3D"cite">GillSans-Light; = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">"&gt;&amp;nbsp;+1 765 494 6001 = >|&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-converted-space"&g= >t;&amp;nbsp;&lt;/span&gt;=3D
type=3D"cite">&lt;/span&gt;&lt;/span&gt;&lt;/font&= >gt;&lt;font =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">color=3D3D3D"#0000FF" face=3D3D3D"Gill = >Sans"&gt;&lt;span =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">style=3D3D3D"color: rgb(0, 0, 255); font-family: = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >=3D
class=3D3D3D"Apple-style-spa= >n" style=3D3D3D"color: rgb(0, =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">0, 255); font-family: =3D
type=3D"cite">'Gill Sans'; = >"&gt;Mobile&lt;/span&gt;&lt;/span&gt;&lt;/font&= >;gt;&lt;font =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
kquote type=3D"cite">face=3D3D3D"GillSans-Light"&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: =3D
type=3D"cite">GillSans-Light; "&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >style=3D3D3D"font-family: =3D
type=3D"cite">GillSans-Light; "&gt;&lt;span = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-converted-space"&g= >t;&amp;nbsp;&lt;/span&gt;=3D
type=3D"cite">+1 765 427 =3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">5484&lt;/span&gt;&lt;/span&am= >p;gt;&lt;/font&gt;&lt;/div&gt;&lt;d=3D
>
iv&gt;&lt;font = >class=3D3D3D"Apple-style-span" =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">face=3D3D3D"GillSans-Light"&gt;&l= >t;br =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"khtml-block-placeholder"&= >;gt;&lt;/font&gt;&lt;/div=3D
type=3D"cite">&gt;&lt;/span&gt;&lt;/span&gt;&lt;/s= >pan&gt;&lt;/span=3D3D<br></blockquote><b=3D
ockquote>
lockquote = >type=3D3D"cite"><blockquote =3D
type=3D"cite">type=3D3D"cite">&lt;/span&gt;&lt;/span&gt= >;&lt;/span&gt;&lt;br =3D
type=3D"cite">=3D3D<br></blockquote></blockquote><blo= >ckquote =3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-interchange-newline"&a= >mp;gt;&lt;/span&gt;&lt;/d=3D
type=3D"cite">iv&gt;&lt;/span&gt;&lt;/div&gt;&lt;/= >span&gt;&lt;br =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-interchange-newline"&a= >mp;gt; =3D
type=3D"cite">&lt;/div&gt;&lt;br&gt;&lt;div&gt;&am= >p;lt;div&gt;On 31 Oct 2009, =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">at 16:06, Mika Nystrom =3D
type=3D"cite">wrote:&lt;/div&gt;&lt;br = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-interchange-newline"&a= >mp;gt;&lt;blockquote =3D
type=3D"cite">type=3D3D3D"cite"&gt;&lt;div&gt;With = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">the RC = >m3gdb it either segfaults gdb =3D
type=3D"cite">or:&lt;br&gt;&lt;br&gt;(m3gdb) = >threads&lt;br&gt;Can't =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">find Modula-3 identifier: = >=3D
type=3D"cite">ThreadPosix&lt;br&gt;(m3gdb) threads = >all&lt;br&gt;Can't =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">find Modula-3 identifier: = >=3D
type=3D"cite">ThreadPosix&lt;br&gt;(m3gdb) threads all bt = >=3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">&lt;br&gt;Can't find = >=3D
Modula-3 identifier: = >ThreadPosix&lt;br&gt;(m3gdb) =3D
type=3D"cite">&lt;br&gt;&lt;br&gt;Tony = >=3D3D<br></blockquote><blockquote = >=3D
type=3D3D"cite">Hosking = >writes:&lt;br&gt;&lt;blockquote = >=3D
type=3D"cite">type=3D3D3D"cite"&gt;&lt;br&gt;&lt;/blockquo= >te&gt;&lt;blockquote =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;--Apple-Mail-33-= >-461716527&lt;br&gt;&lt;/=3D
type=3D"cite">blockquote&gt;&lt;blockquote = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;Content-Type: = >=3D
type=3D"cite">text/plain;&lt;br&gt;&lt;/blockquote&gt;&= >;lt;blockquote =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">type=3D3D3D"cite"&gt;&lt;span = >=3D
class=3D3D3D"Apple-tab-span"= > style=3D3D3D"white-space:pre"&gt;<span = >=3D
class=3D3D"Apple-tab-span" = >style=3D3D"white-space:pre">style=3D"white-space:pre"> =3D
type=3D"cite"></span>=3D3D<br></blockquote><blockquot= >e =3D
type=3D"cite">type=3D3D"cite">&lt;/span&gt;charset=3D3D3DUS-ASC= >II;&lt;br&gt;&lt;/blockquote&=3D
te type=3D"cite">gt;&lt;blockquote = >type=3D3D3D"cite"&gt;&lt;span=3D3D<br></blockquote><= >;blockquo=3D
te = >type=3D3D"cite">class=3D3D3D"Apple-tab-span" = >=3D
type=3D"cite">style=3D3D3D"white-space:pre"&gt;<span = >class=3D3D"Apple-tab-span" =3D
type=3D"cite">style=3D3D"white-space:pre">class=3D"Apple-tab-span" style=3D"white-space:pre"> = ></span>=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">&lt;/span&gt;format=3D3D3Dflowed;= >&lt;br&gt;&lt;/blockquote&gt;=3D
te type=3D"cite">&lt;blockquote type=3D3D3D"cite"&gt;&lt;span = >=3D3D<br></blockquote><blockquote=3D
quote type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-tab-span" = >=3D
type=3D"cite">style=3D3D3D"white-space:pre"&gt;<span = >class=3D3D"Apple-tab-span" =3D
type=3D"cite">style=3D3D"white-space:pre">class=3D"Apple-tab-span" style=3D"white-space:pre"> = ></span>=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">&lt;/span&gt;delsp=3D3D3Dyes&= >lt;br&gt;&lt;/blockquote&gt;&lt;b=3D
kquote type=3D"cite">lockquote = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;Content-Transfer= >-Encoding: =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">7bit&lt;br&gt;&lt;/blockquote= >&gt;&lt;blockquote =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;&lt;br&g= >t;&lt;/blockquote&gt;&lt;blockquo=3D
te type=3D"cite">te type=3D3D3D"cite"&gt;threads all = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">bt&lt;br&gt;&lt;/blockquote&a= >mp;gt;&lt;blockquote =3D
type=3D"cite">type=3D3D3D"cite"&gt;&lt;br&gt;&lt;/blockquo= >te&gt;&lt;blockquote =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >type=3D3D"cite">type=3D3D3D"cite"&gt;should = >=3D
give a backtrace of all = >=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">threads.&lt;br&gt;&lt;/blockq= >uote&gt;&lt;blockquote =3D
type=3D"cite">=3D3D<br></blockquote><blockquote = >=3D
type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;&lt;br&g= >t;&lt;/blockquote&gt;&lt;/div&gt;=3D
kquote = >type=3D"cite">&lt;/blockquote&gt;&lt;/div&gt;&lt;br&am= >p;gt;&lt;/div&gt;&lt;/body&gt;&lt;=3D3D<=3D
ockquote>
br></blockquote><blockquote= > =3D
type=3D"cite">type=3D3D"cite">/html&gt;=3D3D<br></blockquo= >te><blockquote =3D
type=3D"cite">type=3D3D"cite"><br></blockquote><blockquo= >te =3D
type=3D"cite">type=3D3D"cite">--Apple-Mail-36--459856549--<br><= >;/blockquote></div></blockqu=3D
type=3D"cite">ote></div><br></div></body></h= >tml>=3D
type=3D"cite">
type=3D"cite">--Apple-Mail-62--295019692--
ote>

= > >--Apple-Mail-121--89103770-- From dabenavidesd at yahoo.es Thu Nov 5 16:40:32 2009 From: dabenavidesd at yahoo.es (Daniel Alejandro Benavides D.) Date: Thu, 5 Nov 2009 15:40:32 +0000 (GMT) Subject: [M3devel] assertion failure in Juno In-Reply-To: <20091105060237.CA20A1A2087@async.async.caltech.edu> Message-ID: <924274.31259.qm@web23601.mail.ird.yahoo.com> Hi: thanks for the code, I drew it and making Grid On label show Grid Off instead and making a and c coincide (using both Drag function button and source code coordinates change as pointed on 3. and 4. instructions of your first email) but so far I can?t get to see anything wrong happen (i.e. it doesn`t terminate). It looks like your Xserver showed an error on stderr. Perhaps this can be xclient crash handling Trestle client messages to xserver, that would explain this is not related to Juno-2 core functionality perse at least in LINUXLIBC6 box as I can tell, have you tested this standalone (Juno and Xserver in same machine, did you do in this way the crash happen) or in other platform or distributed between two different platform machines with their xclient and xserver? compiler version (cm3 -version) test at fbd-desktop:~$ cm3 -version Critical Mass Modula-3 version d5.8.2 last updated: 2009-07-15 compiled: 2009-07-20 04:36:35 configuration: /usr/local/cm3/bin/cm3.cfg host: LINUXLIBC6 target: LINUXLIBC6 My xorg xserver is running standalone (i.e not distributed). Thanks in advance --- El jue, 5/11/09, Mika Nystrom escribi?: > De: Mika Nystrom > Asunto: Re: [M3devel] assertion failure in Juno > Para: "Daniel Alejandro Benavides D." > CC: m3devel at elegosoft.com > Fecha: jueves, 5 noviembre, 2009 1:02 > > Here's the Juno code. Turn on the grid and make a and > c coincide. > > Mika > > VAR > a ~ (-47.98, 178.3), > b ~ (-56.62, 56.57), > c ~ (-69.1, 179.3) > IN > PS.MoveTo(b); PS.CurveTo(a, c, b) > END > > "Daniel Alejandro Benavides D." writes: > >Hi: > >I can=B4t get how do you get actually to draw it, > coould you send a screen = > >cast of it or some .juno code to run it?=20 > > > >--- El mi=E9, 4/11/09, Mika Nystrom > escribi= > >=F3: > > > >> De: Mika Nystrom > >> Asunto: [M3devel] assertion failure in Juno > >> Para: m3devel at elegosoft.com > >> Fecha: mi=E9rcoles, 4 noviembre, 2009 8:27 > >> Hello m3devel, > >>=20 > >> I'm afraid the following is probably an orphan > bug, but in > >> case anyone > >> has a clue what's going on, here it is: > >>=20 > >> 1. Put down three points in Juno, draw a curve > using them > >> (looping from > >> one point back to itself, with the other two as > control > >> points). > >>=20 > >> 2. Turn on the grid. > >>=20 > >> 3. Move one of the control points around, so it > snaps to > >> the grid. > >>=20 > >> 4. Move the other control point to the same spot. > >>=20 > >> What happens on my AMD64_FREEBSD is this: > >>=20 > >> (323)ginger:~/cm3/scripts>Juno > >> Xlib: extension "Generic Event Extension" > missing on > >> display "rover:1.0". > >> Assertion failed: > >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, > <=3D, > >> dpy->request)), function process_responses, > file > >> xcb_io.c, line 242. > >> Assertion failed: > >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, > <=3D, > >> dpy->request)), function process_responses, > file > >> xcb_io.c, line 242. > >> Abort > >> (324)ginger:~/cm3/scripts> > >>=20 > >> now if it had crashed in Juno's M3 code I wouldn't > be > >> concerned, but it > >> seems to be crashing in X code, which just sounds > wrong... > >> and it seems > >> to crash in some sort of messaging queue code? > =20 > >>=20 > >> Mika > >>=20 > >> P.S. More detail: > >>=20 > >> (m3gdb) run > >> Starting program: /usr/local/cm3/bin/Juno=20 > >> Can't disable VM GC. > >> Signal Stop > =20 > >> Print Pass to program > Description > >> SIG64 > No =20 > >> No > Yes =20 > >> Real-time event 64 > >>=20 > >> Program received signal SIGUSR2, User defined > signal 2. > >> 0x0000000802eb729c in __error () from > /lib/libthr.so.3 > >> (m3gdb) handle SIGUSR2 nostop noprint > >> Signal Stop > =20 > >> Print Pass to program > Description > >> SIGUSR2 No > =20 > >> No > Yes =20 > >> User defined signal 2 > >> (m3gdb) cont > >> Continuing. > >> Xlib: extension "Generic Event Extension" > missing on > >> display "rover:1.0". > >> Assertion failed: > >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, > <=3D, > >> dpy->request)), function process_responses, > file > >> xcb_io.c, line 242. > >> Assertion failed: > >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, > <=3D, > >> dpy->request)), function process_responses, > file > >> xcb_io.c, line 242. > >>=20 > >> Program received signal SIGABRT, Aborted. > >> 0x000000080300ea9c in thr_kill () from > /lib/libc.so.7 > >> (m3gdb) where > >> #0 0x000000080300ea9c in thr_kill () from > >> /lib/libc.so.7 > >> #1 0x000000080309df8b in abort () from > >> /lib/libc.so.7 > >> #2 0x0000000803085f55 in __assert () from > >> /lib/libc.so.7 > >> #3 0x0000000802ba7451 in process_responses > () from > >> /usr/local/lib/libX11.so.6 > >> #4 0x0000000802ba7cc7 in _XEventsQueued () > from > >> /usr/local/lib/libX11.so.6 > >> #5 0x0000000802b91b8b in XEventsQueued () > from > >> /usr/local/lib/libX11.so.6 > >> #6 0x0000000801268b1b in AdjustCoverage > (xcon=3DInvalid > >> C/C++ type code 26 in symbol table. > >> ) at ../src/xvbt/XClientF.m3:362 > >> #7 0x000000080124dfb5 in Messenger > (self=3DInvalid > >> C/C++ type code 26 in symbol table. > >> ) at ../src/xvbt/XMessenger.m3:108 > >> #8 0x0000000801aeb7b3 in RunThread > (me=3DInvalid C/C++ > >> type code 29 in symbol table. > >> ) at ../src/thread/PTHREAD/ThreadPThread.m3:509 > >> #9 0x0000000801aeb569 in ThreadBase > (param=3DInvalid > >> C/C++ type code 35 in symbol table. > >> ) at ../src/thread/PTHREAD/ThreadPThread.m3:490 > >> #10 0x0000000802ead4d1 in pthread_getprio () from > >> /lib/libthr.so.3 > >> #11 0x0000000000000000 in ?? () > >> (m3gdb)=20 > >> (m3gdb) up 6 > >> #6 0x0000000801268b1b in AdjustCoverage > >> (xcon=3D16_000000080377a2c0, d=3D1) at > >> ../src/xvbt/XClientF.m3:362 > >> 362 IF > >> X.XEventsQueued(xcon.dpy, X.QueuedAfterReading) # > 0 THEN > >> Current language: auto; currently Modula-3 > >> (m3gdb) list > >> 357 RAISES > >> {TrestleComm.Failure} =3D > >> 358 BEGIN > >> 359 TRY > >> 360 =20 > >> INC(xcon.coverage, d); > >> 361 IF > xcon.coverage > >> =3D 0 THEN X.XFlush(xcon.dpy) END; > >> 362 IF > >> X.XEventsQueued(xcon.dpy, X.QueuedAfterReading) # > 0 THEN > >> 363 =20 > >> Thread.Signal(xcon.qNonEmpty) > >> 364 END; > >> 365 EXCEPT > X.Error > >> =3D> RAISE TrestleComm.Failure END; > >> 366 END > AdjustCoverage; > >> (m3gdb) print xcon.dpy > >> $1 =3D 16_000000080389f000 > >>=20 > >>=20 > >>=20 > >> =0A=0A=0A > From jay.krell at cornell.edu Thu Nov 5 18:12:15 2009 From: jay.krell at cornell.edu (Jay K) Date: Thu, 5 Nov 2009 17:12:15 +0000 Subject: [M3devel] m3core release vs. head? Message-ID: Tony, any thoughts on merging/copying head to release? I'm willing to do work, review the diffs (which I'm going to do anyway), build stuff, test a little. But I don't likely understand it all in ThreadPThread.m3, RTCollector.m3, RTAllocator.m3. - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Thu Nov 5 18:35:47 2009 From: jay.krell at cornell.edu (Jay K) Date: Thu, 5 Nov 2009 17:35:47 +0000 Subject: [M3devel] removing vfork, general header cloning matters? Message-ID: I say we remove vfork from m3core. - We never use it in cm3. To be confirmed. - It cannot be portably wrapped in C without violating Posix. And is that theoretical or real? Posix says you can't return from the caller of vfork. It must exec or _exit. It'd be cool if we could have a jump or tail recursion but that's probably not feasible. Maybe a function pointer?? I can try that out. Would have to see if Posix allows vfork to be a macro through. We could declare a function pointer and then the C implementation could have an #ifdef around it -- not provide the function pointer on all platforms. - It doesn't have a portable name. Witness netbsd2-i386/Unix.i3. I assume that is correct or close? But maybe this is an "ideal" vs. "possible, works" case? (see below) IF we ever get to a system where vfork is advantagous against fork, uses should be written in C. Unless it can be shown that the NetBSD example is wrong, or unnecessary? I'm a little torn. In particular, "header cloning", despite my distaste, is not unique to Modula-3. And there is some good chance that the names are actually portable. You know, it might be more efficient on Linux to #include and get all the stat wrappers, the static libraries probably contain them in the "normal" way. If I get back to NetBSD and find they are compatible this way too, then maybe the current form is ok. You know, the question is..while types and constants are definitely an issue and reasonably dealt with, "function names" maybe aren't? Note that vfork doesn't really merit this level of discussion but I'd like to understand the general case. Maybe I just need to read more of the Posix spec and maybe it talks about link level naming vs. C source level constructs? Ie. maybe they talk about Ada, Pascal, etc. bindings?? (ie: maybe people really do support languages other than C via acceptable header cloning?) - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Thu Nov 5 18:55:27 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Thu, 5 Nov 2009 12:55:27 -0500 Subject: [M3devel] AMD64_FREEBSD problems with current RC from m3 site In-Reply-To: <20091105064628.883E71A2087@async.async.caltech.edu> References: <20091031161142.57E771A2097@async.async.caltech.edu> <20091031161514.C7E441A2097@async.async.caltech.edu> <7D03409A-CC44-4B27-BCE0-E7A3D110B242@cs.purdue.edu> <20091031182637.1D2DD1A209C@async.async.caltech.edu> <9666B412-E255-4103-9954-420E39AA9303@cs.purdue.edu> <20091031185401.0E3761A209C@async.async.caltech.edu> <20091031191011.63E701A2097@async.async.caltech.edu> <823EE49D-F6C9-4A13-A6BA-4EC73B00E13E@cs.purdue.edu> <20091031192335.050261A207D@async.async.caltech.edu> <20091031200623.C0BC71A2097@async.async.caltech.edu> <1210FEF9-5EAD-4313-A96A-2709711F4BDE@cs.purdue.edu> <20091102172011.A9D5B1A209F@async.async.caltech.edu> <94D30830-E745-4305-B587-75E2AC7612CC@cs.purdue.edu> <20091105005732.CA91E1A2087@async.async.caltech.edu> <20091105064628.883E71A2087@async.async.caltech.edu> Message-ID: <38EDB202-069A-4B0C-B435-29FC2C0DFA3D@cs.purdue.edu> Can you try the latest head? I'm not sure what the "sluggishness" could be. Can you run with @M3debugthreads to get a trace of the thread signalling that's going on for stopping/starting threads? On 5 Nov 2009, at 01:46, Mika Nystrom wrote: > Tony, > > I also think.. is it possible that the "general sluggishness" I'm > seeing > is related? I checked the network traffic and my program really > isn't waiting > for NFS at all. It's just 10x slower than it ought to be. Ctrl-c > reveals: > > (Perhaps spending a lot of time in __error is normal? I don't know.) > > WARNING: TWSReplayer.ReqMktData: Couldnt find data for VFC:TSE:CAD > [New Thread 0x805c031e0 (LWP 100185)] > [New Thread 0x805c03370 (LWP 100190)] > ^C > Program received signal SIGINT, Interrupt. > [Switching to Thread 0x805c03370 (LWP 100190)] > 0x0000000804b3e29c in __error () from /lib/libthr.so.3 > (gdb) where > #0 0x0000000804b3e29c in __error () from /lib/libthr.so.3 > #1 0x0000000804b3c365 in pthread_cond_signal () from /lib/libthr.so.3 > #2 0x00000008037769ad in ThreadPThread__pthread_cond_wait > (cond=Error accessing memory address 0x8000fe7f4718: Bad address. > ) > at ../src/thread/PTHREAD/ThreadPThreadC.c:479 > #3 0x000000080377083f in ThreadPThread__XWait (M3_BXP32l_self=Error > accessing memory address 0x8000fe7f4748: Bad address. > ) > at ../src/thread/PTHREAD/ThreadPThread.m3:200 > #4 0x0000000803770a85 in Thread__Wait (M3_AYIbX3_m=Error accessing > memory address 0x8000fe7f47b8: Bad address. > ) at ../src/thread/PTHREAD/ThreadPThread.m3:229 > #5 0x0000000802947374 in SXSelect__WaitE (M3_CNERyx_on=Error > accessing memory address 0x8000fe7f4848: Bad address. > ) at ../src/SX.m3:217 > #6 0x0000000802946972 in SXSelect__Wait (M3_CNERyx_on=Error > accessing memory address 0x8000fe7f49e8: Bad address. > ) at ../src/SX.m3:152 > #7 0x00000008011ac748 in MktAsset__WaitLocked (M3_DwTwqf_t=Error > accessing memory address 0x8000fe7f4a48: Bad address. > ) at ../src/MktAsset.m3:117 > #8 0x00000008011b2950 in MktPlace__RecApply (M3_ELxH3G_cl=Error > accessing memory address 0x8000fe7f4d18: Bad address. > ) at ../src/MktPlace.m3:469 > #9 0x00000008037727b3 in ThreadPThread__RunThread > (M3_CgoaiZ_me=Error accessing memory address 0x8000fe7f4f08: Bad > address. > ) > at ../src/thread/PTHREAD/ThreadPThread.m3:509 > #10 0x0000000803772569 in ThreadPThread__ThreadBase > (M3_AJWxb1_param=Error accessing memory address 0x8000fe7f4f88: Bad > address. > ) > at ../src/thread/PTHREAD/ThreadPThread.m3:490 > #11 0x0000000804b344d1 in pthread_getprio () from /lib/libthr.so.3 > #12 0x0000000000000000 in ?? () > Error accessing memory address 0x7ffffe7f5000: Bad address. > (gdb) > > Tony Hosking writes: >> >> --Apple-Mail-121--89103770 >> Content-Type: text/plain; >> charset=US-ASCII; >> format=flowed; >> delsp=yes >> Content-Transfer-Encoding: 7bit >> >> Can you get this to break at the first fault: >> >> break RTHooks__ReportFault >> >> And then: >> >> p ThreadPThread__DumpThreads() >> >> Clearly somethings is *very* broken. How can we be processing a >> thread that is not stopped when we should have stopped them all. >> >> Antony Hosking | Associate Professor | Computer Science | Purdue >> University >> 305 N. University Street | West Lafayette | IN 47907 | USA >> Office +1 765 494 6001 | Mobile +1 765 427 5484 >> >> >> >> >> On 4 Nov 2009, at 19:57, Mika Nystrom wrote: >> >>> Hi Tony and others, >>> >>> I tested with the head now (it looks a bit more organized than a >>> week >>> ago), and I get the same problems. A "double assert failure". >>> >>> By the way I am noticing that the program is quite slow. It could >>> be >>> that I'm accessing data over NFS, possibly... not sure I've done a >>> fair >>> back-to-back comparison. (My benchmark is, as always, an ancient >>> PM3 on >>> "FreeBSD4" i386.) >>> >>> >>> *** >>> *** runtime error: >>> *** <*ASSERT*> failed. >>> *** file "../src/thread/PTHREAD/ThreadPThread.m3", line 967 >>> *** >>> >>> >>> >>> *** >>> *** runtime error: >>> *** <*ASSERT*> failed. >>> *** file "../src/runtime/common/RTCollector.m3", line 690 >>> *** >>> >>> >>> Program received signal SIGABRT, Aborted. >>> 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 >>> (m3gdb) >>> >>> The problem seems a bit different from before, however: >>> >>> Program received signal SIGABRT, Aborted. >>> 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 >>> (m3gdb) where >>> #0 0x0000000804c95a9c in thr_kill () from /lib/libc.so.7 >>> #1 0x0000000804d24f8b in abort () from /lib/libc.so.7 >>> #2 0x000000080376e3cf in Crash () at ../src/runtime/POSIX/ >>> RTOS.m3:20 >>> #3 0x0000000803761f05 in Crash (msg=Invalid C/C++ type code 26 in >>> symbol table. >>> ) at ../src/runtime/common/RTProcess.m3:65 >>> #4 0x000000080375f3a2 in EndError (crash=Invalid C/C++ type code 36 >>> in symbol table. >>> ) at ../src/runtime/common/RTError.m3:118 >>> #5 0x000000080375f09a in MsgS (file=Invalid C/C++ type code 35 in >>> symbol table. >>> ) at ../src/runtime/common/RTError.m3:40 >>> #6 0x000000080375f875 in Crash (a=Invalid C/C++ type code 30 in >>> symbol table. >>> ) at ../src/runtime/common/RTException.m3:79 >>> #7 0x000000080375f52c in DefaultBackstop (a=Invalid C/C++ type code >>> 30 in symbol table. >>> ) at ../src/runtime/common/RTException.m3:39 >>> #8 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >>> 30 in symbol table. >>> ) at ../src/runtime/common/RTException.m3:25 >>> #9 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >>> symbol table. >>> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >>> #10 0x000000080375f5de in DefaultBackstop (a=Invalid C/C++ type code >>> 30 in symbol table. >>> ) at ../src/runtime/common/RTException.m3:47 >>> #11 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >>> 30 in symbol table. >>> ) at ../src/runtime/common/RTException.m3:25 >>> #12 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >>> symbol table. >>> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >>> #13 0x0000000803746f81 in ReportFault (module=Invalid C/C++ type >>> code 35 in symbol table. >>> ) at ../src/runtime/common/RTHooks.m3:110 >>> #14 0x000000080375c91c in _m3_fault (arg=Invalid C/C++ type code 39 >>> in symbol table. >>> ) >>> from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 >>> #15 0x0000000803752466 in CollectorOn () at ../src/runtime/common/ >>> RTCollector.m3:690 >>> #16 0x0000000803759597 in CheckLoadTracedRef (ref=Invalid C/C++ type >>> code 46 in symbol table. >>> ) at ../src/runtime/common/RTCollector.m3:2229 >>> #17 0x00000008034e8db4 in ShutDown () at ../src/rw/Stdio.m3:43 >>> #18 0x0000000803761e5c in InvokeExitors () at ../src/runtime/common/ >>> RTProcess.m3:40 >>> #19 0x0000000803761eee in Crash (msg=Invalid C/C++ type code 26 in >>> symbol table. >>> ) at ../src/runtime/common/RTProcess.m3:61 >>> #20 0x000000080375f3a2 in EndError (crash=Invalid C/C++ type code 36 >>> in symbol table. >>> ) at ../src/runtime/common/RTError.m3:118 >>> #21 0x000000080375f09a in MsgS (file=Invalid C/C++ type code 35 in >>> symbol table. >>> ) at ../src/runtime/common/RTError.m3:40 >>> ---Type to continue, or q to quit--- >>> #22 0x000000080375f875 in Crash (a=Invalid C/C++ type code 30 in >>> symbol table. >>> ) at ../src/runtime/common/RTException.m3:79 >>> #23 0x000000080375f52c in DefaultBackstop (a=Invalid C/C++ type code >>> 30 in symbol table. >>> ) at ../src/runtime/common/RTException.m3:39 >>> #24 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >>> 30 in symbol table. >>> ) at ../src/runtime/common/RTException.m3:25 >>> #25 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >>> symbol table. >>> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >>> #26 0x000000080375f5de in DefaultBackstop (a=Invalid C/C++ type code >>> 30 in symbol table. >>> ) at ../src/runtime/common/RTException.m3:47 >>> #27 0x000000080375f45e in InvokeBackstop (a=Invalid C/C++ type code >>> 30 in symbol table. >>> ) at ../src/runtime/common/RTException.m3:25 >>> #28 0x000000080376ee93 in Raise (act=Invalid C/C++ type code 30 in >>> symbol table. >>> ) at ../src/runtime/ex_frame/RTExFrame.m3:29 >>> #29 0x0000000803746f81 in ReportFault (module=Invalid C/C++ type >>> code 35 in symbol table. >>> ) at ../src/runtime/common/RTHooks.m3:110 >>> #30 0x00000008037761b1 in _m3_fault (arg=Invalid C/C++ type code 39 >>> in symbol table. >>> ) >>> from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 >>> #31 0x0000000803774c6b in ProcessOther (act=Invalid C/C++ type code >>> 29 in symbol table. >>> ) at ../src/thread/PTHREAD/ThreadPThread.m3:967 >>> #32 0x000000080377485b in ProcessStacks (p=Invalid C/C++ type code >>> 31 in symbol table. >>> ) at ../src/thread/PTHREAD/ThreadPThread.m3:888 >>> #33 0x0000000803752d59 in CollectSomeInStateZero () at ../src/ >>> runtime/common/RTCollector.m3:819 >>> #34 0x00000008037526a0 in CollectSome () at ../src/runtime/common/ >>> RTCollector.m3:719 >>> #35 0x00000008037520a1 in CollectEnough () at ../src/runtime/common/ >>> RTCollector.m3:653 >>> #36 0x0000000803748f49 in AllocTraced (dataSize=Invalid C/C++ type >>> code 40 in symbol table. >>> ) at ../src/runtime/common/RTAllocator.m3:365 >>> #37 0x0000000803747f1c in GetTracedObj (def=Invalid C/C++ type code >>> 29 in symbol table. >>> ) at ../src/runtime/common/RTAllocator.m3:224 >>> #38 0x0000000803747833 in AllocateTracedObj (defn=Invalid C/C++ type >>> code 35 in symbol table. >>> ) at ../src/runtime/common/RTAllocator.m3:120 >>> #39 0x0000000800ad4207 in ParseRec (chars=Invalid C/C++ type code 30 >>> in symbol table. >>> ) at ../src/TWSLogger.m3:127 >>> #40 0x0000000800ad4ce1 in ReadRecord (h=Invalid C/C++ type code 35 >>> in symbol table. >>> ) at ../src/TWSReplayer.m3:109 >>> #41 0x0000000800ad65fb in SearchBackwardForData (mu=Invalid C/C++ >>> type code 26 in symbol table. >>> ) at ../src/TWSReplayer.m3:350 >>> #42 0x0000000800ad6e8a in ReqMktData (t=Invalid C/C++ type code 26 >>> in symbol table. >>> ) at ../src/TWSReplayer.m3:396 >>> #43 0x0000000800adae34 in MreqMktData (t=Invalid C/C++ type code 26 >>> in symbol table. >>> ) >>> ---Type to continue, or q to quit--- >>> at ../src/TWSReplayBridge.m3 => /home/mika/t/calarm/twslib/src/ >>> TWSBridge.mg:574 >>> #44 0x000000000040748a in AddContract (tws=Invalid C/C++ type code >>> 26 in symbol table. >>> ) at ../src/MktIsolator.m3:423 >>> #45 0x00000000004086d8 in Init (t=Invalid C/C++ type code 26 in >>> symbol table. >>> ) at ../src/MktIsolator.m3:517 >>> #46 0x00000000004106af in Main (mode=Invalid C/C++ type code 39 in >>> symbol table. >>> ) at ../src/Main.m3:734 >>> #47 0x000000080375e507 in RunMainBody (m=Invalid C/C++ type code 29 >>> in symbol table. >>> ) at ../src/runtime/common/RTLinker.m3:399 >>> #48 0x000000080375d6ee in AddUnitI (m=Invalid C/C++ type code 29 in >>> symbol table. >>> ) at ../src/runtime/common/RTLinker.m3:113 >>> #49 0x000000080375d78c in AddUnit (b=Invalid C/C++ type code 31 in >>> symbol table. >>> ) at ../src/runtime/common/RTLinker.m3:122 >>> #50 0x0000000000404194 in main (argc=45, argv=0x7fffffffddb0, >>> envp=0x7fffffffdf20) at _m3main.mc:4 >>> #51 0x00000000004040de in _start () >>> (m3gdb) up 15 >>> #15 0x0000000803752466 in CollectorOn () at ../src/runtime/common/ >>> RTCollector.m3:690 >>> 690 <* ASSERT NOT collectorOn *> >>> Current language: auto; currently Modula-3 >>> (m3gdb) print collectorOn >>> $1 = TRUE >>> (m3gdb) >>> >>> Also, the other assertion: >>> >>> PROCEDURE ProcessOther (act: Activation; p: PROCEDURE (start, stop: >>> ADDRESS)) = >>> (* LL=activeMu *) >>> VAR sp: ADDRESS; >>> BEGIN >>> <*ASSERT act.state = ActState.Stopped*> (* here! *) >>> IF DEBUG THEN >>> RTIO.PutText("Processing act="); RTIO.PutAddr(act); >>> RTIO.PutText("\n"); RTIO.Flush(); >>> END; >>> IF act.stackbase = NIL THEN RETURN END; >>> RTHeapRep.FlushThreadState(act.heapState); >>> (* process registers explicitly *) >>> sp := ProcessState(act.handle, act.sp, p); >>> (* or in my stack *) >>> IF stack_grows_down >>> THEN p(sp, act.stackbase); >>> ELSE p(act.stackbase, sp); >>> END; >>> END ProcessOther; >>> >>> Mika >>> >>> Tony Hosking writes: >>>> >>>> --Apple-Mail-62--295019692 >>>> Content-Type: text/plain; >>>> charset=US-ASCII; >>>> format=flowed; >>>> delsp=yes >>>> Content-Transfer-Encoding: 7bit >>>> >>>> Possibly. Though it may be more than that. I've not tested on >>>> FreeBSD7 before. >>>> >>>> On 2 Nov 2009, at 12:20, Mika Nystrom wrote: >>>> >>>>> Tony (and others): >>>>> >>>>> I take it part of the problem I'm having is that I'm running a >>>>> very >>>>> out >>>>> of date RC package on my FreeBSD7? >>>>> >>>>> Should I cvs update to something else to try? Note that what's in >>>>> the "normal" >>>>> CVS head didn't even compile when I tried it---see an earlier >>>>> email >>>>> from me. >>>>> How can I specify the proper tag to get on to the "release" branch >>>>> of the >>>>> tree, if that's what I'm supposed to do? >>>>> >>>>> Mika >>>>> >>>>> Tony Hosking writes: >>>>>> >>>>>> --Apple-Mail-36--459856549 >>>>>> Content-Type: text/plain; >>>>>> charset=US-ASCII; >>>>>> format=flowed; >>>>>> delsp=yes >>>>>> Content-Transfer-Encoding: 7bit >>>>>> >>>>>> Try regular gdb. >>>>>> Set a breakpoint at RTHooks__ReportFault. >>>>>> Then thread apply all bt. >>>>>> >>>>>> >>>>>> Antony Hosking | Associate Professor | Computer Science | Purdue >>>>>> University >>>>>> 305 N. University Street | West Lafayette | IN 47907 | USA >>>>>> Office +1 765 494 6001 | Mobile +1 765 427 5484 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 31 Oct 2009, at 16:06, Mika Nystrom wrote: >>>>>> >>>>>>> With the RC m3gdb it either segfaults gdb or: >>>>>>> >>>>>>> (m3gdb) threads >>>>>>> Can't find Modula-3 identifier: ThreadPosix >>>>>>> (m3gdb) threads all >>>>>>> Can't find Modula-3 identifier: ThreadPosix >>>>>>> (m3gdb) threads all bt >>>>>>> Can't find Modula-3 identifier: ThreadPosix >>>>>>> (m3gdb) >>>>>>> >>>>>>> Tony Hosking writes: >>>>>>>> >>>>>>>> --Apple-Mail-33--461716527 >>>>>>>> Content-Type: text/plain; >>>>>>>> charset=US-ASCII; >>>>>>>> format=flowed; >>>>>>>> delsp=yes >>>>>>>> Content-Transfer-Encoding: 7bit >>>>>>>> >>>>>>>> threads all bt >>>>>>>> >>>>>>>> should give a backtrace of all threads. >>>>>>>> >>>>>> >>>>>> >>>>>> --Apple-Mail-36--459856549 >>>>>> Content-Type: text/html; >>>>>> charset=US-ASCII >>>>>> Content-Transfer-Encoding: quoted-printable >>>>>> >>>>>> >>>>> space; = >>>>>> -webkit-line-break: after-white-space; ">Try regular gdb.
Set >>>>>> a = >>>>>> breakpoint at RTHooks__ReportFault.
Then thread apply >>>>>> all = >>>>>> bt.


>>>>> style- >>>>>> span" = >>>>>> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font- >>>>>> family: = >>>>>> Helvetica; font-size: 12px; font-style: normal; font-variant: >>>>>> normal; = >>>>>> font-weight: normal; letter-spacing: normal; line-height: >>>>>> normal; = >>>>>> orphans: 2; text-align: auto; text-indent: 0px; text-transform: >>>>>> none; = >>>>>> white-space: normal; widows: 2; word-spacing: 0px; = >>>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>>> spacing: = >>>>>> 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size- >>>>>> adjust: = >>>>>> auto; -webkit-text-stroke-width: 0; ">
>>>>> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >>>>>> after-white-space; ">>>>>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>>>>> spacing: = >>>>>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>>>>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>>>>> font-variant: normal; font-weight: normal; letter-spacing: >>>>>> normal; = >>>>>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>>>>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>>>>> none; = >>>>>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>>>>> ">
>>>>> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >>>>>> -webkit-line-break: after-white-space; ">>>>>> style- >>>>>> span" = >>>>>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>>>>> spacing: = >>>>>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>>>>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>>>>> font-variant: normal; font-weight: normal; letter-spacing: >>>>>> normal; = >>>>>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>>>>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>>>>> none; = >>>>>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>>>>> ">>>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>>> spacing: = >>>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>>> 12px; = >>>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>>> letter-spacing: normal; line-height: normal; = >>>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: >>>>>> 2; = >>>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>>> spacing: = >>>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>>> 12px; = >>>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>>> letter-spacing: normal; line-height: normal; = >>>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: >>>>>> 2; = >>>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>>> spacing: = >>>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>>> 12px; = >>>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>>> letter-spacing: normal; line-height: normal; = >>>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: >>>>>> 2; = >>>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>>> spacing: = >>>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>>> 12px; = >>>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>>> letter-spacing: normal; line-height: normal; = >>>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: >>>>>> 2; = >>>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>>> spacing: = >>>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>>> 12px; = >>>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>>> letter-spacing: normal; line-height: normal; = >>>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: >>>>>> 2; = >>>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>>> spacing: = >>>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>>> 12px; = >>>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>>> letter-spacing: normal; line-height: normal; = >>>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: >>>>>> 2; = >>>>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>>>> spacing: = >>>>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>>>> 12px; = >>>>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>>>> letter-spacing: normal; line-height: normal; = >>>>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: >>>>>> 2; = >>>>>> white-space: normal; widows: 2; word-spacing: 0px; ">
>>>>> class=3D"Apple-style-span" color=3D"#0000FF">>>>>> class=3D"Apple-style-span" face=3D"Gill Sans">>>>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>>>> family: = >>>>>> 'Gill Sans'; ">>>>>> rgb(0, = >>>>>> 0, 255); font-family: 'Gill Sans'; ">Antony = >>>>>> Hosking>>>>> span" = >>>>>> face=3D"Gill Sans">>>>>> style=3D"font- >>>>>> family: = >>>>>> 'Gill Sans'; ">>>>>> family: = >>>>>> 'Gill Sans'; "> >>>>> span>| >>>>>> >>>>> class=3D"Apple-converted-space"> >>>>> span>>>>>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; >>>>>> ">>>>>> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >>>>>> ">Associate Professor>>>>> span" = >>>>>> style=3D"font-family: 'Gill Sans'; ">>>>>> span" = >>>>>> style=3D"font-family: 'Gill Sans'; "> | Computer Science | >>>>>> Purdue = >>>>>> University
>>>>> style-span"= >>>>>> face=3D"GillSans-Light">>>>>> style=3D"font-family: GillSans-Light; ">305 N. University >>>>>> Street | >>>>>> West = >>>>>> Lafayette | IN 47907 | USA
>>>>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>>>>> Sans">>>>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>>>> family: = >>>>>> 'Gill Sans'; ">>>>>> rgb(0, = >>>>>> 0, 255); font-family: 'Gill Sans'; ">Office>>>>> font>>>>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>>>> ">>>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans- >>>>>> Light; = >>>>>> "> +1 765 494 6001 |>>>>> class=3D"Apple-converted-space"> >>>>> font>>>>>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >>>>>> Sans">>>>>> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >>>>>> family: = >>>>>> 'Gill Sans'; ">>>>>> rgb(0, = >>>>>> 0, 255); font-family: 'Gill Sans'; ">Mobile>>>>> font>>>>>> class=3D"Apple-style-span" face=3D"GillSans-Light">>>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>>>> ">>>>>> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >>>>>> ">>>>>> class=3D"Apple-converted-space"> +1 765 427 = >>>>>> 5484
>>>>> span" = >>>>>> face=3D"GillSans-Light">
>>>>> class=3D"khtml-block-placeholder">
>>>>> span>>>>>>>

>>>>> class=3D"Apple-interchange-newline">
>>>>> span>
>>>>> class=3D"Apple-interchange-newline">

On 31 >>>>>> Oct >>>>>> 2009, = >>>>>> at 16:06, Mika Nystrom wrote:

>>>>> class=3D"Apple-interchange-newline">
>>>>> type=3D"cite">
With = >>>>>> the RC m3gdb it either segfaults gdb or:

(m3gdb) >>>>>> threads
Can't = >>>>>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads >>>>>> all
Can't = >>>>>> find Modula-3 identifier: ThreadPosix
(m3gdb) threads all bt = >>>>>>
Can't find Modula-3 identifier: ThreadPosix
(m3gdb) >>>>>>

Tony = >>>>>> Hosking writes:

>>>>> blockquote>
>>>>> type=3D"cite">--Apple-Mail-33--461716527
>>>>> blockquote>
>>>>> type=3D"cite">Content-Type: text/plain;
>>>>> blockquote>
>>>>> type=3D"cite">>>>>> space:pre"> = >>>>>> charset=3DUS-ASCII;
>>>>> type=3D"cite">>>>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>>>> format=3Dflowed;
>>>>> type=3D"cite">>>>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>>>> delsp=3Dyes
>>>>> type=3D"cite">Content-Transfer-Encoding: = >>>>>> 7bit
>>>>> type=3D"cite">
threads >>>>>> all = >>>>>> bt

>>>>> blockquote>
>>>>> type=3D"cite">should give a backtrace of all = >>>>>> threads.
>>>>> type=3D"cite">

>>>>> div>>>>>> body><= >>>>>> /html>= >>>>>> >>>>>> --Apple-Mail-36--459856549-- >>>> >>>> >>>> --Apple-Mail-62--295019692 >>>> Content-Type: text/html; >>>> charset=US-ASCII >>>> Content-Transfer-Encoding: quoted-printable >>>> >>>> >>> space; = >>>> -webkit-line-break: after-white-space; ">Possibly.  Though it >>>> may = >>>> be more than that.  I've not tested on FreeBSD7 = >>>> before.
>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; >>>> color: = >>>> rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font- >>>> style: = >>>> normal; font-variant: normal; font-weight: normal; letter- >>>> spacing: = >>>> normal; line-height: normal; orphans: 2; text-align: auto; text- >>>> indent: = >>>> 0px; text-transform: none; white-space: normal; widows: 2; word- >>>> spacing: = >>>> 0px; -webkit-border-horizontal-spacing: 0px; = >>>> -webkit-border-vertical-spacing: 0px; = >>>> -webkit-text-decorations-in-effect: none; -webkit-text-size- >>>> adjust: = >>>> auto; -webkit-text-stroke-width: 0; ">
>>> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >>>> after-white-space; ">>>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>>> spacing: = >>>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>>> font-variant: normal; font-weight: normal; letter-spacing: >>>> normal; = >>>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>>> none; = >>>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>>> ">
>>> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >>>> -webkit-line-break: after-white-space; ">>>> style- >>>> span" = >>>> style=3D"border-collapse: separate; -webkit-border-horizontal- >>>> spacing: = >>>> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>>> font-family: Helvetica; font-size: 12px; font-style: normal; = >>>> font-variant: normal; font-weight: normal; letter-spacing: >>>> normal; = >>>> line-height: normal; -webkit-text-decorations-in-effect: none; = >>>> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >>>> none; = >>>> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >>>> ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">>>> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >>>> spacing: = >>>> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: >>>> 12px; = >>>> font-style: normal; font-variant: normal; font-weight: normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >>>> white-space: normal; widows: 2; word-spacing: 0px; ">
>>> class=3D"Apple-style-span" style=3D"font-size: medium;">>>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"'Gill = >>>> Sans'">
>>> span>>>> span><= >>>> /span>
On 2 Nov >>>> 2009, at = >>>> 12:20, Mika Nystrom wrote:

>>> class=3D"Apple-interchange-newline">
>>> type=3D"cite">
Tony = >>>> (and others):

I take it part of the problem I'm having is >>>> that = >>>> I'm running a very out
of date RC package on my = >>>> FreeBSD7?

Should I cvs update to something else to try? = >>>>  Note that what's in the "normal"
CVS head didn't even >>>> compile = >>>> when I tried it---see an earlier email from me.
How can I >>>> specify the = >>>> proper tag to get on to the "release" branch of the
tree, if >>>> that's = >>>> what I'm supposed to do?

>>>>    Mika

Tony = >>>> Hosking writes:

>>> blockquote>
>>> type=3D"cite">--Apple-Mail-36--459856549
>>> blockquote>
>>> type=3D"cite">Content-Type: text/plain;
>>> blockquote>
>>> type=3D"cite">>>> space:pre"> = >>>> charset=3DUS-ASCII;
>>> type=3D"cite">>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>> format=3Dflowed;
>>> type=3D"cite">>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>> delsp=3Dyes
>>> type=3D"cite">Content-Transfer-Encoding: = >>>> 7bit
>>> type=3D"cite">
Try >>>> regular = >>>> gdb.
Set a breakpoint >>>> at = >>>> RTHooks__ReportFault.
>>> type=3D"cite">Then = >>>> thread apply all bt.
>>> type=3D"cite">
>>> type=3D"cite">
Antony >>>> Hosking = >>>> | Associate Professor | Computer Science | Purdue = >>>>  
>>> type=3D"cite">University
>>> type=3D"cite">305 = >>>> N. University Street | West Lafayette | IN 47907 | = >>>> USA
Office +1 765 494 >>>> 6001 | = >>>> Mobile +1 765 427 5484
>>> type=3D"cite">
>>> type=3D"cite">
>>> type=3D"cite">
>>> type=3D"cite">
On 31 Oct >>>> 2009, = >>>> at 16:06, Mika Nystrom wrote:
>>> type=3D"cite">
>>> type=3D"cite">
>>> type=3D"cite">With the RC m3gdb it either segfaults gdb = >>>> or:
>>> type=3D"cite">
>>> type=3D"cite">
>>> type=3D"cite">
(m3gdb) = >>>> threads
>>> type=3D"cite">>>> type=3D"cite">Can't find Modula-3 identifier: = >>>> ThreadPosix
>>> type=3D"cite">
(m3gdb) threads = >>>> all
>>> type=3D"cite">
>>> type=3D"cite">Can't find Modula-3 identifier: = >>>> ThreadPosix
>>> type=3D"cite">
(m3gdb) threads all = >>>> bt
>>> type=3D"cite">
>>> type=3D"cite">Can't find Modula-3 identifier: = >>>> ThreadPosix
>>> type=3D"cite">
>>> type=3D"cite">(m3gdb)
>>> type=3D"cite">
>>> type=3D"cite">
>>> type=3D"cite">
Tony Hosking = >>>> writes:
>>> type=3D"cite">>>> type=3D"cite">
>>> type=3D"cite">
>>> blockquote>
>>> type=3D"cite">
>>> type=3D"cite">--Apple-Mail-33--461716527
>>> blockquote>>>> ockquote>
>>> type=3D"cite">
>>> type=3D"cite">Content-Type: = >>>> text/plain;
>>> type=3D"cite">
>>> type=3D"cite">>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>> charset=3DUS-ASCII;
>>> blockquote>>>> kquote type=3D"cite">
>>> type=3D"cite">>>> space:pre"> = >>>> format=3Dflowed;
>>> blockquote>>>> ote type=3D"cite">
>>> type=3D"cite">>>> space:pre"> = >>>> delsp=3Dyes
>>> blockquote>
>>> type=3D"cite">
>>> type=3D"cite">Content-Transfer-Encoding: = >>>> 7bit
>>> type=3D"cite">
>>> type=3D"cite">
>>> blockquote>
>>> type=3D"cite">
>>> type=3D"cite">threads = >>>> all bt
>>> type=3D"cite">
>>> type=3D"cite">
>>> blockquote>
>>> type=3D"cite">
>>> type=3D"cite">should = >>>> give a backtrace of all = >>>> threads.
>>> type=3D"cite">
>>> type=3D"cite">
>>> blockquote>
>>> type=3D"cite">
>>> type=3D"cite">
>>> type=3D"cite">--Apple-Mail-36--459856549
>>> blockquote>
>>> type=3D"cite">Content-Type: text/html;
>>> blockquote>
>>> type=3D"cite">>>> space:pre"> = >>>> charset=3DUS-ASCII
>>> type=3D"cite">Content-Transfer-Encoding: = >>>> quoted-printable
>>> type=3D"cite">
>>> type=3D"cite"><html><body style=3D3D"word-wrap: break- >>>> word; = >>>> -webkit-nbsp-mode: space; =3D
>>> type=3D"cite">-webkit-line-break: after-white-space; ">Try >>>> regular = >>>> gdb.<div>Set a =3D
>>> type=3D"cite">breakpoint at = >>>> RTHooks__ReportFault.</div><div>Then thread apply all = >>>> =3D
>>> type=3D"cite">bt.</div><div><br></ >>>> div><div>&= >>>> lt;br><div> <span class=3D3D"Apple-style-span" = >>>> =3D
style=3D3D"border- >>>> collapse: = >>>> separate; color: rgb(0, 0, 0); font-family: = >>>> =3D
Helvetica; font- >>>> size: = >>>> 12px; font-style: normal; font-variant: normal; = >>>> =3D
font-weight: >>>> normal; = >>>> letter-spacing: normal; line-height: normal; = >>>> =3D
orphans: 2; text- >>>> align: = >>>> auto; text-indent: 0px; text-transform: none; = >>>> =3D
white-space: >>>> normal; = >>>> widows: 2; word-spacing: 0px; =3D
>>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>>> -webkit-border-vertical-spacing: =3D
>>> type=3D"cite">0px; -webkit-text-decorations-in-effect: none; = >>>> -webkit-text-size-adjust: =3D
>>> type=3D"cite">auto; -webkit-text-stroke-width: 0; "><div = >>>> style=3D3D"word-wrap: =3D
>>> type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line- >>>> break: = >>>> =3D
after-white-space; = >>>> "><span class=3D3D"Apple-style-span" =3D
>>> blockquote>>>> type=3D"cite">style=3D3D"border-collapse: separate; = >>>> -webkit-border-horizontal-spacing: =3D
>>> blockquote>
>>> type=3D"cite">0px; -webkit-border-vertical-spacing: 0px; color: >>>> rgb(0, = >>>> 0, 0); =3D
font-family: = >>>> Helvetica; font-size: 12px; font-style: normal; = >>>> =3D
font-variant: >>>> normal; = >>>> font-weight: normal; letter-spacing: normal; = >>>> =3D
line-height: >>>> normal; = >>>> -webkit-text-decorations-in-effect: none; =3D
>>> blockquote>
>>> type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >>>> text-transform: none; =3D
>>> type=3D"cite">orphans: 2; white-space: normal; widows: 2; word- >>>> spacing: = >>>> 0px; "><div =3D
>>> type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp- >>>> mode: = >>>> space; =3D
-webkit-line- >>>> break: = >>>> after-white-space; "><span class=3D3D"Apple-style-span" = >>>> =3D
style=3D3D"border- >>>> collapse: = >>>> separate; -webkit-border-horizontal-spacing: = >>>> =3D
0px; = >>>> -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >>>> =3D
font-family: >>>> Helvetica; = >>>> font-size: 12px; font-style: normal; =3D
>>> blockquote>
>>> type=3D"cite">font-variant: normal; font-weight: normal; letter- >>>> spacing: = >>>> normal; =3D
line- >>>> height: = >>>> normal; -webkit-text-decorations-in-effect: none; = >>>> =3D
text-indent: 0px; = >>>> -webkit-text-size-adjust: auto; text-transform: none; = >>>> =3D
orphans: 2; white- >>>> space: = >>>> normal; widows: 2; word-spacing: 0px; "><span = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> style=3D3D"border-collapse: separate; =3D
>>> blockquote>
>>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>>> -webkit-border-vertical-spacing: =3D
>>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>>> font-size: 12px; =3D
>>> type=3D"cite">font- >>>> style:= >>>> normal; font-variant: normal; font-weight: normal; = >>>> =3D
letter-spacing: >>>> normal; = >>>> line-height: normal; =3D
>>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>>> indent: = >>>> 0px; =3D
>>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: >>>> none; = >>>> orphans: 2; =3D
white- >>>> space: = >>>> normal; widows: 2; word-spacing: 0px; "><span = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> style=3D3D"border-collapse: separate; =3D
>>> blockquote>
>>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>>> -webkit-border-vertical-spacing: =3D
>>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>>> font-size: 12px; =3D
>>> type=3D"cite">font- >>>> style:= >>>> normal; font-variant: normal; font-weight: normal; = >>>> =3D
letter-spacing: >>>> normal; = >>>> line-height: normal; =3D
>>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>>> indent: = >>>> 0px; =3D
>>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: >>>> none; = >>>> orphans: 2; =3D
white- >>>> space: = >>>> normal; widows: 2; word-spacing: 0px; "><span = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> style=3D3D"border-collapse: separate; =3D
>>> blockquote>
>>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>>> -webkit-border-vertical-spacing: =3D
>>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>>> font-size: 12px; =3D
>>> type=3D"cite">font- >>>> style:= >>>> normal; font-variant: normal; font-weight: normal; = >>>> =3D
letter-spacing: >>>> normal; = >>>> line-height: normal; =3D
>>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>>> indent: = >>>> 0px; =3D
>>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: >>>> none; = >>>> orphans: 2; =3D
white- >>>> space: = >>>> normal; widows: 2; word-spacing: 0px; "><span = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> style=3D3D"border-collapse: separate; =3D
>>> blockquote>
>>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>>> -webkit-border-vertical-spacing: =3D
>>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>>> font-size: 12px; =3D
>>> type=3D"cite">font- >>>> style:= >>>> normal; font-variant: normal; font-weight: normal; = >>>> =3D
letter-spacing: >>>> normal; = >>>> line-height: normal; =3D
>>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>>> indent: = >>>> 0px; =3D
>>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: >>>> none; = >>>> orphans: 2; =3D
white- >>>> space: = >>>> normal; widows: 2; word-spacing: 0px; "><span = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> style=3D3D"border-collapse: separate; =3D
>>> blockquote>
>>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>>> -webkit-border-vertical-spacing: =3D
>>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>>> font-size: 12px; =3D
>>> type=3D"cite">font- >>>> style:= >>>> normal; font-variant: normal; font-weight: normal; = >>>> =3D
letter-spacing: >>>> normal; = >>>> line-height: normal; =3D
>>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>>> indent: = >>>> 0px; =3D
>>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: >>>> none; = >>>> orphans: 2; =3D
white- >>>> space: = >>>> normal; widows: 2; word-spacing: 0px; "><span = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> style=3D3D"border-collapse: separate; =3D
>>> blockquote>
>>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>>> -webkit-border-vertical-spacing: =3D
>>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>>> font-size: 12px; =3D
>>> type=3D"cite">font- >>>> style:= >>>> normal; font-variant: normal; font-weight: normal; = >>>> =3D
letter-spacing: >>>> normal; = >>>> line-height: normal; =3D
>>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>>> indent: = >>>> 0px; =3D
>>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: >>>> none; = >>>> orphans: 2; =3D
white- >>>> space: = >>>> normal; widows: 2; word-spacing: 0px; "><span = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> style=3D3D"border-collapse: separate; =3D
>>> blockquote>
>>> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >>>> -webkit-border-vertical-spacing: =3D
>>> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >>>> font-size: 12px; =3D
>>> type=3D"cite">font- >>>> style:= >>>> normal; font-variant: normal; font-weight: normal; = >>>> =3D
letter-spacing: >>>> normal; = >>>> line-height: normal; =3D
>>> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >>>> indent: = >>>> 0px; =3D
>>> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: >>>> none; = >>>> orphans: 2; =3D
white- >>>> space: = >>>> normal; widows: 2; word-spacing: 0px; "><div><font = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> color=3D3D"#0000FF"><font =3D
>>> type=3D"cite">class=3D3D"Apple-style-span" face=3D3D"Gill = >>>> Sans"><span =3D
>>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, >>>> 0, = >>>> 255); font-family: =3D
>>> type=3D"cite">'Gill = >>>> Sans'; "><span class=3D3D"Apple-style-span" >>>> style=3D3D"color: = >>>> rgb(0, =3D
0, 255); = >>>> font-family: 'Gill Sans'; ">Antony =3D
>>> blockquote>
>>> type=3D"cite">Hosking</span></span></font></ >>>> font>&= >>>> lt;font class=3D3D"Apple-style-span" =3D
>>> blockquote>
>>> type=3D"cite">face=3D3D"Gill Sans"><span = >>>> class=3D3D"Apple-style-span" style=3D3D"font-family: = >>>> =3D
'Gill Sans'; >>>> "><span = >>>> class=3D3D"Apple-style-span" style=3D3D"font-family: = >>>> =3D
'Gill Sans'; >>>> "><span = >>>> class=3D3D"Apple-converted-space">&nbsp;</span>| >>>> <span = >>>> =3D
>>> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >>>> span>= >>>> </span></span><span =3D
>>> blockquote>
>>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: >>>> 'Gill = >>>> Sans'; "><span =3D
>>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: >>>> 'Gill = >>>> Sans'; =3D
>>> type=3D"cite">">Associate = >>>> Professor</span></span><span class=3D3D"Apple-style- >>>> span" = >>>> =3D
style=3D3D"font- >>>> family: = >>>> 'Gill Sans'; "><span class=3D3D"Apple-style-span" = >>>> =3D
style=3D3D"font- >>>> family: = >>>> 'Gill Sans'; ">&nbsp;| Computer Science | Purdue = >>>> =3D
>>> type=3D"cite">University</span></span></ >>>> font></ >>>> div>= >>>> ;<div><font = >>>> class=3D3D"Apple-style-span"=3D
>>> type=3D"cite">face=3D3D"GillSans-Light"><span = >>>> class=3D3D"Apple-style-span" =3D
>>> type=3D"cite">style=3D3D"font-family: GillSans-Light; ">305 N. = >>>> University Street | West =3D
>>> type=3D"cite">Lafayette | IN 47907 | = >>>> USA</span></font></div><div><font = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> style=3D3D"color: rgb(0, 0, 255); font-family: = >>>> =3D
'Gill Sans'; >>>> "><span = >>>> class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >>>> =3D
0, 255); font- >>>> family: = >>>> 'Gill Sans'; ">Office</span></span></ >>>> font><font = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> face=3D3D"GillSans-Light"><span =3D
>>> blockquote>
>>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font- >>>> family: = >>>> GillSans-Light; "><span =3D
>>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font- >>>> family: = >>>> GillSans-Light; =3D
>>> type=3D"cite">">&nbsp;+1 765 494 6001 |<span = >>>> =3D
>>> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >>>> span>= >>>> </span></span></font><font = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> color=3D3D"#0000FF" face=3D3D"Gill Sans"><span = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> style=3D3D"color: rgb(0, 0, 255); font-family: = >>>> =3D
'Gill Sans'; >>>> "><span = >>>> class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, = >>>> =3D
0, 255); font- >>>> family: = >>>> 'Gill Sans'; ">Mobile</span></span></ >>>> font><font = >>>> =3D
class=3D3D"Apple- >>>> style-span"= >>>> face=3D3D"GillSans-Light"><span =3D
>>> blockquote>
>>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font- >>>> family: = >>>> GillSans-Light; "><span =3D
>>> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font- >>>> family: = >>>> GillSans-Light; "><span =3D
>>> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >>>> span>= >>>> +1 765 427 =3D
>>> type=3D"cite">5484</span></span></font></ >>>> div><d= >>>> iv><font class=3D3D"Apple-style-span" = >>>> =3D
>>> type=3D"cite">face=3D3D"GillSans-Light"><br = >>>> =3D
>>> type=3D"cite">class=3D3D"khtml-block-placeholder"></ >>>> font></div= >>>> ></span></span></span></span=3D
>>> blockquote>>>> lockquote type=3D"cite">
>>> type=3D"cite"></span></span></span><br = >>>> =3D
>>> type=3D"cite">class=3D3D"Apple-interchange-newline"></ >>>> span></d= >>>> iv></span></div></span><br = >>>> =3D
>>> type=3D"cite">class=3D3D"Apple-interchange-newline"> = >>>> </div><br><div><div>On 31 Oct 2009, = >>>> =3D
at 16:06, Mika >>>> Nystrom = >>>> wrote:</div><br =3D
>>> type=3D"cite">class=3D3D"Apple-interchange- >>>> newline"><blockquote = >>>> type=3D3D"cite"><div>With =3D
>>> blockquote>
>>> type=3D"cite">the RC m3gdb it either segfaults gdb = >>>> or:<br><br>(m3gdb) threads<br>Can't = >>>> =3D
find Modula-3 >>>> identifier: = >>>> ThreadPosix<br>(m3gdb) threads all<br>Can't = >>>> =3D
find Modula-3 >>>> identifier: = >>>> ThreadPosix<br>(m3gdb) threads all bt = >>>> =3D
<br>Can't >>>> find = >>>> Modula-3 identifier: ThreadPosix<br>(m3gdb) = >>>> <br><br>Tony =3D
>>> type=3D"cite">Hosking writes:<br><blockquote = >>>> type=3D3D"cite"><br></blockquote><blockquote = >>>> =3D
>>> type=3D"cite">type=3D3D"cite">--Apple- >>>> Mail-33--461716527<br></= >>>> blockquote><blockquote =3D
>>> type=3D"cite">type=3D3D"cite">Content-Type: = >>>> text/plain;<br></blockquote><blockquote = >>>> =3D
>>> type=3D"cite">type=3D3D"cite"><span = >>>> class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">>>> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >>>> =3D
>>> type=3D"cite"></span>charset=3D3DUS-ASCII;<br></ >>>> blockquote&= >>>> gt;<blockquote type=3D3D"cite"><span=3D
>>> blockquote>>>> te type=3D"cite">class=3D3D"Apple-tab-span" = >>>> style=3D3D"white-space:pre">>>> style=3D"white-space:pre"> =3D
>>> type=3D"cite"></span>format=3D3Dflowed;<br></ >>>> blockquote>= >>>> <blockquote type=3D3D"cite"><span =3D
>>> blockquote>>>> type=3D"cite">class=3D3D"Apple-tab-span" = >>>> style=3D3D"white-space:pre">>>> style=3D"white-space:pre"> =3D
>>> type=3D"cite"></span>delsp=3D3Dyes<br></ >>>> blockquote><b= >>>> lockquote =3D
>>> type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >>>> =3D
>>> type=3D"cite">7bit<br></blockquote><blockquote = >>>> =3D
>>> type=3D"cite">type=3D3D"cite"><br></ >>>> blockquote><blockquo= >>>> te type=3D3D"cite">threads all =3D
>>> type=3D"cite">bt<br></blockquote><blockquote = >>>> type=3D3D"cite"><br></blockquote><blockquote = >>>> =3D
>>> type=3D"cite">type=3D3D"cite">should = >>>> give a backtrace of all =3D
>>> type=3D"cite">threads.<br></blockquote><blockquote = >>>> =3D
>>> type=3D"cite">type=3D3D"cite"><br></blockquote></ >>>> div>= >>>> </blockquote></div><br></div></ >>>> body><=3D<= >>>> br>
>>> type=3D"cite">/html>=3D
>>> type=3D"cite">
>>> type=3D"cite">--Apple-Mail-36--459856549--
>>> blockqu= >>>> ote>

= >>>> >>>> --Apple-Mail-62--295019692-- >> >> >> --Apple-Mail-121--89103770 >> Content-Type: text/html; >> charset=US-ASCII >> Content-Transfer-Encoding: quoted-printable >> >> > space; = >> -webkit-line-break: after-white-space; ">Can you get this to break >> at = >> the first fault:

break = >> RTHooks__ReportFault

And = >> then:

p = >> ThreadPThread__DumpThreads()

Clearly >> somethings = >> is *very* broken.  How can we be processing a thread that is >> not = >> stopped when we should have stopped them all.

>> > class=3D"Apple-style-span" style=3D"border-collapse: separate; >> color: = >> rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = >> normal; font-variant: normal; font-weight: normal; letter-spacing: = >> normal; line-height: normal; orphans: 2; text-align: auto; text- >> indent: = >> 0px; text-transform: none; white-space: normal; widows: 2; word- >> spacing: = >> 0px; -webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: 0px; = >> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = >> auto; -webkit-text-stroke-width: 0; ">
> break-word; -webkit-nbsp-mode: space; -webkit-line-break: = >> after-white-space; ">> style=3D"border-collapse: separate; -webkit-border-horizontal- >> spacing: = >> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >> font-family: Helvetica; font-size: 12px; font-style: normal; = >> font-variant: normal; font-weight: normal; letter-spacing: normal; = >> line-height: normal; -webkit-text-decorations-in-effect: none; = >> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >> none; = >> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >> ">
> style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = >> -webkit-line-break: after-white-space; ">> span" = >> style=3D"border-collapse: separate; -webkit-border-horizontal- >> spacing: = >> 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >> font-family: Helvetica; font-size: 12px; font-style: normal; = >> font-variant: normal; font-weight: normal; letter-spacing: normal; = >> line-height: normal; -webkit-text-decorations-in-effect: none; = >> text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: >> none; = >> orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; >> ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">> class=3D"Apple-style-span" style=3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical- >> spacing: = >> 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> font-style: normal; font-variant: normal; font-weight: normal; = >> letter-spacing: normal; line-height: normal; = >> -webkit-text-decorations-in-effect: none; text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; = >> white-space: normal; widows: 2; word-spacing: 0px; ">
> class=3D"Apple-style-span" color=3D"#0000FF">> class=3D"Apple-style-span" face=3D"Gill Sans">> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >> family: = >> 'Gill Sans'; ">> rgb(0, = >> 0, 255); font-family: 'Gill Sans'; ">Antony = >> Hosking> face=3D"Gill Sans">> family: = >> 'Gill Sans'; ">> family: = >> 'Gill Sans'; "> | >> > class=3D"Apple-converted-space"> > class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; >> ">> class=3D"Apple-style-span" style=3D"font-family: 'Gill Sans'; = >> ">Associate Professor> style=3D"font-family: 'Gill Sans'; ">> span" = >> style=3D"font-family: 'Gill Sans'; "> | Computer Science | >> Purdue = >> University
> style-span"= >> face=3D"GillSans-Light">> style=3D"font-family: GillSans-Light; ">305 N. University Street | >> West = >> Lafayette | IN 47907 | USA
> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >> Sans">> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >> family: = >> 'Gill Sans'; ">> rgb(0, = >> 0, 255); font-family: 'Gill Sans'; ">Office> font>> class=3D"Apple-style-span" face=3D"GillSans-Light">> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >> ">> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; = >> "> +1 765 494 6001 |> class=3D"Apple-converted-space"> > font>> class=3D"Apple-style-span" color=3D"#0000FF" face=3D"Gill >> Sans">> class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 255); font- >> family: = >> 'Gill Sans'; ">> rgb(0, = >> 0, 255); font-family: 'Gill Sans'; ">Mobile> font>> class=3D"Apple-style-span" face=3D"GillSans-Light">> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >> ">> class=3D"Apple-style-span" style=3D"font-family: GillSans-Light; >> ">> class=3D"Apple-converted-space"> +1 765 427 = >> 5484
> span" = >> face=3D"GillSans-Light">
> class=3D"khtml-block-placeholder">
> span>>>

> class=3D"Apple-interchange-newline">
> span>
> class=3D"Apple-interchange-newline">

On 4 Nov >> 2009, = >> at 19:57, Mika Nystrom wrote:

> class=3D"Apple-interchange-newline">
> type=3D"cite">
Hi = >> Tony and others,

I tested with the head now (it looks a bit >> more = >> organized than a week
ago), and I get the same problems.  A = >> "double assert failure".

By the way I am noticing that the = >> program is quite slow.  It could be
that I'm accessing data >> over = >> NFS, possibly... not sure I've done a fair
back-to-back >> comparison. = >>  (My benchmark is, as always, an ancient PM3 on
"FreeBSD4" = >> i386.)


***
*** runtime error:
*** = >>    <*ASSERT*> failed.
*** >>    file = >> "../src/thread/PTHREAD/ThreadPThread.m3", line = >> 967
***



***
*** runtime error:
*** = >>    <*ASSERT*> failed.
*** >>    file = >> "../src/runtime/common/RTCollector.m3", line = >> 690
***


Program received signal SIGABRT, = >> Aborted.
0x0000000804c95a9c in thr_kill () from = >> /lib/libc.so.7
(m3gdb)

The problem seems a bit different >> from = >> before, however:

Program received signal SIGABRT, = >> Aborted.
0x0000000804c95a9c in thr_kill () from = >> /lib/libc.so.7
(m3gdb) where
#0  0x0000000804c95a9c in = >> thr_kill () from /lib/libc.so.7
#1  0x0000000804d24f8b in >> abort = >> () from /lib/libc.so.7
#2  0x000000080376e3cf in Crash () >> at = >> ../src/runtime/POSIX/RTOS.m3:20
#3  0x0000000803761f05 in >> Crash = >> (msg=3DInvalid C/C++ type code 26 in symbol table.
) at = >> ../src/runtime/common/RTProcess.m3:65
#4   >> 0x000000080375f3a2 in = >> EndError (crash=3DInvalid C/C++ type code 36 in symbol table.
) >> at = >> ../src/runtime/common/RTError.m3:118
#5  0x000000080375f09a >> in = >> MsgS (file=3DInvalid C/C++ type code 35 in symbol table.
) at = >> ../src/runtime/common/RTError.m3:40
#6  0x000000080375f875 >> in = >> Crash (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >> ../src/runtime/common/RTException.m3:79
#7   >> 0x000000080375f52c = >> in DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol >> table.
) = >> at ../src/runtime/common/RTException.m3:39
#8 = >>  0x000000080375f45e in InvokeBackstop (a=3DInvalid C/C++ type >> code = >> 30 in symbol table.
) at = >> ../src/runtime/common/RTException.m3:25
#9   >> 0x000000080376ee93 = >> in Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >> ../src/runtime/ex_frame/RTExFrame.m3:29
#10 0x000000080375f5de >> in = >> DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol >> table.
) at = >> ../src/runtime/common/RTException.m3:47
#11 0x000000080375f45e >> in = >> InvokeBackstop (a=3DInvalid C/C++ type code 30 in symbol >> table.
) at = >> ../src/runtime/common/RTException.m3:25
#12 0x000000080376ee93 >> in = >> Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >> ../src/runtime/ex_frame/RTExFrame.m3:29
#13 0x0000000803746f81 >> in = >> ReportFault (module=3DInvalid C/C++ type code 35 in symbol >> table.
) = >> at ../src/runtime/common/RTHooks.m3:110
#14 0x000000080375c91c >> in = >> _m3_fault (arg=3DInvalid C/C++ type code 39 in symbol >> table.
)
= >>   from = >> /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5
#15 = >> 0x0000000803752466 in CollectorOn () at = >> ../src/runtime/common/RTCollector.m3:690
#16 0x0000000803759597 >> in = >> CheckLoadTracedRef (ref=3DInvalid C/C++ type code 46 in symbol = >> table.
) at ../src/runtime/common/RTCollector.m3:2229
#17 = >> 0x00000008034e8db4 in ShutDown () at ../src/rw/Stdio.m3:43
#18 = >> 0x0000000803761e5c in InvokeExitors () at = >> ../src/runtime/common/RTProcess.m3:40
#19 0x0000000803761eee in >> Crash = >> (msg=3DInvalid C/C++ type code 26 in symbol table.
) at = >> ../src/runtime/common/RTProcess.m3:61
#20 0x000000080375f3a2 in = >> EndError (crash=3DInvalid C/C++ type code 36 in symbol table.
) >> at = >> ../src/runtime/common/RTError.m3:118
#21 0x000000080375f09a in >> MsgS = >> (file=3DInvalid C/C++ type code 35 in symbol table.
) at = >> ../src/runtime/common/RTError.m3:40
---Type <return> to = >> continue, or q <return> to quit---
#22 0x000000080375f875 >> in = >> Crash (a=3DInvalid C/C++ type code 30 in symbol table.
) at = >> ../src/runtime/common/RTException.m3:79
#23 0x000000080375f52c >> in = >> DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol >> table.
) at = >> ../src/runtime/common/RTException.m3:39
#24 0x000000080375f45e >> in = >> InvokeBackstop (a=3DInvalid C/C++ type code 30 in symbol >> table.
) at = >> ../src/runtime/common/RTException.m3:25
#25 0x000000080376ee93 >> in = >> Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >> ../src/runtime/ex_frame/RTExFrame.m3:29
#26 0x000000080375f5de >> in = >> DefaultBackstop (a=3DInvalid C/C++ type code 30 in symbol >> table.
) at = >> ../src/runtime/common/RTException.m3:47
#27 0x000000080375f45e >> in = >> InvokeBackstop (a=3DInvalid C/C++ type code 30 in symbol >> table.
) at = >> ../src/runtime/common/RTException.m3:25
#28 0x000000080376ee93 >> in = >> Raise (act=3DInvalid C/C++ type code 30 in symbol table.
) at = >> ../src/runtime/ex_frame/RTExFrame.m3:29
#29 0x0000000803746f81 >> in = >> ReportFault (module=3DInvalid C/C++ type code 35 in symbol >> table.
) = >> at ../src/runtime/common/RTHooks.m3:110
#30 0x00000008037761b1 >> in = >> _m3_fault (arg=3DInvalid C/C++ type code 39 in symbol >> table.
)
= >>   from = >> /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5
#31 = >> 0x0000000803774c6b in ProcessOther (act=3DInvalid C/C++ type code >> 29 in = >> symbol table.
) at ../src/thread/PTHREAD/ >> ThreadPThread.m3:967
#32 = >> 0x000000080377485b in ProcessStacks (p=3DInvalid C/C++ type code 31 >> in = >> symbol table.
) at ../src/thread/PTHREAD/ >> ThreadPThread.m3:888
#33 = >> 0x0000000803752d59 in CollectSomeInStateZero () at = >> ../src/runtime/common/RTCollector.m3:819
#34 0x00000008037526a0 >> in = >> CollectSome () at ../src/runtime/common/RTCollector.m3:719
#35 = >> 0x00000008037520a1 in CollectEnough () at = >> ../src/runtime/common/RTCollector.m3:653
#36 0x0000000803748f49 >> in = >> AllocTraced (dataSize=3DInvalid C/C++ type code 40 in symbol >> table.
) = >> at ../src/runtime/common/RTAllocator.m3:365
#37 >> 0x0000000803747f1c in = >> GetTracedObj (def=3DInvalid C/C++ type code 29 in symbol >> table.
) at = >> ../src/runtime/common/RTAllocator.m3:224
#38 0x0000000803747833 >> in = >> AllocateTracedObj (defn=3DInvalid C/C++ type code 35 in symbol = >> table.
) at ../src/runtime/common/RTAllocator.m3:120
#39 = >> 0x0000000800ad4207 in ParseRec (chars=3DInvalid C/C++ type code 30 >> in = >> symbol table.
) at ../src/TWSLogger.m3:127
#40 >> 0x0000000800ad4ce1 = >> in ReadRecord (h=3DInvalid C/C++ type code 35 in symbol table.
) >> at = >> ../src/TWSReplayer.m3:109
#41 0x0000000800ad65fb in = >> SearchBackwardForData (mu=3DInvalid C/C++ type code 26 in symbol = >> table.
) at ../src/TWSReplayer.m3:350
#42 0x0000000800ad6e8a >> in = >> ReqMktData (t=3DInvalid C/C++ type code 26 in symbol table.
) at = >> ../src/TWSReplayer.m3:396
#43 0x0000000800adae34 in MreqMktData = >> (t=3DInvalid C/C++ type code 26 in symbol table.
)
---Type = >> <return> to continue, or q <return> to quit---
= >>    at ../src/TWSReplayBridge.m3 =3D> = >> /home/mika/t/calarm/twslib/src/TWSBridge.mg:574
#44 = >> 0x000000000040748a in AddContract (tws=3DInvalid C/C++ type code 26 >> in = >> symbol table.
) at ../src/MktIsolator.m3:423
#45 = >> 0x00000000004086d8 in Init (t=3DInvalid C/C++ type code 26 in >> symbol = >> table.
) at ../src/MktIsolator.m3:517
#46 0x00000000004106af >> in = >> Main (mode=3DInvalid C/C++ type code 39 in symbol table.
) at = >> ../src/Main.m3:734
#47 0x000000080375e507 in RunMainBody >> (m=3DInvalid = >> C/C++ type code 29 in symbol table.
) at = >> ../src/runtime/common/RTLinker.m3:399
#48 0x000000080375d6ee in = >> AddUnitI (m=3DInvalid C/C++ type code 29 in symbol table.
) at = >> ../src/runtime/common/RTLinker.m3:113
#49 0x000000080375d78c in = >> AddUnit (b=3DInvalid C/C++ type code 31 in symbol table.
) at = >> ../src/runtime/common/RTLinker.m3:122
#50 0x0000000000404194 in >> main = >> (argc=3D45, argv=3D0x7fffffffddb0, envp=3D0x7fffffffdf20) at = >> _m3main.mc:4
#51 0x00000000004040de in _start ()
(m3gdb) up = >> 15
#15 0x0000000803752466 in CollectorOn () at = >> ../src/runtime/common/RTCollector.m3:690
690 = >>         <* ASSERT NOT = >> collectorOn *>
Current language:  auto; currently = >> Modula-3
(m3gdb) print collectorOn
$1 =3D TRUE
(m3gdb) = >>

Also, the other assertion:

PROCEDURE ProcessOther >> (act: = >> Activation;  p: PROCEDURE (start, stop: ADDRESS)) =3D
>>  (* = >> LL=3DactiveMu *)
 VAR sp: ADDRESS;
 BEGIN
= >>    <*ASSERT act.state =3D ActState.Stopped*> = >>  (* here! *)
   IF DEBUG THEN
= >>      RTIO.PutText("Processing act=3D"); = >> RTIO.PutAddr(act); RTIO.PutText("\n"); RTIO.Flush();
= >>    END;
   IF act.stackbase =3D >> NIL = >> THEN RETURN END;
= >>    RTHeapRep.FlushThreadState(act.heapState);
= >>    (* process registers explicitly *)
= >>    sp :=3D ProcessState(act.handle, act.sp, p);
= >>    (* or in my stack *)
   IF = >> stack_grows_down
     THEN p(sp, = >> act.stackbase);
     ELSE >> p(act.stackbase, = >> sp);
   END;
 END ProcessOther;

= >>     Mika

Tony Hosking >> writes:
> type=3D"cite">
> type=3D"cite">--Apple-Mail-62--295019692
> blockquote>
> type=3D"cite">Content-Type: text/plain;
> type=3D"cite">> space:pre"> = >> charset=3DUS-ASCII;
> type=3D"cite">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> format=3Dflowed;
> type=3D"cite">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> delsp=3Dyes
> type=3D"cite">Content-Transfer-Encoding: = >> 7bit
> type=3D"cite">
Possibly. = >>  Though it may be more than that.  I've not tested on = >>  
FreeBSD7 = >> before.
> type=3D"cite">
On 2 Nov >> 2009, = >> at 12:20, Mika Nystrom wrote:
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">Tony (and = >> others):
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">
I take it part of the >> problem = >> I'm having is that I'm running a very = >>  
> type=3D"cite">
> type=3D"cite">out
> type=3D"cite">
of date RC package on my = >> FreeBSD7?
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">
Should I cvs update to >> something = >> else to try?  Note that what's in = >>  
> type=3D"cite">
> type=3D"cite">the "normal"
> type=3D"cite">
CVS head didn't even >> compile = >> when I tried it---see an earlier email = >>  
> type=3D"cite">
> type=3D"cite">from me.
> type=3D"cite">
How can I specify the >> proper tag = >> to get on to the "release" branch = >>  
> type=3D"cite">
> type=3D"cite">of the
> type=3D"cite">
tree, if that's what I'm = >> supposed to do?
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">
= >>   Mika
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">
Tony Hosking = >> writes:
> type=3D"cite">> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">--Apple-Mail-36--459856549
> blockquote>> ockquote>
> type=3D"cite">
> type=3D"cite">Content-Type: = >> text/plain;
> type=3D"cite">
> type=3D"cite">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> charset=3DUS-ASCII;
> blockquote>> kquote type=3D"cite">
> type=3D"cite">> space:pre"> = >> format=3Dflowed;
> blockquote>> ote type=3D"cite">
> type=3D"cite">> space:pre"> = >> delsp=3Dyes
> blockquote>
> type=3D"cite">
> type=3D"cite">Content-Transfer-Encoding: = >> 7bit
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">Try = >> regular gdb.
> type=3D"cite">
> type=3D"cite">Set a = >> breakpoint at = >> RTHooks__ReportFault.
> blockquote>> e type=3D"cite">
> type=3D"cite">Then = >> thread apply all = >> bt.
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">Antony = >> Hosking | Associate Professor | Computer Science | = >> Purdue
> type=3D"cite">
> type=3D"cite">University
> blockquote>> uote type=3D"cite">
> type=3D"cite">305= >> N. University Street | West Lafayette | IN 47907 | = >> USA
> type=3D"cite">
> type=3D"cite">Office = >> +1 765 494 6001 | Mobile +1 765 427 = >> 5484
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">On 31 = >> Oct 2009, at 16:06, Mika Nystrom = >> wrote:
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">
With the RC m3gdb it either = >> segfaults gdb = >> or:
> blockquote>
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">
> blockquote>> ckquote type=3D"cite">
> type=3D"cite">
(m3gdb) = >> threads
> blockquote>> type=3D"cite">
> type=3D"cite">
Can't find Modula-3 >> identifier: = >> ThreadPosix
> blockquote>> uote type=3D"cite">
> type=3D"cite">
(m3gdb) threads = >> all
> blockquote>
> type=3D"cite">
> type=3D"cite">
Can't find Modula-3 >> identifier: = >> ThreadPosix
> blockquote>> uote type=3D"cite">
> type=3D"cite">
(m3gdb) threads all = >> bt
> blockquote>
> type=3D"cite">
> type=3D"cite">
Can't find Modula-3 >> identifier: = >> ThreadPosix
> blockquote>> uote type=3D"cite">
> type=3D"cite">
> type=3D"cite">(m3gdb)
> blockquo= >> te>
> type=3D"cite">
> type=3D"cite">
> blockquote>> ckquote type=3D"cite">
> type=3D"cite">
Tony Hosking = >> writes:
> blockquote>> type=3D"cite">
> type=3D"cite">
> type=3D"cite">
> blockquote>> ockquote>
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">--Apple-Mail-33--461716527
> blockquote>> ockquote>
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">
Content-Type: = >> text/plain;
> blockquote>> quote>
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> charset=3DUS-ASCII;
> blockquote>> ckquote>
> type=3D"cite">
> type=3D"cite">
> span" = >> style=3D"white-space:pre"> = >> format=3Dflowed;
> blockq= >> uote>
> type=3D"cite">
> type=3D"cite">
> span" = >> style=3D"white-space:pre"> = >> delsp=3Dyes
> blockquote>= >>
> type=3D"cite">
> type=3D"cite">
Content-Transfer-Encoding: = >> 7bit
> blockquote><= >> blockquote type=3D"cite">
> type=3D"cite">
> type=3D"cite">
> blockquote>> ockquote>
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">threads = >> all = >> bt
> blockquote>> ockquote type=3D"cite">
> type=3D"cite">
> type=3D"cite">
> blockquote>> ockquote>
> type=3D"cite">
> type=3D"cite">
> type=3D"cite">should = >> give a backtrace of all = >> threads.
> blockquo= >> te>
> type=3D"cite">
> type=3D"cite">
> blockquote>> ockquote>
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">--Apple-Mail-36--459856549
> blockquote>> ockquote>
> type=3D"cite">
> type=3D"cite">Content-Type: = >> text/html;
> type=3D"cite">
> type=3D"cite">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> charset=3DUS-ASCII
> blockquote>> quote type=3D"cite">
> type=3D"cite">Content-Transfer-Encoding: = >> quoted-printable
> blockquote>
> type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite"><html><body style=3D3D"word-wrap: break- >> word; = >> -webkit-nbsp-mode: = >>  
> type=3D"cite">
> type=3D"cite">space; = >> =3D
> type=3D"cite">
> type=3D"cite">-webkit-line-break: after-white-space; ">Try >> regular = >> gdb.<div>Set a = >> =3D
> type=3D"cite">
> type=3D"cite">breakpoint at = >> RTHooks__ReportFault.</div><div>Then thread apply all = >> =3D
> type=3D"cite">
> type=3D"cite">bt.</div><div><br></ >> div><div>&= >> lt;br><div> <span class=3D3D"Apple-style- = >>
> type=3D"cite">
> type=3D"cite">span" = >> =3D
> type=3D"cite">
> type=3D"cite">style=3D3D"border-collapse: separate; color: rgb(0, >> 0, 0); = >> font-
> type=3D"cite">
> type=3D"cite">family: = >> =3D
> type=3D"cite">
> type=3D"cite">Helvetica; font-size: 12px; font-style: normal; = >> font-variant: = >>  
> type=3D"cite">
> type=3D"cite">normal; = >> =3D
> type=3D"cite">
> type=3D"cite">font-weight: normal; letter-spacing: normal; line- >> height: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">orphans:= >> 2; text-align: auto; text-indent: 0px; text-transform: = >>  
> type=3D"cite">
> type=3D"cite">none; = >> =3D
> type=3D"cite">
> type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >> =3D
> type=3D"cite">
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical- = >>
> type=3D"cite">
> type=3D"cite">spacing:= >> =3D
> type=3D"cite">
> type=3D"cite">0px; = >> -webkit-text-decorations-in-effect: none; -webkit-text-size- = >>
> type=3D"cite">
> type=3D"cite">adjust: = >> =3D
> type=3D"cite">
> type=3D"cite">auto; = >> -webkit-text-stroke-width: 0; "><div style=3D3D"word-wrap: = >> =3D
> type=3D"cite">
> type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line- >> break: = >> =3D
> type=3D"cite">
> type=3D"cite">after-white-space; "><span = >> class=3D3D"Apple-style-span" = >> =3D
> type=3D"cite">
> type=3D"cite">style=3D3D"border-collapse: separate; = >> -webkit-border-horizontal- = >>
> type=3D"cite">
> type=3D"cite">spacing:= >> =3D
> type=3D"cite">
> type=3D"cite">0px; = >> -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >> =3D
> type=3D"cite">
> type=3D"cite">font-family: Helvetica; font-size: 12px; font-style: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">font-variant: normal; font-weight: normal; letter- >> spacing: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">line-height: normal; -webkit-text-decorations-in- >> effect: = >> none; =3D
> type=3D"cite">
> type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >> text-transform: = >>  
> type=3D"cite">
> type=3D"cite">none; = >> =3D
> type=3D"cite">
> type=3D"cite">orphans:= >> 2; white-space: normal; widows: 2; word-spacing: 0px; = >>  
> type=3D"cite">
> type=3D"cite">"><div = >> =3D
> type=3D"cite">
> type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp-mode: = >> space; =3D
> type=3D"cite">
> type=3D"cite">-webkit-line-break: after-white-space; "><span = >> class=3D3D"Apple-style- = >>
> type=3D"cite">
> type=3D"cite">span" = >> =3D
> type=3D"cite">
> type=3D"cite">style=3D3D"border-collapse: separate; = >> -webkit-border-horizontal- = >>
> type=3D"cite">
> type=3D"cite">spacing:= >> =3D
> type=3D"cite">
> type=3D"cite">0px; = >> -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >> =3D
> type=3D"cite">
> type=3D"cite">font-family: Helvetica; font-size: 12px; font-style: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">font-variant: normal; font-weight: normal; letter- >> spacing: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">line-height: normal; -webkit-text-decorations-in- >> effect: = >> none; =3D
> type=3D"cite">
> type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >> text-transform: = >>  
> type=3D"cite">
> type=3D"cite">none; = >> =3D
> type=3D"cite">
> type=3D"cite">orphans:= >> 2; white-space: normal; widows: 2; word-spacing: 0px; = >>  
> type=3D"cite">
> type=3D"cite">"><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border- >> collapse: = >> separate; =3D
> type=3D"cite">
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical- = >>
> type=3D"cite">
> type=3D"cite">spacing:= >> =3D
> type=3D"cite">
> type=3D"cite">0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> =3D
> type=3D"cite">
> type=3D"cite">font-style: normal; font-variant: normal; font- >> weight: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">letter-spacing: normal; line-height: normal; = >> =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >> "><span =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border- >> collapse: = >> separate; =3D
> type=3D"cite">
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical- = >>
> type=3D"cite">
> type=3D"cite">spacing:= >> =3D
> type=3D"cite">
> type=3D"cite">0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> =3D
> type=3D"cite">
> type=3D"cite">font-style: normal; font-variant: normal; font- >> weight: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">letter-spacing: normal; line-height: normal; = >> =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >> "><span =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border- >> collapse: = >> separate; =3D
> type=3D"cite">
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical- = >>
> type=3D"cite">
> type=3D"cite">spacing:= >> =3D
> type=3D"cite">
> type=3D"cite">0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> =3D
> type=3D"cite">
> type=3D"cite">font-style: normal; font-variant: normal; font- >> weight: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">letter-spacing: normal; line-height: normal; = >> =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >> "><span =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border- >> collapse: = >> separate; =3D
> type=3D"cite">
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical- = >>
> type=3D"cite">
> type=3D"cite">spacing:= >> =3D
> type=3D"cite">
> type=3D"cite">0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> =3D
> type=3D"cite">
> type=3D"cite">font-style: normal; font-variant: normal; font- >> weight: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">letter-spacing: normal; line-height: normal; = >> =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >> "><span =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border- >> collapse: = >> separate; =3D
> type=3D"cite">
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical- = >>
> type=3D"cite">
> type=3D"cite">spacing:= >> =3D
> type=3D"cite">
> type=3D"cite">0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> =3D
> type=3D"cite">
> type=3D"cite">font-style: normal; font-variant: normal; font- >> weight: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">letter-spacing: normal; line-height: normal; = >> =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >> "><span =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border- >> collapse: = >> separate; =3D
> type=3D"cite">
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical- = >>
> type=3D"cite">
> type=3D"cite">spacing:= >> =3D
> type=3D"cite">
> type=3D"cite">0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> =3D
> type=3D"cite">
> type=3D"cite">font-style: normal; font-variant: normal; font- >> weight: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">letter-spacing: normal; line-height: normal; = >> =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >> "><span =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"border- >> collapse: = >> separate; =3D
> type=3D"cite">
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical- = >>
> type=3D"cite">
> type=3D"cite">spacing:= >> =3D
> type=3D"cite">
> type=3D"cite">0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = >> =3D
> type=3D"cite">
> type=3D"cite">font-style: normal; font-variant: normal; font- >> weight: = >> normal; =3D
> type=3D"cite">
> type=3D"cite">letter-spacing: normal; line-height: normal; = >> =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">white-space: normal; widows: 2; word-spacing: 0px; = >> "><div><font = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" >> color=3D3D"#0000FF"><font= >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" face=3D3D"Gill = >> Sans"><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, >> 0, = >> 255); font-
> type=3D"cite">
> type=3D"cite">family: = >> =3D
> type=3D"cite">
> type=3D"cite">'Gill = >> Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = >>  
> type=3D"cite">
> type=3D"cite">rgb(0, = >> =3D
> type=3D"cite">
> type=3D"cite">0, = >> 255); font-family: 'Gill Sans'; ">Antony = >> =3D
> type=3D"cite">
> type=3D"cite">Hosking</span></span></font></ >> font>&= >> lt;font class=3D3D"Apple-style-span" = >> =3D
> type=3D"cite">
> type=3D"cite">face=3D3D"Gill Sans"><span = >> class=3D3D"Apple-style-span" style=3D3D"font- = >>
> type=3D"cite">
> type=3D"cite">family: = >> =3D
> type=3D"cite">
> type=3D"cite">'Gill = >> Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"font- = >>
> type=3D"cite">
> type=3D"cite">family: = >> =3D
> type=3D"cite">
> type=3D"cite">'Gill = >> Sans'; "><span = >> class=3D3D"Apple-converted-space">&nbsp;</span>| = >>
> type=3D"cite">
> type=3D"cite"><span= >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >> span>= >> </span></span><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: >> 'Gill = >> Sans';  
> type=3D"cite">
> type=3D"cite">"><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: >> 'Gill = >> Sans'; =3D
> type=3D"cite">
> type=3D"cite">">Associate Professor</span></ >> span><span = >> class=3D3D"Apple-style-span" = >> =3D
> type=3D"cite">
> type=3D"cite">style=3D3D"font-family: 'Gill Sans'; "><span = >> class=3D3D"Apple-style- = >>
> type=3D"cite">
> type=3D"cite">span" = >> =3D
> type=3D"cite">
> type=3D"cite">style=3D3D"font-family: 'Gill Sans'; ">&nbsp;| = >> Computer Science | = >>  
> type=3D"cite">
> type=3D"cite">Purdue = >> =3D
> type=3D"cite">
> type=3D"cite">University</span></span></font></ >> div>= >> ;<div><font class=3D3D"Apple- = >>
> type=3D"cite">
> type=3D"cite">style-span"=3D
> blockquote>> ockquote type=3D"cite">
> type=3D"cite">face=3D3D"GillSans-Light"><span = >> class=3D3D"Apple-style-span" = >> =3D
> type=3D"cite">
> type=3D"cite">style=3D3D"font-family: GillSans-Light; ">305 N. = >> University Street | = >>  
> type=3D"cite">
> type=3D"cite">West = >> =3D
> type=3D"cite">
> type=3D"cite">Lafayette | IN 47907 | = >> USA</span></font></div><div><font = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" color=3D3D"#0000FF" = >> face=3D3D"Gill = >>  
> type=3D"cite">
> type=3D"cite">Sans"><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, >> 0, = >> 255); font-
> type=3D"cite">
> type=3D"cite">family: = >> =3D
> type=3D"cite">
> type=3D"cite">'Gill = >> Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = >>  
> type=3D"cite">
> type=3D"cite">rgb(0, = >> =3D
> type=3D"cite">
> type=3D"cite">0, = >> 255); font-family: 'Gill Sans'; = >> ">Office</span></span></ = >>
> type=3D"cite">
> type=3D"cite">font><font = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" = >> face=3D3D"GillSans-Light"><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >> GillSans-Light; = >>  
> type=3D"cite">
> type=3D"cite">"><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >> GillSans-Light; =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">">&nbsp;+1 765 494 6001 |<span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >> span>= >> </span></span></ = >>
> type=3D"cite">
> type=3D"cite">font><font = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" color=3D3D"#0000FF" = >> face=3D3D"Gill = >>  
> type=3D"cite">
> type=3D"cite">Sans"><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"color: rgb(0, >> 0, = >> 255); font-
> type=3D"cite">
> type=3D"cite">family: = >> =3D
> type=3D"cite">
> type=3D"cite">'Gill = >> Sans'; "><span class=3D3D"Apple-style-span" style=3D3D"color: = >>  
> type=3D"cite">
> type=3D"cite">rgb(0, = >> =3D
> type=3D"cite">
> type=3D"cite">0, = >> 255); font-family: 'Gill Sans'; = >> ">Mobile</span></span></ = >>
> type=3D"cite">
> type=3D"cite">font><font = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" = >> face=3D3D"GillSans-Light"><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >> GillSans-Light; = >>  
> type=3D"cite">
> type=3D"cite">"><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-style-span" style=3D3D"font-family: = >> GillSans-Light; = >>  
> type=3D"cite">
> type=3D"cite">"><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-converted-space">&nbsp;</ >> span>= >> +1 765 427 =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">5484</span></span></font></ >> div><d= >> iv><font class=3D3D"Apple-style- = >>
> type=3D"cite">
> type=3D"cite">span" = >> =3D
> type=3D"cite">
> type=3D"cite">face=3D3D"GillSans-Light"><br = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"khtml-block-placeholder"></ >> font></div= >> ></span></span></ = >>
> type=3D"cite">
> type=3D"cite">span></span=3D
> blockquo= >> te>
> type=3D"cite">
> type=3D"cite"></span></span></span><br = >> =3D
> blockquote>
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-interchange-newline"></ >> span></d= >> iv></span></div></ = >>
> type=3D"cite">
> type=3D"cite">span><br = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-interchange-newline"> = >> </div><br><div><div>On 31 Oct = >>  
> type=3D"cite">
> type=3D"cite">2009, = >> =3D
> type=3D"cite">
> type=3D"cite">at = >> 16:06, Mika Nystrom wrote:</div><br = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-interchange- >> newline"><blockquote = >>  
> type=3D"cite">
> type=3D"cite">type=3D3D"cite"><div>With = >> =3D
> type=3D"cite">
> type=3D"cite">the RC = >> m3gdb it either segfaults gdb or:<br><br>(m3gdb) = >>  
> type=3D"cite">
> type=3D"cite">threads<br>Can't = >> =3D
> type=3D"cite">
> type=3D"cite">find = >> Modula-3 identifier: ThreadPosix<br>(m3gdb) threads = >>  
> type=3D"cite">
> type=3D"cite">all<br>Can't = >> =3D
> type=3D"cite">
> type=3D"cite">find = >> Modula-3 identifier: ThreadPosix<br>(m3gdb) threads all bt = >> =3D
> type=3D"cite">
> type=3D"cite"><br>Can't find Modula-3 identifier: = >> ThreadPosix<br>(m3gdb) = >>  
> type=3D"cite">
> type=3D"cite"><br><br>Tony = >> =3D
> type=3D"cite">
> type=3D"cite">Hosking = >> writes:<br><blockquote type=3D3D"cite"><br></ = >>
> type=3D"cite">
> type=3D"cite">blockquote><blockquote = >> =3D
> type=3D"cite">
> type=3D"cite">type=3D3D"cite">--Apple- >> Mail-33--461716527<br></= >>
> type=3D"cite">
> type=3D"cite">blockquote><blockquote = >> =3D
> type=3D"cite">
> type=3D"cite">type=3D3D"cite">Content-Type: = >> text/plain;<br></blockquote><blockquote = >> =3D
> type=3D"cite">
> type=3D"cite">type=3D3D"cite"><span class=3D3D"Apple-tab- >> span" = >> style=3D3D"white-
> blockquote>
> type=3D"cite">
> type=3D"cite">space:pre">> style=3D"white-space:pre"> = >> =3D
> type=3D"cite">
> type=3D"cite"></span>charset=3D3DUS-ASCII;<br></ >> blockquote&= >> gt;<blockquote = >>  
> type=3D"cite">
> type=3D"cite">type=3D3D"cite"><span=3D
> blockquote>= >>
> type=3D"cite">
class=3D3D"Apple-tab-span" = >> style=3D3D"white-space:pre">> style=3D"white-space:pre"> = >> =3D
> type=3D"cite">
> type=3D"cite"></span>format=3D3Dflowed;<br></ >> blockquote>= >> <blockquote = >>  
> type=3D"cite">
> type=3D"cite">type=3D3D"cite"><span = >> =3D
> type=3D"cite">
> type=3D"cite">class=3D3D"Apple-tab-span" = >> style=3D3D"white-space:pre">> style=3D"white-space:pre"> = >> =3D
> type=3D"cite">
> type=3D"cite"></span>delsp=3D3Dyes<br></ >> blockquote><b= >> lockquote =3D
> type=3D"cite">
> type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >> =3D
> type=3D"cite">
> type=3D"cite">7bit<br></blockquote><blockquote = >> =3D
> type=3D"cite">
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te type=3D3D"cite">threads = >>  
> type=3D"cite">
> type=3D"cite">all = >> =3D
> type=3D"cite">
> type=3D"cite">bt<br></blockquote><blockquote = >> type=3D3D"cite"><br></ = >>
> type=3D"cite">
> type=3D"cite">blockquote><blockquote = >> =3D
> type=3D"cite">
> type=3D"cite">type=3D3D"cite">should give a backtrace of all = >> =3D
> type=3D"cite">
> type=3D"cite">threads.<br></blockquote><blockquote = >> =3D
> type=3D"cite">
> type=3D"cite">type=3D3D"cite"><br></blockquote></ >> div>= >> </blockquote></div><br></div></ = >>
> type=3D"cite">
> type=3D"cite">body><=3D
> blockquote>> lockquote type=3D"cite">
> type=3D"cite">/html>=3D
> blockquote>> kquote type=3D"cite">
> type=3D"cite">
> blockquote>
> type=3D"cite">
> type=3D"cite">--Apple-Mail-36--459856549--
> blockquote>> blockquote>

> type=3D"cite">
> type=3D"cite">--Apple-Mail-62--295019692
> blockquote>
> type=3D"cite">Content-Type: text/html;
> type=3D"cite">> space:pre"> = >> charset=3DUS-ASCII
> type=3D"cite">Content-Transfer-Encoding: = >> quoted-printable
> type=3D"cite">
> type=3D"cite"><html><body style=3D3D"word-wrap: break- >> word; = >> -webkit-nbsp-mode: space; =3D
> type=3D"cite">-webkit-line-break: after-white-space; ">Possibly. = >> &nbsp;Though it may =3D
> type=3D"cite">be = >> more than that. &nbsp;I've not tested on FreeBSD7 = >> =3D
> type=3D"cite">before.<br><div><div = >> apple-content-edited=3D3D"true"><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; color: = >> =3D
rgb(0, 0, 0); font- >> family: = >> Helvetica; font-size: 12px; font-style: =3D
> blockquote>
> type=3D"cite">normal; font-variant: normal; font-weight: normal; = >> letter-spacing: =3D
> type=3D"cite">normal; = >> line-height: normal; orphans: 2; text-align: auto; text-indent: = >> =3D
0px; text-transform: >> none; = >> white-space: normal; widows: 2; word-spacing: = >> =3D
0px; = >> -webkit-border-horizontal-spacing: 0px; =3D
> blockquote>
> type=3D"cite">-webkit-border-vertical-spacing: 0px; = >> =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; = >> -webkit-text-size-adjust: =3D
> type=3D"cite">auto; -webkit-text-stroke-width: 0; "><div = >> style=3D3D"word-wrap: =3D
> type=3D"cite">break-word; -webkit-nbsp-mode: space; -webkit-line- >> break: = >> =3D
after-white-space; = >> "><span class=3D3D"Apple-style-span" =3D
> blockquote>> type=3D"cite">style=3D3D"border-collapse: separate; = >> -webkit-border-horizontal-spacing: =3D
> type=3D"cite">0px; -webkit-border-vertical-spacing: 0px; color: >> rgb(0, = >> 0, 0); =3D
font-family: = >> Helvetica; font-size: 12px; font-style: normal; = >> =3D
font-variant: normal; = >> font-weight: normal; letter-spacing: normal; = >> =3D
line-height: normal; = >> -webkit-text-decorations-in-effect: none; =3D
> blockquote>
> type=3D"cite">text-indent: 0px; -webkit-text-size-adjust: auto; = >> text-transform: none; =3D
> type=3D"cite">orphans: 2; white-space: normal; widows: 2; word- >> spacing: = >> 0px; "><div =3D
> type=3D"cite">style=3D3D"word-wrap: break-word; -webkit-nbsp-mode: = >> space; =3D
-webkit-line- >> break: = >> after-white-space; "><span class=3D3D"Apple-style-span" = >> =3D
style=3D3D"border- >> collapse: = >> separate; -webkit-border-horizontal-spacing: = >> =3D
0px; = >> -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); = >> =3D
font-family: >> Helvetica; = >> font-size: 12px; font-style: normal; =3D
> blockquote>
> type=3D"cite">font-variant: normal; font-weight: normal; letter- >> spacing: = >> normal; =3D
line-height: = >> normal; -webkit-text-decorations-in-effect: none; = >> =3D
text-indent: 0px; = >> -webkit-text-size-adjust: auto; text-transform: none; = >> =3D
orphans: 2; white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"border-collapse: separate; =3D
> blockquote>
> type=3D"cite">-webkit-border-horizontal-spacing: 0px; = >> -webkit-border-vertical-spacing: =3D
> type=3D"cite">0px; color: rgb(0, 0, 0); font-family: Helvetica; = >> font-size: 12px; =3D
font- >> style:= >> normal; font-variant: normal; font-weight: normal; = >> =3D
letter-spacing: >> normal; = >> line-height: normal; =3D
> type=3D"cite">-webkit-text-decorations-in-effect: none; text- >> indent: = >> 0px; =3D
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> orphans: 2; =3D
white- >> space: = >> normal; widows: 2; word-spacing: 0px; "><div><span = >> =3D
class=3D3D"Apple- >> style-span"= >> style=3D3D"font-size: medium;"><font = >> =3D
class=3D3D"Apple- >> style-span"= >> color=3D3D"#0000FF" face=3D3D"'Gill =3D
> type=3D"cite">Sans'"><br></font></span></ >> div>&l= >> t;/span></span></span></span></span></ >> span&g= >> t;<=3D
> type=3D"cite">/span></span></div></span></ >> div>&= >> lt;/span></div><div><div>On 2 Nov 2009, at = >> =3D
12:20, Mika Nystrom = >> wrote:</div><br =3D
> type=3D"cite">class=3D3D"Apple-interchange- >> newline"><blockquote = >> type=3D3D"cite"><div>Tony =3D
> type=3D"cite">(and others):<br><br>I take it part of >> the = >> problem I'm having is that =3D
> type=3D"cite">I'm running a very out<br>of date RC package on >> my = >> =3D
> type=3D"cite">FreeBSD7?<br><br>Should I cvs update to = >> something else to try? =3D
> type=3D"cite">&nbsp;Note that what's in the >> "normal"<br>CVS = >> head didn't even compile =3D
> type=3D"cite">when I tried it---see an earlier email from = >> me.<br>How can I specify the =3D
> type=3D"cite">proper tag to get on to the "release" branch of = >> the<br>tree, if that's =3D
> type=3D"cite">what I'm supposed to do?<br><br> = >> &nbsp;&nbsp;&nbsp;Mika<br><br>Tony = >> =3D
Hosking = >> writes:<br><blockquote = >> type=3D3D"cite"><br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">--Apple- >> Mail-36--459856549<br></= >> blockquote><blockquote =3D
> type=3D"cite">type=3D3D"cite">Content-Type: = >> text/plain;<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><span = >> class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> =3D
> type=3D"cite"></span>charset=3D3DUS-ASCII;<br></ >> blockquote&= >> gt;<blockquote type=3D3D"cite"><span=3D
> blockquote>> te type=3D"cite">class=3D3D"Apple-tab-span" = >> style=3D3D"white-space:pre">> style=3D"white-space:pre"> =3D
> type=3D"cite"></span>format=3D3Dflowed;<br></ >> blockquote>= >> <blockquote type=3D3D"cite"><span =3D
> blockquote>> type=3D"cite">class=3D3D"Apple-tab-span" = >> style=3D3D"white-space:pre">> style=3D"white-space:pre"> =3D
> type=3D"cite"></span>delsp=3D3Dyes<br></ >> blockquote><b= >> lockquote =3D
> type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >> =3D
> type=3D"cite">7bit<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te type=3D3D"cite">Try regular =3D
> type=3D"cite">gdb.<br></blockquote><blockquote = >> type=3D3D"cite">Set a breakpoint at =3D
> blockquote>
> type=3D"cite">RTHooks__ReportFault.<br></ >> blockquote><blockq= >> uote type=3D3D"cite">Then =3D
> type=3D"cite">thread apply all = >> bt.<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te type=3D3D"cite">Antony Hosking =3D
> blockquote>
> type=3D"cite">| Associate Professor | Computer Science | Purdue = >> =3D
> type=3D"cite">&nbsp;<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">University<br></ >> blockquote>&l= >> t;blockquote type=3D3D"cite">305 =3D
> type=3D"cite">N. University Street | West Lafayette | IN 47907 | = >> =3D
> type=3D"cite">USA<br></blockquote><blockquote = >> type=3D3D"cite">Office +1 765 494 6001 | = >> =3D
Mobile +1 765 427 = >> 5484<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te type=3D3D"cite">On 31 Oct 2009, =3D
> blockquote>
> type=3D"cite">at 16:06, Mika Nystrom = >> wrote:<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te type=3D3D"cite"><blockquote =3D
> blockquote>
> type=3D"cite">type=3D3D"cite">With the RC m3gdb it either >> segfaults = >> gdb =3D
> type=3D"cite">or:<br></blockquote></ >> blockquote><block= >> quote type=3D3D"cite"><blockquote =3D
> blockquote>
> type=3D"cite">type=3D3D"cite"><br></blockquote></ >> blockqu= >> ote><blockquote =3D
> type=3D"cite">type=3D3D"cite"><blockquote type=3D3D"cite"> >> (m3gdb)= >> =3D
> type=3D"cite">threads<br></blockquote></ >> blockquote><b= >> lockquote type=3D3D"cite"><blockquote=3D
> blockquote>> type=3D"cite">type=3D3D"cite">Can't find Modula-3 identifier: = >> =3D
> type=3D"cite">ThreadPosix<br></blockquote></ >> blockquote>&= >> lt;blockquote =3D
> type=3D"cite">type=3D3D"cite"><blockquote type=3D3D"cite"> >> (m3gdb)= >> threads =3D
> type=3D"cite">all<br></blockquote></ >> blockquote><block= >> quote type=3D3D"cite"><blockquote =3D
> blockquote>
> type=3D"cite">type=3D3D"cite">Can't find Modula-3 identifier: = >> =3D
> type=3D"cite">ThreadPosix<br></blockquote></ >> blockquote>&= >> lt;blockquote =3D
> type=3D"cite">type=3D3D"cite"><blockquote type=3D3D"cite"> >> (m3gdb)= >> threads all =3D
> type=3D"cite">bt<br></blockquote></ >> blockquote><blockq= >> uote type=3D3D"cite"><blockquote =3D
> blockquote>
> type=3D"cite">type=3D3D"cite">Can't find Modula-3 identifier: = >> =3D
> type=3D"cite">ThreadPosix<br></blockquote></ >> blockquote>&= >> lt;blockquote =3D
> type=3D"cite">type=3D3D"cite"><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">(m3gdb)<br></ >> blockquote></= >> blockquote><blockquote =3D
> type=3D"cite">type=3D3D"cite"><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><br></blockquote></ >> blockqu= >> ote><blockquote =3D
> type=3D"cite">type=3D3D"cite"><blockquote >> type=3D3D"cite">Tony = >> Hosking =3D
> type=3D"cite">writes:<br></blockquote></ >> blockquote><b= >> lockquote type=3D3D"cite"><blockquote=3D
> blockquote>> type=3D"cite">type=3D3D"cite"><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><br></blockquote></ >> blockqu= >> ote></blockquote><blockquote =3D
> blockquote>
> type=3D"cite">type=3D3D"cite"><blockquote = >> type=3D3D"cite"><blockquote =3D
> type=3D"cite">type=3D3D"cite">--Apple- >> Mail-33--461716527<br></= >> blockquote></blockquote></bl=3D
> blockquote>
> type=3D"cite">ockquote><blockquote >> type=3D3D"cite"><blockquote= >> type=3D3D"cite"><blockquote =3D
> type=3D"cite">type=3D3D"cite">Content-Type: = >> =3D
> type=3D"cite">text/plain;<br></blockquote></ >> blockquote>&= >> lt;/blockquote><blockquote =3D
> type=3D"cite">type=3D3D"cite"><blockquote = >> type=3D3D"cite"><blockquote type=3D3D"cite"><span = >> =3D
class=3D3D"Apple-tab- >> span" = >> style=3D3D"white-space:pre">> style=3D"white-space:pre"> =3D
> type=3D"cite"></span>charset=3D3DUS-ASCII;<br></ >> blockquote&= >> gt;</blockquote></blockquote><bloc=3D
> blockquote>> kquote type=3D"cite">kquote type=3D3D"cite"><blockquote = >> type=3D3D"cite"><blockquote =3D
> type=3D"cite">type=3D3D"cite"><span class=3D3D"Apple-tab- >> span" = >> style=3D3D"white-space:pre">> style=3D"white-space:pre"> =3D
> type=3D"cite"></span>format=3D3Dflowed;<br></ >> blockquote>= >> </blockquote></blockquote><blockqu=3D
> blockquote>> kquote type=3D"cite">ote type=3D3D"cite"><blockquote = >> type=3D3D"cite"><blockquote =3D
> type=3D"cite">type=3D3D"cite"><span class=3D3D"Apple-tab- >> span" = >> style=3D3D"white-space:pre">> style=3D"white-space:pre"> =3D
> type=3D"cite"></span>delsp=3D3Dyes<br></ >> blockquote></= >> blockquote></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><blockquote = >> type=3D3D"cite"><blockquote =3D
> type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >> =3D
> type=3D"cite">7bit<br></blockquote></ >> blockquote></blo= >> ckquote><blockquote =3D
> type=3D"cite">type=3D3D"cite"><blockquote = >> type=3D3D"cite"><blockquote =3D
> type=3D"cite">type=3D3D"cite"><br></blockquote></ >> blockqu= >> ote></blockquote><blockquote =3D
> blockquote>
> type=3D"cite">type=3D3D"cite"><blockquote = >> type=3D3D"cite"><blockquote type=3D3D"cite">threads = >> =3D
all = >> bt<br></blockquote></blockquote></ >> blockquote><b= >> lockquote =3D
> type=3D"cite">type=3D3D"cite"><blockquote = >> type=3D3D"cite"><blockquote =3D
> type=3D"cite">type=3D3D"cite"><br></blockquote></ >> blockqu= >> ote></blockquote><blockquote =3D
> blockquote>
> type=3D"cite">type=3D3D"cite"><blockquote = >> type=3D3D"cite"><blockquote type=3D3D"cite">should = >> =3D
give a backtrace of >> all = >> =3D
> type=3D"cite">threads.<br></blockquote></ >> blockquote><= >> /blockquote><blockquote =3D
> type=3D"cite">type=3D3D"cite"><blockquote = >> type=3D3D"cite"><blockquote =3D
> type=3D"cite">type=3D3D"cite"><br></blockquote></ >> blockqu= >> ote></blockquote><blockquote =3D
> blockquote>
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te =3D
> type=3D"cite">type=3D3D"cite">--Apple- >> Mail-36--459856549<br></= >> blockquote><blockquote =3D
> type=3D"cite">type=3D3D"cite">Content-Type: = >> text/html;<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><span = >> class=3D3D"Apple-tab-span" style=3D3D"white-space:pre">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> =3D
> type=3D"cite"></span>charset=3D3DUS-ASCII<br></ >> blockquote&g= >> t;<blockquote =3D
> type=3D"cite">type=3D3D"cite">Content-Transfer-Encoding: = >> =3D
> type=3D"cite">quoted-printable<br></ >> blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te =3D
> type=3D"cite">type=3D3D"cite">&lt;html&gt;&lt;body = >> style=3D3D3D"word-wrap: break-word; =3D
> type=3D"cite">-webkit-nbsp-mode: space; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-line-break: after-white- >> space; = >> "&gt;Try regular =3D
> type=3D"cite">gdb.&lt;div&gt;Set a = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">breakpoin= >> t at =3D
> type=3D"cite">RTHooks__ReportFault.&lt;/ >> div&gt;&lt;div&gt;= >> Then thread apply all =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">bt.&lt;/ >> div&gt;&lt;div&gt= >> ;&lt;br&gt;&lt;/ >> div&gt;&lt;div&gt;&=3D
> ockquote>
lt;br&gt;&lt;div&gt; = >> &lt;span class=3D3D3D"Apple-style-span" = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">style=3D3D3D"border-collapse: = >> =3D
separate; color: >> rgb(0, 0, = >> 0); font-family: =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">Helvetica; font-size: =3D
> blockquote>
> type=3D"cite">12px; font-style: normal; font-variant: normal; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">font-weight: normal; =3D
> blockquote>
> type=3D"cite">letter-spacing: normal; line-height: normal; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">orphans: 2; text-align: =3D
> blockquote>> type=3D"cite">auto; text-indent: 0px; text-transform: none; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">white-space: normal; =3D
> blockquote>
> type=3D"cite">widows: 2; word-spacing: 0px; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: >> 0px; = >> =3D
> type=3D"cite">-webkit-border-vertical-spacing: = >> =3D3D<br></blockquote><blockquote = >> =3D
type=3D3D"cite"> >> 0px; = >> -webkit-text-decorations-in-effect: none; =3D
> blockquote>
> type=3D"cite">-webkit-text-size-adjust: = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">auto; = >> -webkit-text-stroke-width: 0; "&gt;&lt;div = >> =3D
style=3D3D3D"word- >> wrap: = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">break-wor= >> d; -webkit-nbsp-mode: space; -webkit-line-break: = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">after-white-space; =3D
> blockquote>
> type=3D"cite">"&gt;&lt;span class=3D3D3D"Apple-style-span" = >> =3D3D<br></blockquote><blockquote=3D
> blockquote>> quote type=3D"cite">type=3D3D"cite">style=3D3D3D"border- >> collapse: = >> separate; =3D
> type=3D"cite">-webkit-border-horizontal-spacing: = >> =3D3D<br></blockquote><blockquote = >> =3D
type=3D3D"cite"> >> 0px; = >> -webkit-border-vertical-spacing: 0px; color: rgb(0, = >> =3D
0, 0); = >> =3D3D<br></blockquote><blockquote = >> type=3D3D"cite">font-family: =3D
> type=3D"cite">Helvetica; font-size: 12px; font-style: normal; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">font-variant: normal; =3D
> blockquote>
> type=3D"cite">font-weight: normal; letter-spacing: normal; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">line-height: normal; =3D
> blockquote>
> type=3D"cite">-webkit-text-decorations-in-effect: none; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">text-indent: 0px; = >> -webkit-text-size-adjust: auto; =3D
> type=3D"cite">text-transform: none; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">orphans: = >> 2; white-space: normal; widows: 2; word-spacing: = >> =3D
0px; >> "&gt;&lt;div = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">style=3D3D3D"word-wrap: break- >> word; = >> -webkit-nbsp-mode: =3D
> type=3D"cite">space; = >> =3D3D<br></blockquote><blockquote = >> type=3D3D"cite">-webkit-line-break: =3D
> blockquote>
> type=3D"cite">after-white-space; "&gt;&lt;span = >> class=3D3D3D"Apple-style-span" =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">style=3D3D3D"border-collapse: = >> =3D
separate; = >> -webkit-border-horizontal-spacing: =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">0px; =3D
> type=3D"cite">-webkit-border-vertical-spacing: 0px; color: rgb(0, >> 0, 0); = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">font-family: Helvetica; =3D
> blockquote>> type=3D"cite">font-size: 12px; font-style: normal; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">font-variant: normal; font-weight: = >> normal; letter-spacing: =3D
> type=3D"cite">normal; =3D3D<br></ >> blockquote><blockquote = >> type=3D3D"cite">line-height: =3D
> type=3D"cite">normal; -webkit-text-decorations-in-effect: none; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">text-indent: 0px; =3D
> blockquote>
> type=3D"cite">-webkit-text-size-adjust: auto; text-transform: none; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">orphans: 2; white-space: = >> =3D
normal; widows: 2; = >> word-spacing: 0px; "&gt;&lt;span =3D
> blockquote>
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: >> 0px; = >> =3D
> type=3D"cite">-webkit-border-vertical-spacing: = >> =3D3D<br></blockquote><blockquote = >> =3D
type=3D3D"cite"> >> 0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; = >> =3D
font-size: 12px; = >> =3D3D<br></blockquote><blockquote = >> type=3D3D"cite">font-style:=3D
> type=3D"cite">normal; font-variant: normal; font-weight: normal; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">letter-spacing: normal; =3D
> blockquote>> type=3D"cite">line-height: normal; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in- >> effect: = >> none; text-indent: =3D
> type=3D"cite">0px; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >> text-transform: none; =3D
> type=3D"cite">orphans: 2; =3D3D<br></ >> blockquote><blockquote= >> type=3D3D"cite">white-space: =3D
> type=3D"cite">normal; widows: 2; word-spacing: 0px; = >> "&gt;&lt;span =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: >> 0px; = >> =3D
> type=3D"cite">-webkit-border-vertical-spacing: = >> =3D3D<br></blockquote><blockquote = >> =3D
type=3D3D"cite"> >> 0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; = >> =3D
font-size: 12px; = >> =3D3D<br></blockquote><blockquote = >> type=3D3D"cite">font-style:=3D
> type=3D"cite">normal; font-variant: normal; font-weight: normal; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">letter-spacing: normal; =3D
> blockquote>> type=3D"cite">line-height: normal; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in- >> effect: = >> none; text-indent: =3D
> type=3D"cite">0px; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >> text-transform: none; =3D
> type=3D"cite">orphans: 2; =3D3D<br></ >> blockquote><blockquote= >> type=3D3D"cite">white-space: =3D
> type=3D"cite">normal; widows: 2; word-spacing: 0px; = >> "&gt;&lt;span =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: >> 0px; = >> =3D
> type=3D"cite">-webkit-border-vertical-spacing: = >> =3D3D<br></blockquote><blockquote = >> =3D
type=3D3D"cite"> >> 0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; = >> =3D
font-size: 12px; = >> =3D3D<br></blockquote><blockquote = >> type=3D3D"cite">font-style:=3D
> type=3D"cite">normal; font-variant: normal; font-weight: normal; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">letter-spacing: normal; =3D
> blockquote>> type=3D"cite">line-height: normal; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in- >> effect: = >> none; text-indent: =3D
> type=3D"cite">0px; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >> text-transform: none; =3D
> type=3D"cite">orphans: 2; =3D3D<br></ >> blockquote><blockquote= >> type=3D3D"cite">white-space: =3D
> type=3D"cite">normal; widows: 2; word-spacing: 0px; = >> "&gt;&lt;span =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: >> 0px; = >> =3D
> type=3D"cite">-webkit-border-vertical-spacing: = >> =3D3D<br></blockquote><blockquote = >> =3D
type=3D3D"cite"> >> 0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; = >> =3D
font-size: 12px; = >> =3D3D<br></blockquote><blockquote = >> type=3D3D"cite">font-style:=3D
> type=3D"cite">normal; font-variant: normal; font-weight: normal; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">letter-spacing: normal; =3D
> blockquote>> type=3D"cite">line-height: normal; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in- >> effect: = >> none; text-indent: =3D
> type=3D"cite">0px; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >> text-transform: none; =3D
> type=3D"cite">orphans: 2; =3D3D<br></ >> blockquote><blockquote= >> type=3D3D"cite">white-space: =3D
> type=3D"cite">normal; widows: 2; word-spacing: 0px; = >> "&gt;&lt;span =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: >> 0px; = >> =3D
> type=3D"cite">-webkit-border-vertical-spacing: = >> =3D3D<br></blockquote><blockquote = >> =3D
type=3D3D"cite"> >> 0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; = >> =3D
font-size: 12px; = >> =3D3D<br></blockquote><blockquote = >> type=3D3D"cite">font-style:=3D
> type=3D"cite">normal; font-variant: normal; font-weight: normal; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">letter-spacing: normal; =3D
> blockquote>> type=3D"cite">line-height: normal; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in- >> effect: = >> none; text-indent: =3D
> type=3D"cite">0px; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >> text-transform: none; =3D
> type=3D"cite">orphans: 2; =3D3D<br></ >> blockquote><blockquote= >> type=3D3D"cite">white-space: =3D
> type=3D"cite">normal; widows: 2; word-spacing: 0px; = >> "&gt;&lt;span =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: >> 0px; = >> =3D
> type=3D"cite">-webkit-border-vertical-spacing: = >> =3D3D<br></blockquote><blockquote = >> =3D
type=3D3D"cite"> >> 0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; = >> =3D
font-size: 12px; = >> =3D3D<br></blockquote><blockquote = >> type=3D3D"cite">font-style:=3D
> type=3D"cite">normal; font-variant: normal; font-weight: normal; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">letter-spacing: normal; =3D
> blockquote>> type=3D"cite">line-height: normal; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in- >> effect: = >> none; text-indent: =3D
> type=3D"cite">0px; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >> text-transform: none; =3D
> type=3D"cite">orphans: 2; =3D3D<br></ >> blockquote><blockquote= >> type=3D3D"cite">white-space: =3D
> type=3D"cite">normal; widows: 2; word-spacing: 0px; = >> "&gt;&lt;span =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">style=3D3D3D"border-collapse: separate; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-border-horizontal-spacing: >> 0px; = >> =3D
> type=3D"cite">-webkit-border-vertical-spacing: = >> =3D3D<br></blockquote><blockquote = >> =3D
type=3D3D"cite"> >> 0px; = >> color: rgb(0, 0, 0); font-family: Helvetica; = >> =3D
font-size: 12px; = >> =3D3D<br></blockquote><blockquote = >> type=3D3D"cite">font-style:=3D
> type=3D"cite">normal; font-variant: normal; font-weight: normal; = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">letter-spacing: normal; =3D
> blockquote>> type=3D"cite">line-height: normal; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-decorations-in- >> effect: = >> none; text-indent: =3D
> type=3D"cite">0px; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">-webkit-text-size-adjust: auto; = >> text-transform: none; =3D
> type=3D"cite">orphans: 2; =3D3D<br></ >> blockquote><blockquote= >> type=3D3D"cite">white-space: =3D
> type=3D"cite">normal; widows: 2; word-spacing: 0px; = >> "&gt;&lt;div&gt;&lt;font =3D
> blockquote>
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">color=3D3D3D"#0000FF"&gt;&lt;font = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >> face=3D3D3D"Gill =3D
> type=3D"cite">Sans"&gt;&lt;span = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >> style=3D3D3D"color: rgb(0, 0, =3D
> type=3D"cite">255); font-family: = >> =3D3D<br></blockquote><blockquote >> type=3D3D"cite">'Gill = >> =3D
Sans'; = >> "&gt;&lt;span class=3D3D3D"Apple-style-span" >> style=3D3D3D"color: = >> =3D
rgb(0, = >> =3D3D<br></blockquote><blockquote type=3D3D"cite"> >> 0, = >> 255); =3D
font-family: >> 'Gill = >> Sans'; "&gt;Antony =3D3D<br></ >> blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">Hosking&lt;/ >> span&gt;&lt;/span= >> &gt;&lt;/font&gt;&lt;/font&gt;&=3D
> blockquote= >>>
lt;font class=3D3D3D"Apple-style-span" = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">face=3D3D3D"Gill = >> Sans"&gt;&lt;span =3D
> type=3D"cite">class=3D3D3D"Apple-style-span" style=3D3D3D"font- >> family: = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >> =3D
class=3D3D3D"Apple- >> style-spa= >> n" style=3D3D3D"font-family: =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >> =3D
> type=3D"cite">class=3D3D3D"Apple-converted- >> space"&gt;&amp;nbsp;&am= >> p;lt;/span&gt;|&lt;span =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-converted- >> space"&g= >> t;&amp;nbsp;&lt;/span&gt;=3D
> blockquote>
> type=3D"cite">&lt;/span&gt;&lt;/ >> span&gt;&lt;span = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >> style=3D3D3D"font-family: 'Gill =3D
> type=3D"cite">Sans'; "&gt;&lt;span = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >> style=3D3D3D"font-family: 'Gill =3D
> type=3D"cite">Sans'; =3D3D<br></ >> blockquote><blockquote = >> type=3D3D"cite">"&gt;Associate =3D
> blockquote>
> type=3D"cite">Professor&lt;/span&gt;&lt;/ >> span&gt;&lt;s= >> pan class=3D3D3D"Apple-style-span" =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">style=3D3D3D"font-family: = >> =3D
'Gill Sans'; = >> "&gt;&lt;span class=3D3D3D"Apple-style-span" = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">style=3D3D3D"font-family: = >> =3D
'Gill Sans'; = >> "&gt;&amp;nbsp;| Computer Science | Purdue = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">University&lt;/ >> span&gt;&lt;/s= >> pan&gt;&lt;/font&gt;&lt;/div&gt=3D
> blockquote>> ockquote type=3D"cite">;&lt;div&gt;&lt;font = >> =3D
> type=3D"cite">class=3D3D3D"Apple-style-span"=3D3D<br></ >> blockquote= >> ><blockquote =3D
> type=3D"cite">type=3D3D"cite">face=3D3D3D"GillSans- >> Light"&gt;&l= >> t;span =3D
> type=3D"cite">class=3D3D3D"Apple-style-span" = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">style=3D3D3D"font-family: = >> GillSans-Light; "&gt;305 N. =3D
> type=3D"cite">University Street | West = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">Lafayette= >> | IN 47907 | =3D
> type=3D"cite">USA&lt;/span&gt;&lt;/font&gt;&lt;/ >> div&am= >> p;gt;&lt;div&gt;&lt;font =3D
> blockquote>
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">color=3D3D3D"#0000FF" face=3D3D3D"Gill = >> Sans"&gt;&lt;span =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">style=3D3D3D"color: rgb(0, 0, 255); font- >> family: = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >> =3D
class=3D3D3D"Apple- >> style-spa= >> n" style=3D3D3D"color: rgb(0, =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">0, 255); font-family: =3D
> blockquote>
> type=3D"cite">'Gill Sans'; = >> "&gt;Office&lt;/span&gt;&lt;/span&gt;&lt;/ >> font&= >> ;gt;&lt;font =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">face=3D3D3D"GillSans- >> Light"&gt;&lt;span = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >> style=3D3D3D"font-family: =3D
> type=3D"cite">GillSans-Light; "&gt;&lt;span = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >> style=3D3D3D"font-family: =3D
> type=3D"cite">GillSans-Light; = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">"&gt;&amp;nbsp;+1 765 494 >> 6001 = >> |&lt;span =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-converted- >> space"&g= >> t;&amp;nbsp;&lt;/span&gt;=3D
> blockquote>
> type=3D"cite">&lt;/span&gt;&lt;/span&gt;&lt;/ >> font&= >> gt;&lt;font =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">color=3D3D3D"#0000FF" face=3D3D3D"Gill = >> Sans"&gt;&lt;span =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">style=3D3D3D"color: rgb(0, 0, 255); font- >> family: = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">'Gill Sans'; "&gt;&lt;span = >> =3D
class=3D3D3D"Apple- >> style-spa= >> n" style=3D3D3D"color: rgb(0, =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">0, 255); font-family: =3D
> blockquote>
> type=3D"cite">'Gill Sans'; = >> "&gt;Mobile&lt;/span&gt;&lt;/span&gt;&lt;/ >> font&= >> ;gt;&lt;font =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">class=3D3D3D"Apple-style-span"=3D
> blockquote>> kquote type=3D"cite">face=3D3D3D"GillSans- >> Light"&gt;&lt;span = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >> style=3D3D3D"font-family: =3D
> type=3D"cite">GillSans-Light; "&gt;&lt;span = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-style-span" = >> style=3D3D3D"font-family: =3D
> type=3D"cite">GillSans-Light; "&gt;&lt;span = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-converted- >> space"&g= >> t;&amp;nbsp;&lt;/span&gt;=3D
> blockquote>
> type=3D"cite">+1 765 427 =3D3D<br></ >> blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">5484&lt;/span&gt;&lt;/ >> span&am= >> p;gt;&lt;/font&gt;&lt;/div&gt;&lt;d=3D
> blockquote= >>>
iv&gt;&lt;font = >> class=3D3D3D"Apple-style-span" =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">face=3D3D3D"GillSans- >> Light"&gt;&l= >> t;br =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"khtml-block- >> placeholder"&= >> ;gt;&lt;/font&gt;&lt;/div=3D
> blockquote>
> type=3D"cite">&gt;&lt;/span&gt;&lt;/ >> span&gt;&lt;/s= >> pan&gt;&lt;/span=3D3D<br></ >> blockquote><b=3D
> ockquote>
lockquote = >> type=3D3D"cite"><blockquote =3D
> type=3D"cite">type=3D3D"cite">&lt;/span&gt;&lt;/ >> span&gt= >> ;&lt;/span&gt;&lt;br =3D
> type=3D"cite">=3D3D<br></blockquote></ >> blockquote><blo= >> ckquote =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-interchange- >> newline"&a= >> mp;gt;&lt;/span&gt;&lt;/d=3D
> blockquote>
> type=3D"cite">iv&gt;&lt;/span&gt;&lt;/ >> div&gt;&lt;/= >> span&gt;&lt;br =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-interchange- >> newline"&a= >> mp;gt; =3D
> type=3D"cite">&lt;/ >> div&gt;&lt;br&gt;&lt;div&gt;&am= >> p;lt;div&gt;On 31 Oct 2009, =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">at 16:06, Mika Nystrom =3D
> blockquote>
> type=3D"cite">wrote:&lt;/div&gt;&lt;br = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-interchange- >> newline"&a= >> mp;gt;&lt;blockquote =3D
> type=3D"cite">type=3D3D3D"cite"&gt;&lt;div&gt;With = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">the RC = >> m3gdb it either segfaults gdb =3D
> type=3D"cite">or:&lt;br&gt;&lt;br&gt;(m3gdb) = >> threads&lt;br&gt;Can't =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">find Modula-3 identifier: = >> =3D
> type=3D"cite">ThreadPosix&lt;br&gt;(m3gdb) threads = >> all&lt;br&gt;Can't =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">find Modula-3 identifier: = >> =3D
> type=3D"cite">ThreadPosix&lt;br&gt;(m3gdb) threads all bt = >> =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">&lt;br&gt;Can't find = >> =3D
Modula-3 identifier: = >> ThreadPosix&lt;br&gt;(m3gdb) =3D
> blockquote>
> type=3D"cite">&lt;br&gt;&lt;br&gt;Tony = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">Hosking = >> writes:&lt;br&gt;&lt;blockquote = >> =3D
> type=3D"cite">type=3D3D3D"cite"&gt;&lt;br&gt;&lt;/ >> blockquo= >> te&gt;&lt;blockquote =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;--Apple- >> Mail-33-= >> -461716527&lt;br&gt;&lt;/=3D
> blockquote>
> type=3D"cite">blockquote&gt;&lt;blockquote = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;Content- >> Type: = >> =3D
> type=3D"cite">text/plain;&lt;br&gt;&lt;/ >> blockquote&gt;&= >> ;lt;blockquote =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">type=3D3D3D"cite"&gt;&lt;span = >> =3D
class=3D3D3D"Apple- >> tab-span"= >> style=3D3D3D"white-space:pre"&gt;<span = >> =3D
class=3D3D"Apple-tab- >> span" = >> style=3D3D"white-space:pre">> style=3D"white-space:pre"> =3D
> type=3D"cite"></span>=3D3D<br></ >> blockquote><blockquot= >> e =3D
> type=3D"cite">type=3D3D"cite">&lt;/ >> span&gt;charset=3D3D3DUS-ASC= >> II;&lt;br&gt;&lt;/blockquote&=3D
> blockquote>> te type=3D"cite">gt;&lt;blockquote = >> type=3D3D3D"cite"&gt;&lt;span=3D3D<br></ >> blockquote><= >> ;blockquo=3D
te = >> type=3D3D"cite">class=3D3D3D"Apple-tab-span" = >> =3D
> type=3D"cite">style=3D3D3D"white-space:pre"&gt;<span = >> class=3D3D"Apple-tab-span" =3D
> type=3D"cite">style=3D3D"white-space:pre">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> </span>=3D3D<br></ >> blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">&lt;/ >> span&gt;format=3D3D3Dflowed;= >> &lt;br&gt;&lt;/blockquote&gt;=3D
> blockquote>> te type=3D"cite">&lt;blockquote >> type=3D3D3D"cite"&gt;&lt;span = >> =3D3D<br></blockquote><blockquote=3D
> blockquote>> quote type=3D"cite">type=3D3D"cite">class=3D3D3D"Apple-tab-span" = >> =3D
> type=3D"cite">style=3D3D3D"white-space:pre"&gt;<span = >> class=3D3D"Apple-tab-span" =3D
> type=3D"cite">style=3D3D"white-space:pre">> class=3D"Apple-tab-span" style=3D"white-space:pre"> = >> </span>=3D3D<br></ >> blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">&lt;/ >> span&gt;delsp=3D3D3Dyes&= >> lt;br&gt;&lt;/blockquote&gt;&lt;b=3D
> blockquote>> kquote type=3D"cite">lockquote = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">type=3D3D3D"cite"&gt;Content- >> Transfer= >> -Encoding: =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">7bit&lt;br&gt;&lt;/ >> blockquote= >> &gt;&lt;blockquote =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> =3D
> type >> = >> 3D >> "cite">type=3D3D"cite">type=3D3D3D"cite"&gt;&lt;br&g= >> t;&lt;/blockquote&gt;&lt;blockquo=3D
> blockquote>> te type=3D"cite">te type=3D3D3D"cite"&gt;threads all = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">bt&lt;br&gt;&lt;/ >> blockquote&a= >> mp;gt;&lt;blockquote =3D
> type=3D"cite">type=3D3D3D"cite"&gt;&lt;br&gt;&lt;/ >> blockquo= >> te&gt;&lt;blockquote =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> type=3D3D"cite">type=3D3D3D"cite"&gt;should = >> =3D
give a backtrace of >> all = >> =3D3D<br></blockquote><blockquote = >> =3D
> type=3D"cite">type=3D3D"cite">threads.&lt;br&gt;&lt;/ >> blockq= >> uote&gt;&lt;blockquote =3D
> type=3D"cite">=3D3D<br></blockquote><blockquote = >> =3D
> type >> = >> 3D >> "cite">type=3D3D"cite">type=3D3D3D"cite"&gt;&lt;br&g= >> t;&lt;/blockquote&gt;&lt;/div&gt;=3D
> blockquote>> kquote = >> type=3D"cite">&lt;/blockquote&gt;&lt;/ >> div&gt;&lt;br&am= >> p;gt;&lt;/div&gt;&lt;/ >> body&gt;&lt;=3D3D<=3D
> ockquote>
br></ >> blockquote><blockquote= >> =3D
> type=3D"cite">type=3D3D"cite">/html&gt;=3D3D<br></ >> blockquo= >> te><blockquote =3D
> type=3D"cite">type=3D3D"cite"><br></ >> blockquote><blockquo= >> te =3D
> type=3D"cite">type=3D3D"cite">--Apple-Mail-36--459856549-- >> <br><= >> ;/blockquote></div></blockqu=3D
> blockquote>
> type=3D"cite">ote></div><br></div></ >> body></h= >> tml>=3D
> type=3D"cite">
> type=3D"cite">--Apple-Mail-62--295019692--
> blockqu= >> ote>

= >> >> --Apple-Mail-121--89103770-- -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Thu Nov 5 18:57:46 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Thu, 5 Nov 2009 12:57:46 -0500 Subject: [M3devel] m3core release vs. head? In-Reply-To: References: Message-ID: <42677E04-4B3D-4D93-A468-916B41EAACFE@cs.purdue.edu> On 5 Nov 2009, at 12:12, Jay K wrote: > Tony, any thoughts on merging/copying head to release? Might be good. Let's see what Mika reports for FreeBSD and his mega- threaded program. > I'm willing to do work, review the diffs (which I'm going to do > anyway), build stuff, test a little. > But I don't likely understand it all in ThreadPThread.m3, > RTCollector.m3, RTAllocator.m3. Feel free to ask if you have questions. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Thu Nov 5 19:19:39 2009 From: jay.krell at cornell.edu (Jay K) Date: Thu, 5 Nov 2009 18:19:39 +0000 Subject: [M3devel] gc/barriers? Message-ID: > Feel free to ask if you have questions. On a different matter.... can you, um, explain garbage collection? Specifically barriers? And the five states? Are they just older/younger? I understand "the generational hypothesis". "Most objects die young". (Most objects could be stack allocated. :) ) And then there is a need to divide objects, at runtime, into older and younger. And then, there is some need to notice pointers that cross generations? That is, "old" usually includes no garbage, unless it has been changed since the last check, and then needs a new check? That is, a write barrier is a sort of copy-on-write, or notice-writes mechanism? A write into a generation means the gc needs to check it? That is, if you look at the Win32 GetWriteWatch API, that's what we are simulating sort of? (or vice versa)? I'm really guessing. And this doesn't explain what, if anything, a read barrier is. But then is meant by gray/impure/etc.? Maybe checkin RTCollector.readme? (note that read/write barriers are other things too -- ways to enforce (relative) order of executation). - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Thu Nov 5 19:49:57 2009 From: jay.krell at cornell.edu (Jay K) Date: Thu, 5 Nov 2009 18:49:57 +0000 Subject: [M3devel] Add (hopefully correct) extraction of sp for OpenBSD. In-Reply-To: <20091105175345.A05AA2474001@birch.elegosoft.com> References: <20091105175345.A05AA2474001@birch.elegosoft.com> Message-ID: There's a typo there, but it still doesn't work for OpenBSD. I'm maybe doing something dumb like not rebuilding enough. (There is a "builder" bug here, switching between user and pthreads requires a clean of m3core; there's also a builder bug moving stuff between packages) Anyway, user threads for now. Darn that would have been easier to port to release. - Jay > Date: Thu, 5 Nov 2009 18:53:44 +0000 > To: m3commit at elegosoft.com > From: hosking at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: hosking at birch. 09/11/05 18:53:44 > > Modified files: > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 > ThreadPThreadC.c > > Log message: > Revert state management to what it used to be. > Add (hopefully correct) extraction of sp for OpenBSD. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mika at async.async.caltech.edu Thu Nov 5 19:58:11 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Thu, 05 Nov 2009 10:58:11 -0800 Subject: [M3devel] assertion failure in Juno In-Reply-To: <924274.31259.qm@web23601.mail.ird.yahoo.com> References: <924274.31259.qm@web23601.mail.ird.yahoo.com> Message-ID: <20091105185811.99A291A2098@async.async.caltech.edu> I had to fiddle with it a bit to get it to crash. But no I don't think it's a Juno bug. It's something deeper in Trestle, I would think. I'm running X remotely to a VNC server on a different machine and then viewing from a viewer on a third machine. Mika "Daniel Alejandro Benavides D." writes: >Hi: >thanks for the code, I drew it and making Grid On label show Grid Off inste= >ad and making a and c coincide (using both Drag function button and source = >code coordinates change as pointed on 3. and 4. instructions of your first = >email) but so far I can=B4t get to see anything wrong happen (i.e. it doesn= >`t terminate). It looks like your Xserver showed an error on stderr. >Perhaps this can be xclient crash handling Trestle client messages to xserv= >er, that would explain this is not related to Juno-2 core functionality per= >se at least in LINUXLIBC6 box as I can tell, have you tested this standalon= >e (Juno and Xserver in same machine, did you do in this way the crash happe= >n) or in other platform or distributed between two different platform mach= >ines with their xclient and xserver?=20 > >compiler version (cm3 -version) >test at fbd-desktop:~$ cm3 -version >Critical Mass Modula-3 version d5.8.2 > last updated: 2009-07-15 > compiled: 2009-07-20 04:36:35 > configuration: /usr/local/cm3/bin/cm3.cfg > host: LINUXLIBC6 > target: LINUXLIBC6 =20 > >My xorg xserver is running standalone (i.e not distributed). >Thanks in advance > >--- El jue, 5/11/09, Mika Nystrom escribi=F3= >: > >> De: Mika Nystrom >> Asunto: Re: [M3devel] assertion failure in Juno >> Para: "Daniel Alejandro Benavides D." >> CC: m3devel at elegosoft.com >> Fecha: jueves, 5 noviembre, 2009 1:02 >>=20 >> Here's the Juno code. Turn on the grid and make a and >> c coincide. >>=20 >> Mika >>=20 >> VAR=20 >> a ~ (-47.98, 178.3),=20 >> b ~ (-56.62, 56.57),=20 >> c ~ (-69.1, 179.3)=20 >> IN=20 >> PS.MoveTo(b); PS.CurveTo(a, c, b)=20 >> END >>=20 >> "Daniel Alejandro Benavides D." writes: >> >Hi: >> >I can=3DB4t get how do you get actually to draw it, >> coould you send a screen =3D >> >cast of it or some .juno code to run it?=3D20 >> > >> >--- El mi=3DE9, 4/11/09, Mika Nystrom >> escribi=3D >> >=3DF3: >> > >> >> De: Mika Nystrom >> >> Asunto: [M3devel] assertion failure in Juno >> >> Para: m3devel at elegosoft.com >> >> Fecha: mi=3DE9rcoles, 4 noviembre, 2009 8:27 >> >> Hello m3devel, >> >>=3D20 >> >> I'm afraid the following is probably an orphan >> bug, but in >> >> case anyone >> >> has a clue what's going on, here it is: >> >>=3D20 >> >> 1. Put down three points in Juno, draw a curve >> using them >> >> (looping from >> >> one point back to itself, with the other two as >> control >> >> points). >> >>=3D20 >> >> 2. Turn on the grid. >> >>=3D20 >> >> 3. Move one of the control points around, so it >> snaps to >> >> the grid. >> >>=3D20 >> >> 4. Move the other control point to the same spot. >> >>=3D20 >> >> What happens on my AMD64_FREEBSD is this: >> >>=3D20 >> >> (323)ginger:~/cm3/scripts>Juno >> >> Xlib: extension "Generic Event Extension" >> missing on >> >> display "rover:1.0". >> >> Assertion failed: >> >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, >> <=3D3D, >> >> dpy->request)), function process_responses, >> file >> >> xcb_io.c, line 242. >> >> Assertion failed: >> >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, >> <=3D3D, >> >> dpy->request)), function process_responses, >> file >> >> xcb_io.c, line 242. >> >> Abort >> >> (324)ginger:~/cm3/scripts> >> >>=3D20 >> >> now if it had crashed in Juno's M3 code I wouldn't >> be >> >> concerned, but it >> >> seems to be crashing in X code, which just sounds >> wrong... >> >> and it seems >> >> to crash in some sort of messaging queue code? >> =3D20 >> >>=3D20 >> >> Mika >> >>=3D20 >> >> P.S. More detail: >> >>=3D20 >> >> (m3gdb) run >> >> Starting program: /usr/local/cm3/bin/Juno=3D20 >> >> Can't disable VM GC. >> >> Signal Stop=20 >> =3D20 >> >> Print Pass to program >> Description >> >> SIG64 =20 >> No =3D20 >> >> No =20 >> Yes =3D20 >> >> Real-time event 64 >> >>=3D20 >> >> Program received signal SIGUSR2, User defined >> signal 2. >> >> 0x0000000802eb729c in __error () from >> /lib/libthr.so.3 >> >> (m3gdb) handle SIGUSR2 nostop noprint >> >> Signal Stop=20 >> =3D20 >> >> Print Pass to program >> Description >> >> SIGUSR2 No=20 >> =3D20 >> >> No =20 >> Yes =3D20 >> >> User defined signal 2 >> >> (m3gdb) cont >> >> Continuing. >> >> Xlib: extension "Generic Event Extension" >> missing on >> >> display "rover:1.0". >> >> Assertion failed: >> >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, >> <=3D3D, >> >> dpy->request)), function process_responses, >> file >> >> xcb_io.c, line 242. >> >> Assertion failed: >> >> (XLIB_SEQUENCE_COMPARE(dpy->last_request_read, >> <=3D3D, >> >> dpy->request)), function process_responses, >> file >> >> xcb_io.c, line 242. >> >>=3D20 >> >> Program received signal SIGABRT, Aborted. >> >> 0x000000080300ea9c in thr_kill () from >> /lib/libc.so.7 >> >> (m3gdb) where >> >> #0 0x000000080300ea9c in thr_kill () from >> >> /lib/libc.so.7 >> >> #1 0x000000080309df8b in abort () from >> >> /lib/libc.so.7 >> >> #2 0x0000000803085f55 in __assert () from >> >> /lib/libc.so.7 >> >> #3 0x0000000802ba7451 in process_responses >> () from >> >> /usr/local/lib/libX11.so.6 >> >> #4 0x0000000802ba7cc7 in _XEventsQueued () >> from >> >> /usr/local/lib/libX11.so.6 >> >> #5 0x0000000802b91b8b in XEventsQueued () >> from >> >> /usr/local/lib/libX11.so.6 >> >> #6 0x0000000801268b1b in AdjustCoverage >> (xcon=3D3DInvalid >> >> C/C++ type code 26 in symbol table. >> >> ) at ../src/xvbt/XClientF.m3:362 >> >> #7 0x000000080124dfb5 in Messenger >> (self=3D3DInvalid >> >> C/C++ type code 26 in symbol table. >> >> ) at ../src/xvbt/XMessenger.m3:108 >> >> #8 0x0000000801aeb7b3 in RunThread >> (me=3D3DInvalid C/C++ >> >> type code 29 in symbol table. >> >> ) at ../src/thread/PTHREAD/ThreadPThread.m3:509 >> >> #9 0x0000000801aeb569 in ThreadBase >> (param=3D3DInvalid >> >> C/C++ type code 35 in symbol table. >> >> ) at ../src/thread/PTHREAD/ThreadPThread.m3:490 >> >> #10 0x0000000802ead4d1 in pthread_getprio () from >> >> /lib/libthr.so.3 >> >> #11 0x0000000000000000 in ?? () >> >> (m3gdb)=3D20 >> >> (m3gdb) up 6 >> >> #6 0x0000000801268b1b in AdjustCoverage >> >> (xcon=3D3D16_000000080377a2c0, d=3D3D1) at >> >> ../src/xvbt/XClientF.m3:362 >> >> 362 IF >> >> X.XEventsQueued(xcon.dpy, X.QueuedAfterReading) # >> 0 THEN >> >> Current language: auto; currently Modula-3 >> >> (m3gdb) list >> >> 357 RAISES >> >> {TrestleComm.Failure} =3D3D >> >> 358 BEGIN >> >> 359 TRY >> >> 360 =3D20 >> >> INC(xcon.coverage, d); >> >> 361 IF >> xcon.coverage >> >> =3D3D 0 THEN X.XFlush(xcon.dpy) END; >> >> 362 IF >> >> X.XEventsQueued(xcon.dpy, X.QueuedAfterReading) # >> 0 THEN >> >> 363 =3D20 >> >> Thread.Signal(xcon.qNonEmpty) >> >> 364 END; >> >> 365 EXCEPT >> X.Error >> >> =3D3D> RAISE TrestleComm.Failure END; >> >> 366 END >> AdjustCoverage; >> >> (m3gdb) print xcon.dpy >> >> $1 =3D3D 16_000000080389f000 >> >>=3D20 >> >>=3D20 >> >>=3D20 >> >> =3D0A=3D0A=3D0A =20 >> =0A=0A=0A From hosking at cs.purdue.edu Thu Nov 5 20:27:40 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Thu, 5 Nov 2009 14:27:40 -0500 Subject: [M3devel] gc/barriers? In-Reply-To: References: Message-ID: For a description of the current concurrent CM3 GC algorithm I suggest you take a look at my ISMM'06 paper: http://www.cs.purdue.edu/~hosking/papers/ismm06.pdf . You are correct in stating that the write barriers used in the CM3 collector are used for generational GC, to keep track of updates to objects in the older generation. That way, when collecting just the younger generation we can focus our attention to those pages of the older generation that refer into the younger generation. Note that all surviving young objects are promoted into the older generation at every GC cycle. Thus, there are never young objects referred to by old objects at the end of GC. The read barrier is used to protect against mutator threads executing concurrently with the garbage collector from acquiring pointers to objects that have not yet been scanned by the garbage collector. We divide objects into those that are black (scanned by the garbage collector), grey (reached but not yet scanned), and white (not yet reached). At the end of the GC cycle unreached objects are garbage. The CM3 collector maintains an invariant that black objects can never contain pointers to white objects. Moreover, the read barrier ensures that mutator threads hold only pointers to black objects. This prevents the mutator from copying a pointer to a white object into a black object. Otherwise, the collector might never reach that white object and it would be freed even though it is reachable from the black object. Impure objects contain pointers. Pure objects are "leaves" in the object graph -- they contain no pointers. On 5 Nov 2009, at 13:19, Jay K wrote: > > Feel free to ask if you have questions. > > On a different matter.... can you, um, explain garbage collection? > Specifically barriers? > And the five states? Are they just older/younger? > > > I understand "the generational hypothesis". > "Most objects die young". > (Most objects could be stack allocated. :) ) > > And then there is a need to divide objects, at runtime, into older > and younger. > > And then, there is some need to notice pointers that cross > generations? > That is, "old" usually includes no garbage, unless it has been > changed since > the last check, and then needs a new check? > > That is, a write barrier is a sort of copy-on-write, or notice- > writes mechanism? > A write into a generation means the gc needs to check it? > > That is, if you look at the Win32 GetWriteWatch API, that's what we > are simulating sort of? > (or vice versa)? > > I'm really guessing. > And this doesn't explain what, if anything, a read barrier is. > > But then is meant by gray/impure/etc.? > > Maybe checkin RTCollector.readme? > > (note that read/write barriers are other things too -- ways to enforce > (relative) order of executation). > > - Jay > > > > > From vapier at gentoo.org Thu Nov 5 20:19:47 2009 From: vapier at gentoo.org (Mike Frysinger) Date: Thu, 5 Nov 2009 15:19:47 -0400 Subject: [M3devel] removing vfork, general header cloning matters? In-Reply-To: References: Message-ID: <200911051419.51901.vapier@gentoo.org> On Thursday 05 November 2009 12:35:47 Jay K wrote: > I say we remove vfork from m3core. > > - It cannot be portably wrapped in C without > violating Posix. And is that theoretical or real? i dont know what "wrapped" means, but vfork is no longer in POSIX. it was in older specs, but it has been dropped. > Posix says you can't return from the caller of vfork. > It must exec or _exit. POSIX does not say this. it says that behavior is undefined if the child of vfork() does anything other than exec or _exit. "undefined" means implementers are allowed to do anything they want otherwise (including crash). in reality, there is a lot you can actually do, but returning from the function that called vfork() is not one of them. in doing so, you most often modify the stack, and once the child does exit/whatever, the parent will see the mangled stack state and often crash & burn. > It'd be cool if we could have a jump or tail recursion > but that's probably not feasible. > Maybe a function pointer?? I can try that out. in practice, you can call as many functions after vfork() as you like. ultimately, the child needs to call exec or _exit, else the parent stays frozen indefinitely. > Would have to see if Posix allows vfork to be a macro through. > We could declare a function pointer and then the C implementation > could have an #ifdef around it -- not provide the function pointer on > all platforms. POSIX doesnt care about how vfork() is implemented -- prototype or a define that expands. i dont really see the point though. > IF we ever get to a system where vfork is advantagous against fork, uses > should be written in C. doing vfork;exec is pretty much always a win over fork;exec. the question comes down to how much of a win and whether it's worth the hassle. > Maybe I just need to read more of the Posix spec and maybe it talks about > link level naming vs. C source level constructs? Ie. maybe they talk about > Ada, Pascal, etc. bindings?? (ie: maybe people really do support languages > other than C via acceptable header cloning?) i'm pretty sure POSIX doesnt dictate the link level names, only the C API. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: From jay.krell at cornell.edu Thu Nov 5 20:42:39 2009 From: jay.krell at cornell.edu (Jay K) Date: Thu, 5 Nov 2009 19:42:39 +0000 Subject: [M3devel] truncation test Message-ID: truncate test, please ignore - Jay . text after possible truncation - Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Thu Nov 5 20:48:47 2009 From: jay.krell at cornell.edu (Jay K) Date: Thu, 5 Nov 2009 19:48:47 +0000 Subject: [M3devel] gc/barriers? In-Reply-To: References: Message-ID: Thanks Tony this looks very useful. Here is the untruncated more informative email. (We'll see how the quoted period is handled! :) ) - Jay > CC: m3devel at elegosoft.com > From: hosking at cs.purdue.edu > To: jay.krell at cornell.edu > Subject: Re: gc/barriers? > Date: Thu, 5 Nov 2009 14:27:40 -0500 > > For a description of the current concurrent CM3 GC algorithm I suggest > you take a look at my ISMM'06 paper: http://www.cs.purdue.edu/~hosking/papers/ismm06.pdf > . > > You are correct in stating that the write barriers used in the CM3 > collector are used for generational GC, to keep track of updates to > objects in the older generation. That way, when collecting just the > younger generation we can focus our attention to those pages of the > older generation that refer into the younger generation. Note that > all surviving young objects are promoted into the older generation at > every GC cycle. Thus, there are never young objects referred to by > old objects at the end of GC. > > The read barrier is used to protect against mutator threads executing > concurrently with the garbage collector from acquiring pointers to > objects that have not yet been scanned by the garbage collector. We > divide objects into those that are black (scanned by the garbage > collector), grey (reached but not yet scanned), and white (not yet > reached). At the end of the GC cycle unreached objects are garbage. > The CM3 collector maintains an invariant that black objects can never > contain pointers to white objects. Moreover, the read barrier ensures > that mutator threads hold only pointers to black objects. This > prevents the mutator from copying a pointer to a white object into a > black object. Otherwise, the collector might never reach that white > object and it would be freed even though it is reachable from the > black object. > > Impure objects contain pointers. Pure objects are "leaves" in the > object graph -- they contain no pointers. > > On 5 Nov 2009, at 13:19, Jay K wrote: > > > > Feel free to ask if you have questions. > > > > On a different matter.... can you, um, explain garbage collection? > > Specifically barriers? > > And the five states? Are they just older/younger? > > > > > > I understand "the generational hypothesis". > > "Most objects die young". > > (Most objects could be stack allocated. :) ) > > > > And then there is a need to divide objects, at runtime, into older > > and younger. > > > > And then, there is some need to notice pointers that cross > > generations? > > That is, "old" usually includes no garbage, unless it has been > > changed since > > the last check, and then needs a new check? > > > > That is, a write barrier is a sort of copy-on-write, or notice- > > writes mechanism? > > A write into a generation means the gc needs to check it? > > > > That is, if you look at the Win32 GetWriteWatch API, that's what we > > are simulating sort of? > > (or vice versa)? > > > > I'm really guessing. > > And this doesn't explain what, if anything, a read barrier is. > > > > But then is meant by gray/impure/etc.? > > > > Maybe checkin RTCollector.readme? > > > > (note that read/write barriers are other things too -- ways to enforce > > (relative) order of executation). > > > > - Jay > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Thu Nov 5 20:47:21 2009 From: jay.krell at cornell.edu (Jay K) Date: Thu, 5 Nov 2009 19:47:21 +0000 Subject: [M3devel] truncation test In-Reply-To: References: Message-ID: Ton's email showed the problem. The below email was truncated under my control. If a line contains just a period, it and the rest are lost. - Jay > From: jay.krell at cornell.edu > To: m3devel at elegosoft.com > Date: Thu, 5 Nov 2009 19:42:39 +0000 > Subject: [M3devel] truncation test > > > truncate test, please ignore > > - Jay > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.krell at cornell.edu Thu Nov 5 21:09:18 2009 From: jay.krell at cornell.edu (Jay K) Date: Thu, 5 Nov 2009 20:09:18 +0000 Subject: [M3devel] removing vfork, general header cloning matters? In-Reply-To: <200911051419.51901.vapier@gentoo.org> References: Message-ID: Mike, thank you for the detailed response. "not wrapped (in C)" is: foo.i3 INTERFACE IFoo; <*external*> PROCEDURE Foo(); END IFoo. cm3 generates reference to "Foo". "wrapped (in C) is: foo.i3 INTERFACE IFoo; <*external IFoo__Foo*> PROCEDURE Foo(); END IFoo. cm3 generates reference to IFoo__Foo. foo.c #include whatever.h void IFoo__Foo() { Foo(); } To the extent that whatever.h is simply: void Foo(void); it doesn't matter. To the extent that whatever.h is inline void Foo(void) { ..stuff.. } or #define Foo Fooabcdef void Foo(void); or such AND that compatibility isn't provided for simply void Foo(void); wrapping is required. Or adapting the .i3 somehow, not portably. Wrapping is generally easy and safe and portable and wards of any such problems. Slightly wasteful, granted. However because the caller of vfork is undefined if it returns and often bad in practise (adopting/agreeing with what you say) this wrapping is not a good direction, for this particular function. Therefore stuck between contradictions. fork/exec vs. vfork/exec On current systems why does vfork ever win? Or win significantly? If it is a significant win, we can/should rewrite our fork use in C. (not necessarily the entire function, just the part up to exec/_exit). Even though vfork is no longer Posix, it is still widespread with matching semantics everywhere? Always either equivalent or slightly faster? The disappointing thing is that the system with the really really slow fork -- Cygwin -- has an identical vfork. Thanks, - Jay > From: vapier at gentoo.org > To: m3devel at elegosoft.com > Date: Thu, 5 Nov 2009 15:19:47 -0400 > CC: jay.krell at cornell.edu > Subject: Re: [M3devel] removing vfork, general header cloning matters? > > On Thursday 05 November 2009 12:35:47 Jay K wrote: > > I say we remove vfork from m3core. > > > > - It cannot be portably wrapped in C without > > violating Posix. And is that theoretical or real? > > i dont know what "wrapped" means, but vfork is no longer in POSIX. it was in > older specs, but it has been dropped. > > > Posix says you can't return from the caller of vfork. > > It must exec or _exit. > > POSIX does not say this. it says that behavior is undefined if the child of > vfork() does anything other than exec or _exit. "undefined" means > implementers are allowed to do anything they want otherwise (including crash). > > in reality, there is a lot you can actually do, but returning from the > function that called vfork() is not one of them. in doing so, you most often > modify the stack, and once the child does exit/whatever, the parent will see > the mangled stack state and often crash & burn. > > > It'd be cool if we could have a jump or tail recursion > > but that's probably not feasible. > > Maybe a function pointer?? I can try that out. > > in practice, you can call as many functions after vfork() as you like. > ultimately, the child needs to call exec or _exit, else the parent stays > frozen indefinitely. > > > Would have to see if Posix allows vfork to be a macro through. > > We could declare a function pointer and then the C implementation > > could have an #ifdef around it -- not provide the function pointer on > > all platforms. > > POSIX doesnt care about how vfork() is implemented -- prototype or a define > that expands. i dont really see the point though. > > > IF we ever get to a system where vfork is advantagous against fork, uses > > should be written in C. > > doing vfork;exec is pretty much always a win over fork;exec. the question > comes down to how much of a win and whether it's worth the hassle. > > > Maybe I just need to read more of the Posix spec and maybe it talks about > > link level naming vs. C source level constructs? Ie. maybe they talk about > > Ada, Pascal, etc. bindings?? (ie: maybe people really do support languages > > other than C via acceptable header cloning?) > > i'm pretty sure POSIX doesnt dictate the link level names, only the C API. > -mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From vapier at gentoo.org Thu Nov 5 21:32:50 2009 From: vapier at gentoo.org (Mike Frysinger) Date: Thu, 5 Nov 2009 16:32:50 -0400 Subject: [M3devel] removing vfork, general header cloning matters? In-Reply-To: References: Message-ID: <200911051532.51540.vapier@gentoo.org> On Thursday 05 November 2009 15:09:18 Jay K wrote: > fork/exec vs. vfork/exec > On current systems why does vfork ever win? every system out there ? for some trivial logic: http://www.netbsd.org/Documentation/kernel/vfork.html > Or win significantly? old/slow systems ? with today's cpu power and optimization with fork(), i dont think modern OS's have a significant performance difference. although it should be pretty easy to test ... simply write a loop that does fork(); exec(/bin/true); in a loop and compare its rusage to the same loop but with vfork() in it. > Even though vfork is no longer Posix, it is still widespread with matching > semantics everywhere? Always either equivalent or slightly faster? for what you want (a fast fork + exec), the semantics should be safe/portable. if you want to do anything more exotic (and thus outside the realm of POSIX 2004), i'm really only familiar with inner details of Linux. > The disappointing thing is that the system with the really really slow fork > -- Cygwin -- has an identical vfork. cygwin is slow all the time. focus on mingw if you want real windows support. not that i have any idea how much effort this would require for cm3 ... it's be a long time since i last looked at the code base after giving up on porting it to something reasonable (x86_64/Linux) let alone fun (hppa). -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: From mika at async.async.caltech.edu Thu Nov 5 22:29:33 2009 From: mika at async.async.caltech.edu (Mika Nystrom) Date: Thu, 05 Nov 2009 13:29:33 -0800 Subject: [M3devel] AMD64_FREEBSD problems with current RC from m3 site In-Reply-To: <38EDB202-069A-4B0C-B435-29FC2C0DFA3D@cs.purdue.edu> References: <20091031161142.57E771A2097@async.async.caltech.edu> <20091031161514.C7E441A2097@async.async.caltech.edu> <7D03409A-CC44-4B27-BCE0-E7A3D110B242@cs.purdue.edu> <20091031182637.1D2DD1A209C@async.async.caltech.edu> <9666B412-E255-4103-9954-420E39AA9303@cs.purdue.edu> <20091031185401.0E3761A209C@async.async.caltech.edu> <20091031191011.63E701A2097@async.async.caltech.edu> <823EE49D-F6C9-4A13-A6BA-4EC73B00E13E@cs.purdue.edu> <20091031192335.050261A207D@async.async.caltech.edu> <20091031200623.C0BC71A2097@async.async.caltech.edu> <1210FEF9-5EAD-4313-A96A-2709711F4BDE@cs.purdue.edu> <20091102172011.A9D5B1A209F@async.async.caltech.edu> <94D30830-E745-4305-B587-75E2AC7612CC@cs.purdue.edu> <20091105005732.CA91E1A2087@async.async.caltech.edu> <20091105064628.883E71A2087@async.async.caltech.edu> <38EDB202-069A-4B0C-B435 -29FC2C0DFA3D@cs.purdue.edu> Message-ID: <20091105212933.A2E091A2094@async.async.caltech.edu> Ok here is the latest head (recompiled m3core, libm3, and all my own code): WARNING: MktPlace.RecApply: asset CB:USD not yet (fully) initialized, will not attempt executions ag ainst it. [New Thread 0x805cdd440 (LWP 100477)] WARNING: MktPlace.RecApply: asset CB:CAD not yet (fully) initialized, will not attempt executions ag ainst it. [Switching to Thread 0x805c020b0 (LWP 100102)] Breakpoint 1, RTHooks__ReportFault (M3_AJWxb1_module=Error accessing memory address 0x8000ffffbe58: Bad address. ) at ../src/runtime/common/RTHooks.m3:95 95 VAR a: RT0.RaiseActivation; code := Word.And (info, 16_1f); (gdb) where #0 RTHooks__ReportFault (M3_AJWxb1_module=Error accessing memory address 0x8000ffffbe58: Bad address. ) at ../src/runtime/common/RTHooks.m3:95 #1 0x000000080377621e in _m3_fault (M3_AcxOUs_arg=Error accessing memory address 0x8000ffffbed8: Bad address. ) from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 #2 0x000000080377516d in ThreadPThread__StopWorld () at ../src/thread/PTHREAD/ThreadPThread.m3:1061 #3 0x000000080377475c in ThreadInternal__SuspendOthers () at ../src/thread/PTHREAD/ThreadPThread.m3:865 #4 0x0000000803756036 in RTCollector__After (M3_ACxHlO_self=Error accessing memory address 0x8000ffffbf98: Bad address. ) at ../src/runtime/common/RTCollector.m3:1628 #5 0x000000080374cb35 in RTHeapRep__InvokeMonitors (M3_AicXUJ_before=Error accessing memory address 0x8000ffffbfbf: Bad address. ) at ../src/runtime/common/RTHeapRep.m3:59 #6 0x00000008037537fc in RTCollector__CollectSomeInStateFive () at ../src/runtime/common/RTCollector.m3:983 #7 0x00000008037526dc in RTCollector__CollectSome () at ../src/runtime/common/RTCollector.m3:724 #8 0x00000008037520a1 in RTHeapRep__CollectEnough () at ../src/runtime/common/RTCollector.m3:653 #9 0x0000000803748f49 in RTAllocator__AllocTraced (M3_Cwb5VA_dataSize=Error accessing memory address 0x8000ffffc138: Bad address. ) at ../src/runtime/common/RTAllocator.m3:365 #10 0x00000008037487a7 in RTAllocator__GetOpenArray (M3_Eic7CK_def=Error accessing memory address 0x8000ffffc228: Bad address. ) at ../src/runtime/common/RTAllocator.m3:294 #11 0x00000008037478e9 in RTHooks__AllocateOpenArray (M3_AJWxb1_defn=Error accessing memory address 0x8000ffffc2a8: Bad address. ) at ../src/runtime/common/RTAllocator.m3:141 #12 0x000000080378931b in Text8__Create (M3_Cwb5VA_n=Error accessing memory address 0x8000ffffc2e8: Bad address. ) at ../src/text/Text8.m3:27 #13 0x000000080378915f in Text8__New (M3_CKMnXU_a=Error accessing memory address 0x8000ffffc348: Bad address. ) at ../src/text/Text8.m3:19 ---Type to continue, or q to quit--- #14 0x0000000803787c8b in Text__FromChars (M3_CKMnXU_a=Error accessing memory address 0x8000ffffc3c8: Bad address. ) at ../src/text/Text.m3:226 #15 0x0000000800ad41e5 in TWSLogger__ParseRec (M3_CKMnXU_chars=Error accessing memory address 0x8000ffffc418: Bad address. ) at ../src/TWSLogger.m3:126 #16 0x0000000800ad4ce1 in TWSReplayer__ReadRecord (M3_AJWxb1_h=Error accessing memory address 0x8000ffffc5b8: Bad address. ) at ../src/TWSReplayer.m3:109 #17 0x0000000800ad65fb in TWSReplayer__SearchBackwardForData (M3_AYIbX3_mu=Error accessing memory address 0x8000ffffce88: Bad address. ) at ../src/TWSReplayer.m3:350 #18 0x0000000800ad6e8a in TWSReplayer__ReqMktData (M3_AHDbrZ_t=Error accessing memory address 0x8000ffffd018: Bad address. ) at ../src/TWSReplayer.m3:396 #19 0x0000000800adae34 in TWSReplayBridge__MreqMktData (M3_Bswth7_t=Error accessing memory address 0x8000ffffd228: Bad address. ) at ../src/TWSReplayBridge.m3 => /home/mika/t/calarm/twslib/src/TWSBridge.mg:574 #20 0x000000000040748a in MktIsolator__AddContract (M3_AGQ7IN_tws=Error accessing memory address 0x8000ffffd278: Bad address. ) at ../src/MktIsolator.m3:423 #21 0x00000000004086d8 in MktIsolator__Init (M3_EXOfcS_t=Error accessing memory address 0x8000ffffd2d8: Bad address. ) at ../src/MktIsolator.m3:517 #22 0x00000000004106af in Main_M3 (M3_AcxOUs_mode=Error accessing memory address 0x8000ffffd5c8: Bad address. ) at ../src/Main.m3:734 #23 0x000000080375e507 in RTLinker__RunMainBody (M3_DjPxE3_m=Error accessing memory address 0x8000ffffdc48: Bad address. ) at ../src/runtime/common/RTLinker.m3:399 #24 0x000000080375d6ee in RTLinker__AddUnitI (M3_DjPxE3_m=Error accessing memory address 0x8000ffffdce8: Bad address. ) at ../src/runtime/common/RTLinker.m3:113 #25 0x000000080375d78c in RTLinker__AddUnit (M3_DjPxE5_b=Error accessing memory address 0x8000ffffdd08: Bad address. ) at ../src/runtime/common/RTLinker.m3:122 #26 0x0000000000404194 in main (argc=Error accessing memory address 0x8000ffffdd58: Bad address. ) at _m3main.mc:4 (gdb) The following is less than helpful: (gdb) #2 0x000000080377516d in ThreadPThread__StopWorld () at ../src/thread/PTHREAD/ThreadPThread.m3:1061 1061 <*ASSERT acks < nLive*> (gdb) print acks (gdb) print M3_DLS2Hj_acks Error accessing memory address 0x8000ffffbf24: Bad address. (gdb) print M3_AcxOUs_nLive Error accessing memory address 0x8000ffffbf28: Bad address. (gdb) Thread: 0x8063da3a0 mutex: 0x805c130a8 cond: 0x805c130b0 act: 0x805c16080 closure: 0x0 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80618cca0 Thread: 0x800571760 mutex: 0x805c13428 cond: 0x805c13568 act: 0x805c16b80 closure: 0x8005716e0 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005717c0 Thread: 0x800571868 mutex: 0x805c13570 cond: 0x805c13578 act: 0x805c16c00 closure: 0x800571850 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005718c8 Thread: 0x800571908 mutex: 0x805c13580 cond: 0x805c13588 act: 0x805c16c80 closure: 0x8005718e8 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800571968 Thread: 0x800571a30 mutex: 0x805c13590 cond: 0x805c13598 act: 0x805c16d00 closure: 0x800571a10 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800571a90 Thread: 0x8005d4590 mutex: 0x805c135a8 cond: 0x805c135b0 act: 0x805c16e00 closure: 0x8005d4310 result: 0x0 waitingOn: 0x8005d6080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005d45f0 Thread: 0x8005597c0 mutex: 0x805c13878 cond: 0x805c13880 act: 0x805c16e80 closure: 0x800559540 result: 0x0 waitingOn: 0x800592080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800559820 Thread: 0x805b9ea68 mutex: 0x805c13eb8 cond: 0x805c13ec0 act: 0x805c16d80 closure: 0x805b9e7e8 result: 0x0 waitingOn: 0x805ba0080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805b9eac8 Thread: 0x805ba6308 mutex: 0x805c13608 cond: 0x805c13610 act: 0x805c16f00 closure: 0x805ba6088 result: 0x0 waitingOn: 0x805ba8080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805ba6368 Thread: 0x805bc0240 mutex: 0x805cc4b00 cond: 0x805cc4b08 act: 0x805c16f80 closure: 0x805bbffa8 result: 0x0 waitingOn: 0x805bc2080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805bc02a0 Thread: 0x8005cfd50 mutex: 0x805c13658 cond: 0x805c13660 act: 0x805c17000 closure: 0x8005cfad0 result: 0x0 waitingOn: 0x8005d0080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005cfdb0 Thread: 0x8005694e0 mutex: 0x805cb6638 cond: 0x805cb6640 act: 0x805c17080 closure: 0x800569260 result: 0x0 waitingOn: 0x80056a080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800569540 Thread: 0x805e82c48 mutex: 0x805c13650 cond: 0x805c13698 act: 0x805c17100 closure: 0x805e829c8 result: 0x0 waitingOn: 0x800602080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e82ca8 Thread: 0x80059ca10 mutex: 0x805cb60c8 cond: 0x805cb60d0 act: 0x805c17180 closure: 0x80059c790 result: 0x0 waitingOn: 0x800606080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80059ca70 Thread: 0x805e3fd50 mutex: 0x805c136c0 cond: 0x805c136c8 act: 0x805c17200 closure: 0x805e3fad0 result: 0x0 waitingOn: 0x805e42080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e3fdb0 Thread: 0x805e55c50 mutex: 0x805ce5648 cond: 0x805ce5650 act: 0x805c17280 closure: 0x805e559d0 result: 0x0 waitingOn: 0x805e58080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e55cb0 Thread: 0x805e02d38 mutex: 0x805c136f8 cond: 0x805c13700 act: 0x805c17300 closure: 0x805e02ab8 result: 0x0 waitingOn: 0x805e0c080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e02d98 Thread: 0x805e64240 mutex: 0x805cd38c0 cond: 0x805cd38c8 act: 0x805c17380 closure: 0x805e61f78 result: 0x0 waitingOn: 0x805e66080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e642a0 Thread: 0x806232528 mutex: 0x805ccd0c8 cond: 0x805ccd0d0 act: 0x805cae100 closure: 0x8062322a8 result: 0x0 waitingOn: 0x80624e080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806232588 Thread: 0x800563d50 mutex: 0x805c13728 cond: 0x805c13730 act: 0x805c17400 closure: 0x800563ad0 result: 0x0 waitingOn: 0x80057c080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800563db0 Thread: 0x80059b150 mutex: 0x805c13b38 cond: 0x805c13b50 act: 0x805c17480 closure: 0x80059aed0 result: 0x0 waitingOn: 0x8005d8080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80059b1b0 Thread: 0x80060e308 mutex: 0x805c13758 cond: 0x805c13760 act: 0x805c17500 closure: 0x80060e088 result: 0x0 waitingOn: 0x800610080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80060e368 Thread: 0x805ed3650 mutex: 0x805cc41f0 cond: 0x805cc41f8 act: 0x805c17580 closure: 0x805ed33d0 result: 0x0 waitingOn: 0x805e84080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805ed36b0 Thread: 0x800585df8 mutex: 0x805c137c0 cond: 0x805c137c8 act: 0x805c17600 closure: 0x800585b78 result: 0x0 waitingOn: 0x805baa080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800585e58 Thread: 0x800577718 mutex: 0x805cc4278 cond: 0x805cc4280 act: 0x805c17680 closure: 0x800577498 result: 0x0 waitingOn: 0x80057a080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800577778 Thread: 0x805e57df8 mutex: 0x805c137f8 cond: 0x805c13800 act: 0x805c17700 closure: 0x805e57b78 result: 0x0 waitingOn: 0x800588080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e57e58 Thread: 0x805e20be8 mutex: 0x805cb6bc0 cond: 0x805cb6bc8 act: 0x805c17780 closure: 0x805e20968 result: 0x0 waitingOn: 0x805e22080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e20c48 Thread: 0x805e52b38 mutex: 0x805c138c0 cond: 0x805c138c8 act: 0x805c17800 closure: 0x805e528b8 result: 0x0 waitingOn: 0x805e86080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e52b98 Thread: 0x805bc6aa8 mutex: 0x805ccdef8 cond: 0x805ccdf00 act: 0x805c17880 closure: 0x805bc6828 result: 0x0 waitingOn: 0x805bca080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805bc6b08 Thread: 0x806113da0 mutex: 0x805c138f8 cond: 0x805c13900 act: 0x805c17900 closure: 0x806113b20 result: 0x0 waitingOn: 0x806114080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806113e00 Thread: 0x805e46240 mutex: 0x805cb65b8 cond: 0x805cb65c0 act: 0x805c17980 closure: 0x805e41f78 result: 0x0 waitingOn: 0x805e4c080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e462a0 Thread: 0x805b9ccc0 mutex: 0x805cb61f8 cond: 0x805cb6200 act: 0x805cae180 closure: 0x805b9ca40 result: 0x0 waitingOn: 0x805bc8080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805b9cd20 Thread: 0x80613cd38 mutex: 0x805c13930 cond: 0x805c13938 act: 0x805c17a00 closure: 0x80613cab8 result: 0x0 waitingOn: 0x8005e6080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80613cd98 Thread: 0x805e4b4a8 mutex: 0x805cb6750 cond: 0x805cb6758 act: 0x805c17a80 closure: 0x805e4b228 result: 0x0 waitingOn: 0x805e62080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e4b508 Thread: 0x805e0fe30 mutex: 0x805c13970 cond: 0x805c13978 act: 0x805c17b00 closure: 0x805e0fbb0 result: 0x0 waitingOn: 0x805e14080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e0fe90 Thread: 0x805e7ecd8 mutex: 0x805cb6df8 cond: 0x805cb6e00 act: 0x805c17b80 closure: 0x805e7ea58 result: 0x0 waitingOn: 0x8005e8080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e7ed38 Thread: 0x8005f3d50 mutex: 0x805c139a0 cond: 0x805c139a8 act: 0x805c17c00 closure: 0x8005f3ad0 result: 0x0 waitingOn: 0x805bce080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005f3db0 Thread: 0x800565628 mutex: 0x805cb6cc8 cond: 0x805cb6cd0 act: 0x805c17c80 closure: 0x8005653a8 result: 0x0 waitingOn: 0x800614080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800565688 Thread: 0x805e8eb38 mutex: 0x805c139e0 cond: 0x805c139e8 act: 0x805c17d00 closure: 0x805e8e8b8 result: 0x0 waitingOn: 0x806132080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e8eb98 Thread: 0x80610ada0 mutex: 0x805cc4390 cond: 0x805cc4398 act: 0x805c17d80 closure: 0x80610ab20 result: 0x0 waitingOn: 0x80610e080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80610ae00 Thread: 0x80614dda0 mutex: 0x805c13a10 cond: 0x805c13a18 act: 0x805c17e00 closure: 0x80614db20 result: 0x0 waitingOn: 0x806150080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80614de00 Thread: 0x800609408 mutex: 0x805ccd780 cond: 0x805ccd788 act: 0x805c17e80 closure: 0x800609188 result: 0x0 waitingOn: 0x80060c080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800609468 Thread: 0x8061bbdc8 mutex: 0x805c13a40 cond: 0x805c13a48 act: 0x805c17f00 closure: 0x8061bbb48 result: 0x0 waitingOn: 0x8061c0080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8061bbe28 Thread: 0x805bd5ec8 mutex: 0x805cd34f8 cond: 0x805cd3500 act: 0x805c17f80 closure: 0x805bd5c48 result: 0x0 waitingOn: 0x805bd8080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805bd5f28 Thread: 0x805bbbdc8 mutex: 0x805c13a70 cond: 0x805c13a78 act: 0x805cad080 closure: 0x805bbbb48 result: 0x0 waitingOn: 0x805e72080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805bbbe28 Thread: 0x805eb3ee8 mutex: 0x805cd3548 cond: 0x805cd3550 act: 0x805cad100 closure: 0x805eb3c68 result: 0x0 waitingOn: 0x805eb4080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805eb3f48 Thread: 0x805ed7dc8 mutex: 0x805c13aa0 cond: 0x805c13aa8 act: 0x805cad180 closure: 0x805ed7b48 result: 0x0 waitingOn: 0x805e5c080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805ed7e28 Thread: 0x805e32648 mutex: 0x805cd30a0 cond: 0x805cd30a8 act: 0x805cad200 closure: 0x805e323c8 result: 0x0 waitingOn: 0x805e34080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e326a8 Thread: 0x80613a868 mutex: 0x805c13ae0 cond: 0x805c13ae8 act: 0x805cad280 closure: 0x80613a5e8 result: 0x0 waitingOn: 0x80625e080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80613a8c8 Thread: 0x805e27790 mutex: 0x805cb6db8 cond: 0x805cb6dc0 act: 0x805cad300 closure: 0x805e27510 result: 0x0 waitingOn: 0x805e28080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e277f0 Thread: 0x805eade70 mutex: 0x805c13ba8 cond: 0x805c13bb0 act: 0x805cad380 closure: 0x805eadbf0 result: 0x0 waitingOn: 0x805bb8080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805eaded0 Thread: 0x805e91118 mutex: 0x805cc4770 cond: 0x805cc4778 act: 0x805cad400 closure: 0x805e90e98 result: 0x0 waitingOn: 0x805e9e080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e91178 Thread: 0x8061295c8 mutex: 0x805c13c00 cond: 0x805c13c08 act: 0x805cad480 closure: 0x806129348 result: 0x0 waitingOn: 0x80622e080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806129628 Thread: 0x805ed59b8 mutex: 0x805cc46e8 cond: 0x805cc46f0 act: 0x805cad500 closure: 0x805ed5738 result: 0x0 waitingOn: 0x80615a080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805ed5a18 Thread: 0x806134bb0 mutex: 0x805c13c30 cond: 0x805c13c38 act: 0x805cad580 closure: 0x806134930 result: 0x0 waitingOn: 0x806136080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806134c10 Thread: 0x805e92240 mutex: 0x805cd3950 cond: 0x805cd3958 act: 0x805cad600 closure: 0x805e75e68 result: 0x0 waitingOn: 0x805e94080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e922a0 Thread: 0x806216410 mutex: 0x805c13c60 cond: 0x805c13c68 act: 0x805cad680 closure: 0x806216190 result: 0x0 waitingOn: 0x806218080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806216470 Thread: 0x805e97f00 mutex: 0x805ce5570 cond: 0x805ce5578 act: 0x805cad700 closure: 0x805e97c80 result: 0x0 waitingOn: 0x805e9a080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e97f60 Thread: 0x806126cc0 mutex: 0x805c13cd0 cond: 0x805c13cd8 act: 0x805cad780 closure: 0x806126a40 result: 0x0 waitingOn: 0x806212080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806126d20 Thread: 0x806250038 mutex: 0x805f1b0b0 cond: 0x805f1b0b8 act: 0x805cad800 closure: 0x80624dda8 result: 0x0 waitingOn: 0x806252080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806250098 Thread: 0x8061acbb0 mutex: 0x805c13d00 cond: 0x805c13d08 act: 0x805cad880 closure: 0x8061ac930 result: 0x0 waitingOn: 0x8061b0080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8061acc10 Thread: 0x806234240 mutex: 0x805ce5c08 cond: 0x805ce5c10 act: 0x805cad900 closure: 0x806231e68 result: 0x0 waitingOn: 0x8005f4080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8062342a0 Thread: 0x80611e3a0 mutex: 0x805c13d40 cond: 0x805c13d48 act: 0x805cad980 closure: 0x80611e120 result: 0x0 waitingOn: 0x80612a080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80611e400 Thread: 0x806267570 mutex: 0x805ccd960 cond: 0x805ccd968 act: 0x805cada00 closure: 0x8062672f0 result: 0x0 waitingOn: 0x806268080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8062675d0 Thread: 0x8061cfdc8 mutex: 0x805c13d80 cond: 0x805c13d98 act: 0x805cada80 closure: 0x8061cfb48 result: 0x0 waitingOn: 0x805ec0080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8061cfe28 Thread: 0x800557290 mutex: 0x805c13df0 cond: 0x805c13df8 act: 0x805cadb00 closure: 0x800557010 result: 0x0 waitingOn: 0x80056c080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005572f0 Thread: 0x8005b5e70 mutex: 0x805c13e28 cond: 0x805c13e30 act: 0x805cadb80 closure: 0x8005b5bf0 result: 0x0 waitingOn: 0x8005c0080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005b5ed0 Thread: 0x8005c4900 mutex: 0x805c13f28 cond: 0x805c13f30 act: 0x805cadc00 closure: 0x8005c4680 result: 0x0 waitingOn: 0x8005c6080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005c4960 Thread: 0x8005a3dc8 mutex: 0x805c13f70 cond: 0x805c13f78 act: 0x805cadc80 closure: 0x8005a3b48 result: 0x0 waitingOn: 0x8005cc080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005a3e28 Thread: 0x8005720f0 mutex: 0x805d045f8 cond: 0x805d04758 act: 0x805d17080 closure: 0x800572050 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x800572150 Thread: 0x805e3d938 mutex: 0x805ce5128 cond: 0x805ce5130 act: 0x805cadd00 closure: 0x805e3d6b8 result: 0x0 waitingOn: 0x805e8a080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e3d998 Thread: 0x805ebbe70 mutex: 0x805c13fa0 cond: 0x805c13fa8 act: 0x805cadd80 closure: 0x805ebbbf0 result: 0x0 waitingOn: 0x806162080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805ebbed0 Thread: 0x805bc5028 mutex: 0x805cb6980 cond: 0x805cb6988 act: 0x805cade00 closure: 0x805bc4da8 result: 0x0 waitingOn: 0x805bd6080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805bc5088 Thread: 0x805ebc0f0 mutex: 0x805d047f0 cond: 0x805d04820 act: 0x805d17100 closure: 0x805ebc050 result: 0x0 waitingOn: 0x0 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805ebc150 Thread: 0x805eaebb0 mutex: 0x805cb6138 cond: 0x805cb6140 act: 0x805cade80 closure: 0x805eae930 result: 0x0 waitingOn: 0x805eb6080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805eaec10 Thread: 0x8005b0868 mutex: 0x805f81748 cond: 0x805f81750 act: 0x805cadf00 closure: 0x8005b05e8 result: 0x0 waitingOn: 0x8005b2080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005b08c8 Thread: 0x8062de3a0 mutex: 0x805cb6188 cond: 0x805cb6190 act: 0x805cadf80 closure: 0x8062de120 result: 0x0 waitingOn: 0x8062e0080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8062de400 Thread: 0x805e17c10 mutex: 0x805f1b9b8 cond: 0x805f1b9c0 act: 0x805cae000 closure: 0x805e17990 result: 0x0 waitingOn: 0x805e18080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e17c70 Thread: 0x80612e3a0 mutex: 0x805cb61c0 cond: 0x805cb61c8 act: 0x805cae080 closure: 0x80612e120 result: 0x0 waitingOn: 0x806130080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80612e400 Thread: 0x80611b350 mutex: 0x805f10210 cond: 0x805f10218 act: 0x805cae200 closure: 0x80611b0d0 result: 0x0 waitingOn: 0x8061b4080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80611b3b0 Thread: 0x8062c1dc8 mutex: 0x805cb6230 cond: 0x805cb6238 act: 0x805cae280 closure: 0x8062c1b48 result: 0x0 waitingOn: 0x8062c8080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8062c1e28 Thread: 0x805ec97a0 mutex: 0x805f81a20 cond: 0x805f81a28 act: 0x805cae300 closure: 0x805ec9520 result: 0x0 waitingOn: 0x805ecc080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805ec9800 Thread: 0x805e48bb0 mutex: 0x805cb6228 cond: 0x805cb6270 act: 0x805cae380 closure: 0x805e48930 result: 0x0 waitingOn: 0x805e5e080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e48c10 Thread: 0x80619d440 mutex: 0x805f74800 cond: 0x805f74808 act: 0x805cae400 closure: 0x80619d1c0 result: 0x0 waitingOn: 0x80619e080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80619d4a0 Thread: 0x80626bdc8 mutex: 0x805cb6298 cond: 0x805cb62a0 act: 0x805cae480 closure: 0x80626bb48 result: 0x0 waitingOn: 0x8005c8080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80626be28 Thread: 0x8005efd20 mutex: 0x805cc4b68 cond: 0x805cc4b70 act: 0x805cae500 closure: 0x8005efaa0 result: 0x0 waitingOn: 0x8005f0080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8005efd80 Thread: 0x806359dc8 mutex: 0x805cb62c8 cond: 0x805cb62d0 act: 0x805cae580 closure: 0x806359b48 result: 0x0 waitingOn: 0x8062d0080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806359e28 Thread: 0x8061d5440 mutex: 0x805cfa2e0 cond: 0x805cfa2e8 act: 0x805cae600 closure: 0x8061d51c0 result: 0x0 waitingOn: 0x8061d6080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8061d54a0 Thread: 0x805e44cc0 mutex: 0x805cb62f8 cond: 0x805cb6300 act: 0x805cae680 closure: 0x805e44a40 result: 0x0 waitingOn: 0x805e5a080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805e44d20 Thread: 0x806273ec0 mutex: 0x805cd3d78 cond: 0x805cd3d80 act: 0x805cae700 closure: 0x806273c40 result: 0x0 waitingOn: 0x806278080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806273f20 Thread: 0x80613fdc8 mutex: 0x805cb6328 cond: 0x805cb6330 act: 0x805cae780 closure: 0x80613fb48 result: 0x0 waitingOn: 0x80614a080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x80613fe28 Thread: 0x8062cb078 mutex: 0x805cf5b28 cond: 0x805cf5b30 act: 0x805cae800 closure: 0x8062cadf8 result: 0x0 waitingOn: 0x8062cc080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8062cb0d8 Thread: 0x805ea7dc8 mutex: 0x805cb6360 cond: 0x805cb6368 act: 0x805cae880 closure: 0x805ea7b48 result: 0x0 waitingOn: 0x806142080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805ea7e28 Thread: 0x806148b20 mutex: 0x805cd3818 cond: 0x805cd3820 act: 0x805cae900 closure: 0x8061488a0 result: 0x0 waitingOn: 0x806156080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806148b80 Thread: 0x8061b7dc8 mutex: 0x805cb6398 cond: 0x805cb63a0 act: 0x805cae980 closure: 0x8061b7b48 result: 0x0 waitingOn: 0x8061c4080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8061b7e28 Thread: 0x806509f00 mutex: 0x805cf5300 cond: 0x805cf5308 act: 0x805caea00 closure: 0x806509c80 result: 0x0 waitingOn: 0x8063ae080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806509f60 $1 = void Thread: 0x805ea7dc8 mutex: 0x805cb6360 cond: 0x805cb6368 act: 0x805cae880 closure: 0x805ea7b48 result: 0x0 waitingOn: 0x806142080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x805ea7e28 Thread: 0x806148b20 mutex: 0x805cd3818 cond: 0x805cd3820 act: 0x805cae900 closure: 0x8061488a0 result: 0x0 waitingOn: 0x806156080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806148b80 Thread: 0x8061b7dc8 mutex: 0x805cb6398 cond: 0x805cb63a0 act: 0x805cae980 closure: 0x8061b7b48 result: 0x0 waitingOn: 0x8061c4080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x8061b7e28 Thread: 0x806509f00 mutex: 0x805cf5300 cond: 0x805cf5308 act: 0x805caea00 closure: 0x806509c80 result: 0x0 waitingOn: 0x8063ae080 nextWaiter: 0x0 alerted: 0 joined: 0 join: 0x806509f60 $1 = void (gdb) [cut here for sanity, sorry I might have copied one screen twice above] Running the code @M3debugthreads I get a lot of the following: Stopped from act=0x805c16080 Starting from act=0x805c16080 Starting act=0x805c16b80 Starting act=0x805c16c00 Starting act=0x805c16c80 Starting act=0x805c16d00 Starting act=0x805c16d80 Starting act=0x805c16e00 Starting act=0x805c16e80 Starting act=0x805c16f00 Starting act=0x805c16f80 Starting act=0x805c17000 Starting act=0x805c17080 Starting act=0x805c17100 Starting act=0x805c17180 Starting act=0x805c16f80 Starting act=0x805c17180 Starting act=0x805c17180 Started from act=0x805c16080 Stopping from act=0x805c16080 Stopping act=0x805c16b80 Stopping act=0x805c16c00 Stopping act=0x805c16c80 Stopping act=0x805c16d00 Stopping act=0x805c16d80 Stopping act=0x805c16e00 Stopping act=0x805c16e80 Stopping act=0x805c16f00 Stopping act=0x805c16f80 Stopping act=0x805c17000 Stopping act=0x805c17080 Stopping act=0x805c17100 Stopping act=0x805c17180 Stopping act=0x805c16e00 Stopping act=0x805c17000 Stopping act=0x805c17100 Stopped from act=0x805c16080 Processing act=0x805c16080 Processing act=0x805c16b80 Processing act=0x805c16c00 Processing act=0x805c16c80 Processing act=0x805c16d00 Processing act=0x805c16d80 Processing act=0x805c16e00 Processing act=0x805c16e80 Processing act=0x805c16f00 Processing act=0x805c16f80 Processing act=0x805c17000 Processing act=0x805c17080 Processing act=0x805c17100 Processing act=0x805c17180 Starting from act=0x805c16080 Is it because I'm using Thread.Broadcast a lot? Mika From hosking at cs.purdue.edu Thu Nov 5 22:47:21 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Thu, 5 Nov 2009 16:47:21 -0500 Subject: [M3devel] AMD64_FREEBSD problems with current RC from m3 site In-Reply-To: <20091105212933.A2E091A2094@async.async.caltech.edu> References: <20091031161142.57E771A2097@async.async.caltech.edu> <20091031161514.C7E441A2097@async.async.caltech.edu> <7D03409A-CC44-4B27-BCE0-E7A3D110B242@cs.purdue.edu> <20091031182637.1D2DD1A209C@async.async.caltech.edu> <9666B412-E255-4103-9954-420E39AA9303@cs.purdue.edu> <20091031185401.0E3761A209C@async.async.caltech.edu> <20091031191011.63E701A2097@async.async.caltech.edu> <823EE49D-F6C9-4A13-A6BA-4EC73B00E13E@cs.purdue.edu> <20091031192335.050261A207D@async.async.caltech.edu> <20091031200623.C0BC71A2097@async.async.caltech.edu> <1210FEF9-5EAD-4313-A96A-2709711F4BDE@cs.purdue.edu> <20091102172011.A9D5B1A209F@async.async.caltech.edu> <94D30830-E745-4305-B587-75E2AC7612CC@cs.purdue.edu> <20091105005732.CA91E1A2087@async.async.caltech.edu> <20091105064628.883E71A2087@async.async.caltech.edu> <38EDB202-069A-4B0C-B43! 5 -29FC2C0DFA3D@cs.purdue.edu> <20091105212933.A2E091A2094@async.async.caltech.edu> Message-ID: I need the full trace from @M3debugthreads going back from the point of failure to the last "Stopped from..." line. On 5 Nov 2009, at 16:29, Mika Nystrom wrote: > Ok here is the latest head (recompiled m3core, libm3, and all my own > code): > > WARNING: MktPlace.RecApply: asset CB:USD not yet (fully) > initialized, will not attempt executions ag > ainst it. > [New Thread 0x805cdd440 (LWP 100477)] > WARNING: MktPlace.RecApply: asset CB:CAD not yet (fully) > initialized, will not attempt executions ag > ainst it. > [Switching to Thread 0x805c020b0 (LWP 100102)] > > Breakpoint 1, RTHooks__ReportFault (M3_AJWxb1_module=Error accessing > memory address 0x8000ffffbe58: > Bad address. > ) at ../src/runtime/common/RTHooks.m3:95 > 95 VAR a: RT0.RaiseActivation; code := Word.And (info, 16_1f); > (gdb) where > #0 RTHooks__ReportFault (M3_AJWxb1_module=Error accessing memory > address 0x8000ffffbe58: Bad address. > ) at ../src/runtime/common/RTHooks.m3:95 > #1 0x000000080377621e in _m3_fault (M3_AcxOUs_arg=Error accessing > memory address 0x8000ffffbed8: Bad address. > ) > from /usr/local/cm3/pkg/m3core/AMD64_FREEBSD/libm3core.so.5 > #2 0x000000080377516d in ThreadPThread__StopWorld () > at ../src/thread/PTHREAD/ThreadPThread.m3:1061 > #3 0x000000080377475c in ThreadInternal__SuspendOthers () > at ../src/thread/PTHREAD/ThreadPThread.m3:865 > #4 0x0000000803756036 in RTCollector__After (M3_ACxHlO_self=Error > accessing memory address 0x8000ffffbf98: Bad address. > ) > at ../src/runtime/common/RTCollector.m