speedata / publisher

speedata Publisher - a professional database Publishing system
https://www.speedata.de/
GNU Affero General Public License v3.0
296 stars 36 forks source link

sdluatex quit unexpectedly on macOS Catalina #351

Closed brandonkal closed 2 years ago

brandonkal commented 2 years ago

Running the hello world example, sp returns this:

Run speedata publisher
Total run time: 47.510841ms
signal: segmentation fault

And macOS shows a dialog stating that "sdluatex quit unexpectedly"

pgundlach commented 2 years ago

Can you tell me which version (speedata Publisher) and which operating system version you have tried?

brandonkal commented 2 years ago

This is macOS 10.15.7 and I have tried versions 4.6.0 stable and 4.7.3

pgundlach commented 2 years ago

I see a problem when I run 4.7.3 on an even older Mac:

Run speedata publisher
/tmp/patrick/speedata-publisher/sw/lua/splib.lua:66: dlopen(libsplib.dylib, 5): no suitable image found.  Did find:
    /tmp/patrick/speedata-publisher/share/lib/libsplib.dylib: cannot load 'libsplib.dylib' (load command 0x80000034 is unknown)
    /tmp/patrick/speedata-publisher/share/lib/libsplib.dylib: stat() failed with errno=22
    /tmp/patrick/speedata-publisher/share/lib/libsplib.dylib: cannot load 'libsplib.dylib' (load command 0x80000034 is unknown)
    /tmp/patrick/speedata-publisher/share/lib/libsplib.dylib: stat() failed with errno=22
    /tmp/patrick/speedata-publisher/share/lib/libsplib.dylib: cannot load 'libsplib.dylib' (load command 0x80000034 is unknown)
    /tmp/patrick/speedata-publisher/share/lib/libsplib.dylib: stat() failed with errno=22
Total run time: 75.475605ms

I'll try to fix this before I come back to you. Thank you very much for the bug report!

pgundlach commented 2 years ago

I have no simple solution to that problem :-(

I keep this in mind and I will experiment to get this fixed, but I cannot promise anything. Sorry

pgundlach commented 2 years ago

The latest 4.7.4 works on Mojave, so it might work on Catalina.

Not sure if you already gave up, but in case you didn't: could you give it a try? (there are now two binaries, amd64 and arm64 - take the amd64)