View Issue Details

IDProjectCategoryView StatusLast Update
0000122Kolibri OS (trunk)Kernelpublic2019-09-02 20:49
Reportercamtron Assigned Tohidnplayr  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
PlatformAny x86 / Любой x86OSKolibriOSOS VersionSVN autobuilds
Product VersionSVN build / автосборка SVN 
Fixed in VersionSVN build / автосборка SVN 
Summary0000122: getaddrinfo function hangs indefinitely when network is not connected
DescriptionThis 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 Reproduce1. 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 InformationThis 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.
TagsNo tags attached.
SVN revision / ревизия SVN7103
Type of distribution / Тип дистрибутиваany / любой

Relationships

has duplicate 0000120 closed Process gets suspended indefinitely when trying to access the network (RTL8139) 

Activities

hidnplayr

2019-09-02 20:38

developer   ~0000203

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"

hidnplayr

2019-09-02 20:49

developer   ~0000204

fixed in 7682

Issue History

Date Modified Username Field Change
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