Skip to content

Segmentation fault in pika_client_conn , release 3.3.6 #3060

@morningli

Description

@morningli

Is this a regression?

No

Description

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/home/service/var/parker/10261/pika/1/bin/pika -c /home/service/var/parker/1026'.
Program terminated with signal 11, Segmentation fault.
#0 SLL_Next (t=0x0) at src/linked_list.h:45
45 src/linked_list.h: No such file or directory.
Missing separate debuginfos, use: debuginfo-install glibc-2.17-260.el7_6.6.x86_64 libgcc-4.8.5-36.el7_6.2.x86_64 libstdc++-4.8.5-36.el7.x86_64
(gdb) bt
#0 SLL_Next (t=0x0) at src/linked_list.h:45
#1 SLL_PopRange (end=, start=, N=7, head=0x2f286a0) at src/linked_list.h:88
#2 PopRange (end=, start=, N=7, this=0x2f286a0) at src/thread_cache.h:238
#3 tcmalloc::ThreadCache::ReleaseToCentralCache (this=this@entry=0x2f28480, src=src@entry=0x2f286a0, cl=cl@entry=17, N=7) at src/thread_cache.cc:206
#4 0x00000000008da668 in tcmalloc::ThreadCache::Scavenge (this=0x2f28480) at src/thread_cache.cc:224
#5 0x000000000053a92d in deallocate (this=0x80be630, __p=) at /usr/include/c++/4.8.2/ext/new_allocator.h:110
#6 _M_deallocate (this=0x80be630, __n=, __p=) at /usr/include/c++/4.8.2/bits/stl_vector.h:174
#7 std::vector<std::shared_ptrstd::string, std::allocator<std::shared_ptrstd::string > >::_M_emplace_back_aux<std::shared_ptrstd::string const&> (this=this@entry=0x80be630) at /usr/include/c++/4.8.2/bits/vector.tcc:430
#8 0x0000000000538c5d in push_back (__x=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr_inplace<std::string, std::allocatorstd::string, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr_inplace<std::string, std::allocatorstd::string, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr (count 2, weak 0) 0x1899ac18, this=0x80be630) at /usr/include/c++/4.8.2/bits/stl_vector.h:911
#9 PikaClientConn::BatchExecRedisCmd (this=this@entry=0x80be4f8, argvs=std::vector of length 19, capacity 32 = {...})
at /var/lib/docker/columbus/repo/pkg_repo/2023081611/118182/31017118/1692155320840/src_repo/pika/src/pika_client_conn.cc:277
#10 0x00000000005396db in PikaClientConn::DoBackgroundTask (arg=0x80e8e00) at /var/lib/docker/columbus/repo/pkg_repo/2023081611/118182/31017118/1692155320840/src_repo/pika/src/pika_client_conn.cc:230
#11 0x000000000059b037 in pink::ThreadPool::runInThread (this=0x35182c0) at src/thread_pool.cc:189
#12 0x000000000059b1f9 in pink::ThreadPool::Worker::WorkerMain (arg=) at src/thread_pool.cc:15
#13 0x00007f48d8ab8dd5 in start_thread () from /lib64/libpthread.so.0
#14 0x00007f48d7bb702d in clone () from /lib64/libc.so.6

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

No response

Please provide the version you discovered this bug in (check about page for version information)


Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ☢️ BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions