zfsonlinux/zfs — Issue #505: Segmentation fault while trying to destroy a pool 
Author: uclageek
Created: 2011-12-24 21:16:40+00:00
State: open

I got this error when I was trying to destroy a pool.

I'm on Ubuntu 10.04 64bit

[76636.757200] ld[23210]: segfault at 403 ip 00007f5d958e035e sp 00007fff5bc0d6f0 error 4 in libc-2.11.1.so[7f5d95897000+17a000]
[76724.551932] ld[29115]: segfault at 403 ip 00007f0142b0f35e sp 00007fff11909190 error 4 in libc-2.11.1.so[7f0142ac6000+17a000]
[76855.355442] ld[7081]: segfault at 403 ip 00007f1beffcb35e sp 00007fffa95ee5f0 error 4 in libc-2.11.1.so[7f1beff82000+17a000]
[76988.576990] ld[17169]: segfault at 403 ip 00007ffcac4ea35e sp 00007fff9ddf7d20 error 4 in libc-2.11.1.so[7ffcac4a1000+17a000]
[77393.842663] ld[26723]: segfault at 403 ip 00007f2ca2cc135e sp 00007fff9b32e050 error 4 in libc-2.11.1.so[7f2ca2c78000+17a000]
[127277.599111] general protection fault: 0000 [#1] SMP
[127277.599121] last sysfs file: /sys/devices/pci0000:00/0000:00:07.0/0000:02:00.0/local_cpus
[127277.599126] CPU 2
[127277.599130] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat binfmt_misc ppdev snd_hda_codec_atihdmi fbcon tileblit font bitblit softcursor vga16fb vgastate snd_hda_codec_via snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi radeon snd_seq_midi_event ttm drm_kms_helper snd_seq snd_timer snd_seq_device dell_wmi psmouse dcdbas snd drm i2c_algo_bit edac_core edac_mce_amd serio_raw soundcore snd_page_alloc i2c_piix4 shpchp lp parport zfs(P) zcommon(P) znvpair(P) zavl(P) zunicode(P) spl zlib_deflate usbhid hid usb_storage ahci r8169 mii pata_atiixp
[127277.599209] Pid: 28637, comm: zpool Tainted: P 2.6.32-37-server #81-Ubuntu Inspiron 546S
[127277.599215] RIP: 0010:[] [] __taskq_destroy+0xa9/0xf0 [spl]
[127277.599242] RSP: 0018:ffff880131855d78 EFLAGS: 00010006
[127277.599246] RAX: ffff8801f6faab38 RBX: ffff88020500de00 RCX: 9300e3aa01ffcf82
[127277.599251] RDX: 4880231977c0cdf3 RSI: 0000000000000038 RDI: ffff8801f6faab30
[127277.599255] RBP: ffff880131855d98 R08: ffff880131854000 R09: 0000000000000000
[127277.599259] R10: dead000000200200 R11: dead000000100100 R12: ffff88020500de68
[127277.599264] R13: ffff8801eb4b1700 R14: 0000000000000000 R15: 0000000000000000
[127277.599269] FS: 00007fa919a53b40(0000) GS:ffff880008d00000(0000) knlGS:0000000000000000
[127277.599274] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[127277.599278] CR2: 00007fa9174ab000 CR3: 000000016e350000 CR4: 00000000000006e0
[127277.599282] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[127277.599287] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[127277.599292] Process zpool (pid: 28637, threadinfo ffff880131854000, task ffff88020375c500)
[127277.599296] Stack:
[127277.599299] ffff880131855da8 ffff8801f51f2000 ffff8801f51f2160 0000000000000000
[127277.599306] <0> ffff880131855dc8 ffffffffa0178230 0000000000000000 0000000000000002
[127277.599315] <0> ffff8801f51f2000 0000000000000000 ffff880131855e28 ffffffffa017f7dd
[127277.599325] Call Trace:
[127277.599408] [] spa_deactivate+0xb0/0x1e0 [zfs]
[127277.599483] [] spa_export_common+0xfd/0x310 [zfs]
[127277.599549] [] spa_destroy+0x1a/0x20 [zfs]
[127277.599623] [] zfs_ioc_pool_destroy+0x1e/0x40 [zfs]
[127277.599686] [] zfsdev_ioctl+0xfd/0x1c0 [zfs]
[127277.599701] [] vfs_ioctl+0x22/0xa0
[127277.599711] [] ? alloc_fd+0x10a/0x150
[127277.599718] [] do_vfs_ioctl+0x81/0x410
[127277.599724] [] sys_ioctl+0x81/0xa0
[127277.599733] [] system_call_fastpath+0x16/0x1b
[127277.599737] Code: 08 4c 39 e2 75 d4 48 8b 43 68 4c 8d 63 68 49 39 c4 74 39 0f 1f 80 00 00 00 00 48 8d 78 f8 be 38 00 00 00 48 8b 4f 08 48 8b 57 10 <48> 89 51 08 48 89 0a 48 89 47 08 48 89 47 10 e8 23 ee ff ff 48
[127277.599798] RIP [] __taskq_destroy+0xa9/0xf0 [spl]
[127277.599817] RSP
[127277.599825] ---[ end trace 4131885a1db306b1 ]---