On Mon, 6 Jun 2005 23:00:27 -0400 (EDT) Jeff Roberson <jroberson_at_chesapeake.net> wrote: > > > I can not reproduce this. can you tell me what that pid is? Can you tell > > > me what your sched_ule.c version is? I'm presently running > > > ULE+PREEMPTION+KSE with mozilla, gaim, and mplayer all threaded. > > This message is printed the first time I quit a threaded app and the > > pid is the pid of the threaded app I quit. > > It is only printed once (see line 488 of kern_switch.c), and limitcount > > should probably be made static so that it is initialized to zero. > Thanks, quiting the app did the trick. I just found the problem and > comitted another fix. Hopefully this will do it. I contacted a new panic with make -j1024 buildworld on FreeBSD 6.0-CURRENT #5: Tue Jun 7 23:43:36 JST 2005 $FreeBSD: src/sys/kern/sched_ule.c,v 1.152 2005/06/07 02:59:16 jeff Exp $ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FreeBSD 6.0-CURRENT #5: Tue Jun 7 23:43:36 JST 2005 nork_at_nadesico.ninth-nine.com:/usr/obj/usr/src/sys/NADESICO Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III CPU family 1133MHz (1129.09-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 1342111744 (1279 MB) avail memory = 1305104384 (1244 MB) ACPI APIC Table: <VIA694 AWRDACPI> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 (snip) [thread pid 5168 tid 100147 ] Stopped at runq_remove+0x3d: cmpl $0,0(%esi) db> where Tracing pid 5168 tid 100147 td 0xc3d98af0 runq_remove(0,c3d98c44,c04c9958,c3d98af0,0) at runq_remove+0x3d sched_choose(c04b4599,c361ac80,c3d98af0,0,f82e2bc0) at sched_choose+0x90 choosethread(c27f8c60,c3d98c44,c3d98c44,51af,c066f940) at choosethread+0x45 sched_switch(c3d98af0,0,1,50c532ed,7ed333d1) at sched_switch+0x135 mi_switch(1,0,c04c5570,687f8c94,c3d98a68) at mi_switch+0x1d9 sleepq_switch(c27f8c94,c3d98af0,0,f82e2c84,c04a4644) at sleepq_switch+0x177 sleepq_timedwait_sig(c27f8c94,0,c064a2ec,100,c2c36800) at sleepq_timedwait_sig+0x13 msleep(c27f8c94,c2c36868,168,c064a2ec,ea61) at msleep+0x3f4 kse_release(c3d98af0,f82e2d04,4,0,f82e2d00) at kse_release+0x2b9 syscall(832003b,3b,bfbf003b,80d7000,0) at syscall+0x370 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (383, FreeBSD ELF32, kse_release), eip = 0x688d23ab, esp = 0x80dbf20, ebp = 0x80dbf5c --- db> show pcpu 0 cpuid = 0 curthread = 0xc3d98af0: pid 5168 "nautilus" curpcb = 0xf82e2d90 fpcurthread = none idlethread = 0xc27897d0: pid 12 "idle: cpu0" APIC ID = 0 currentldt = 0x50 db> show pcpu 1 cpuid = 1 curthread = 0xc316c000: pid 5582 "wnck-applet" curpcb = 0xf7da1d90 fpcurthread = none idlethread = 0xc2789640: pid 11 "idle: cpu1" APIC ID = 1 currentldt = 0x50 db> call doadump() Dumping 1279 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960 976 992 1008 1024 1040 1056 1072 1088 1104 1120 1136 1152 1168 1184 1200 1216 1232 1248 1264 Dump complete 0xf db> reset [dcons disconnected (get ptr failed)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # kgdb -c /var/crash/vmcore.58 /boot/kernel/kernel.debug (snip) (kgdb) where #0 doadump () at pcpu.h:165 #1 0xc0430b45 in db_fncall (dummy1=-131192424, dummy2=0, dummy3=115200, dummy4=0xf82e297c " rn$B_at_x(B\003") at /usr/src/sys/ddb/db_command.c:531 #2 0xc04308d2 in db_command (last_cmdp=0xc068b0a4, cmd_table=0x0, aux_cmd_tablep=0xc0661300, aux_cmd_tablep_end=0xc0661304) at /usr/src/sys/ddb/db_command.c:349 #3 0xc04309e5 in db_command_loop () at /usr/src/sys/ddb/db_command.c:455 #4 0xc0432b65 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_main.c:221 #5 0xc04bdb3e in kdb_trap (type=0, code=0, tf=0xf82e2b18) at /usr/src/sys/kern/subr_kdb.c:471 #6 0xc06252f6 in trap_fatal (frame=0xf82e2b18, eva=0) at /usr/src/sys/i386/i386/trap.c:826 #7 0xc06248f4 in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = 0, tf_esi = 216, tf_ebp = -131191964, tf_isp = -131191996, tf_ebx = 26, tf_edx = -1009152956, tf_ecx = -1009152956, tf_eax = -1009152956, tf_trapno = 12, tf_err = 0, tf_eip = -1068806819, tf_cs = 32, tf_eflags = 65670, tf_esp = -1009152956, tf_ss = -1066586816}) at /usr/src/sys/i386/i386/trap.c:269 #8 0xc061053a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #9 0x00000008 in ?? () #10 0x00000028 in ?? () #11 0x00000028 in ?? () #12 0x00000000 in ?? () #13 0x000000d8 in ?? () #14 0xf82e2b64 in ?? () #15 0xf82e2b44 in ?? () #16 0x0000001a in ?? () #17 0xc3d98c44 in ?? () #18 0xc3d98c44 in ?? () #19 0xc3d98c44 in ?? () #20 0x0000000c in ?? () #21 0x00000000 in ?? () #22 0xc04b4d5d in runq_remove (rq=0x0, ke=0x0) at kern_switch.c:911 #23 0xc04b3e60 in sched_choose () at /usr/src/sys/kern/sched_ule.c:365 #24 0xc04b44a5 in choosethread () at kern_switch.c:163 #25 0xc04b3585 in sched_switch (td=0xc3d98af0, newtd=0x0, flags=1) at /usr/src/sys/kern/sched_ule.c:1370 #26 0xc04a4a09 in mi_switch (flags=1, newtd=0x0) at /usr/src/sys/kern/kern_synch.c:356 #27 0xc04c56f7 in sleepq_switch (wchan=0x0) at /usr/src/sys/kern/subr_sleepqueue.c:423 #28 0xc04c5a63 in sleepq_timedwait_sig (wchan=0x0, signal_caught=0) at /usr/src/sys/kern/subr_sleepqueue.c:579 #29 0xc04a4644 in msleep (ident=0xc27f8c94, mtx=0xc2c36868, priority=360, wmesg=0x0, timo=60001) at /usr/src/sys/kern/kern_synch.c:221 #30 0xc0483c19 in kse_release (td=0xc3d98af0, uap=0xf82e2d04) at /usr/src/sys/kern/kern_kse.c:439 #31 0xc0625740 in syscall (frame= {tf_fs = 137494587, tf_es = 59, tf_ds = -1078001605, tf_edi = 135098368, tf_esi = 0, tf_ebp = 135118684, tf_isp = -131191452, tf_ebx = 1754092724, tf_edx = 135118660, tf_ecx = 135091328, tf_eax = 383, tf_trapno = 0, tf_err = 2, tf_eip = 1754080171, tf_cs = 51, tf_eflags = 514, tf_esp = 135118624, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:976 #32 0xc061058f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 #33 0x0832003b in ?? () #34 0x0000003b in ?? () #35 0xbfbf003b in ?? () #36 0x080d7000 in ?? () #37 0x00000000 in ?? () #38 0x080dbf5c in ?? () #39 0xf82e2d64 in ?? () #40 0x688d54b4 in ?? () #41 0x080dbf44 in ?? () #42 0x080d5480 in ?? () #43 0x0000017f in ?? () #44 0x00000000 in ?? () #45 0x00000002 in ?? () #46 0x688d23ab in ?? () #47 0x00000033 in ?? () #48 0x00000202 in ?? () #49 0x080dbf20 in ?? () #50 0x0000003b in ?? () #51 0x00000000 in ?? () #52 0x00000000 in ?? () #53 0x00000000 in ?? () #54 0x00000000 in ?? () #55 0x2d110000 in ?? () #56 0xc06d33d0 in kseq_cpu () #57 0xc32ace10 in ?? () #58 0xf82e2bc0 in ?? () #59 0xf82e2b9c in ?? () #60 0xc3d98af0 in ?? () #61 0xc04b35a0 in sched_switch (td=0x688d54b4, newtd=0x0, flags=Cannot access memory at address 0x80dbf6c ) at /usr/src/sys/kern/sched_ule.c:1376 Previous frame inner to this frame (corrupt stack?) (kgdb) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Received on Tue Jun 07 2005 - 13:50:17 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC