Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 06:53:48 +0530
From:      wahjava.ml@gmail.com (Ashish SHUKLA)
To:        freebsd-gnome@freebsd.org
Subject:   GNOME 2.26 causing kernel panic [was: Re: PulseAudio causing kernel panic with GNOME 2.26]
Message-ID:  <86d4bdz90b.fsf_-_@chateau.d.lf>
In-Reply-To: <86ljq2s8ti.fsf@chateau.d.lf> (Ashish SHUKLA's message of "Wed, 15 Apr 2009 12:27:29 %2B0530")
References:  <20090411042335.GA2148@chateau.d.lf> <1239487177.4933.993.camel@shumai.marcuscom.com> <1239487341.4933.994.camel@shumai.marcuscom.com> <1239503968.19630.1.camel@shumai.marcuscom.com> <86skkdyed4.fsf@chateau.d.lf> <86ljq2s8ti.fsf@chateau.d.lf>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Transfer-Encoding: quoted-printable

Hi,

Today again, I had similar kernel panics with "avahi-daemon" (same as
previous, unable to dump) and with "swi4: clock" process  having. I
don't know what has trigerred these panics.

Anyways, the panic related to "swi4: clock" process is pasted below:

#v+
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...^[[A
(kgdb) core-file /var/crash/vmcore.2

Unread portion of the kernel message buffer:
Kernel page fault with the following non-sleepable locks held:
exclusive rw tcpinp (tcpinp) r =3D 0 (0xffffff0003765b20) locked @ /usr/src=
/sys/netinet/tcp_timer.c:303
exclusive rw tcp (tcp) r =3D 0 (0xffffffff80b2bcd0) locked @ /usr/src/sys/n=
etinet/tcp_timer.c:288
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x49
witness_warn() at witness_warn+0x2ba
trap() at trap+0x3c1
calltrap() at calltrap+0x8
=2D-- trap 0xc, rip =3D 0xffffffff803f89ef, rsp =3D 0xfffffffe40030a80, rbp=
 =3D 0xfffffffe40030ab0 ---
free() at free+0x87
in_pcbdrop() at in_pcbdrop+0x121
tcp_close() at tcp_close+0x6d
tcp_timer_keep() at tcp_timer_keep+0x1dc
softclock() at softclock+0x2aa
intr_event_execute_handlers() at intr_event_execute_handlers+0x68
ithread_loop() at ithread_loop+0xae
fork_exit() at fork_exit+0x12a
fork_trampoline() at fork_trampoline+0xe
=2D-- trap 0, rip =3D 0, rsp =3D 0xfffffffe40030d40, rbp =3D 0 ---


Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address   =3D 0x78
fault code              =3D supervisor read data, page not present
instruction pointer     =3D 0x20:0xffffffff803f89ef
stack pointer           =3D 0x28:0xfffffffe40030a80
frame pointer           =3D 0x28:0xfffffffe40030ab0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 12 (swi4: clock)
panic: from debugger
cpuid =3D 0
Uptime: 1m53s
Physical memory: 2025 MB
Dumping 206 MB: 191 175 159 143 127 111 95 79 63 47 31 15

Reading symbols from /boot/kernel/geom_journal.ko...Reading symbols from /b=
oot/kernel/geom_journal.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_journal.ko
Reading symbols from /boot/kernel/snd_ds1.ko...Reading symbols from /boot/k=
ernel/snd_ds1.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/snd_ds1.ko
Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/ker=
nel/sound.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/sound.ko
Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/k=
ernel/snd_hda.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/snd_hda.ko
Reading symbols from /boot/kernel/pf.ko...Reading symbols from /boot/kernel=
/pf.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/pf.ko
Reading symbols from /usr/local/modules/fuse.ko...done.
Loaded symbols for /usr/local/modules/fuse.ko
Reading symbols from /boot/kernel/blank_saver.ko...Reading symbols from /bo=
ot/kernel/blank_saver.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/blank_saver.ko
Reading symbols from /boot/kernel/i915.ko...Reading symbols from /boot/kern=
el/i915.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/i915.ko
Reading symbols from /boot/kernel/drm.ko...Reading symbols from /boot/kerne=
l/drm.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/drm.ko
#0  doadump () at pcpu.h:223
223     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:223
#1  0xffffffff80409252 in boot (howto=3D260) at /usr/src/sys/kern/kern_shut=
down.c:420
#2  0xffffffff80409700 in panic (fmt=3DVariable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:576
#3  0xffffffff801aa447 in db_panic (addr=3DVariable "addr" is not available.
) at /usr/src/sys/ddb/db_command.c:478
#4  0xffffffff801aa8d1 in db_command (last_cmdp=3D0xffffffff809349a0, cmd_t=
able=3DVariable "cmd_table" is not available.
)
    at /usr/src/sys/ddb/db_command.c:445
#5  0xffffffff801aab19 in db_command_loop () at /usr/src/sys/ddb/db_command=
.c:498
#6  0xffffffff801ac977 in db_trap (type=3DVariable "type" is not available.
) at /usr/src/sys/ddb/db_main.c:229
#7  0xffffffff80436dd2 in kdb_trap (type=3D12, code=3D0, tf=3D0xfffffffe400=
309d0)
    at /usr/src/sys/kern/subr_kdb.c:534
#8  0xffffffff80642e90 in trap_fatal (frame=3D0xfffffffe400309d0, eva=3DVar=
iable "eva" is not available.
)
    at /usr/src/sys/amd64/amd64/trap.c:840
#9  0xffffffff80643c11 in trap (frame=3D0xfffffffe400309d0)
    at /usr/src/sys/amd64/amd64/trap.c:338
#10 0xffffffff8061fbe3 in calltrap () at /usr/src/sys/amd64/amd64/exception=
.S:223
#11 0xffffffff803f89ef in free (addr=3D0xffffff000158e900, mtp=3D0xffffffff=
80901160)
    at /usr/src/sys/kern/kern_malloc.c:449
#12 0xffffffff804c6949 in in_pcbdrop (inp=3D0xffffff0003765a20)
    at /usr/src/sys/netinet/in_pcb.c:1042
#13 0xffffffff8053506a in tcp_close (tp=3D0xffffff000395eb80)
    at /usr/src/sys/netinet/tcp_subr.c:891
#14 0xffffffff80539b54 in tcp_timer_keep (xtp=3DVariable "xtp" is not avail=
able.
)
    at /usr/src/sys/netinet/tcp_timer.c:359
#15 0xffffffff8041ae0c in softclock (arg=3DVariable "arg" is not available.
) at /usr/src/sys/kern/kern_timeout.c:411
#16 0xffffffff803eaa65 in intr_event_execute_handlers (p=3DVariable "p" is =
not available.
)
    at /usr/src/sys/kern/kern_intr.c:1134
#17 0xffffffff803eb659 in ithread_loop (arg=3D0xffffff000130d6c0)
    at /usr/src/sys/kern/kern_intr.c:1147
#18 0xffffffff803e8a5a in fork_exit (callout=3D0xffffffff803eb5ab <ithread_=
loop>,=20
    arg=3D0xffffff000130d6c0, frame=3D0xfffffffe40030c90)
    at /usr/src/sys/kern/kern_fork.c:821
#19 0xffffffff8062006e in fork_trampoline ()
    at /usr/src/sys/amd64/amd64/exception.S:552
#20 0x0000000000000000 in ?? ()
#21 0x0000000000000000 in ?? ()
#22 0x0000000000000001 in ?? ()
#23 0x0000000000000000 in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000000000000 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x0000000000000000 in ?? ()
#28 0x0000000000000000 in ?? ()
#29 0x0000000000000000 in ?? ()
#30 0x0000000000000000 in ?? ()
#31 0x0000000000000000 in ?? ()
#32 0x0000000000000000 in ?? ()
#33 0x0000000000000000 in ?? ()
#34 0x0000000000000000 in ?? ()
#35 0x0000000000000000 in ?? ()
#36 0x0000000000000000 in ?? ()
#37 0x0000000000000000 in ?? ()
#38 0x0000000000000000 in ?? ()
=2D--Type <return> to continue, or q <return> to quit---
#39 0x0000000000000000 in ?? ()
#40 0x0000000000000000 in ?? ()
#41 0x0000000000000000 in ?? ()
#42 0x0000000000000000 in ?? ()
#43 0x0000000000000000 in ?? ()
#44 0x0000000000dcb000 in ?? ()
#45 0x0000000000000000 in ?? ()
#46 0xffffffff8096ed40 in affinity ()
#47 0xffffffff8096ed40 in affinity ()
#48 0xffffff0001311380 in ?? ()
#49 0xfffffffe40030b90 in ?? ()
#50 0xfffffffe40030b48 in ?? ()
#51 0xffffff0001321380 in ?? ()
#52 0xffffffff8042b1b8 in sched_switch (td=3D0xffffff000130d6c0,=20
    newtd=3D0xffffffff803eb5ab, flags=3DVariable "flags" is not available.
) at /usr/src/sys/kern/sched_ule.c:1867
Previous frame inner to this frame (corrupt stack?)
#v-

It seems memory corruption is taking place, but I don't know what is
causing that. I've performed memtest86+ immediately after soft reboot
and it passed all 8 tests without any error.

=2D-=20
Ashish SHUKLA

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAknmiKgACgkQHy+EEHYuXnTDFACcDr9cdVyBVR1VlTRPelg5m6O5
HXIAoIAeg6acizFNrFDIXrrWGA4qfX3h
=kmkC
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d4bdz90b.fsf_-_>