recent 5.4-PRE regression: Could not resync/reset buffers

Shaun Jurrens shaun at
Fri Apr 1 12:41:51 PST 2005

Hi guys,

I'm resending this mail again with the hopes of finding someone who is also
seeing this problem.  I know that mail isn't the best method perhaps, but
before I open a PR, I thought I'd try again...

My last recent update revealed a bug perhaps. I'm now running:

FreeBSD dakota 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #28: Wed Mar 23
20:38:58 CET 2005     root at dakota:/usr/obj/usr/src/sys/DAKOTA64  amd64

The system seems to have problems with filedescriptors.  It's not otherwise
loaded and it's happed enough that I thought I should mention it before 5.4
goes out the door (around 50% of the time).

How to repeat: mpg123 -b 1024 --list playlist   (where playlist is a simple
list of .mp3 files)

I get this error message: 
Could not resync/reset buffers: Interrupted system call

and the program simply hangs using 90%+ cpu

I've ktraced the hanging binary, but the result is sort of monotonous. The
ktrace.out file is filled with this simple set of lines:

 94680 mpg123   RET   read 0
 94680 mpg123   CALL  select(0x400,0x7fffffffe310,0,0,0)
 94680 mpg123   RET   select 1
 94680 mpg123   CALL  read(0x5,0x7fffffffe2ff,0x1)
 94680 mpg123   GIO   fd 5 read 0 bytes

I haven't done the legwork yet to track this down to a closer time period
than sometime since my last kernel&world, 25 december 04.

(cc: me, I'm not on the list)

Yours truly,

Shaun D. Jurrens
shaun at

More information about the freebsd-stable mailing list