[m-users.] Segmentation fault when executing in parallel

Volker Wysk post at volker-wysk.de
Sat Jun 12 21:58:19 AEST 2021


Hi!

Am Samstag, den 12.06.2021, 04:23 +1000 schrieb Zoltan Somogyi:
> 2021-06-12 00:14 GMT+10:00 "Volker Wysk" <post at volker-wysk.de>:
> >     --grade asm_fast.par.gc.stseg.mm \
> 
> That grade does not make sense. Minimal model tabling works by
> doing surgery on the execution stacks, saving and restoring stack segments.
> If another thread is executing at the same time, it is guaranteed
> to have its stack accesses screwed up by this.
> 
> There is a compiler bug here, but the bug is that the compiler
> even tried to generate code for this combination, instead of
> printing an error message.

I've built this grade with this additional argument to the "configure"
skript:

--enable-additional-libgrades=asm_fast.par.gc.stseg.mm

If this grade doesn't make sense, perhaps the build process should reject
it...

Bye,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mercurylang.org/archives/users/attachments/20210612/6bb7fb21/attachment.sig>


More information about the users mailing list