On Wed, Mar 13, 2019 at 10:06:24AM +0100, Stefan Sperling wrote: > This doesn't happen here. Please show a backtrace from gdb. $ egdb -se textsuggest-server -c textsuggest-serv.core -batch -ex bt
warning: exec file is newer than core file. [New process 329959] [New process 528090] Core was generated by `textsuggest-serv'. Program terminated with signal SIGABRT, Aborted. #0 thrkill () at -:3 3 -: No such file or directory. [Current thread is 1 (process 329959)] #0 thrkill () at -:3 #1 0x00000936a5226e4e in _libc_abort () at /usr/src/lib/libc/stdlib/abort.c:51 #2 0x00000936a52550d9 in wrterror (d=0x937620d9190, msg=0x936a51c627e "chunk canary corrupted %p %#tx@%#zx%s") at /usr/src/lib/libc/stdlib/malloc.c:297 #3 0x00000936a525829a in validate_canary (d=<optimized out>, ptr=<optimized out>, sz=1, allocated=<optimized out>) at /usr/src/lib/libc/stdlib/malloc.c:1040 #4 find_chunknum (d=0x0, info=<optimized out>, ptr=0x0, check=<optimized out>) at /usr/src/lib/libc/stdlib/malloc.c:1065 #5 0x00000936a52555b2 in ofree (argpool=<optimized out>, p=0x93714988180, clear=<optimized out>, check=<optimized out>, argsz=0) at /usr/src/lib/libc/stdlib/malloc.c:1394 #6 0x00000936a52551e0 in free (ptr=0x93714988180) at /usr/src/lib/libc/stdlib/malloc.c:1451 #7 0x00000934803a97e8 in std::__1::__libcpp_deallocate (__ptr=0x93714988180, __align=1) at /usr/include/c++/v1/new:272 #8 std::__1::allocator<unsigned char>::deallocate (this=0x93708e6e6a8, __p=0x93714988180 "wtf_o_1215252.jpg") at /usr/include/c++/v1/memory:1802 #9 std::__1::allocator_traits<std::__1::allocator<unsigned char> >::deallocate (__a=..., __p=0x93714988180 "wtf_o_1215252.jpg", __n=17) at /usr/include/c++/v1/memory:1556 #10 std::__1::__vector_base<unsigned char, std::__1::allocator<unsigned char> >::~__vector_base (this=0x93708e6e698) at /usr/include/c++/v1/vector:459 #11 0x00000934803a9a0f in std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >::~vector (this=0x93708e6e698) at /usr/include/c++/v1/vector:464 #12 0x00000934803a8fc6 in std::__1::__shared_ptr_emplace<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, std::__1::allocator<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > >::__on_zero_shared (this=0x93708e6e680) at /usr/include/c++/v1/memory:3692 #13 0x00000934803a2704 in std::__1::__shared_count::__release_shared (this=0x93708e6e680) at /usr/include/c++/v1/memory:3526 #14 std::__1::__shared_weak_count::__release_shared (this=0x93708e6e680) at /usr/include/c++/v1/memory:3568 #15 std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >::~shared_ptr (this=0x9368c7a9768) at /usr/include/c++/v1/memory:4504 #16 0x00000934803ab9e3 in std::__1::pair<unsigned int const, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > >::~pair (this=0x9368c7a9760) at /usr/include/c++/v1/utility:314 #17 0x00000934803ab936 in std::__1::allocator_traits<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<unsigned int, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > >, void*> > >::__destroy<std::__1::pair<unsigned int const, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > > > (__p=0x9368c7a9760) at /usr/include/c++/v1/memory:1733 #18 std::__1::allocator_traits<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<unsigned int, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > >, void*> > >::destroy<std::__1::pair<unsigned int const, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > > > (__a=..., __p=0x9368c7a9760) at /usr/include/c++/v1/memory:1596 #19 std::__1::__tree<std::__1::__value_type<unsigned int, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > >, std::__1::__map_value_compare<unsigned int, std::__1::__value_type<unsigned int, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > >, std::__1::less<unsigned int>, true>, std::__1::allocator<std::__1::__value_type<unsigned int, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > > > >::destroy (this=0x93748c4f4b8, __nd=0x9368c7a9740) at /usr/include/c++/v1/__tree:1863 #20 0x00000934803abc9a in std::__1::__tree<std::__1::__value_type<unsigned int, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > >, std::__1::__map_value_compare<unsigned int, std::__1::__value_type<unsigned int, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > >, std::__1::less<unsigned int>, true>, std::__1::allocator<std::__1::__value_type<unsigned int, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > > > >::clear (this=0x93748c4f4b8) at /usr/include/c++/v1/__tree:1900 #21 0x000009348039633a in std::__1::map<unsigned int, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, std::__1::less<unsigned int>, std::__1::allocator<std::__1::pair<unsigned int const, std::__1::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > > > >::clear (this=0x93748c4f4b8) at /usr/include/c++/v1/map:1273 #22 clip::(anonymous namespace)::Manager::clear (this=0x93748c4f400) at ../lib/clip/clip_x11.cpp:114 #23 0x00000934803962d2 in clip::lock::impl::clear (this=0x93684c80600) at ../lib/clip/clip_x11.cpp:908 #24 0x0000093480394472 in clip::lock::clear (this=0x7f7ffffdd9c8) at ../lib/clip/clip.cpp:39
