[m-users.] Mercury under OpenSUSE

Volker Wysk post at volker-wysk.de
Thu Mar 26 21:54:41 AEDT 2026


Hi!

I had switched from Ubuntu 22.04 to the OpenSUSE distribution (OpenSUSE
Slowroll, precisely), which is a rolling release distro.

There a program, which I am developing, stopped to work. It crashed with a
segmentation fault - running the same binary. You could also see funny
corrupted strings in the output, which appear before the crash, depending on
the input.

Then I've seen the same problem in another program. It occurs only when you
compile it in the parallel grade asm_fast.par.gc.stseg. It doesn't, when
compiling in asm_fast.gc.debug.stseg. (I haven't tried any other grades.)
The program doen't make any use of parallelism, apart from what the runtime
Mercury engine does.

I have a small program, which demonstrates the problem (when compiled in the
parallel grade).

Meanwhile I've switched back to Ubuntu (25.10), and the problem doesn't
occur any longer. So I don't need any help. I just figured that the Mercury
Team might want to know about this.

Cheers,
Volker


More information about the users mailing list