Re: Problem with cmods

Chris Angelico <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <CAPTjJmrEY1vn5AuEYEKX7c8g2WE0JUHoPyECygPK1y-nG+ASGA@mail.gmail.com>
On Tue, Mar 25, 2014 at 7:41 PM, Christian Toepp <[email protected]> wrote:
> On 25.03.2014 09:32, Chris Angelico wrote:
>> I don't know about 7.6, as I build 8.0 from git, but it's probably the
>> same. Try using push_string(make_shared_string(s)) instead of
>> push_text(s); that's what I do. Your way looks better, but give both a
>> try.
>
> i tryed push_string too and its the same. strings up to 14 characters
> work, more characters and i get "free(): invalid next size (fast)".

Can you post your entire code? Maybe there's some other stack or
refcount problem, and the string issue just highlights it. I'll give
your code a whirl; I'm all caffeinated up and ready to debug stuff :)

ChrisA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.