[stgt] [BUG] Tgt-1.0.8 exited unexpectedly

Hirokazu Takahashi taka at valinux.co.jp
Thu Oct 21 01:19:15 CEST 2010


Hi, 

It crashed at the same point.

I got a log and I want to send the whole of it to you. But the log is
rather large since it took a bit long to crash this time. I am not sure
I am allowed to post such a large message on this list.

How can I pass it to you? Should I send it to you directly?
I also have the core. I can also give it to you.

Thanks,
Hirokazu Takahashi.

>> > Tgt-1.0.8 sometimes exited unexpectedly with an error in function
>> > iscsi_tx_handler leaving a message "tgtd: iscsi_tx_handler(2215)
>> > error 0 0." To figure out what happened, I tried running tgt-1.0.8
>> 
>> I found one bug related with tmf. There might be more but can you try
>> the following patch against the latest git (not against the ptread
>> branch).
>> 
>> Please report the result with a log like tgtd-Sep18th.log. The patch
>> gives more debug messages so I might get more ideas about the
>> problems.
>> 
>> Thanks!
> 
> Okay, I will try it.
> Wait for the result.
> 
> Thanks,
> Hirokazu Takahashi.

Core was generated by `/home/taka/src/tgt-git101019/usr/tgtd -f'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000412cfa in abort_task_set (mreq=0x16e5ffe0, target=0xfa38d00,
    itn_id=2179, tag=3758096445, lun=0x0, all=0) at target.c:1132
1132                            list_for_each_entry_safe(cmd, tmp, list, c_hlist) {
(gdb) bt
#0  0x0000000000412cfa in abort_task_set (mreq=0x16e5ffe0, target=0xfa38d00,
    itn_id=2179, tag=3758096445, lun=0x0, all=0) at target.c:1132
#1  0x0000000000412ece in target_mgmt_request (tid=<value optimized out>,
    itn_id=2179, req_id=389550656, function=<value optimized out>,
    lun_buf=<value optimized out>, tag=3758096445, host_no=0) at target.c:1179
#2  0x0000000000404f83 in iscsi_tm_execute (task=0x17381240)
    at iscsi/iscsid.c:1417
#3  iscsi_task_execute (task=0x17381240) at iscsi/iscsid.c:1462
#4  0x0000000000405d02 in iscsi_task_queue (conn=0x178c53d8)
    at iscsi/iscsid.c:1539
#5  iscsi_task_rx_done (conn=0x178c53d8) at iscsi/iscsid.c:1680
#6  iscsi_rx_handler (conn=0x178c53d8) at iscsi/iscsid.c:2081
#7  0x000000000040c2f8 in iscsi_tcp_event_handler (fd=<value optimized out>,
    events=1, data=0x3b6f352990) at iscsi/iscsi_tcp.c:158
#8  0x000000000040ffae in event_loop (argc=<value optimized out>,
    argv=<value optimized out>) at tgtd.c:351
#9  main (argc=<value optimized out>, argv=<value optimized out>) at tgtd.c:522
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list