Date: Sat, 16 Dec 2006 18:30:48 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: current@freebsd.org, rodrigc@freebsd.org, maxim@freebsd.org Subject: Easy kernel panic as ordinary user with msdosfs Message-ID: <20061216183048.43ce8a11@Magellan.Leidinger.net>
next in thread | raw e-mail | index | archive | help
--MP_Njveitp0Lm8ER9rNuyoiSp_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, attached is a backtrace of a crash when I run "madplay /path/to/fat32/directory/" (yes, this is stupid use of madplay). When I run "madplay /path/to/ufs/directory/" I don't get a panic. When I use a real MP3 on a fat32, I get the panic too. This is: ---snip--- # uname -a FreeBSD luna.leidinger.net 7.0-CURRENT FreeBSD 7.0-CURRENT #43: Fri Dec 15 22:13:50 CET 2006 root@luna.leidinger.net:/usr/src/sys/i386/compile/LUNA i386 $FreeBSD: src/sys/fs/msdosfs/msdosfs_vfsops.c,v 1.155 2006/12/09 01:49:19 rodrigc Exp $ $FreeBSD: src/sys/fs/msdosfs/msdosfs_vnops.c,v 1.166 2006/12/03 19:04:26 maxim Exp $ ---snip--- Bye, Alexander. -- Never make a decision you can get someone else to make. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 --MP_Njveitp0Lm8ER9rNuyoiSp_ Content-Type: text/plain; name=crash.txt Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=crash.txt Fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x20:0xc0850ec7 stack pointer = 0x28:0xcc5c49f4 frame pointer = 0x28:0xcc5c4a3c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1041 (madplay) panic: from debugger Uptime: 15m2s Physical memory: 231 MB Dumping 44 MB: 29 13 (kgdb) bt #0 doadump () at pcpu.h:166 During symbol reading, Incomplete CFI data; unspecified registers at 0xc04c9313. #1 0xc04c98c2 in boot (howto=0x104) at ../../../kern/kern_shutdown.c:411 #2 0xc04c9c97 in panic (fmt=0x234 <Address 0x234 out of bounds>) at ../../../kern/kern_shutdown.c:567 #3 0xc044b3c7 in db_panic (addr=0xc0850ec7, have_addr=0x0, count=0xffffffff, modif=0xcc5c47e4 "") at ../../../ddb/db_command.c:433 #4 0xc044b7b3 in db_command_loop () at ../../../ddb/db_command.c:401 #5 0xc044d684 in db_trap (type=0x12, code=0x0) at ../../../ddb/db_main.c:222 #6 0xc04eb9d1 in kdb_trap (type=0x0, code=0x0, tf=0x0) at ../../../kern/subr_kdb.c:502 #7 0xc0609e03 in trap_fatal (frame=0xcc5c49b4, eva=0x0) at ../../../i386/i386/trap.c:860 #8 0xc060a3bb in trap (frame= {tf_fs = 0x8, tf_es = 0x28, tf_ds = 0x28, tf_edi = 0x0, tf_esi = 0x0, tf_ebp = 0xcc5c4a3c, tf_isp = 0xcc5c49e0, tf_ebx = 0x9000, tf_edx = 0x0, tf_ecx = 0x0, tf_eax = 0x9000, tf_trapno = 0x12, tf_err = 0x0, tf_eip = 0xc0850ec7, tf_cs = 0x20, tf_eflags = 0x10246, tf_esp = 0xc1e1c600, tf_ss = 0x17700}) at ../../../i386/i386/trap.c:660 #9 0xc05fa71a in calltrap () at ../../../i386/i386/exception.s:138 #10 0xc0850ec7 in chn_sync (c=0xc1e1b800, threshold=0x9000) at /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/channel.c:716 #11 0xc0851154 in chn_flush (c=0xc1e1b800) at /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/channel.c:835 #12 0xc0852f9b in dsp_close (i_dev=0xc1e1c400, flags=0x2, mode=0x2000, td=0xc2057d80) at /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:366 #13 0xc049db1f in giant_close (dev=0xc1e1c400, fflag=0x9000, devtype=0x9000, td=0x9000) at ../../../kern/kern_conf.c:284 #14 0xc048784b in devfs_close (ap=0xcc5c4b2c) at ../../../fs/devfs/devfs_vnops.c:352 #15 0xc0613e66 in VOP_CLOSE_APV (vop=0x9000, a=0x0) at vnode_if.c:424 #16 0xc053932a in vn_close (vp=0xc254396c, flags=0x2, file_cred=0x9000, td=0xc2057d80) at vnode_if.h:227 #17 0xc053a658 in vn_closefile (fp=0xc22fc900, td=0x9000) at ../../../kern/vfs_vnops.c:869 #18 0xc04a3954 in fdrop_locked (fp=0xc22fc900, td=0xc2057d80) at file.h:296 #19 0xc04a3c32 in closef (fp=0xc22fc900, td=0xc2057d80) at ../../../kern/kern_descrip.c:1980 #20 0xc04a456d in kern_close (td=0xc2057d80, fd=0x4) at ../../../kern/kern_descrip.c:1027 #21 0xc060a93a in syscall (frame= {tf_fs = 0x3b, tf_es = 0x3b, tf_ds = 0x3b, tf_edi = 0xbfbfeb14, tf_esi = 0x1, tf_ebp = 0xbfbfe97c, tf_isp = 0xcc5c4d64, tf_ebx = 0xbfbfeb14, tf_edx = 0x4, tf_ecx = 0x0, tf_eax = 0x6, tf_trapno = 0x16, tf_err = 0x2, tf_eip = 0x28296a9b, tf_cs = 0x33, tf_eflags = 0x246, tf_esp = 0xbfbf115c, tf_ss = 0x3b}) at ../../../i386/i386/trap.c:1010 #22 0xc05fa76f in Xint0x80_syscall () at ../../../i386/i386/exception.s:191 --MP_Njveitp0Lm8ER9rNuyoiSp_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061216183048.43ce8a11>