You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by VHPC 12 <vh...@gmail.com> on 2013/08/15 00:06:39 UTC
C-API segfaults on non-existant nodes
Folks,
I'm getting segfaults from within zookeeper when pointing to
non-existant nodes with:
zoo_get()
zoo_exists()
If a nodes exists everything works fine though.
The server version is 3.4.5, the C API was built from the current git.
Thanks in advance for any hints aside of using a git-source built
server,
-- Michael
Re: C-API segfaults on non-existant nodes
Posted by VHPC 13 <vh...@gmail.com>.
mea culpa - a gdb backtrace showed an issue in the error handling.
Works fine now against the current git-built server as well.
-- Michael
On Thu, Aug 15, 2013 at 12:36 AM, Flavio Junqueira
<fp...@yahoo.com> wrote:
> Are you sure the zookeeper handle is valid? The behavior you're observing doesn't sound right.
>
> -Flavio
>
>
> On Aug 15, 2013, at 12:06 AM, VHPC 12 <vh...@gmail.com> wrote:
>
>> Folks,
>>
>> I'm getting segfaults from within zookeeper when pointing to
>> non-existant nodes with:
>>
>> zoo_get()
>> zoo_exists()
>>
>> If a nodes exists everything works fine though.
>>
>> The server version is 3.4.5, the C API was built from the current git.
>> Thanks in advance for any hints aside of using a git-source built
>> server,
>>
>> -- Michael
>
Re: C-API segfaults on non-existant nodes
Posted by Flavio Junqueira <fp...@yahoo.com>.
Are you sure the zookeeper handle is valid? The behavior you're observing doesn't sound right.
-Flavio
On Aug 15, 2013, at 12:06 AM, VHPC 12 <vh...@gmail.com> wrote:
> Folks,
>
> I'm getting segfaults from within zookeeper when pointing to
> non-existant nodes with:
>
> zoo_get()
> zoo_exists()
>
> If a nodes exists everything works fine though.
>
> The server version is 3.4.5, the C API was built from the current git.
> Thanks in advance for any hints aside of using a git-source built
> server,
>
> -- Michael