Path: news.cs.au.dk!news.net.uni-c.dk!howland.erols.net!skynet.be!poster!not-for-mail From: Atle Newsgroups: comp.lang.beta Subject: Re: Turbo Beta? Date: Mon, 03 Jul 2000 15:11:20 -0100 Organization: Belgacom Skynet SA/NV Lines: 319 Message-ID: <3960BB28.253908DE@skynet.be> References: <394F7C35.432BE7FF@skynet.be> <8jpte3$p8mh$1@xinwen.cs.au.dk> NNTP-Posting-Host: dialup179.charleroi.skynet.be Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------844AE71F4F292B9FD3D43140" X-Trace: news0.skynet.be 962629533 3722 195.238.7.179 (3 Jul 2000 13:05:33 GMT) X-Complaints-To: abuse@skynet.be NNTP-Posting-Date: 3 Jul 2000 13:05:33 GMT X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en Xref: news.cs.au.dk comp.lang.beta:12513 This is a multi-part message in MIME format. --------------844AE71F4F292B9FD3D43140 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Erik Corry wrote: > > I'm not sure what exactly it was about Turbo Pascal that you > liked so much. Our simple programming environment is the > Mjølner Tool (mjolner). What do you feel it is missing? Eh, well, I'm having some problems with it, so I was thinking there was a 'smaller' one. The problems may or may not be caused by me abusing the tool :-) But whatever I do, the debugger crashes immediately. And I experience crashes when I try to run some programs. It seems difficult to reproduce it and find out exactly why something goes wrong. I have attached a sample of mjolner.dump, they seem to always complain about 'SCHEDULER' - which leads me to wonder if it is thread-related? Am I using a bad version of a thread-library? Should I recompile the kernel with some particular flags? These errors are among the worst to track down, because the Linux kernel changes so often, this one is 2.2.5-15 If you (or some Linux-hacker) can tell me how to set up the system and mjolner tool right, then I will be in a position to make up my mind about it :-) Thanks, Atle --------------844AE71F4F292B9FD3D43140 Content-Type: text/plain; charset=us-ascii; name="mjolner.dump" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mjolner.dump" Beta execution aborted: Reference is none. Call chain: (linux) item <*> in ~beta/editor/private/groupeditorbody item astInterfaceException#exception# in ~beta/editor/private/groupeditorbody item writeAccessError#exception# in ~beta/mps/private/fragBody item writeAccessError#astInterfaceException# in ~beta/basiclib/betaenv item handler# in ~beta/mps/private/fragBody item protectCatcher# in ~beta/mps/astlevel item handler# in ~beta/mps/private/fragBody item catcher# in ~beta/mps/astlevel item <*> in ~beta/mps/private/fragBody item <*> in ~beta/mps/private/fragBody item pack# in ~beta/mps/private/fragBody item pack# in ~beta/mps/astlevel item in ~beta/mps/private/fragBody item *protect# in ~beta/mps/astlevel item *saveAs# in ~beta/mps/private/fragBody item <*>doCommand# in ~beta/editor/private/groupeditorbody item * in ~beta/editor/codeeditor item <*> in ~beta/editor/private/groupeditorbody item doCommand# in ~beta/editor/private/groupeditorbody item saveAs# in ~beta/editor/codeeditor item <*> in ~beta/editor/private/ymersiflibperformbody item in ~beta/editor/private/ymersiflibperformbody item onSelect# in ~beta/basiclib/betaenv item select#event# in ~beta/editor/codeeditor item onSelect#event# in ~beta/guienv/guienv item onSelect#select# in ~beta/guienv/private/X11/guienv_unixbody item motifCallbackSelector#callbackSelector# in ~beta/guienv/private/X11/guienv_unixbody item handleActivate#callbackSelector# in ~beta/guienv/private/X11/callbacks item handleActivate#motifCallbackSelector# in ~beta/guienv/private/X11/callbacks item <*>cycle# in ~beta/guienv/private/X11/guienvxsystemenvbody item * in ~beta/basiclib/private/betaenvbody comp System#SysHead# in ~beta/guienv/private/X11/guienvxsystemenvbody comp XcallbackThread#SysHead# in ~beta/basiclib/basicsystemenv comp XcallbackThread#System# in ~beta/basiclib/basicsystemenv item attNext# in ~beta/basiclib/betaenv item in ~beta/guienv/private/X11/guienvxsystemenvbody item XsystemEnvHandleCallbackP# in ~beta/guienv/private/X11/guienvxsystemenvbody item registerCallback# in ~beta/guienv/guienv item motifMenuItemActivateProcessor# in ~beta/guienv/private/X11/callbacks item callbackProcessor# in ~beta/guienv/private/X11/guienv_unixbody [ EXTERNAL ACTIVATION PART ] item GUIenv# in ~beta/guienv/private/X11/guienv_unixbody item in ~beta/guienv/private/X11/guienvxsystemenvbody comp SysHead# in ~beta/guienv/private/X11/guienvxsystemenvbody comp BASICSCHEDULER-~ in ~beta/basiclib/basicsystemenv basic component in ~beta/basiclib/betaenv Low level information: Call chain: (linux) item <*> in ~beta/editor/private/groupeditorbody { PC 0x8757753 , object 0x403d0bf8, proto 0x8bd32d0 * } -- writeAccessError#astInterfaceException#exception# in ~beta/editor/private/groupeditorbody { Surrounding object 0x403d0b28, proto 0x8bd327c writeAccessError# } item astInterfaceException#exception# in ~beta/editor/private/groupeditorbody { PC 0x8757734 , object 0x403d0b28, proto 0x8bd327c writeAccessError# } -- *saveAs#protect# in ~beta/editor/private/groupeditorbody { Surrounding object 0x403cce00, proto 0x8bd3200 * } item writeAccessError#exception# in ~beta/mps/private/fragBody { PC 0x8802b96 , object 0x403d0b28, proto 0x8bd327c writeAccessError# } -- AST#astInterface# in ~beta/toollibs/utils/mpsinterface { Surrounding object 0x40692570, proto 0x8d03bf4 AST# } item writeAccessError#astInterfaceException# in ~beta/basiclib/betaenv { PC 0x8332c02 , object 0x403d0b28, proto 0x8bd327c writeAccessError# } -- BETAENV-~ in ~beta/basiclib/betaenv { Surrounding object 0x406929b8, proto 0x8ab6dec BETAENV-~ } item handler# in ~beta/mps/private/fragBody { PC 0x8802ec1 , object 0x403cce10, proto 0x8d23982 protectCatcher# } -- *saveAs#protect# in ~beta/editor/private/groupeditorbody { Surrounding object 0x403cce00, proto 0x8bd3200 * } item protectCatcher# in ~beta/mps/astlevel { PC 0x898345d , object 0x403cce10, proto 0x8d23982 protectCatcher# } -- AST#astInterface# in ~beta/toollibs/utils/mpsinterface { Surrounding object 0x40692570, proto 0x8d03bf4 AST# } item handler# in ~beta/mps/private/fragBody { PC 0x87f489a , object 0x403d0b08, proto 0x8d2125e catcher# } -- fragmentGroup#fragment# in ~beta/mps/astlevel { Surrounding object 0x4039a9a8, proto 0x8d212d6 fragmentGroup# } item catcher# in ~beta/mps/astlevel { PC 0x898345d , object 0x403d0b08, proto 0x8d2125e catcher# } -- AST#astInterface# in ~beta/toollibs/utils/mpsinterface { Surrounding object 0x40692570, proto 0x8d03bf4 AST# } item <*> in ~beta/mps/private/fragBody { PC 0x87faf4a , object 0x403d0858, proto 0x8bf3dd8 * } -- * in ~beta/mps/private/fragBody { Surrounding object 0x403cf8f8, proto 0x8bf3852 * } item <*> in ~beta/mps/private/fragBody { PC 0x87fa93b , object 0x403cf8f8, proto 0x8bf3852 * } -- pack#pack# in ~beta/mps/astlevel { Surrounding object 0x403cf8c0, proto 0x8d21eec pack# } item pack# in ~beta/mps/private/fragBody { PC 0x87fa4cd , object 0x403cf8c0, proto 0x8d21eec pack# } -- fragmentGroup#fragment# in ~beta/mps/astlevel { Surrounding object 0x4039a9a8, proto 0x8d212d6 fragmentGroup# } item pack# in ~beta/mps/astlevel { PC 0x8985676 , object 0x403cf8c0, proto 0x8d21eec pack# } -- fragmentGroup#fragment# in ~beta/mps/astlevel { Surrounding object 0x4039a9a8, proto 0x8d212d6 fragmentGroup# } item in ~beta/mps/private/fragBody { PC 0x87f8a6d , object 0x403cf690, proto 0x8bf3226 FRAGMENTGROUPSAVEAS-~ } -- *saveAs#protect# in ~beta/editor/private/groupeditorbody { Surrounding object 0x403cce00, proto 0x8bd3200 * } item *protect# in ~beta/mps/astlevel { PC 0x8984bad , object 0x403cce00, proto 0x8bd3200 * } -- fragmentGroup#fragment# in ~beta/mps/astlevel { Surrounding object 0x4039a9a8, proto 0x8d212d6 fragmentGroup# } item *saveAs# in ~beta/mps/private/fragBody { PC 0x880319a , object 0x403cce00, proto 0x8bd3200 * } -- AST#astInterface# in ~beta/toollibs/utils/mpsinterface { Surrounding object 0x40692570, proto 0x8d03bf4 AST# } item <*>doCommand# in ~beta/editor/private/groupeditorbody { PC 0x8757390 , object 0x403c91d0, proto 0x8bd31d0 * } -- * in ~beta/editor/private/groupeditorbody { Surrounding object 0x403bfa28, proto 0x8bd3116 * } item * in ~beta/editor/codeeditor { PC 0x89496aa , object 0x403c91d0, proto 0x8bd31d0 * } -- editorenv#sifEditorenv# in ~beta/editor/codeeditor { Surrounding object 0x40692ac8, proto 0x8ce8762 editorenv# } item <*> in ~beta/editor/private/groupeditorbody { PC 0x8756fe2 , object 0x403bfa28, proto 0x8bd3116 * } -- saveAs#doCommand# in ~beta/editor/codeeditor { Surrounding object 0x403bf738, proto 0x8ce98ea saveAs# } item doCommand# in ~beta/editor/private/groupeditorbody { PC 0x8756c58 , object 0x403bf738, proto 0x8ce98ea saveAs# } -- groupEditor# in ~beta/editor/codeeditor { Surrounding object 0x40399218, proto 0x8ce91e8 groupEditor# } item saveAs# in ~beta/editor/codeeditor { PC 0x89496aa , object 0x403bf738, proto 0x8ce98ea saveAs# } -- editorenv#sifEditorenv# in ~beta/editor/codeeditor { Surrounding object 0x40692ac8, proto 0x8ce8762 editorenv# } item <*> in ~beta/editor/private/ymersiflibperformbody { PC 0x8734871 , object 0x403bbff8, proto 0x8bcd178 * } -- onSelect# in ~beta/editor/ymersiflib { Surrounding object 0x403bbfc0, proto 0x8cce3fc onSelect# } item in ~beta/editor/private/ymersiflibperformbody { PC 0x87347ca , object 0x403bbfc0, proto 0x8cce3fc onSelect# } -- iCompileAndExecute#item#menuitem#interfaceObject# in ~beta/editor/ymersiflib { Surrounding object 0x403a0758, proto 0x8cce352 iCompileAndExecute# } item onSelect# in ~beta/basiclib/betaenv { PC 0x8333e15 , object 0x403bbfc0, proto 0x8cce3fc onSelect# } -- BETAENV-~ in ~beta/basiclib/betaenv { Surrounding object 0x406929b8, proto 0x8ab6dec BETAENV-~ } item select#event# in ~beta/editor/codeeditor { PC 0x894ccfa , object 0x403bbf68, proto 0x8ce3646 onSelect# } -- eventhandler#eventhandler#eventhandler# in ~beta/editor/codeeditor { Surrounding object 0x403a4550, proto 0x8ce35f0 eventhandler# } item onSelect#event# in ~beta/guienv/guienv { PC 0x8982490 , object 0x403bbf68, proto 0x8ce3646 onSelect# } -- eventhandler#eventhandler#eventhandler# in ~beta/editor/codeeditor { Surrounding object 0x403a4550, proto 0x8ce35f0 eventhandler# } item onSelect#select# in ~beta/guienv/private/X11/guienv_unixbody { PC 0x8539bf4 , object 0x403bbf68, proto 0x8ce3646 onSelect# } -- eventhandler#eventhandler#eventhandler# in ~beta/editor/codeeditor { Surrounding object 0x403a4550, proto 0x8ce35f0 eventhandler# } item motifCallbackSelector#callbackSelector# in ~beta/guienv/private/X11/guienv_unixbody { PC 0x854a6c2 , object 0x403bb400, proto 0x8b3f6b6 handleActivate# } -- motifMenuitem#interfaceObject# in ~beta/guienv/private/X11/guienv_unixprivate { Surrounding object 0x403b3070, proto 0x8c11294 motifMenuitem# } item handleActivate#callbackSelector# in ~beta/guienv/private/X11/callbacks { PC 0x854c27c , object 0x403bb400, proto 0x8b3f6b6 handleActivate# } -- gui#GUIenv# in ~beta/mjolnertool/mjolner { Surrounding object 0x40692420, proto 0x8c42996 gui# } item handleActivate#motifCallbackSelector# in ~beta/guienv/private/X11/callbacks { PC 0x854c287 , object 0x403bb400, proto 0x8b3f6b6 handleActivate# } -- gui#GUIenv# in ~beta/mjolnertool/mjolner { Surrounding object 0x40692420, proto 0x8c42996 gui# } item <*>cycle# in ~beta/guienv/private/X11/guienvxsystemenvbody { PC 0x885eaf0 , object 0x406eb818, proto 0x8c10c9e * } -- XcallbackThread#System#SysHead# in ~beta/guienv/private/X11/guienvxsystemenvbody { Surrounding object 0x40695588, proto 0x8c10be0 XcallbackThread# } item * in ~beta/basiclib/private/betaenvbody { PC 0x88c6cd6 , object 0x406eb818, proto 0x8c10c9e * } -- BETAENV-~ in ~beta/basiclib/betaenv { Surrounding object 0x406929b8, proto 0x8ab6dec BETAENV-~ } comp System#SysHead# in ~beta/guienv/private/X11/guienvxsystemenvbody { PC 0x885eabe , object 0x40695588, proto 0x8c10be0 XcallbackThread# } -- PIOPRIVATE-~ in ~beta/guienv/private/X11/guienvxsystemenvbody { Surrounding object 0x40695550, proto 0x8c10a66 PIOPRIVATE-~ } comp XcallbackThread#SysHead# in ~beta/basiclib/basicsystemenv { PC 0x8988c18 , object 0x40695588, proto 0x8c10be0 XcallbackThread# } -- theSystemEnv#SystemEnv#SysHead# in ~beta/mjolnertool/mjolner { Surrounding object 0x406923a0, proto 0x8c4266c theSystemEnv# } comp XcallbackThread#System# in ~beta/basiclib/basicsystemenv { PC 0x89888d7 , object 0x40695588, proto 0x8c10be0 XcallbackThread# } -- BETAENV-~ in ~beta/basiclib/betaenv { Surrounding object 0x406929b8, proto 0x8ab6dec BETAENV-~ } item attNext# in ~beta/basiclib/betaenv { PC 0x8333d9b , object 0x40693740, proto 0x8c41f64 attNext# } -- BETAENV-~ in ~beta/basiclib/betaenv { Surrounding object 0x406929b8, proto 0x8ab6dec BETAENV-~ } item in ~beta/guienv/private/X11/guienvxsystemenvbody { PC 0x885edbd , object 0x406955c0, proto 0x8c10c70 next# } -- XcallbackThread#System#SysHead# in ~beta/guienv/private/X11/guienvxsystemenvbody { Surrounding object 0x40695588, proto 0x8c10be0 XcallbackThread# } item XsystemEnvHandleCallbackP# in ~beta/guienv/private/X11/guienvxsystemenvbody { PC 0x885ea87 , object 0x406938c8, proto 0x8c10cce registerCallback# } -- PIOPRIVATE-~ in ~beta/guienv/private/X11/guienvxsystemenvbody { Surrounding object 0x40695550, proto 0x8c10a66 PIOPRIVATE-~ } item registerCallback# in ~beta/guienv/guienv { PC 0x89819d4 , object 0x406938c8, proto 0x8c10cce registerCallback# } -- gui#GUIenv# in ~beta/mjolnertool/mjolner { Surrounding object 0x40692420, proto 0x8c42996 gui# } item motifMenuItemActivateProcessor# in ~beta/guienv/private/X11/callbacks { PC 0x854c31d , object 0x403bb248, proto 0x8b3f6f8 motifMenuItemActivateProcessor# } -- gui#GUIenv# in ~beta/mjolnertool/mjolner { Surrounding object 0x40692420, proto 0x8c42996 gui# } item callbackProcessor# in ~beta/guienv/private/X11/guienv_unixbody { PC 0x854a62c , object 0x403bb248, proto 0x8b3f6f8 motifMenuItemActivateProcessor# } -- motifMenuitem#interfaceObject# in ~beta/guienv/private/X11/guienv_unixprivate { Surrounding object 0x403b3070, proto 0x8c11294 motifMenuitem# } [ EXTERNAL ACTIVATION PART ] item GUIenv# in ~beta/guienv/private/X11/guienv_unixbody { PC 0x0 <>, object 0x40692420, proto 0x8c42996 gui# } -- PROGRAM-~ in ~beta/mjolnertool/mjolner { Surrounding object 0x40692370, proto 0x8c423cc PROGRAM-~ } item in ~beta/guienv/private/X11/guienvxsystemenvbody { PC 0x885f19b , object 0x40693498, proto 0x8c10bb0 start# } -- PIOPRIVATE-~ in ~beta/guienv/private/X11/guienvxsystemenvbody { Surrounding object 0x40695550, proto 0x8c10a66 PIOPRIVATE-~ } comp SysHead# in ~beta/guienv/private/X11/guienvxsystemenvbody { PC 0x885e2db , object 0x406934c0, proto 0x8c109b6 BASICSCHEDULER-~ } -- theSystemEnv#SystemEnv#SysHead# in ~beta/mjolnertool/mjolner { Surrounding object 0x406923a0, proto 0x8c4266c theSystemEnv# } comp BASICSCHEDULER-~ in ~beta/basiclib/basicsystemenv { PC 0x89888d7 , object 0x406934c0, proto 0x8c109b6 BASICSCHEDULER-~ } -- BETAENV-~ in ~beta/basiclib/betaenv { Surrounding object 0x406929b8, proto 0x8ab6dec BETAENV-~ } basic component in ~beta/basiclib/betaenv Legend: The above dumps show the dynamic call stack of invoked objects. Each dump starts at the object that was the current object when the error occurred and continues down towards the basic component. The descriptions have the following meaning: 1. Items are shown in two lines, like this: item pname1#pname2#pname3 in ifile -- sname#spname1#spname2 in sfile meaning that the item is an instance of the pattern "name" which has prefix "pname1" which has prefix "pname2", etc. This item is defined in the file "ifile". The part of the prefix chain enclosed in "<" and ">" indicates where in the action sequence the error occurred. The line beginning with "--" shows the textually surrounding pattern using the same notation. 2. The descriptor names used in the above description will normally have one or more "meta characters" appended. These mean: # The descriptor belongs to a pattern, e.g. P: (# ... #) ~ Singular named descriptor, e.g. X: @(# ... #) * Singular unnamed descriptor, e.g. ... ; (# ... #) ; ... - Descriptor SLOT. 3. Components are shown using a notation similar to that of items: comp pname1#pname2#pname3 in cfile 4. The bottommost component corresponding to the basic environment is shown like an ordinary component, but indicated with basic component pname1#pname2#pname3 in cfile 5. In case the error occurred in some external code called from BETA, the top of the call stack is shown as [ EXTERNAL ACTIVATION PART ] 6. In case the BETA code has called some external code which has in turn called back into the BETA code, and the callback is still active at the point of the error, the intermediate call stack part is shown as [ EXTERNAL ACTIVATION PART ] 7. The section labeled "Low level information" can be avoided by setenv BETART SimpleDump before subsequent executions of the program. --------------844AE71F4F292B9FD3D43140--