Request() Function Causing DSI Errors - Druckversion +- AmiBlitz³ (https://www.amiblitz.de/community) +-- Forum: AmiBlitz³ (https://www.amiblitz.de/community/forum-3.html) +--- Forum: Questions & Answers (https://www.amiblitz.de/community/forum-7.html) +--- Thema: Request() Function Causing DSI Errors (/thread-139.html) |
Request() Function Causing DSI Errors - Daedalus - 25.05.2015 Hi guys, Since updating my AmiBlitz install to get the Str2Adr() function working, the Request() function now causes a freeze of a couple of seconds followed by a DSI error Grip Reaper under OS4. This never happened before I updated. I notice that this is part of ElmoreSysLib, the same lib that contains the StrToAdr() function - has something changed elsewhere in that library? Ignoring the DSI error lets the program carry on and the requester opens and works as normal. The debugger doesn't catch any problems. I have attached the crash report, but looking at it, the crash disassembly seems a little odd, being much longer than the other lines, but I don't really understand it: Code: 68k disassembly: Any ideas? Thanks! Re: Request() Function Causing DSI Errors - Daedalus - 25.05.2015 As a test, I created a very simple executable: Code: WbToScreen 0 The resulting executable also crashes the same way, though the disassembly looks different. I've attached this crashlog as well, hopefully that helps! Re: Request() Function Causing DSI Errors - tomsmart1 - 28.05.2015 Hi, i can repouse the problem. We need to change ElmoreSysLib.obj because by the change for Null i removed a "#" in Code: move.l #SizeOf.EasyStruct,es_structsize Today i checked the original Sourcecode of ElmorSyslib.bb2 and it showes up right colored "#" in a red tone and SizeOf in a blue for Tokens and it compiles without any problem and generate the right code with no hit. But if i changed something in that line an undo it the color of SizeOF.EasyStruct changed to same red as "#" and the compiler complains about the constant. So in the End you find a Tokeniser error that we have to fix ! I look if i can find a workaround. Re: Request() Function Causing DSI Errors - Daedalus - 30.05.2015 That's great, thanks for your help! Let me know if there's anything I can do to help (testing-wise), though it looks like you have a plan for fixing it. In the meantime, if a fix for ElmoreSysLib will take a while, please let me know and I can go back to an earlier version of AmiBlitz and use the old Null() function. Re: Request() Function Causing DSI Errors - tomsmart1 - 31.05.2015 I commit a fixed version to the SVN that also include a change/rename of StrToAdr to 'GetGlobalStrAddr' that was suggested by Der Wanderer so update your Instuction index with the Ped Menu! The workaround is to added a Space between '#' and 'SizeOf.'! Re: Request() Function Causing DSI Errors - Daedalus - 01.06.2015 That's brilliant, thanks for your quick work! I'll check it out tonight. Re: Request() Function Causing DSI Errors - Daedalus - 02.06.2015 Yep, that's all working great, thanks very much for your work! |