It would be good if you can share a link to the code. It is difficult to
guess where is the problem is with this information. Is there an online
public repository with the code?

If not, can you make a minimized version without all the classified/secret
parts of the code? With a version of the code that we can run, it's
(sometimes) easier to understand where the error is.

If possible reduce the code as much as possible, remove whatever is not
used. But ensure that the reduced version still has the same problem. This
reduction is not 100% necessary, but it reduces the debugging time a lot.
Also, it helps to remove the secrets parts.

Gustavo




On Fri, Apr 12, 2019 at 10:08 AM Dmitry Pavlov <dpav...@iaaras.ru> wrote:

> Hello,
>
> My program demonstrates an unexpected behavior
> depending on how I run it.
>
>
> $ <erase 'compiled' directories>
>
> $ racket program.rkt
> <OK>
>
> $ raco make program.rkt
> <OK>
>
> $ racket program.rkt
> read: bad syntax `#fx'
>    in: compiled/subprogram.mylang.zo
>    context...:
>     "/path/to/myprogram.rkt": [running body]
>     temp37_0
>     for-loop
>     run-module-instance!125
>     perform-require!78
>
>
> Now, in DrRacket:
>
> <Ctrl-R> on myprogram.rkt works fine if I uncheck the
> "populate compiled directories" option.
>
> When I check the "populate compiled directories" option,
> or when there are compiled directories previously
> populated, DrRacket aborts, printing a message
>
> "about to suspend in atomic mode"
>
> regardless of whether I turn debugging on or off.
>
>
> The program (require)s another module written
> in a different non-sexp #lang with a special fancy
> compiler.
>
> Racket 7.2, Linux x64.
>
> Also tried on OS X: same behavior only DrRacket
> does not abort, but gives the same '#fx' error instead.
>
>
> Can I provide any more information to help determining
> what is the problem?
>
>
> Best regards,
>
> Dmitry
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to