Hi,

for me this problem persists in 4.9.0 (compiled myself, on debian8).
It's reproducible: create new empty filesystem, add files, delete files
--> leading to a segfault and unrecoverable corruption of the
filesystem.  I tried this on two different hard drives, so I would
exclude the possibility of a hardware failure.

see attached part of kern.log.

cheers, lukas


Jan  9 14:33:00 debianPro kernel: [  338.991315] hfsplus: trying to free free 
bnode 0(1)
Jan  9 14:33:00 debianPro kernel: [  338.991320] hfsplus: trying to free free 
bnode 0(1)
Jan  9 14:33:00 debianPro kernel: [  338.991329] hfsplus: trying to free free 
bnode 0(1)
Jan  9 14:33:00 debianPro kernel: [  338.991349] general protection fault: 0000 
[#1] SMP
Jan  9 14:33:00 debianPro kernel: [  338.991374] Modules linked in: bnep 
binfmt_misc dm_crypt af_alg nls_iso8859_1 nls_cp437 vfat fat btusb btrtl btbcm 
btintel nls_utf8 hfsplus bluetooth input_leds arc4 hid_generic hid_apple ssb 
bcm5974 mac80211 cfg80211 usbhid hid applesmc input_polldev iTCO_wdt 
iTCO_vendor_support x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass 
ghash_clmulni_intel aesni_intel aes_x86_64 ablk_helper cryptd lrw glue_helper 
uvcvideo videobuf2_vmalloc videobuf2_memops snd_pcsp videobuf2_v4l2 
videobuf2_core videodev i2c_i801 i2c_smbus bcma snd_hda_codec_hdmi 
snd_hda_codec_cirrus thunderbolt snd_hda_codec_generic i915 fbcon bitblit 
softcursor tileblit intel_gtt snd_hda_intel apple_gmux snd_hda_codec 
snd_hda_core drm_kms_helper snd_hwdep snd_pcm_oss drm snd_mixer_oss snd_pcm 
video i2c_algo_bit fb_sys_fops snd_timer
Jan  9 14:33:00 debianPro kernel: [  338.991744]  syscopyarea snd sysfillrect 
apple_bl sysimgblt soundcore tpm_tis lpc_ich shpchp tpm_tis_core tpm 
firewire_sbp2 fuse ppdev lp parport crc32c_intel firewire_ohci firewire_core 
crc_itu_t sdhci_pci sdhci led_class ahci tg3 ptp libahci pps_core xhci_pci 
xhci_hcd [last unloaded: b43]
Jan  9 14:33:00 debianPro kernel: [  338.991885] CPU: 1 PID: 6238 Comm: rm Not 
tainted 4.9.0 #1
Jan  9 14:33:00 debianPro kernel: [  338.991908] Hardware name: Apple Inc. 
MacBookPro9,2/Mac-6F01561E16C75D06, BIOS MBP91.88Z.00D3.B0C.1509111653 
09/11/2015
Jan  9 14:33:00 debianPro kernel: [  338.991950] task: ffff88042df2d780 
task.stack: ffffc90008e04000
Jan  9 14:33:00 debianPro kernel: [  338.991973] RIP: 0010:[<ffffffffa0dad78c>] 
 [<ffffffffa0dad78c>] hfsplus_bnode_write+0x94/0x115 [hfsplus]
Jan  9 14:33:00 debianPro kernel: [  338.992014] RSP: 0018:ffffc90008e07c00  
EFLAGS: 00010286
Jan  9 14:33:00 debianPro kernel: [  338.992035] RAX: ffff880000000000 RBX: 
0000000000000002 RCX: 0000000000000002
Jan  9 14:33:00 debianPro kernel: [  338.992063] RDX: 0000160000000000 RSI: 
ffffc90008e07c56 RDI: ffe7091333456000
Jan  9 14:33:00 debianPro kernel: [  338.992090] RBP: ffffc90008e07c40 R08: 
ffffc90008e07c24 R09: ffff88044ccd10d0
Jan  9 14:33:00 debianPro kernel: [  338.992118] R10: ffffea0011333440 R11: 
0000000000000000 R12: ffe7091333456000
Jan  9 14:33:00 debianPro kernel: [  338.992146] R13: ffff88044ccd1120 R14: 
0000000000000002 R15: ffe7091333456000
Jan  9 14:33:00 debianPro kernel: [  338.992175] FS:  00007f018ffbb700(0000) 
GS:ffff88046f280000(0000) knlGS:0000000000000000
Jan  9 14:33:00 debianPro kernel: [  338.992206] CS:  0010 DS: 0000 ES: 0000 
CR0: 0000000080050033
Jan  9 14:33:00 debianPro kernel: [  338.992229] CR2: 0000000000c7c118 CR3: 
000000045c8ec000 CR4: 00000000001406e0
Jan  9 14:33:00 debianPro kernel: [  338.992257] Stack:
Jan  9 14:33:00 debianPro kernel: [  338.992268]  ffff88044ccd10d0 
0000160000000000 ffffc90008e07c56 ffff88044ccd10c0
Jan  9 14:33:00 debianPro kernel: [  338.992304]  ffffc90008e07ce0 
0000000000001ffc 0000000000000048 0000000000001ff4
Jan  9 14:33:00 debianPro kernel: [  338.992340]  ffffc90008e07c58 
ffffffffa0dad82f c6ff00000000000e ffffc90008e07c98
Jan  9 14:33:00 debianPro kernel: [  338.992374] Call Trace:
Jan  9 14:33:00 debianPro kernel: [  338.992389]  [<ffffffffa0dad82f>] 
hfsplus_bnode_write_u16+0x22/0x24 [hfsplus]
Jan  9 14:33:00 debianPro kernel: [  338.992421]  [<ffffffffa0daf5f8>] 
hfsplus_brec_remove+0x10d/0x15b [hfsplus]
Jan  9 14:33:00 debianPro kernel: [  338.992453]  [<ffffffffa0db147d>] 
__hfsplus_delete_attr+0x99/0xc0 [hfsplus]
Jan  9 14:33:00 debianPro kernel: [  338.992481]  [<ffffffffa0db192b>] 
hfsplus_delete_all_attrs+0x8b/0xa7 [hfsplus]
Jan  9 14:33:00 debianPro kernel: [  338.992510]  [<ffffffffa0daba3e>] 
hfsplus_delete_cat+0x297/0x2ba [hfsplus]
Jan  9 14:33:00 debianPro kernel: [  338.992539]  [<ffffffffa0dac1f6>] 
hfsplus_unlink+0xdc/0x19e [hfsplus]
Jan  9 14:33:00 debianPro kernel: [  338.992566]  [<ffffffff81166acf>] ? 
__inode_permission+0x82/0xa4
Jan  9 14:33:00 debianPro kernel: [  338.992590]  [<ffffffff81166ddf>] 
vfs_unlink+0xe1/0x172
Jan  9 14:33:00 debianPro kernel: [  338.992612]  [<ffffffff8116a34a>] 
do_unlinkat+0x10e/0x218
Jan  9 14:33:00 debianPro kernel: [  338.992635]  [<ffffffff8116ba45>] 
SyS_unlinkat+0x29/0x2b
Jan  9 14:33:00 debianPro kernel: [  338.992657]  [<ffffffff81582f20>] 
entry_SYSCALL_64_fastpath+0x13/0x94
Jan  9 14:33:00 debianPro kernel: [  338.992683] Code: 00 00 00 00 00 88 ff ff 
48 8b 75 d0 49 01 d7 4c 8b 4d c0 48 63 cb 49 c1 ff 06 48 89 55 c8 49 c1 e7 0c 
49 01 c7 4d 01 fc 4c 89 e7 <f3> a4 49 8b 79 50 e8 a1 6e 36 e0 48 8b 55 c8 49 89 
d7 41 29 de 
Jan  9 14:33:00 debianPro kernel: [  338.992850] RIP  [<ffffffffa0dad78c>] 
hfsplus_bnode_write+0x94/0x115 [hfsplus]
Jan  9 14:33:00 debianPro kernel: [  338.992881]  RSP <ffffc90008e07c00>
Jan  9 14:33:00 debianPro kernel: [  338.999072] ---[ end trace 
2584710f1bb4e660 ]---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1646565

Title:
  GPF when removing lots of files from hfsplus partition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1646565/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to