-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.4.4
-
Component/s: None
-
Labels:None
-
Environment:Linux
-
Linux
hostbyname() in src/util.cpp uses gethostbyname() function, which is not thread-safe on Linux. Should be gethostbyname_r(); This could return the invalid results, and sometimes causes SEGV in ScopedDbConnection.
This is only for the current stable version. Not for the git HEAD, because it already changed to use getaddrinfo().
Please close the issue if this is not important because this was fixed in HEAD.