View Issue Details

IDProjectCategoryView StatusLast Update
0003027GNUnetcadet servicepublic2013-12-24 20:54
ReporterLRN Assigned ToBart Polot  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.10.0Fixed in Version0.10.0 
Summary0003027: gnunet-service-mesh-enc crashes on shutdown during test_mesh_small_signal
Descriptionr29083

Crash happens because mesh tries to use a channel "ch" that is already destroyed.
Additional InformationParts of the debug log:
сен 07 03:11:13-00000000000195614976 util-scheduler-10464 DEBUG Running task: 114 / 023de820
сен 07 03:11:13-00000000000195614977 util-10464 DEBUG receive_ready read 0/65535 bytes from `[::1]:61234' (023de820)!
сен 07 03:11:13-00000000000195614977 util-10464 DEBUG Client is being disconnected from the server.
сен 07 03:11:13-00000000000195614977 util-server-nc-10464 DEBUG Client disconnected, cleaning up 0 messages in NC queue
сен 07 03:11:13-00000000000195614977 mesh-10464 DEBUG client disconnected: 00dea000
сен 07 03:11:13-00000000000195614977 mesh-10464 DEBUG matching client found (0, 023d4808)
сен 07 03:11:13-00000000000195614977 mesh-10464 DEBUG  Channel 0 (80000000 / 0) destroy, due to client 0 shutdown.
сен 07 03:11:13-00000000000195614977 mesh-10464 DEBUG Channel CG2H:0 (023d66f0)
сен 07 03:11:13-00000000000195614977 mesh-10464 DEBUG   root 023d4808/023c4a30
сен 07 03:11:13-00000000000195614977 mesh-10464 DEBUG   cli 0
сен 07 03:11:13-00000000000195614977 mesh-10464 DEBUG   ready YES
сен 07 03:11:13-00000000000195614977 mesh-10464 DEBUG   id 80000000
сен 07 03:11:13-00000000000195614977 mesh-10464 DEBUG   dest 00000000/00000000
сен 07 03:11:13-00000000000195614977 mesh-10464 DEBUG  Client 0 is owner.
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG   sending channel destroy for channel CG2H:0
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG Send on Channel CG2H:0 FWD
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG   GNUNET_MESSAGE_TYPE_MESH_CHANNEL_DESTROY
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG Send on Tunnel CG2H
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG tunnel_get_connection CG2H
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG   connection C7UFFBIH: 3
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG     q_n 0, 
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG Send GNUNET_MESSAGE_TYPE_MESH_FWD (96) on connection C7UFFBIH
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG  pid 2
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG queue add FWD GNUNET_MESSAGE_TYPE_MESH_FWD (96) on c 023e3bc8, ch 023d66f0
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG priority 0
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG fc 023e3bd8
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG last pid 1
сен 07 03:11:13-00000000000195614978 mesh-10464 DEBUG      ack 4
сен 07 03:11:13-00000000000195614979 mesh-10464 DEBUG   Q_N+ 023e3bd8 0
сен 07 03:11:13-00000000000195614979 mesh-10464 DEBUG calling core tmt rdy towards 93AR for 96 bytes
сен 07 03:11:13-00000000000195614979 core-api-10464 DEBUG Asking core for transmission of 96 bytes to `93AR'
сен 07 03:11:13-00000000000195614979 util-scheduler-10464 DEBUG Adding task: 178 / 023df838
сен 07 03:11:13-00000000000195614979 core-api-10464 DEBUG Transmission request added to queue
сен 07 03:11:13-00000000000195614979 mesh-10464 DEBUG destroying channel CG2H:0
сен 07 03:11:13-00000000000195614979 mesh-10464 DEBUG Channel CG2H:0 (023d66f0)
сен 07 03:11:13-00000000000195614979 mesh-10464 DEBUG   root 023d4808/023c4a30
сен 07 03:11:13-00000000000195614979 mesh-10464 DEBUG   cli 0
сен 07 03:11:13-00000000000195614979 mesh-10464 DEBUG   ready YES
сен 07 03:11:13-00000000000195614979 mesh-10464 DEBUG   id 80000000
сен 07 03:11:13-00000000000195614979 mesh-10464 DEBUG   dest 00000000/00000000
сен 07 03:11:13-00000000000195614979 util-10464 DEBUG Scheduling transmission (023df8d0).
сен 07 03:11:13-00000000000195614979 util-scheduler-10464 DEBUG Adding task: 179 / 023df8d0
сен 07 03:11:13-00000000000195614980 mesh-10464 DEBUG   sending connection destroy for connection CG2H[AEF7FC61]
сен 07 03:11:13-00000000000195614980 mesh-10464 DEBUG Send GNUNET_MESSAGE_TYPE_MESH_TUNNEL_DESTROY (72) on connection C7UFFBIH
сен 07 03:11:13-00000000000195614980 mesh-10464 DEBUG queue add FWD GNUNET_MESSAGE_TYPE_MESH_TUNNEL_DESTROY (72) on c 023e3bc8, ch 00000000
сен 07 03:11:13-00000000000195614980 mesh-10464 DEBUG priority 0
сен 07 03:11:13-00000000000195614980 mesh-10464 DEBUG fc 023e3bd8
сен 07 03:11:13-00000000000195614980 mesh-10464 DEBUG last pid 1
сен 07 03:11:13-00000000000195614980 mesh-10464 DEBUG      ack 4
сен 07 03:11:13-00000000000195614980 mesh-10464 DEBUG   Q_N+ 023e3bd8 1
сен 07 03:11:13-00000000000195614980 mesh-10464 DEBUG core tmt rdy towards 93AR already called
сен 07 03:11:13-00000000000195614980 mesh-10464 DEBUG   client free (023d4808)
сен 07 03:11:13-00000000000195614980 mesh-10464 DEBUG done!
сен 07 03:11:13-00000000000195614980 util-scheduler-10464 DEBUG Adding task: 180 / 023de820

сен 07 03:11:13-00000000000195614982 util-scheduler-10464 DEBUG Running task: 180 / 023de820
сен 07 03:11:13-00000000000195614982 util-10464 DEBUG Shutting down connection (023de820)
сен 07 03:11:13-00000000000195614982 util-10464 DEBUG Closed 0x2a0, closesocket() returned 0, GLE is 0
сен 07 03:11:13-00000000000195614982 util-scheduler-10464 DEBUG Running task: 178 / 023df838
сен 07 03:11:13-00000000000195614982 util-scheduler-10464 DEBUG Adding task: 182 / 023df838
сен 07 03:11:13-00000000000195614982 core-api-10464 DEBUG Adding SEND REQUEST for peer `93AR' to message queue
сен 07 03:11:13-00000000000195614983 util-10464 DEBUG Scheduling transmission (00def350).
сен 07 03:11:13-00000000000195614983 util-scheduler-10464 DEBUG Adding task: 183 / 00def350

сен 07 03:11:13-00000000000195615023 util-scheduler-10464 DEBUG Running task: 3 / 023d2e08
сен 07 03:11:13-00000000000195615023 util-10464 DEBUG `parent_control_handler' invoked because of 20
сен 07 03:11:13-00000000000195615023 util-10464 DEBUG Read 1 bytes from pipe
сен 07 03:11:13-00000000000195615023 util-10464 DEBUG Got control code 15 from parent via pipe (NULL)
сен 07 03:11:13-00000000000195615023 util-scheduler-10464 DEBUG Adding task: 185 / 023d2e08
сен 07 03:11:13-00000000000195615023 util-10464 DEBUG It is a pipe trying to write 1 bytes
сен 07 03:11:13-00000000000195615024 util-10464 DEBUG Wrote 1 bytes (ovr says 1), picking the greatest
сен 07 03:11:13-00000000000195615024 util-10464 DEBUG Wrote 1 bytes
сен 07 03:11:13-00000000000195615024 util-scheduler-10464 DEBUG Running task: 184 / 00defca0
сен 07 03:11:13-00000000000195615029 util-10464 DEBUG Received message of type 75 and size 72
сен 07 03:11:13-00000000000195615029 core-api-10464 DEBUG Processing message of type 75 and size 72 from core service
сен 07 03:11:13-00000000000195615029 core-api-10464 DEBUG Received notification about transmission readiness to `93AR'.
сен 07 03:11:13-00000000000195615029 util-10464 DEBUG Scheduling transmission (00def350).
сен 07 03:11:13-00000000000195615029 util-scheduler-10464 DEBUG Adding task: 186 / 00def350

сен 07 03:11:13-00000000000195615031 util-scheduler-10464 DEBUG Running task: 186 / 00def350
сен 07 03:11:13-00000000000195615032 util-10464 DEBUG transmit_ready running (00def350).
сен 07 03:11:13-00000000000195615032 util-10464 DEBUG process_notify is running
сен 07 03:11:13-00000000000195615032 util-10464 DEBUG client_notify is running
сен 07 03:11:13-00000000000195615032 util-scheduler-10464 DEBUG Canceling task: 182 / 023df838
сен 07 03:11:13-00000000000195615032 core-api-10464 DEBUG Transmitting SEND request to `93AR' with 96 bytes.
сен 07 03:11:13-00000000000195615032 mesh-10464 DEBUG * Queue send (max 388)
сен 07 03:11:13-00000000000195615032 mesh-10464 DEBUG *   towards 93AR
сен 07 03:11:13-00000000000195615048 mesh-10464 DEBUG *   size 96 ok
сен 07 03:11:13-00000000000195615048 mesh-10464 DEBUG *   raw: GNUNET_MESSAGE_TYPE_MESH_FWD
сен 07 03:11:13-00000000000195615049 mesh-10464 DEBUG   Q_N- 023e3bd8 2
сен 07 03:11:13-00000000000195615049 mesh-10464 DEBUG *   accounting pid 2
сен 07 03:11:13-00000000000195615049 mesh-10464 DEBUG send ack FWD on 023e3bc8 023d66f0
сен 07 03:11:13-00000000000195615049 mesh-10464 DEBUG   getting from one connection
сен 07 03:11:13-00000000000195615049 mesh-10464 DEBUG   buffer available: 2
сен 07 03:11:13-00000000000195615049 mesh-10464 DEBUG   sending on channel...
сен 07 03:11:13-00000000000195615049 mesh-10464 DEBUG   really sending!
TagsNo tags attached.

Relationships

child of 0002565 closedBart Polot mesh should provide end-to-end encryption 

Activities

Bart Polot

2013-11-15 12:53

manager   ~0007637

Should be fixed in final version: test no longer causes a crash.

Issue History

Date Modified Username Field Change
2013-09-07 01:22 LRN New Issue
2013-09-07 01:22 LRN Status new => assigned
2013-09-07 01:22 LRN Assigned To => Bart Polot
2013-09-22 17:56 Christian Grothoff Product Version => Git master
2013-09-22 17:56 Christian Grothoff Target Version => 0.10.0
2013-09-22 21:24 Christian Grothoff Relationship added child of 0002565
2013-11-15 12:53 Bart Polot Note Added: 0007637
2013-11-15 12:53 Bart Polot Status assigned => resolved
2013-11-15 12:53 Bart Polot Fixed in Version => Git master
2013-11-15 12:53 Bart Polot Resolution open => fixed
2013-12-08 23:57 Christian Grothoff Fixed in Version Git master => 0.10.0
2013-12-24 20:54 Christian Grothoff Status resolved => closed
2014-05-09 18:34 Christian Grothoff Category mesh service => cadet service