New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests segfaults on openSUSE Factory ppc64 #6
Comments
Is it possible to get shell access on an openSUSE ppc64 box? My only Also, note that 0.39 is not a long term supported version. Debian and |
I don't have ppc64 machine publically available :( If you will guide me, I could provide additional debug information (I have access to the ppc machine) |
On Mon, Mar 18, 2013 at 05:51:29AM -0700, Dinar Valeev wrote:
ivykis 0.30 doesn't have a testsuite, so builds of 0.30 don't run
At least a backtrace would be useful. :) |
(gdb) run Program received signal SIGSEGV, Segmentation fault. |
Just tested 0.36.2 tests are passed. |
What is likely happening here is that the pthreads conditionalisation When I wrote this code, I tested it on all platfors I have shell So either I am making an invalid assumption somewhere that only trips I can't really debug this remotely, so I would advise that you stick |
FWIW, Debian has ppc64 buildds now too. I can upload a 0.39 package to experimental, and see where the build goes. |
Debugged this further with @buytenh on a Debian ppc64el box, and concluded that we need With I'll try my hands on a patch a bit later. |
This is fixed by commit "Avoid jumping to address zero when calling pthread_atfork() on Linux.": This commit is in ivykis release 0.41. |
* A fix for the aarch64/ppc64 linker issue that has been plaguing us for a while (buytenh/ivykis#6). I don't have access to a ppc box, but I reproduced the problem in an aarch64 (qemu-system-aarch64) virtual machine and fixed it there. * libivykis.so now no longer pulls in libpthread.so, and linking against libpthread.so is now fully optional. If libpthread isn't linked in, ivykis can perform various optimizations, such as skipping pthread mutex calls, and iv_event can skip creating an eventfd when running in single-threaded mode. * iv_signal now lets you register a thread-specific signal interest, indicated by the IV_SIGNAL_FLAG_THIS_THREAD flag, for which the handler will be called when that signal is delivered to the thread the interest was registered in (and will not trigger if the signal is delivered to another thread in the process).
full build log https://build.opensuse.org/package/rawlog?arch=ppc64&package=ivykis&project=openSUSE%3AFactory%3APowerPC&repository=standard
make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/ivykis-0.39/test'
/bin/sh: line 5: 57597 Segmentation fault (core dumped) ${dir}$tst
FAIL: avl
/bin/sh: line 5: 57615 Segmentation fault (core dumped) ${dir}$tst
FAIL: iv_event_raw_test
PASS: struct_sizes
/bin/sh: line 5: 57649 Segmentation fault (core dumped) ${dir}$tst
FAIL: timer
/bin/sh: line 5: 57667 Segmentation fault (core dumped) ${dir}$tst
FAIL: timer_fairness
/bin/sh: line 5: 57685 Segmentation fault (core dumped) ${dir}$tst
FAIL: timer_order
/bin/sh: line 5: 57703 Segmentation fault (core dumped) ${dir}$tst
FAIL: timer_past
/bin/sh: line 5: 57721 Segmentation fault (core dumped) ${dir}$tst
FAIL: iv_signal_test
7 of 8 tests failed
Please report to libivykis-discuss@lists.sourceforge.net
The text was updated successfully, but these errors were encountered: