Carlo Capelli
2014-08-26 14:40:27 UTC
it's some time now (after I installed ex-novo on my machine Ubuntu 14.04)
that I experiment a
crash near the end of build process.
....
make[2]: Leaving directory `/home/carlo/swipl-devel/packages/pengines'
*** Forcing update of library index ***
rm -f /home/carlo/lib/swipl-7.1.21/library/INDEX.pl
./swipl.sh -C "/home/carlo/lib/swipl-7.1.21/library" -f none -F none -g
"make_library_index(.)" -t halt
% Updating index for library /home/carlo/lib/swipl-7.1.21/library/
./swipl.sh -C "/home/carlo/lib/swipl-7.1.21" --home=. -f none -g make -t
halt
SWI-Prolog [thread 1]: received fatal signal 11 (segv)
Segmentation fault (core dumped)
make[1]: *** [install] Error 139
make[1]: Leaving directory `/home/carlo/swipl-devel/packages'
make: *** [install-world] Error 2
Overall, the installation has been completed. The system works as usual,
what's left out, apparently, it's (part of) the local documentation (I have
a contextual help in my Qt environment, that's running plDoc and presenting
those nice pages via QtWebKit). While previously I had the full
documentation, now some part is missing.
I tried to debug it, but the core dump file (enabled by ulimit -c 1000)
apparently doesn't report the stack trace (even if ulimit -a show 'stack
size (kbytes, -s) 8192').
So I was going blind, so I added an echo in swipl.sh...
In the end, I found a workaround, printing the command issued by swipl.sh,
the problem seems to be the flag --home=.
***@carlo-ubuntu-64:~/swipl-devel/packages$ ./swipl.sh -C
"/home/carlo/lib/swipl-7.1.21" --home=. -f none -g make -t halt
/home/carlo/swipl-devel/src/swipl --home=. -f none -g make -t halt
SWI-Prolog [thread 1]: received fatal signal 11 (segv)
Segmentation fault (core dumped)
***@carlo-ubuntu-64:~/swipl-devel/packages$ swipl --home=. -f none -g
make -t halt
[FATAL ERROR:
Could not find system resources]
***@carlo-ubuntu-64:~/swipl-devel/packages$ swipl -f none -g make -t
halt% Updating index for library /home/carlo/lib/swipl-7.1.21/library/
% Updating index for library /home/carlo/lib/swipl-7.1.21/xpce/prolog/lib/
Maybe I hit a problem in swipl.sh generation...
-------------- next part --------------
HTML attachment scrubbed and removed
that I experiment a
crash near the end of build process.
....
make[2]: Leaving directory `/home/carlo/swipl-devel/packages/pengines'
*** Forcing update of library index ***
rm -f /home/carlo/lib/swipl-7.1.21/library/INDEX.pl
./swipl.sh -C "/home/carlo/lib/swipl-7.1.21/library" -f none -F none -g
"make_library_index(.)" -t halt
% Updating index for library /home/carlo/lib/swipl-7.1.21/library/
./swipl.sh -C "/home/carlo/lib/swipl-7.1.21" --home=. -f none -g make -t
halt
SWI-Prolog [thread 1]: received fatal signal 11 (segv)
Segmentation fault (core dumped)
make[1]: *** [install] Error 139
make[1]: Leaving directory `/home/carlo/swipl-devel/packages'
make: *** [install-world] Error 2
Overall, the installation has been completed. The system works as usual,
what's left out, apparently, it's (part of) the local documentation (I have
a contextual help in my Qt environment, that's running plDoc and presenting
those nice pages via QtWebKit). While previously I had the full
documentation, now some part is missing.
I tried to debug it, but the core dump file (enabled by ulimit -c 1000)
apparently doesn't report the stack trace (even if ulimit -a show 'stack
size (kbytes, -s) 8192').
So I was going blind, so I added an echo in swipl.sh...
In the end, I found a workaround, printing the command issued by swipl.sh,
the problem seems to be the flag --home=.
***@carlo-ubuntu-64:~/swipl-devel/packages$ ./swipl.sh -C
"/home/carlo/lib/swipl-7.1.21" --home=. -f none -g make -t halt
/home/carlo/swipl-devel/src/swipl --home=. -f none -g make -t halt
SWI-Prolog [thread 1]: received fatal signal 11 (segv)
Segmentation fault (core dumped)
***@carlo-ubuntu-64:~/swipl-devel/packages$ swipl --home=. -f none -g
make -t halt
[FATAL ERROR:
Could not find system resources]
***@carlo-ubuntu-64:~/swipl-devel/packages$ swipl -f none -g make -t
halt% Updating index for library /home/carlo/lib/swipl-7.1.21/library/
% Updating index for library /home/carlo/lib/swipl-7.1.21/xpce/prolog/lib/
Maybe I hit a problem in swipl.sh generation...
-------------- next part --------------
HTML attachment scrubbed and removed