View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001961 | GNUnet | core service | public | 2011-11-24 16:49 | 2011-11-30 18:38 |
| Reporter | Bart Polot | Assigned To | Christian Grothoff | ||
| Priority | urgent | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Target Version | 0.9.0 | Fixed in Version | 0.9.0 | ||
| Summary | 0001961: NSE profiler causes core to crash | ||||
| Description | [bart@saturn ~/svn/gnunet/src/nse]$ gdb /tmp/bartgnunet/bin/gnunet-service-core --core core.29865 GNU gdb (GDB) 7.3.1 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /tmp/bartgnunet/bin/gnunet-service-core...done. warning: core file may not match specified executable file. [New LWP 29865] warning: Can't read pathname for load map: Input/output error. Core was generated by `gnunet-service-core -c /tmp/nse-profiler//0//gnunet-testing-configwVAmqH'. Program terminated with signal 6, Aborted. #0 0x00007fe42bfdf965 in raise () from /lib/libc.so.6 (gdb) bt #0 0x00007fe42bfdf965 in raise () from /lib/libc.so.6 #1 0x00007fe42bfe0ddb in abort () from /lib/libc.so.6 #2 0x00007fe42d06de39 in GNUNET_abort () at common_logging.c:273 #3 0x0000000000403687 in GSC_CLIENTS_solicit_request (car=<optimized out>) at gnunet-service-core_clients.c:614 #4 0x0000000000408bed in solicit_messages (session=0xe4db80) at gnunet-service-core_sessions.c:447 #5 try_transmission (session=0xe4db80) at gnunet-service-core_sessions.c:503 #6 0x00000000004052f9 in transmit_ready (cls=0xe4c5b0, size=644, buf=<optimized out>) at gnunet-service-core_neighbours.c:249 #7 0x00007fe42d2aeb13 in transport_notify_ready (cls=0xe35be0, size=724, buf=0xe53c70) at transport_api.c:693 #8 0x00007fe42d06ab44 in client_notify (cls=0xe37f00, size=724, buf=0xe53c70) at client.c:1010 #9 0x00007fe42d072ed1 in process_notify (sock=0xe36b20) at connection.c:1362 #10 transmit_ready (cls=0xe36b20, tc=<optimized out>) at connection.c:1542 #11 0x00007fe42d093004 in run_ready (ws=0xe34e20, rs=0xe34220) at scheduler.c:684 #12 GNUNET_SCHEDULER_run (task=<optimized out>, task_cls=<optimized out>) at scheduler.c:864 #13 0x00007fe42d09bb46 in GNUNET_SERVICE_run (argc=3, argv=<optimized out>, serviceName=<optimized out>, opt=<optimized out>, task=<optimized out>, task_cls=0x0) at service.c:1584 #14 0x0000000000402729 in main (argc=<optimized out>, argv=<optimized out>) at gnunet-service-core.c:116 (gdb) | ||||
| Steps To Reproduce | Same a 0001960 | ||||
| Tags | No tags attached. | ||||
|
|
Nov 24 17:09:28-044723 core-21778 ERROR Assertion failed at gnunet-service-core_clients.c:617. Nov 24 17:09:28-054024 core-21887 ERROR Assertion failed at gnunet-service-core_clients.c:617. |
|
|
AFAIU, nse tries to send a message to a peer that core thinks that nse does not know. |
|
|
After re-running with 0001960 fixed, this doesn't happen anymore... |
|
|
The crashing assertion is still a real bug, it should be replaced with dropping the request. The ultimate cause of why you could reproduce this before and no more now (NSE crashing) doesn't matter -- core must never crash just because a client connects/disconnects. |
|
|
Fixed in SVN 18322. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-11-24 16:49 | Bart Polot | New Issue | |
| 2011-11-24 16:49 | Bart Polot | Status | new => assigned |
| 2011-11-24 16:49 | Bart Polot | Assigned To | => Christian Grothoff |
| 2011-11-24 17:10 | Bart Polot | Note Added: 0004971 | |
| 2011-11-24 17:13 | Christian Grothoff | Priority | normal => urgent |
| 2011-11-25 15:07 | Bart Polot | Note Added: 0004974 | |
| 2011-11-25 15:32 | Bart Polot | Note Added: 0004975 | |
| 2011-11-25 17:10 | Christian Grothoff | Note Added: 0004976 | |
| 2011-11-25 17:11 | Christian Grothoff | Note Added: 0004977 | |
| 2011-11-25 17:11 | Christian Grothoff | Status | assigned => resolved |
| 2011-11-25 17:11 | Christian Grothoff | Fixed in Version | => 0.9.0 |
| 2011-11-25 17:11 | Christian Grothoff | Resolution | open => fixed |
| 2011-11-30 18:38 | Christian Grothoff | Status | resolved => closed |