Terry Lambert wrote: > Stefan Farfeleder wrote: > > (kgdb) l *kqueue_scan+0x242 > > 0xc01a1212 is in kqueue_scan > > (/freebsd/current/src/sys/kern/kern_event.c:716). > > 713 TAILQ_INSERT_TAIL(&kq->kq_head, &marker, kn_tqe); > > 714 while (count) { > > 715 kn = TAILQ_FIRST(&kq->kq_head); > > translates to: mov (%edi),%ebx > > 716 TAILQ_REMOVE(&kq->kq_head, kn, kn_tqe); > > translates to: cmpl $0x0,0x8(%ebx) > > > > This line causes the page fault because %ebx is 0. [ ... ] > Please try the attached patch. > > -- Terry
Stefan: Did the patch fix it, or not? -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message