Hi! I don't know if it applies, but with code optimization in gcc, gdb sometimes displays the same line multiple times when tracing execution. For this kind of problems maybe switch to assembler source (in gdb) ;-)
Regards, Ulrich >>> <[email protected]> schrieb am 18.07.2013 um 18:18 in Nachricht <[email protected]>: > Unfortunately there seems to be no change when building from git source. A > confusing part to me is why one of the processes is stuck here: > (gdb) frame 0 > #0 0x1000a4e8 in log_dequeue (buff=<optimized out>) at log.c:239 > 239 la->empty = 1; /* purge the last log msg */ > > I believe this process is currently holding the semaphore which is stopping > everything else from proceeding, but how can it get stuck on this line? > Trying to step to the next line of code in GDB does nothing. (it acts as if > the program is continuing, but when I ctrl-c it is on the same line as if > blocked). Could this actually be some kind of qemu emulation related bug? > > > On Wednesday, July 17, 2013 12:49:45 PM UTC-4, Mike Christie wrote: >> >> On 07/12/2013 09:59 AM, [email protected] <javascript:> wrote: >> > I can replicate this 100% of the time on my setup. When running iscsiadm >> > commands to logout, print session info, maybe others, the iscsid >> > processes hang on the semaphore in log_do_log_daemon. I've attached an >> > example and some stack traces. Removing the contents >> > of log_do_log_daemon() in usr/log.c fixes the problem for me, but >> > obviously this is not a real solution. >> > >> >> Could you try current code in the open-iscsi git tree? >> >> git clone git://github.com/mikechristie/open-iscsi.git >> >> I think there might be a fix in there for you. I can make a tarball if >> you are not comfortable with git. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "open-iscsi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/open-iscsi. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/groups/opt_out.
