You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8
Build Identifier:
After setting a wrong listenaddr, monetdbd will crash when starting.
Reproducible: Always
Steps to Reproduce:
monetdbd create /a/new/dbfarm/path
monetdbd set listenaddr=wronghost /a/new/dbfarm/path
monetdbd start -n /a/new/dbfarm/path
Actual Results:
Aborted
Expected Results:
Exit and output proper log messages.
The reason is that there is no error handling code after library function "gethostbyname".
Attached please find the patch against version MonetDB-11.27.5.
Comment 25548
Date: 2017-08-04 10:00:25 +0200
From: Zhouyang <>
Created attachment 565
fix the crash by adding error handling code to gethostbyname
Attached file: monetdb-11.27.5-fix-crash.patch (text/plain, 575 bytes)
Description: fix the crash by adding error handling code to gethostbyname
Date: 2017-08-04 09:57:47 +0200
From: Zhouyang <>
To: Merovingian devs <>
Version: 11.27.5 (Jul2017-SP1)
Last updated: 2017-10-26 14:01:28 +0200
Comment 25547
Date: 2017-08-04 09:57:47 +0200
From: Zhouyang <>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8
Build Identifier:
After setting a wrong listenaddr, monetdbd will crash when starting.
Reproducible: Always
Steps to Reproduce:
Actual Results:
Aborted
Expected Results:
Exit and output proper log messages.
The reason is that there is no error handling code after library function "gethostbyname".
Attached please find the patch against version MonetDB-11.27.5.
Comment 25548
Date: 2017-08-04 10:00:25 +0200
From: Zhouyang <>
Created attachment 565
fix the crash by adding error handling code to gethostbyname
Comment 25549
Date: 2017-08-04 10:41:59 +0200
From: MonetDB Mercurial Repository <>
Changeset fedb63ea4b33 made by Sjoerd Mullender sjoerd@acm.org in the MonetDB repo, refers to this bug.
For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=fedb63ea4b33
Changeset description:
Comment 25550
Date: 2017-08-04 10:42:22 +0200
From: @sjoerdmullender
Thanks for the patch. I added cleanup as well.
The text was updated successfully, but these errors were encountered: