Stuck in event_Loop in sync.c

24 views
Skip to first unread message

Anirban Mishra

unread,
Jun 22, 2015, 8:29:29 AM6/22/15
to libi...@googlegroups.com
Hi,
I am trying to run Read6.Simple test on my target. The target ip is xxx.aaa.bbb.ccc and port is 3260. The target name is target_2 and the lun id is 2.
I'm debugging the test on netbeans and the command i'm sending is:
 sudo iscsi-test-cu --test=SCSI.Read6.Simple iscsi://xxx.aaa.bbb.ccc:3260/target_2/2.
While debugging, I get stuck in an infinite loop in file sync.c
the function I'm getting stuck at is event_loop.
I cant seem to understand the problem.
On my target machine I can see in wireshark, that a login PDU has been received and a login success PDU has been sent back. Then there is no traffic on the iscsi protocol except the NOP-IN and NOP-Out.
Need some help here.
Thanks.

saxen...@gmail.com

unread,
Nov 2, 2015, 10:42:51 AM11/2/15
to libiscsi
I think you are also seeing a manifestation of the getaddrinfo() blocking call in iscsi_connect_async()
I've posted a patch to fix it.
Reply all
Reply to author
Forward
0 new messages