Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic: "pb->pb_pathcopyuses == 0" failed (sys_rename)




I changed the asserts - whjle testing I was experiencing many other crashes - so I restarted with a fresh tree - so far it seems to be stable.
I'll keep an eye on it though.

Frank

On 12/28/12 09:11, David Holland wrote:
On Thu, Dec 27, 2012 at 02:42:17PM +0100, Frank Kardel wrote:
  >  When booting a 20121225 kernel running a 6.99.5 userland
  >  I get
  >
  >  panic: kernel diagnostic assertion "pb->pb_pathcopyuses == 0"
  >  failed: file "/usr/src/sys/kern/vfs_lookup.c", line 279
  >  cpu0: Begin traceback...
  >  kern_assert() at netbsd:kern_assert+0x48
  >  pathbuf_destroy() at netbsd:pathbuf_destroy+0x6c
  >  do_sys_renameat() at netbsd:do_sys_renameat+0x82
  >  sys_rename() at netbsd:sys_rename+0x25
  >  syscall() at netbsd:syscall+0x94
  >  --- syscall (number 128) ---
  >  7f7ff36396da:
  >  cpu0: End traceback...
  >
  >  when logging in kde.
  >
  >  Any clues?

My first guess would be that the openat changes introduced a refcount
leak, but it could also just be a broken error path that hasn't been
seen before.

Are you in a position to get a ktrace covering the offending syscall?
(You can change the assertion to a printf so it doesn't crash; the
worst it's likely to do is leak memory.)




Home | Main Index | Thread Index | Old Index