Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> c client possible bug


Copy link to this message
-
Re: c client possible bug
Hi Apostolis,

Yes, it does look like a c client bug. Could you open a jira for this?

Thanks!
--Michi

On Sun, Nov 11, 2012 at 12:53 AM, Apostolis Xekoukoulotakis
<[EMAIL PROTECTED]> wrote:
> I get segmentation fault. Is this a zookeeper bug?
>
> version:3.3.6
> os:debian
>
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffeffff700 (LWP 3064)]
> copy_watchers (ht=<value optimized out>, path=<value optimized out>,
>     list=0x7fffefffea18) at src/zk_hashtable.c:232
> 232        watcher_object_t *next = wo->next;
> (gdb)
> (gdb) backtrace full
> #0  copy_watchers (ht=<value optimized out>, path=<value optimized out>,
>     list=0x7fffefffea18) at src/zk_hashtable.c:232
>         wo = 0x7375706f74636f2f
> #1  add_for_event (ht=<value optimized out>, path=<value optimized out>,
>     list=0x7fffefffea18) at src/zk_hashtable.c:265
>         wl = <value optimized out>
> #2  0x00007ffff7bd8531 in collectWatchers (zh=0x7ffff0004d30,
>     type=<value optimized out>,
>     path=0x7ffff000cd50 "/octopus/computers/r2d2/worker_nodes")
>     at src/zk_hashtable.c:302
>         list = 0x7ffff000a6d0
> #3  0x00007ffff7bd1b6f in zookeeper_process (zh=0x7ffff0004d30,
>     events=<value optimized out>) at src/zookeeper.c:1924
>         evt = {type = 1, state = 3,
>           path = 0x7ffff000cd50 "/octopus/computers/r2d2/worker_nodes"}
>         type = 1
>         path = 0x7ffff000cd50 "/octopus/computers/r2d2/worker_nodes"
>         c = 0x7ffff0022520
>         hdr = {xid = -1, zxid = -1, err = 0}
>         ia = 0x7ffff0022390
>         bptr = 0x7ffff000f0d0
>         rc = <value optimized out>
>         __func__ = "zookeeper_process"
>         __PRETTY_FUNCTION__ = "zookeeper_process"
> #4  0x00007ffff7bd8cef in do_io (v=<value optimized out>) at
> src/mt_adaptor.c:310
>         tv = {tv_sec = 1, tv_usec = 333000}
>         fd = 20
> ---Type <return> to continue, or q <return> to quit---
>         interest = 2
>         zh = 0x7ffff0004d30
>         fds = {{fd = 18, events = 1, revents = 0}, {fd = 20, events = 1,
>             revents = 1}}
>         adaptor_threads = 0x7ffff0005ed0
>         __func__ = "do_io"
> #5  0x00007ffff6a3d8ca in start_thread () from /lib/libpthread.so.0
> No symbol table info available.
> #6  0x00007ffff6d22b6d in clone () from /lib/libc.so.6
> No symbol table info available.
> #7  0x0000000000000000 in ?? ()
> No symbol table info available.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB