All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shahar Salzman <shahar.salzman at kaminario.com>
To: spdk@lists.01.org
Subject: [SPDK] __libc_message calling assert during delete_nvmf_subsystem
Date: Mon, 01 Apr 2019 15:14:56 +0000	[thread overview]
Message-ID: <AM6PR04MB5127C64E307526741697AF6D89550@AM6PR04MB5127.eurprd04.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]

Hi,

I am running with spdk 18.10.3, and crashing during delete_nvmf_subsystem.
This happens pretty consistently (every 2-3 attempts) when I do the delete while the initiator is still connected.

I saw that bug #235 has the same stack trace as I am seeing, but I already have the fix.
I am digging into this, but would be glad to get some pointers as to where to start looking, or more specifically, how did you know to look into the lib/nvmf controller code according to this error.

This is my stack:
(gdb) bt
#0  0x00007f338ed46495 in raise () from /lib64/libc.so.6
#1  0x00007f338ed47c75 in abort () from /lib64/libc.so.6
#2  0x00007f338ed843a7 in __libc_message () from /lib64/libc.so.6
#3  0x00007f338ed89dee in malloc_printerr () from /lib64/libc.so.6
#4  0x00007f338ed8cc80 in _int_free () from /lib64/libc.so.6
#5  0x000000000047ca07 in _spdk_event_queue_run_batch (arg=0x7f32dc008640) at reactor.c:205
#6  _spdk_reactor_run (arg=0x7f32dc008640) at reactor.c:502
#7  0x000000000047ccac in spdk_reactors_start () at reactor.c:677
#8  0x00000000007a942e in km_spdk_target_reactor_thread (arg=0x1da4b160) at km_spdk_target_reactor.c:143
#9  0x00000000007b28e1 in km_thread_log (ctxt=0x7f32e0001ea0) at km_thread_pthreads.c:79
#10 0x00007f338fb85aa1 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f338edfcbcd in clone () from /lib64/libc.so.6


I will open a bug on github for this once I collect all the information.

Shahar

             reply	other threads:[~2019-04-01 15:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-01 15:14 Shahar Salzman [this message]
2019-04-01 16:02 [SPDK] __libc_message calling assert during delete_nvmf_subsystem Harris, James R
2019-04-01 18:48 Shahar Salzman
2019-04-01 21:16 Shahar Salzman
2019-04-01 21:24 Shahar Salzman
2019-04-01 21:27 Harris, James R
2019-04-01 22:15 Howell, Seth
2019-04-02 10:38 Shahar Salzman
2019-04-02 14:23 Shahar Salzman
2019-04-02 15:02 Howell, Seth
2019-04-03  5:48 Shahar Salzman
2019-04-03  7:01 Shahar Salzman
2019-04-03 18:39 Howell, Seth
2019-04-03 18:50 Shahar Salzman
2019-04-03 19:58 Howell, Seth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM6PR04MB5127C64E307526741697AF6D89550@AM6PR04MB5127.eurprd04.prod.outlook.com \
    --to=spdk@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.