(another?) tgtd segfault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not sure if this is related to the issue previously reported by Tomasz.

Platform: Linux (Slackware 13.0), ARM (Marvell Feroceon), Kernel 2.6.31.3

When issuing the following command:

tgtadm --lld iscsi --mode target --op new --tid 1 --target sheeva:disk1

I am observing the following in 1.0.7, as well as with tgtd compiled from the latest git:
----------------------------------------------------------------------
root@sheeva:~# gdb --args tgtd -f -d 4
GNU gdb 6.8
Copyright (C) 2008 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 "arm-slackware-linux-gnueabi"...
(gdb) run
Starting program: /usr/sbin/tgtd -f -d 4
[Thread debugging using libthread_db enabled]
tgtd: bs_init(312) use signalfd notification
tgtd: tgt_mgmt(346) 143 0 1 0 1 0 ffffffffffffffff targetname=sheeva:disk1 4559
tgtd: tgt_device_create(445) 1 0
[New Thread 0x40020350 (LWP 4559)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x40020350 (LWP 4559)]
0x400f8b7c in strspn () from /lib/libc.so.6
----------------------------------------------------------------------

For comparison, the same command works fine with 1.0.6:

----------------------------------------------------------------------
root@sheeva:~# gdb --args tgtd -f -d 4
GNU gdb 6.8
Copyright (C) 2008 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 "arm-slackware-linux-gnueabi"...
(gdb) run
Starting program: /usr/sbin/tgtd -f -d 4
[Thread debugging using libthread_db enabled]
tgtd: bs_init(321) use signalfd notification
tgtd: tgt_mgmt(346) 143 0 1 0 1 0 ffffffffffffffff targetname=sheeva:disk1 4597
tgtd: tgt_device_create(444) 1 0
tgtd: tgt_device_create(570) Add a logical unit 0 to the target 1
[New Thread 0x40020350 (LWP 4597)]
[New Thread 0x409c4490 (LWP 4601)]
tgtd: iscsi_target_create(424) create thread 1083982992
tgtd: tgt_target_create(1830) Succeed to create a new target 1
----------------------------------------------------------------------

Hoping this is enough to help identify the issue. If you need more data, let me know.

Regards,

/Pete
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux