Problem with return value from OnInitialize

Started by roy_043 · 2011-09-28 14:39 UTC · 2 replies · SMF topic #1684

Bricscad 11.4.6
OpenDCL  6.0.2.5
Win XP

A strange problem...
While debugging a program I temporarily had an OnInitialize function that would return a specific list. This return value causes Bricscad to freeze up and the dialog in not displayed. The problem is apparently very specific: if you comment-out any of the three list items the problem disappears.


(defun c:TestOnInitializeReturn_Main_OnInitialize ()
  '(
    (xyz 4)
    (abc (def))
    (ghi (jkl))
  )
)
Attachments
This looks like a Bricscad lisp processor bug (namely an access violation in lispex.dll). I could only reproduce it on 32-bit Windows XP or Windows 7. I didn't see any problem on 64-bit Windows 7. I note that after the dialog fails to display initially, you can run the command again (by typing), and after a project reload error, it will display correctly and work normally. Please report this to Bricsys.
author=owenwengerd link=topic=1684.msg8345#msg8345 date=1317237313 wrote:Please report this to Bricsys.
Done.