On 15 Mar 17:34, Stuart Henderson wrote:
> On 2020/03/15 17:27, Uwe Werler wrote:
> > 
> > ###############
> > 
> > 
> > gdb /usr/local/sbin/redis-server /tmp/redis-server.core    
> > GNU gdb 6.3
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you are
> > welcome to change it and/or distribute copies of it under certain 
> > conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for details.
> > This GDB was configured as "amd64-unknown-openbsd6.6"...(no debugging 
> > symbols found)
> > 
> > Core was generated by `redis-server'.
> > Program terminated with signal 11, Segmentation fault.
> > Reading symbols from /usr/lib/libpthread.so.26.1...done.
> > Loaded symbols for /usr/lib/libpthread.so.26.1
> > Loaded symbols for /usr/local/sbin/redis-server
> > Reading symbols from /usr/lib/libm.so.10.1...done.
> > Loaded symbols for /usr/lib/libm.so.10.1
> > Symbols already loaded for /usr/lib/libpthread.so.26.1
> > Reading symbols from /usr/local/lib/liblua5.1.so.5.1...done.
> > Loaded symbols for /usr/local/lib/liblua5.1.so.5.1
> > Reading symbols from /usr/lib/libc.so.95.1...done.
> > Loaded symbols for /usr/lib/libc.so.95.1
> > Reading symbols from /usr/libexec/ld.so...Error while reading shared 
> > library symbols:
> > Dwarf Error: wrong version in compilation unit header (is 4, should be 2) 
> > [in module /usr/libexec/ld.so]
> > #0  0x0000127e6e9c4ff8 in SHA1Final () from /usr/local/sbin/redis-server
> 
> gdb in base is useless for many things on clang arches - pkg_add gdb and
> use "egdb" not "gdb". also pkg_add debug-redis for debug symbols, then try
> again and see if you can get a backtrace.
> 

Hi Stuart,

thanks for the advice!

The output is as follows:

##########################################################

egdb /usr/local/sbin/redis-sentinel /tmp/redis-server.core
GNU gdb (GDB) 7.12.1
Copyright (C) 2017 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-unknown-openbsd6.6".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/sbin/redis-sentinel...done.
[New process 170084]
[New process 585452]
[New process 382927]
[New process 407733]
Core was generated by `redis-server'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000008a5b359cfe8 in sentinelRefreshInstanceInfo (ri=0x8a89bf44608, 
info=<optimized out>) at sentinel.c:2161
2161    sentinel.c: No such file or directory.
[Current thread is 1 (process 170084)]
(gdb) 

##########################################################

Something else what I can do?

With kind regards

Uwe

-- 

Reply via email to