Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mclient/mapilib aborts during connect #2725

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

mclient/mapilib aborts during connect #2725

monetdb-team opened this issue Nov 30, 2020 · 0 comments

Comments

@monetdb-team
Copy link

@monetdb-team monetdb-team commented Nov 30, 2020

Date: 2010-11-19 10:43:00 +0100
From: @grobian
To: clients devs <>
Version: 1.40.1 (Oct2010) [obsolete]

Last updated: 2011-03-28 17:31:43 +0200

Comment 15209

Date: 2010-11-19 10:43:00 +0100
From: @grobian

% mclient -dvotest
Abort

A UNIX-socket connection is being made (the default) to merovingian. The same happens when a direct UNIX-socket connection is made to the mserver5 process.

The crashlog contains the following:
Process: mclient [66036]
Path: /Volumes/Scratch/fabian/monetdb/Oct2010/program-Power_Macintosh/bin/mclient
Identifier: mclient
Version: ??? (???)
Code Type: PPC (Native)
Parent Process: tcsh [3309]

Date/Time: 2010-11-19 10:37:34.901 +0100
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 7E67536F-323F-4121-A6C7-FCC8A4BC882D

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0

Thread 0 Crashed:
0 libSystem.B.dylib 0x97195b50 __kill + 12
1 libSystem.B.dylib 0x97230b98 __abort + 80
2 libSystem.B.dylib 0x971ee2d8 __chk_fail + 116
3 libSystem.B.dylib 0x971cd020 __strncat_chk + 84
4 libMapi.1.dylib 0x000247f4 __inline_strncat_chk + 52 (_string.h:134)
5 libMapi.1.dylib 0x000228e0 mapi_start_talking + 1668 (Mapi.mx:2590)
6 libMapi.1.dylib 0x000245cc mapi_start_talking + 9072 (Mapi.mx:2968)
7 libMapi.1.dylib 0x000248a0 mapi_reconnect + 56 (Mapi.mx:3001)
8 libMapi.1.dylib 0x00024938 mapi_connect + 112 (Mapi.mx:3014)
9 mclient 0x0000c428 main + 5328 (mclient.c:2644)
10 mclient 0x00001ec8 start + 64
11 ??? 0x00000ffc 0 + 4092

Comment 15210

Date: 2010-11-19 11:06:53 +0100
From: @grobian

Changeset 4930702c69ee made by Fabian Groffen fabian@cwi.nl in the MonetDB repo, refers to this bug.

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=4930702c69ee

Changeset description:

Use strcpy instead of strncat to work around what seemingly is a bug in Darwin's libc implementation of strncat.  Solves bug #2725

Comment 15657

Date: 2011-03-28 17:31:43 +0200
From: @sjoerdmullender

The Mar2011 version has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant