[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-bugs
Subject:    [DragonFlyBSD - Bug #3215] (New) Hang in tcdrain(3) after write(3)
From:       bugtracker-admin () leaf ! dragonflybsd ! org
Date:       2019-11-25 23:08:41
Message-ID: redmine.issue-3215.20191125230841.caa160958a35af44 () leaf ! dragonflybsd ! org
[Download RAW message or body]

Issue #3215 has been reported by noloader.

----------------------------------------
Bug #3215: Hang in tcdrain(3) after write(3)
http://bugs.dragonflybsd.org/issues/3215

* Author: noloader
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
Hi Everyone,

I'm testing some software on DragonFly. There's not much to it. It
talks to the modem. It sends an ATZ and reads the response. Linux,
FreeBSD, NetBSD, OpenBSD and OS X are OK.

For my test rig I have a USR5637 modem,
https://www.amazon.com/gp/product/B0013FDLM0. The modem is located at
/dev/cuaU0.

DragonFly hangs on the call to tcdrain(3). Looking at the man page I
don't see any special handling. Cf.,
http://man.dragonflybsd.org/?command=tcdrain.

Attached is the reproducer. The trace is:

% ./test.exe
Setting TIOCEXCL
Getting tty
Setting tty options
Flushing tty
Setting tty
Writing ATZ
Waiting for write  <<-- call to tcdrain(fd)

Thanks.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic