NULL pointer deref in sioopen() suggests a close/open race on sio device?

Garance A Drosihn drosih at rpi.edu
Sun Jan 23 17:25:54 PST 2005


At 4:51 PM +0000 1/23/05, Robert Watson wrote:
>
>The ps list is a bit boring, but the primary interesting thing is
>that it looks like the close was going on in one thread just about
>when the sio swi was scheduled to run also:

    [...]

>   This in turn suggests that something has called ttyrel/tty_close
>on the TTY in a race with the open, or otherwise NULL'd that pointer
>via knlist_destroy().  Anyone have any pointers on this one?  The
>TTY code is not my forte...

FWIW, I just recently setup some of my freebsd boxes with serial
consoles.  It *seems* to me that if I type in 'shutdown -r now'
when I am logged into a serial console, there's often some long
delay before the reboot happens.  It's long enough to be annoying,
but not long enough to motivate me to look into it.  My machines
usually have a monitor/keyboard also setup on them, so my solution
has been to avoid using the serial console...

-- 
Garance Alistair Drosehn            =   gad at gilead.netel.rpi.edu
Senior Systems Programmer           or  gad at freebsd.org
Rensselaer Polytechnic Institute    or  drosih at rpi.edu


More information about the freebsd-stable mailing list