From owner-freebsd-fs@freebsd.org Sat Mar 12 01:58:39 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18719ACCD4A for ; Sat, 12 Mar 2016 01:58:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 08D94C99 for ; Sat, 12 Mar 2016 01:58:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2C1wcLP066538 for ; Sat, 12 Mar 2016 01:58:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 204643] [msdosfs] [panic] Crash while accessing files with large, non-english names Date: Sat, 12 Mar 2016 01:58:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gordon778@mail.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2016 01:58:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204643 --- Comment #1 from Alexey --- This bug is reproducible on FreeBSD 10.2-RELEASE (and others i guess): KDB: stack backtrace: #0 0xffffffff80984e30 at kdb_backtrace+0x60 #1 0xffffffff809489e6 at vpanic+0x126 #2 0xffffffff809488b3 at panic+0x43 #3 0xffffffff80976462 at __stack_chk_fail+0x12 #4 0xffffffff8083c652 at msdosfs_readdir+0x782 #5 0xffffffff80e731c7 at VOP_READDIR_APV+0xa7 #6 0xffffffff809f72bc at kern_getdirentries+0x21c #7 0xffffffff809f7078 at sys_getdirentries+0x28 #8 0xffffffff80d4b3a7 at amd64_syscall+0x357 uname: FreeBSD HP635 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #0: Mon Nov 2 14:19:= 39 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERI= C=20 amd64 dmesg: Copyright (c) 1992-2015 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.2-RELEASE-p7 #0: Mon Nov 2 14:19:39 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 VT: running with driver "vga". info: [drm] Initialized drm 1.1.0 20060810 CPU: AMD E-300 APU with Radeon(tm) HD Graphics (1297.27-MHz K8-class CPU) Origin=3D"AuthenticAMD" Id=3D0x500f20 Family=3D0x14 Model=3D0x2 Stepp= ing=3D0 =20 Features=3D0x178bfbff Features2=3D0x802209 AMD Features=3D0x2e500800 AMD Features2=3D0x35ff SVM: (disabled in BIOS) NP,NRIP,NAsids=3D8 TSC: P-state invariant, performance statistics real memory =3D 6442450944 (6144 MB) avail memory =3D 5782937600 (5515 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 on motherboard random: initialized module_register_init: MOD_LOAD (vesa, 0xffffffff80db8e60, 0) error 19 kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 450 atrtc0: port 0x70-0x71 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x4000-0x40ff mem 0xe0000000-0xefffffff,0xf0400000-0xf043ffff irq 18 at device 1.0 on pci0 acpi_video0: on vgapci0 drmn0: on vgapci0 info: [drm] RADEON_IS_PCIE info: [drm] initializing kernel modesetting (PALM 0x1002:0x9802 0x103C:0x35= 77). info: [drm] register mmio base: 0xF0400000 info: [drm] register mmio size: 262144 info: [drm] radeon_atrm_get_bios: =3D=3D=3D> Try ATRM... info: [drm] radeon_atrm_get_bios: IGP card detected, skipping this method... info: [drm] radeon_acpi_vfct_bios: =3D=3D=3D> Try VFCT... info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND info: [drm] igp_read_bios_from_vram: =3D=3D=3D> Try IGP's VRAM... info: [drm] igp_read_bios_from_vram: VRAM base address: 0xe0000000 info: [drm] igp_read_bios_from_vram: Map address: 0xfffff800e0000000 (262144 bytes) info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x0000 info: [drm] radeon_read_bios: =3D=3D=3D> Try PCI Expansion ROM... info: [drm] radeon_read_bios: Map address: 0xfffff800000c0000 (131072 bytes) info: [drm] ATOM BIOS: HP drmn0: info: VRAM: 384M 0x0000000000000000 - 0x0000000017FFFFFF (384M used) drmn0: info: GTT: 512M 0x0000000018000000 - 0x0000000037FFFFFF info: [drm] Detected VRAM RAM=3D384M, BAR=3D256M info: [drm] RAM width 32bits DDR [TTM] Zone kernel: Available graphics memory: 2924656 kiB [TTM] Zone dma32: Available graphics memory: 2097152 kiB [TTM] Initializing pool allocator info: [drm] radeon: 384M of VRAM memory ready info: [drm] radeon: 512M of GTT memory ready. info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). info: [drm] Driver supports precise vblank timestamp query. info: [drm] MSI enabled 1 message(s) drmn0: info: radeon: using MSI. info: [drm] radeon: irq initialized. info: [drm] GART: num cpu pages 131072, num gpu pages 131072 info: [drm] Loading PALM Microcode info: [drm] PCIE GART of 512M enabled (table at 0x0000000000040000). drmn0: info: WB enabled drmn0: info: fence driver on ring 0 use gpu addr 0x0000000018000c00 and cpu addr 0x0xfffff80002f61c00 drmn0: info: fence driver on ring 3 use gpu addr 0x0000000018000c0c and cpu addr 0x0xfffff80002f61c0c info: [drm] ring test on 0 succeeded in 1 usecs info: [drm] ring test on 3 succeeded in 1 usecs info: [drm] ib test on ring 0 succeeded in 0 usecs info: [drm] ib test on ring 3 succeeded in 0 usecs info: [drm] radeon_device_init: Taking over the fictitious range 0xe0000000-0xf0000000 iicbus0: on iicbb0 addr 0xff iic0: on iicbus0 iicbus1: on iicbb1 addr 0x0 iic1: on iicbus1 iicbus2: on iicbb2 addr 0x0 iic2: on iicbus2 iicbus3: on iicbb3 addr 0x0 iic3: on iicbus3 iicbus4: on iicbb4 addr 0x0 iic4: on iicbus4 iicbus5: on iicbb5 addr 0x0 iic5: on iicbus5 iicbus6: on iicbb6 addr 0x0 iic6: on iicbus6 iicbus7: on iicbb7 addr 0x0 iic7: on iicbus7 info: [drm] Radeon Display Connectors info: [drm] Connector 0: info: [drm] LVDS-1 info: [drm] HPD1 info: [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c info: [drm] Encoders: info: [drm] LCD1: INTERNAL_UNIPHY info: [drm] Connector 1: info: [drm] HDMI-A-1 info: [drm] HPD2 info: [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c info: [drm] Encoders: info: [drm] DFP1: INTERNAL_UNIPHY info: [drm] Connector 2: info: [drm] VGA-1 info: [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 info: [drm] Encoders: info: [drm] CRT1: INTERNAL_KLDSCP_DAC1 info: [drm] Internal thermal controller without fan control info: [drm] radeon: power management initialized info: [drm] Connector LVDS-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.LVDS-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector HDMI-A-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.HDMI-A-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector VGA-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.VGA-1 info: [drm] - kern.vt.fb.default_mode info: [drm] fb mappable at 0xE0142000 info: [drm] vram apper at 0xE0000000 info: [drm] size 4325376 info: [drm] fb depth is 24 info: [drm] pitch is 5632 fbd0 on drmn0 VT: Replacing driver "vga" with new "fb". error: [drm:pid0:radeon_acpi_init] *ERROR* Cannot find a backlight controll= er info: [drm] Initialized radeon 2.29.0 20080528 for drmn0 on minor 0 vgapci0: Boot video device hdac0: mem 0xf0444000-0xf0447fff irq 19 at de= vice 1.1 on pci0 ahci0: port 0x4118-0x411f,0x4124-0x4127,0x4110-0x4117,0x4120-0x4123,0x4100-0x410f mem 0xf044d000-0xf044d3ff irq 19 at device 17.0 on pci0 ahci0: AHCI v1.20 with 2 6Gbps ports, Port Multiplier supported ahci0: quirks=3D0x22000 ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ohci0: mem 0xf044c000-0xf044cfff irq= 18 at device 18.0 on pci0 usbus0 on ohci0 ehci0: mem 0xf044b000-0xf044b0ff= irq 17 at device 18.2 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 hdac1: mem 0xf0440000-0xf0443fff irq 16 at device 20.2 on pci0 isab0: at device 20.3 on pci0 isa0: on isab0 pcib1: at device 20.4 on pci0 pci1: on pcib1 ohci1: mem 0xf044a000-0xf044afff irq= 18 at device 20.5 on pci0 usbus2 on ohci1 pcib2: at device 21.0 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) pcib3: at device 21.1 on pci0 pci6: on pcib3 re0: port 0x2000-0x20ff mem 0xf0104000-0xf0104fff,0xf0100000-0xf0103fff irq 21 at device 0.0 on pci6 re0: Using 1 MSI-X message re0: ASPM disabled re0: Chip rev. 0x40800000 re0: MAC rev. 0x00200000 miibus0: on re0 rlphy0: PHY 1 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow re0: Using defaults for TSO: 65518/35/2048 re0: Ethernet address: ac:16:2d:53:99:72 pcib4: at device 21.3 on pci0 pci7: on pcib4 ath0: mem 0xf0200000-0xf020ffff irq 23 at device 0.0 on pci7 [ath] AR9285E_20 detected; using XE TX gain tables [ath] AR9285 Main LNA config: LNA1 [ath] AR9285 Alt LNA config: LNA2 [ath] LNA diversity disabled, Diversity disabled ath0: [HT] enabling HT modes ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 RX streams; 1 TX streams ath0: AR9285 mac 192.2 RF5133 phy 14.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 ohci2: mem 0xf0449000-0xf0449fff irq= 18 at device 22.0 on pci0 usbus3 on ohci2 ehci1: mem 0xf0448000-0xf04480ff= irq 17 at device 22.2 on pci0 usbus4: EHCI version 1.0 usbus4 on ehci1 acpi_wmi0: on acpi0 acpi_hp0: on acpi_wmi0 acpi_hp0: HP event GUID detected, installing event handler acpi_acad0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 battery0: on acpi0 amdsbwd0: at iomem 0xfec000f0-0xfec000f3,0xfec000f4-0xfec000f7 on isa0 ppc0: cannot reserve I/O port range hwpstate0: on cpu0 random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 fuse-freebsd: version 0.4.4, FUSE ABI 7.8 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny, logging disabled hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm1: at nid 20,33 and 24 on hdaa1 pcm2: at nid 18 on hdaa1 ugen0.1: at usbus0 uhub0: on usbus0 usbus1: 480Mbps High Speed USB v2.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ugen4.1: at usbus4 uhub1: on usbus4 ugen3.1: at usbus3 uhub2: on usbus3 ugen2.1: at usbus2 uhub3: on usbus2 ugen1.1: at usbus1 uhub4: on usbus1 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA8-ACS SATA 2.x device ada0: Serial Number Y1J9C50MT ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: Command Queueing enabled ada0: 305245MB (625142448 512 byte sectors: 16H 18S/T 16383C) ada0: Previously was known as ad4 cd0 at ahcich1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number 696212041341 cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - t= ray closed SMP: AP CPU #1 Launched! Timecounter "TSC" frequency 1297265685 Hz quality 800 uhub3: 2 ports with 2 removable, self powered uhub2: 4 ports with 4 removable, self powered uhub0: 5 ports with 5 removable, self powered GEOM_JOURNAL: Journal 4122145597: ada0s1a contains data. GEOM_JOURNAL: Journal 4122145597: ada0s1a contains journal. GEOM_JOURNAL: Journal ada0s1a clean. GEOM_JOURNAL: Journal 3177482727: ada0s1d contains data. GEOM_JOURNAL: Journal 3177482727: ada0s1d contains journal. GEOM_JOURNAL: Journal ada0s1d clean. GEOM_JOURNAL: Journal 1284059668: ada0s1e contains data. GEOM_JOURNAL: Journal 1284059668: ada0s1e contains journal. GEOM_JOURNAL: Journal ada0s1e clean. GEOM_JOURNAL: Journal 3655574912: ada0s1f contains data. GEOM_JOURNAL: Journal 3655574912: ada0s1f contains journal. GEOM_JOURNAL: Journal ada0s1f clean. Trying to mount root from ufs:/dev/ada0s1a.journal [rw,async]... ugen2.2: at usbus2 uhub1: 4 ports with 4 removable, self powered uhub4: 5 ports with 5 removable, self powered ugen4.2: at usbus4 ugen0.2: at usbus0 wlan0: Ethernet address: 9c:b7:0d:f7:0e:2e ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=3D0 re0: link state changed to DOWN re0: link state changed to UP pid 1102 (firefox), uid 1001: exited on signal 10 (core dumped) ugen1.2: at usbus1 umass0: on usbus1 umass0: SCSI over Bulk-Only; quirks =3D 0x4100 umass0:2:0:-1: Attached to scbus2 da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: Removable Direct Access SPC-2 SCSI device da0: Serial Number 425839303336594C5433 da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da0: quirks=3D0x2 panic: stack overflow detected; backtrace may be corrupted cpuid =3D 0 KDB: stack backtrace: #0 0xffffffff80984e30 at kdb_backtrace+0x60 #1 0xffffffff809489e6 at vpanic+0x126 #2 0xffffffff809488b3 at panic+0x43 #3 0xffffffff80976462 at __stack_chk_fail+0x12 #4 0xffffffff8083c652 at msdosfs_readdir+0x782 #5 0xffffffff80e731c7 at VOP_READDIR_APV+0xa7 #6 0xffffffff809f72bc at kern_getdirentries+0x21c #7 0xffffffff809f7078 at sys_getdirentries+0x28 #8 0xffffffff80d4b3a7 at amd64_syscall+0x357 --=20 You are receiving this mail because: You are the assignee for the bug.=