View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001764 | GNUnet | obsolete | public | 2011-09-02 17:50 | 2024-05-03 14:02 |
| Reporter | tg | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | linux x86_64 | OS | gentoo | ||
| Product Version | Git master | ||||
| Summary | 0001764: peerinfo crash | ||||
| Description | gnunet-peerinfo just crashed here, seems like hello can be NULL in print_peer_info but it's not checked | ||||
| Steps To Reproduce | % gnunet-peerinfo Peer `BP61JTKRVRED0B96VJ8OTB0TR7SVISLMULSIPMN5AOR7FDK0PARU111JGLACHCT5LDI0DAIC6MHIN1MQ4AJGD9GAILEKO18DVIOB0QG' Peer `KGH5Q0JIJLRKT6PP1O04ESECUE9MGM9JCR60CGB6G98D897SR3CM7QN98GPSPAHR0KMOLBBBJ5NG58AIR193SU3I1F5L84O3SPIG1D8' zsh: segmentation fault (core dumped) gnunet-peerinfo | ||||
| Additional Information | % gdb gnunet-peerinfo core (gdb) bt #0 GNUNET_HELLO_size (hello=0x0) at hello.c:454 #1 0x00007f40949c3225 in GNUNET_HELLO_iterate_addresses (msg=0x0, return_modified=0, it=0x400fc0 <count_address>, it_cls=0x19c2060) at hello.c:222 #2 0x00000000004013ab in print_peer_info (cls=<value optimized out>, peer=0x7fffc3f44a58, hello=0x0, err_msg=<value optimized out>) at gnunet-peerinfo.c:169 #3 0x00007f4094dcd65d in peerinfo_handler (cls=0x19c0750, msg=0x7fffc3f44a50) at peerinfo_api.c:492 #4 0x00007f40947936f7 in receive_task (cls=0x19c0690, tc=<value optimized out>) at client.c:562 #5 0x00007f40947ae7d7 in run_ready (task=<value optimized out>, task_cls=<value optimized out>) at scheduler.c:681 #6 GNUNET_SCHEDULER_run (task=<value optimized out>, task_cls=<value optimized out>) at scheduler.c:862 #7 0x00007f40947aafcb in GNUNET_PROGRAM_run (argc=1, argv=0x7fffc3f44e98, binaryName=0x40184e "gnunet-peerinfo", binaryHelp=0x4017b0 "Print information about peers.", options=0x4018c0, task=0x400fd0 <run>, task_cls=0x0) at program.c:245 #8 0x00000000004015b7 in main (argc=<value optimized out>, argv=<value optimized out>) at gnunet-peerinfo.c:269 | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-09-02 17:50 | tg | New Issue | |
| 2011-09-06 11:16 | Christian Grothoff | Note Added: 0004561 | |
| 2011-09-06 11:16 | Christian Grothoff | Status | new => resolved |
| 2011-09-06 11:16 | Christian Grothoff | Resolution | open => fixed |
| 2011-09-06 11:16 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2011-09-15 14:19 | Christian Grothoff | Status | resolved => closed |
| 2024-05-03 14:02 | Christian Grothoff | Category | peerinfo service => obsolete |