View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000122||Kolibri OS (trunk)||Kernel||public||2017-11-19 00:31||2019-09-02 20:49|
|Platform||Any x86 / Любой x86||OS||KolibriOS||OS Version||SVN autobuilds|
|Product Version||SVN build / автосборка SVN|
|Fixed in Version||SVN build / автосборка SVN|
|Summary||0000122: getaddrinfo function hangs indefinitely when network is not connected|
|Description||This bug affects svn6911 and later. When using a supported network card without actually being connected to a network, any process that calls getaddrinfo will hang indefinitely. It is also impossible to kill the process because it is in the suspended state. On svn6910 and earlier, the getaddrinfo would eventually time out and return an error. In addition, the system displays a very misleading popup message at startup that says "You are now connected to the network", even though there is actually no network connection.|
|Steps To Reproduce||1. Set up a VirtualBox VM to boot KolibriOS from a floppy image.|
2. Open the settings for the VM. Click the "Network" tab, and click the "Advanced" pull-down to show the advanced options. Uncheck the "Cable Connected" box. Save the settings.
3. Boot up the virtual machine.
4. Open the Ping utility. (Menu -> Network -> Clients -> Ping) Type in a URL such as http://kolibrios.org
5. Ping will now hang indefinitely with no way to kill it. The terminal window can be closed, but the process is still running.
|Additional Information||This can also be done on a physical machine simply by unplugging the ethernet cable.|
Please close issue 0000120. It is incorrect, and I have narrowed down the bug further here.
|Tags||No tags attached.|
|SVN revision / ревизия SVN||7103|
|Type of distribution / Тип дистрибутива||any / любой|
|has duplicate||0000120||closed||Process gets suspended indefinitely when trying to access the network (RTL8139)|
It's a pity I'm here more then one year late because your bug report is excellent and bug was fixed in 10 minutes.. (Forgot to clear a mutex in code committed in #6911)
Regarding: "In addition, the system displays a very misleading popup message at startup that says "You are now connected to the network", even though there is actually no network connection.":
The link state detection is not working on all drivers yet, I'm working on it..
(Currently, "unknown link state" is assumed as "active link"
||fixed in 7682|
|2017-11-19 00:31||camtron||New Issue|
|2017-11-19 12:37||dunkaist||Relationship added||has duplicate 0000120|
|2019-09-02 20:10||hidnplayr||Assigned To||=> hidnplayr|
|2019-09-02 20:10||hidnplayr||Status||new => assigned|
|2019-09-02 20:38||hidnplayr||Note Added: 0000203|
|2019-09-02 20:49||hidnplayr||Note Added: 0000204|
|2019-09-02 20:49||hidnplayr||Status||assigned => closed|
|2019-09-02 20:49||hidnplayr||Resolution||open => fixed|
|2019-09-02 20:49||hidnplayr||Fixed in Version||=> SVN build / автосборка SVN|