Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: When is mem.c / malloc called?
- X-seq: zsh-workers 40515
- From: Sebastian Gniazdowski <psprint2@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: When is mem.c / malloc called?
- Date: Fri, 10 Feb 2017 07:17:02 -0800
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=0GjI/4MVsCc/R7zRaFpoAdNxE7 w=; b=oVrFBrRL9SFiTmFMnWc64nuIZ6Q71ZCjJRAwLe3iWxbzxO2bOmvdLDIWhJ VcK35UIh+dAR/xi+n6iVVhakgQes9dB5S1bDmSN3LpRu43koPdlu1T7NOYXidsMY J/nSPW8BPa3CvtjWgQIYcQQwvAmkh+vGN2THVc6Q1fDZVObMM=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=smtpout; bh=0G jI/4MVsCc/R7zRaFpoAdNxE7w=; b=Fo17TvOlqRQqw5/eSG8a5isRug2tcDt4eI U+SHXGhAaCS+NUvm39s4hjMWDh1oyoU7uon5ADKMUjl7EYZRPEmtbN+0aUPSa5cO 5maUKYiY2w1kPtC372dk/i0+Kz7yBWG+WEogXpSP4qnCL6keF3YPhOQYG/Ma0ife NR3A70vQ8=
- In-reply-to: <1486729474.1489636.876722008.7B4EC1FC@webmail.messagingengine.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1486729474.1489636.876722008.7B4EC1FC@webmail.messagingengine.com>
Don't know why, but now when I have the fprintf(), and do:
make clean ; ./configure --enable-zsh-debug --enable-zsh-mem && make
CFLAGS="-g -O0" && make install
then I see "Hello", and shell startup always ends in:
mem.c:1341: MEM: allocation error at sbrk, size 20480.
i.e. aborts, so I guess I'm safe – the pathway to use non-standard,
thread unsafe malloc() is blocked because it's not working.
--
Sebastian Gniazdowski
psprint2@xxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author