I’m trying to develop a swipl-win (Qt 6.6) interface for OGDF, but I’ve got the following SIGSEGV
GDB report in QtCreator:
1 strlen 0x7ffb3ec92071
2 libswipl!PL_new_atom 0x7ffae8a10e86
3 libswipl!PL_get_delay_list 0x7ffae8ac920d
4 libswipl!PL_unregister_atom 0x7ffae8a36db1
5 libswipl!PL_current_prolog_flag 0x7ffae8a1ae58
6 libswipl!PL_cleanup 0x7ffae8a08bed
7 libswipl!PL_halt 0x7ffae8a12704
8 libswipl!PL_load_extensions 0x7ffae8ad318e
9 libswipl!PL_exit_hook 0x7ffae8aa7638
10 libswipl!PL_exit_hook 0x7ffae8aa765b
11 libswipl!PL_thread_self 0x7ffae8aa57dc
12 SwiPrologEngine::run SwiPrologEngine.cpp 238 0x7ff666d89188
13 QThreadPrivate::start qthread_win.cpp 290 0x7ffa93c6dd80
14 KERNEL32!BaseThreadInitThunk 0x7ffb3f79257d
15 ntdll!RtlUserThreadStart 0x7ffb4042aa58
16 ??
I think I have these possibilities now
- check if there are tracing functions already available
- try to recompile the core swipl.dll in windows (debug symbols would be unimportant, because I could add the tracing I need to find the problem)
- I do have a lot of C++ compilers available on Windows… does switch to MSVC could help ?
- switch back to my (very old and right now unstable) Ubuntu box, where I was able to compile from source… but I would need to update Qt there… and could be near to impossible…
- use WSL to compile from source - I’m unsure if I could reuse my fresh install of Qt 6.6 (~70gb sigh)
Maybe there were some threads on this list about compiling for Windows, but seems I cannot find them right now… sorry for the noise…
Anyway I will try now to follow the documented MSVC route.