{"action":"opened","issue":{"url":"https://api.github.com/repos/pscedu/slash2/issues/316","labels_url":"https://api.github.com/repos/pscedu/slash2/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/pscedu/slash2/issues/316/comments","events_url":"https://api.github.com/repos/pscedu/slash2/issues/316/events","html_url":"https://github.com/pscedu/slash2/issues/316","id":89863957,"number":316,"title":"ZFS: assert failure during spa_load","user":{"login":"slovichon","id":6945653,"avatar_url":"https://avatars.githubusercontent.com/u/6945653?v=3","gravatar_id":"","url":"https://api.github.com/users/slovichon","html_url":"https://github.com/slovichon","followers_url":"https://api.github.com/users/slovichon/followers","following_url":"https://api.github.com/users/slovichon/following{/other_user}","gists_url":"https://api.github.com/users/slovichon/gists{/gist_id}","starred_url":"https://api.github.com/users/slovichon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slovichon/subscriptions","organizations_url":"https://api.github.com/users/slovichon/orgs","repos_url":"https://api.github.com/users/slovichon/repos","events_url":"https://api.github.com/users/slovichon/events{/privacy}","received_events_url":"https://api.github.com/users/slovichon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-21T04:40:03Z","updated_at":"2015-06-21T04:40:03Z","closed_at":null,"body":"\nOn 2012-12-06 14:35:17 -0500, Jared Yanovich wrote:\n\n> ```\n# 1  0x00002aaaac3c4d30 in abort () from /lib64/libc.so.6\n> # 2  0x00002aaaac3bc706 in __assert_fail () from /lib64/libc.so.6\n> # 3  0x00000000007494ff in taskq_bucket_dispatch (b=0x2aaaaab14800, func=0x69d582 <traverse_prefetch_thread>, arg=0x4602ebb0) at lib/libsolkerncompat/taskq.c:971\n> # 4  0x00000000007499da in taskq_dispatch (tq=0x2aaaaab3bd50, func=0x69d582 <traverse_prefetch_thread>, arg=0x4602ebb0, flags=2) at lib/libsolkerncompat/taskq.c:1072\n> # 5  0x000000000069d775 in traverse_impl (spa=0x2aaaaab36000, objset=14, rootbp=0x2aaab422ee80, txg_start=2094, flags=13, func=0x6cdeea <spa_load_verify_cb>, arg=0x2aaaaaaf8790) at lib/libzpool/dmu_traverse.c:360\n> # 6  0x000000000069d8b1 in traverse_dataset (ds=0x2aaaaab39b40, txg_start=2094, flags=13, func=0x6cdeea <spa_load_verify_cb>, arg=0x2aaaaaaf8790) at lib/libzpool/dmu_traverse.c:390\n> # 7  0x000000000069da5f in traverse_pool (spa=0x2aaaaab36000, txg_start=2094, flags=13, func=0x6cdeea <spa_load_verify_cb>, arg=0x2aaaaaaf8790) at lib/libzpool/dmu_traverse.c:441\n> # 8  0x00000000006ce045 in spa_load_verify (spa=0x2aaaaab36000) at lib/libzpool/spa.c:1321\n> # 9  0x00000000006cf3a5 in spa_load_impl (spa=0x2aaaaab36000, pool_guid=2624688042211085649, config=0x2aaaaab117e0, state=SPA_LOAD_IMPORT, type=SPA_IMPORT_EXISTING, mosconfig=B_TRUE, ereport=0x4602ee98) at lib/libzpool/spa.c:1846\n> # 10 0x00000000006ce51e in spa_load (spa=0x2aaaaab36000, state=SPA_LOAD_IMPORT, type=SPA_IMPORT_EXISTING, mosconfig=B_TRUE) at lib/libzpool/spa.c:1492\n> # 11 0x00000000006cf837 in spa_load_best (spa=0x2aaaaab36000, state=SPA_LOAD_IMPORT, mosconfig=1, max_request=18446744073709551615, rewind_flags=1) at lib/libzpool/spa.c:1984\n> # 12 0x00000000006d17b9 in spa_import (pool=0x2aaab4349000 \"xwfs-zpool\", config=0x2aaaaab11c60, props=0x0) at lib/libzpool/spa.c:3025\n> # 13 0x000000000065beb1 in zfs_ioc_pool_import (zc=0x2aaab4349000) at zfs-fuse/zfs_ioctl.c:1178\n> # 14 0x0000000000661317 in zfsdev_ioctl (dev=0, cmd=23042, arg=140737488313504, flag=0, cr=0x4602f070, rvalp=0x0) at zfs-fuse/zfs_ioctl.c:4480\n> # 15 0x0000000000677860 in handle_connection (sock=9) at zfs-fuse/cmd_listener.c:111\n> # 16 0x0000000000677b70 in zfsfuse_ioctl_queue_worker_thread (init=0xa39680) at zfs-fuse/cmd_listener.c:205\n> # 17 0x00002aaaac17e77d in start_thread () from /lib64/libpthread.so.0\n> \n> # 3  0x00000000007494ff in taskq_bucket_dispatch (b=0x2aaaaab14800, func=0x69d582 <traverse_prefetch_thread>, arg=0x4602ebb0) at lib/libsolkerncompat/taskq.c:971\n> /local/src/p/zfs/src/lib/libsolkerncompat/taskq.c:971:34399:beg:0x7494ff\n> gdb> l\n> 963              * Get en entry from the freelist if there is one.\n> 964              * Schedule task into the entry.\n> 965              */\n> 966             if ((b->tqbucket_nfree != 0) &&\n> 967                 !(b->tqbucket_flags & TQBUCKET_SUSPEND)) {\n> 968                     tqe = b->tqbucket_freelist.tqent_prev;\n> 969\n> 970                     ASSERT(tqe != &b->tqbucket_freelist);\n> 971                     ASSERT(tqe->tqent_thread != NULL);\n```\n"}}