gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-developers] gnunet crash using guile


From: Amirouche Boubekki
Subject: [GNUnet-developers] gnunet crash using guile
Date: Sat, 20 Jan 2018 20:17:44 +0100
User-agent: Roundcube Webmail/1.1.2

I have a crash of my program using gnunet-guile. The core seems
to indicate that the crash is in gnunet. Here is the backtrace:

#0  0x00007f4bf2aeb2c4 in raise ()
from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libc.so.6
#1  0x00007f4bf2aec72a in abort ()
from /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libc.so.6
#2  0x00007f4bec672789 in GNUNET_abort_ ()
from /gnu/store/xvxzy9fp2213d26wb9hbf2xdx39278ai-gnunet-git-0.10.1-2.477e0de/lib/libgnunetutil.so.13
#3  0x00007f4bec6a3d17 in GNUNET_SCHEDULER_run_with_driver ()
from /gnu/store/xvxzy9fp2213d26wb9hbf2xdx39278ai-gnunet-git-0.10.1-2.477e0de/lib/libgnunetutil.so.13
#4  0x00007f4bec6a3ef2 in GNUNET_SCHEDULER_run ()
from /gnu/store/xvxzy9fp2213d26wb9hbf2xdx39278ai-gnunet-git-0.10.1-2.477e0de/lib/libgnunetutil.so.13
#5  0x00007f4bf3fce0c0 in ffi_call_unix64 ()
from /gnu/store/kvi64k387hqdrn59gsgd09brxh65jxjj-libffi-3.2.1/lib/libffi.so.6
#6  0x00007f4bf3fccee1 in ffi_call ()
from /gnu/store/kvi64k387hqdrn59gsgd09brxh65jxjj-libffi-3.2.1/lib/libffi.so.6
#7  0x00007f4bf46b802d in scm_i_foreign_call ()
from /gnu/store/0v539yjmdqhjm1xcpvndmagkgjz5fvh2-guile-2.2.2/lib/libguile-2.2.so.1

I am using gnunet commit 477e0dec4d6e9a51af2258611f45adea319ff6ae.

The code that crash can be found https://gnunet.org/git/gnunet-guile2.git...

Mind the fact that particular code path is the same and doesn't crash in the previous
commit of gnunet-guile2.

In the latest version, there is background thread that is running a scheduler and another scheduler that is executed just to do a publish. At the moment of the crash, two schedulers try to run... Long story short, I created a wrapper around the async API of gnunet-guile to execute the code in synchronous way, using guile threads.

The core can be found at http://hyperdev.fr/static/c3b2-core-1.gz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]