[root@centos-64-x64 data]#  gdb /opt/couchbase/bin/couch_view_index_updater core.couch_view_inde.26682 
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /opt/couchbase/bin/couch_view_index_updater...done.

warning: core file may not match specified executable file.
[New Thread 26682]
[New Thread 26684]
[New Thread 26702]
Reading symbols from /opt/couchbase/bin/../lib/libcouchstore.so...done.
Loaded symbols for /opt/couchbase/bin/../lib/libcouchstore.so
Reading symbols from /opt/couchbase/bin/../lib/libv8.so...done.
Loaded symbols for /opt/couchbase/bin/../lib/libv8.so
Reading symbols from /opt/couchbase/bin/../lib/libicui18n.so.44...done.
Loaded symbols for /opt/couchbase/bin/../lib/libicui18n.so.44
Reading symbols from /opt/couchbase/bin/../lib/libicuuc.so.44...done.
Loaded symbols for /opt/couchbase/bin/../lib/libicuuc.so.44
Reading symbols from /opt/couchbase/bin/../lib/libicudata.so.44...(no debugging symbols found)...done.
Loaded symbols for /opt/couchbase/bin/../lib/libicudata.so.44
Reading symbols from /opt/couchbase/bin/../lib/libsnappy.so.1...done.
Loaded symbols for /opt/couchbase/bin/../lib/libsnappy.so.1
Reading symbols from /opt/couchbase/bin/../lib/libplatform.so.0.1.0...done.
Loaded symbols for /opt/couchbase/bin/../lib/libplatform.so.0.1.0
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /usr/lib64/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libstdc++.so.6
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `/opt/couchbase/bin/couch_view_index_updater'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f1769202321 in __strlen_sse2 () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install couchbase-server-3.0.0-847.x86_64
(gdb) t a a bt

Thread 3 (Thread 26702):
#0  0x00007f17699279f1 in start_thread () from /lib64/libpthread.so.0
#1  0x00007f176926990d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f17689e0700 (LWP 26684)):
#0  0x00007f176925c60d in read () from /lib64/libc.so.6
#1  0x00007f17691f2f68 in _IO_new_file_underflow () from /lib64/libc.so.6
#2  0x00007f17691f2908 in _IO_file_xsgetn_internal () from /lib64/libc.so.6
#3  0x00007f17691e86e2 in fread () from /lib64/libc.so.6
#4  0x00000000004012de in exit_thread_helper (args=<value optimized out>)
    at /home/buildbot/centos-5-x64-300-builder/build/build/couchstore/src/views/bin/util.c:29
#5  0x00007f1769b3fb6f in platform_thread_wrap (arg=0x2328ae0)
    at /home/buildbot/centos-5-x64-300-builder/build/build/platform/src/cb_pthreads.c:19
#6  0x00007f1769927851 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f176926990d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f176c451720 (LWP 26682)):
#0  0x00007f1769202321 in __strlen_sse2 () from /lib64/libc.so.6
#1  0x00007f1769202036 in strdup () from /lib64/libc.so.6
#2  0x00007f176c036377 in couchstore_update_view_group (info=0x2327b10, 
    id_records_file=0x2327d10 "/data/@indexes/default/tmp_b7af3238f0f1cba7b76df8a22bd892a8_replica/f6a2df99d74db16d3797622606abffec.sort", kv_records_files=0x2327c78, batch_size=1048576, header_buf=<value optimized out>, is_sorted=0, 
    tmp_dir=0x2327ac0 "/data/@indexes/default/tmp_b7af3238f0f1cba7b76df8a22bd892a8_replica", stats=0x7fff8275db70, 
    header_outbuf=0x7fff8275dbb0, error_info=0x7fff8275dba0)
    at /home/buildbot/centos-5-x64-300-builder/build/build/couchstore/src/views/view_group.c:1366
#3  0x00000000004011ae in main (argc=<value optimized out>, argv=<value optimized out>)
    at /home/buildbot/centos-5-x64-300-builder/build/build/couchstore/src/views/bin/couch_view_index_updater.c:142