mealmatic@mealmatic-1:~$ gdb redis-server core.2126
GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
Copyright (C) 2014 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-linux-gnu".
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 redis-server...(no debugging symbols found)...done.
warning: core file may not match specified executable file.
[New LWP 2127]
[New LWP 2128]
[New LWP 2126]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/redis-server
127.0.0.1:6379'.
Program terminated with signal SIGINT, Interrupt.
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
(gdb) thread apply all bt
Thread 3 (Thread 0x7f108d760780 (LWP 2126)):
#0 0x00007fff73bfd091 in gettimeofday ()
#1 0x000000000041adce in ?? ()
#2 0x000000000041b0e4 in aeProcessEvents ()
#3 0x000000000041b30b in aeMain ()
#4 0x0000000000423c0e in main ()
Thread 2 (Thread 0x7f108affe700 (LWP 2128)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x0000000000454adb in bioProcessBackgroundJobs ()
#2 0x00007f108ce2b0a5 in start_thread (arg=0x7f108affe700) at pthread_create.c:309
#3 0x00007f108cb5888d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 1 (Thread 0x7f108b7ff700 (LWP 2127)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x0000000000454adb in bioProcessBackgroundJobs ()
#2 0x00007f108ce2b0a5 in start_thread (arg=0x7f108b7ff700) at pthread_create.c:309
#3 0x00007f108cb5888d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)
So still the question marks. I do see a ‘...pthread_cond_wait.S: No such file or directory’ that I don’t like. Googling around it looks like it is related to a lot of hangs, freezes and locks.
Question to the list: should I switch my Linux to make this go away?
Brgds,
Michel