View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004586 | secushare | social | public | 2016-06-23 02:31 | 2019-02-12 09:19 |
Reporter | t3sserakt | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | confirmed | Resolution | open | ||
OS | Debian | OS Version | 8 | ||
Summary | 0004586: gnunet-social guest-talk segmentation fault Rev. 37273 | ||||
Description | gnunet-social --guest-talk Ends with segmentation fault. | ||||
Steps To Reproduce | Setup with two peers. See testing2peers in secushare-spec git repo. With peer 1: gnunet-social -c gnunet.conf --ego 2TXN7MS0CW1MC49YXGY0R7JC66R5M5AH130QJD9EWDTB5F56ZGGG --host-enter --welcome --follow Jun 23 01:39:02-316092 gnunet-social-27628 WARNING Ego: 2TXN7MS0CW1MC49YXGY0R7JC66R5M5AH130QJD9EWDTB5F56ZGGG peer1 Jun 23 01:39:02-316469 gnunet-social-27628 WARNING Host: 98A4X1883495PM7K9XMJ4SDV2N72M3PDQTPFHR2RH1DZN0SQ6FWG Jun 23 01:39:02-316592 gnunet-social-27628 WARNING Host: RB16QZKQA6PZB55V6ZQDSBB2SM5MEJT8RWPEZYAM47Q9ZHPB8JPG Jun 23 01:39:02-346140 gnunet-social-27628 WARNING Host entered: CWWXQ9GRSRR4S4WZ5ZR0MBE0Y79BR4JZ6BG672DWNG5EMS0BDRW0, max_message_id: 0 Jun 23 01:40:32-341447 gnunet-social-27628 WARNING Entry request: 2TXN7MS0CW1MC49YXGY0R7JC66R5M5AH130QJD9EWDTB5F56ZGGG With peer 2: gnunet-social --guest-enter --follow -e 2TXN7MS0CW1MC49YXGY0R7JC66R5M5AH130QJD9EWDTB5F56ZGGG -i QTQ8812BC8Y082CNSE6NG95XY6NXQB9SAG4R8PS7MAYF6W6NGF40 -p CWWXQ9GRSRR4S4WZ5ZR0MBE0Y79BR4JZ6BG672DWNG5EMS0BDRW0 Jun 23 01:40:32-326574 gnunet-social-28640 WARNING Ego: 2TXN7MS0CW1MC49YXGY0R7JC66R5M5AH130QJD9EWDTB5F56ZGGG peer1 Jun 23 01:40:32-326746 gnunet-social-28640 WARNING Host: CWWXQ9GRSRR4S4WZ5ZR0MBE0Y79BR4JZ6BG672DWNG5EMS0BDRW0 Jun 23 01:40:32-326785 gnunet-social-28640 WARNING Host: 98A4X1883495PM7K9XMJ4SDV2N72M3PDQTPFHR2RH1DZN0SQ6FWG Jun 23 01:40:32-326875 gnunet-social-28640 WARNING Host: RB16QZKQA6PZB55V6ZQDSBB2SM5MEJT8RWPEZYAM47Q9ZHPB8JPG Jun 23 01:40:32-338946 gnunet-social-28640 WARNING Guest entered to local place: CWWXQ9GRSRR4S4WZ5ZR0MBE0Y79BR4JZ6BG672DWNG5EMS0BDRW0, max_message_id: 0 Jun 23 01:40:32-346638 gnunet-social-28640 WARNING Guest received entry decision 1 With peer 2: gnunet-social -L DEBUG --guest-talk -m _notice_testing_psycit -d 'Hello World!' -e 2TXN7MS0CW1MC49YXGY0R7JC66R5M5AH130QJD9EWDTB5F56ZGGG -i QTQ8812BC8Y082CNSE6NG95XY6NXQB9SAG4R8PS7MAYF6W6NGF40 -p CWWXQ9GRSRR4S4WZ5ZR0MBE0Y79BR4JZ6BG672DWNG5EMS0BDRW0 | ||||
Additional Information | DEBUG log of gnunet-social -L DEBUG --guest-talk attached as file. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
|
try running it in gdb and attach the output of (gdb) bt full |
|
Program received signal SIGSEGV, Segmentation fault. GNUNET_CLIENT_MANAGER_drop_queue (mgr=mgr@entry=0x55555575de20) at client_manager.c:558 558 GNUNET_free (cur->msg); #0 GNUNET_CLIENT_MANAGER_drop_queue (mgr=mgr@entry=0x55555575de20) at client_manager.c:558 cur = 0xdf0adba0df0adba next = 0xdf0adba0df0adba #1 0x00007ffff755a641 in GNUNET_CLIENT_MANAGER_disconnect (mgr=0x55555575de20, transmit_queue=0, disconnect_cb=0x5555555573d0 <app_disconnected>, cls=0x0) at client_manager.c:434 __FUNCTION__ = "GNUNET_CLIENT_MANAGER_disconnect" #2 0x00007ffff75950f0 in run_ready (ws=<optimized out>, rs=<optimized out>) at scheduler.c:620 p = GNUNET_SCHEDULER_PRIORITY_SHUTDOWN pos = 0x55555575dbb0 #3 GNUNET_SCHEDULER_run (task=0x55555575dbb0, task_cls=0x7) at scheduler.c:887 rs = 0x555555777310 ws = 0x5555557773a0 ret = 0 c = 0 '\000' __FUNCTION__ = "GNUNET_SCHEDULER_run" #4 0x00007ffff758f7cf in GNUNET_PROGRAM_run2 (argc=<optimized out>, argv=0x55555575c720, binaryName=<optimized out>, binaryHelp=<optimized out>, options=<optimized out>, task=<optimized out>, task_cls=0x0, run_without_scheduler=0) at program.c:300 cc = {args = 0x55555575c790, cfgfile = 0x55555575f5d0 "~/.config/gnunet.conf", task = 0x555555556dc0 <run>, task_cls = 0x0, cfg = 0x55555575c8b0} path = <optimized out> loglev = 0x55555575d8e0 "DEBUG" logfile = 0x0 cfg_fn = 0x55555575d8c0 "~/.config/gnunet.conf" xdg = <optimized out> ret = <optimized out> cnt = <optimized out> skew_offset = 1 skew_variance = 140737353958648 clock_offset = <optimized out> cfg = 0x55555575c8b0 defoptions = {{shortName = 99 'c', name = 0x7ffff75adf03 "config", argumentHelp = 0x7ffff75adf0a "FILENAME", description = 0x7ffff75adfc0 "use configuration file FILENAME", require_argument = 1, processor = 0x7ffff7582c70 <GNUNET_GETOPT_set_string>, scls = 0x7fffffffddb8}, {shortName = 104 'h', name = 0x7ffff75adf1e "help", argumentHelp = 0x0, description = 0x7ffff75adf13 "print this help", require_argument = 0, processor = 0x7ffff7582830 <GNUNET_GETOPT_format_help_>, scls = 0x555555559c60}, { shortName = 76 'L', name = 0x7ffff75adf23 "log", argumentHelp = 0x7ffff75adf27 "LOGLEVEL", description = 0x7ffff75adfe0 "configure logging to use LOGLEVEL", require_argument = 1, processor = 0x7ffff7582c70 <GNUNET_GETOPT_set_string>, scls = 0x7fffffffdd88}, {shortName = 108 'l', name = 0x7ffff75adf30 "logfile", argumentHelp = 0x7ffff75a9c64 "LOGFILE", description = 0x7ffff75ae008 "configure logging to write logs to LOGFILE", require_argument = 1, processor = 0x7ffff7582c70 <GNUNET_GETOPT_set_string>, scls = 0x7fffffffdd90}, {shortName = 118 'v', name = 0x7ffff75adf38 "version", argumentHelp = 0x0, description = 0x7ffff75adf40 "print the version number", require_argument = 0, processor = 0x7ffff75827e0 <GNUNET_GETOPT_print_version_>, scls = 0x7ffff75adf59}} allopts = 0x55555575d970 gargs = <optimized out> lpfx = 0x55555575e0f0 "\300\337uUUU" spc = <optimized out> __FUNCTION__ = "GNUNET_PROGRAM_run2" #5 0x00007ffff758facf in GNUNET_PROGRAM_run (argc=<optimized out>, argv=<optimized out>, binaryName=<optimized out>, binaryHelp=<optimized out>, options=<optimized out>, task=<optimized out>, task_cls=0x0) at program.c:339 No locals. #6 0x00005555555567e5 in main (argc=14, argv=0x55555575c720) at gnunet-social.c:1342 res = 0 options = {{shortName = 65 'A', name = 0x555555559808 "host-assign", argumentHelp = 0x0, description = 0x55555555a0b0 "assign --name in state to --data", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bcf0 <op_host_assign>}, { shortName = 66 'B', name = 0x555555559814 "guest-leave", argumentHelp = 0x0, description = 0x55555555a0d8 "say good-bye and leave somebody else's place", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bce4 <op_guest_leave>}, { shortName = 67 'C', name = 0x555555559820 "host-enter", argumentHelp = 0x0, description = 0x55555555982b "create a place", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bd00 <op_host_enter>}, { shortName = 68 'D', name = 0x55555555983a "host-leave", argumentHelp = 0x0, description = 0x55555555a108 "destroy a place we were hosting", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bcf8 <op_host_leave>}, { shortName = 69 'E', name = 0x555555559978 "guest-enter", argumentHelp = 0x0, description = 0x555555559845 "enter somebody else's place", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bcec <op_guest_enter>}, { shortName = 70 'F', name = 0x555555559861 "look-for", argumentHelp = 0x0, description = 0x55555555a128 "find state matching name prefix", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bcc8 <op_look_for>}, { shortName = 72 'H', name = 0x55555555986a "replay-latest", argumentHelp = 0x0, description = 0x55555555a148 "replay history of messages up to the given --limit", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bcd0 <op_replay_latest>}, { shortName = 78 'N', name = 0x555555559878 "host-reconnect", argumentHelp = 0x0, description = 0x55555555a180 "reconnect to a previously created place", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bcfc <op_host_reconnect>}, { shortName = 80 'P', name = 0x555555559887 "host-announce", argumentHelp = 0x0, description = 0x55555555a1a8 "publish something to a place we are hosting", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bcf4 <op_host_announce>}, { shortName = 82 'R', name = 0x555555559895 "guest-reconnect", argumentHelp = 0x0, description = 0x55555555a1d8 "reconnect to a previously entered place", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bce8 <op_guest_reconnect>}, { shortName = 83 'S', name = 0x5555555598a5 "look-at", argumentHelp = 0x0, description = 0x55555555a200 "search for state matching exact name", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bccc <op_look_at>}, {shortName = 84 'T', name = 0x5555555598ad "guest-talk", argumentHelp = 0x0, description = 0x55555555a228 "submit something to somebody's place", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bce0 <op_guest_talk>}, { shortName = 85 'U', name = 0x5555555598b8 "status", argumentHelp = 0x0, description = 0x55555555a250 "list of egos and subscribed places", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bd04 <op_status>}, {shortName = 88 'X', name = 0x5555555598bf "replay", argumentHelp = 0x0, description = 0x55555555a278 "extract and replay history between message IDs --start and --until", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bcd8 <op_replay>}, {shortName = 97 'a', name = 0x5555555598c6 "app", argumentHelp = 0x5555555598ca "APPLICATION_ID", description = 0x55555555a2c0 "application ID to use when connecting", require_argument = 1, processor = 0x7ffff7582c70 <GNUNET_GETOPT_set_string>, scls = 0x55555575bc48 <opt_app>}, { shortName = 100 'd', name = 0x5555555598d9 "data", argumentHelp = 0x5555555598de "DATA", description = 0x5555555598e3 "message body or state value", require_argument = 1, processor = 0x7ffff7582c70 <GNUNET_GETOPT_set_string>, scls = 0x55555575bc88 <opt_data>}, { shortName = 101 'e', name = 0x555555559921 "ego", argumentHelp = 0x5555555598ff "NAME|PUBKEY", description = 0x55555555990b "name or public key of ego", require_argument = 1, processor = 0x7ffff7582c70 <GNUNET_GETOPT_set_string>, scls = 0x55555575bcb8 <opt_ego>}, { shortName = 102 'f', name = 0x555555559925 "follow", argumentHelp = 0x0, description = 0x55555555992c "wait for incoming messages", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bca0 <opt_follow>}, { shortName = 103 'g', name = 0x555555559947 "gns", argumentHelp = 0x55555555994b "GNS_NAME", description = 0x555555559954 "GNS name", require_argument = 1, processor = 0x7ffff7582c70 <GNUNET_GETOPT_set_string>, scls = 0x55555575bcb0 <opt_gns>}, { shortName = 105 'i', name = 0x55555555995d "peer", argumentHelp = 0x555555559962 "PEER_ID", description = 0x55555555996a "peer ID for --guest-enter", require_argument = 1, processor = 0x7ffff7582c70 <GNUNET_GETOPT_set_string>, scls = 0x55555575bca8 <opt_peer>}, { shortName = 107 'k', name = 0x555555559958 "name", argumentHelp = 0x555555559984 "VAR_NAME", description = 0x55555555a2e8 "name (key) to query from state", require_argument = 1, processor = 0x7ffff7582c70 <GNUNET_GETOPT_set_string>, scls = 0x55555575bc80 <opt_name>}, { shortName = 109 'm', name = 0x55555555998d "method", argumentHelp = 0x555555559994 "METHOD_NAME", description = 0x5555555599a0 "method name", require_argument = 1, processor = 0x7ffff7582c70 <GNUNET_GETOPT_set_string>, scls = 0x55555575bc90 <opt_method>}, { shortName = 110 'n', name = 0x5555555599ac "limit", argumentHelp = 0x0, description = 0x55555555a308 "number of messages to replay from history", require_argument = 1, processor = 0x7ffff7582e70 <GNUNET_GETOPT_set_ulong>, scls = 0x55555575bc68 <opt_limit>}, { shortName = 112 'p', name = 0x555555559834 "place", argumentHelp = 0x555555559904 "PUBKEY", description = 0x5555555599b2 "key address of place", require_argument = 1, processor = 0x7ffff7582c70 <GNUNET_GETOPT_set_string>, scls = 0x55555575bcc0 <opt_place>}, { shortName = 115 's', name = 0x5555555599c7 "start", argumentHelp = 0x0, description = 0x55555555a338 "start message ID for history replay", require_argument = 1, processor = 0x7ffff7582e70 <GNUNET_GETOPT_set_ulong>, scls = 0x55555575bc78 <opt_start>}, { shortName = 119 'w', name = 0x5555555599cd "welcome", argumentHelp = 0x0, description = 0x55555555a360 "respond to entry requests by admitting all guests", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bc9c <opt_welcome>}, { shortName = 117 'u', name = 0x5555555599d5 "until", argumentHelp = 0x0, description = 0x55555555a398 "end message ID for history replay", require_argument = 1, processor = 0x7ffff7582e70 <GNUNET_GETOPT_set_ulong>, scls = 0x55555575bc70 <opt_until>}, { shortName = 121 'y', name = 0x5555555599db "deny", argumentHelp = 0x0, description = 0x55555555a3c0 "respond to entry requests by refusing all guests", require_argument = 0, processor = 0x7ffff7582c30 <GNUNET_GETOPT_set_one>, scls = 0x55555575bc98 <opt_deny>}, {shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0x0, scls = 0x0}} help = 0x0 |
|
I'm trying to reproduce this and am having trouble doing so. I'm not sure where all the different identifiers come and how to generate them on my machine: 2TXN7MS0CW1MC49YXGY0R7JC66R5M5AH130QJD9EWDTB5F56ZGGG ^^ An ego on client 1. Generate with `gnunet-identity --create`? QTQ8812BC8Y082CNSE6NG95XY6NXQB9SAG4R8PS7MAYF6W6NGF40 ^^ The peer ID of client 1. Fetch with `gnunet-peerinfo -s`? |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-06-23 02:31 | t3sserakt | New Issue | |
2016-06-23 02:31 | t3sserakt | Status | new => assigned |
2016-06-23 02:31 | t3sserakt | Assigned To | => tg |
2016-06-23 02:31 | t3sserakt | File Added: test.out | |
2016-06-23 16:41 | tg | Note Added: 0010927 | |
2016-06-28 00:18 | t3sserakt | Note Added: 0010941 | |
2017-08-01 01:32 | lverns | Note Added: 0012373 | |
2018-06-07 01:17 | Christian Grothoff | Assigned To | tg => |
2018-06-07 01:17 | Christian Grothoff | Status | assigned => confirmed |
2019-02-12 09:17 | Christian Grothoff | Project | GNUnet => secushare |
2019-02-12 09:17 | Christian Grothoff | Category | social service => General |
2019-02-12 09:19 | Christian Grothoff | Category | General => social |