# gdb ~/nginx core.nginx.22817
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
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 /root/nginx...done.
warning: exec file is newer than core file.
[New LWP 22817]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `nginx: worker process '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000465668 in ngx_ssl_new_session (ssl_conn=0x7f20520b0be0, sess=0x7f20520b6920) at src/event/ngx_event_openssl.c:2536
2536 src/event/ngx_event_openssl.c: No such file or directory.
(gdb) bt
#0 0x0000000000465668 in ngx_ssl_new_session (ssl_conn=0x7f20520b0be0, sess=0x7f20520b6920) at src/event/ngx_event_openssl.c:2536
#1 0x00007f2050ea7e80 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
#2 0x00007f2050e85389 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
#3 0x00000000004627cd in ngx_ssl_handshake (c=0x7f20520396d0) at src/event/ngx_event_openssl.c:1191
#4 0x0000000000462ed3 in ngx_ssl_handshake_handler (ev=0x7f20520735d0) at src/event/ngx_event_openssl.c:1367
#5 0x000000000045fb84 in ngx_epoll_process_events (cycle=0x7f2052007330, timer=59994, flags=1) at src/event/modules/ngx_epoll_module.c:900
#6 0x000000000044eaaf in ngx_process_events_and_timers (cycle=0x7f2052007330) at src/event/ngx_event.c:242
#7 0x000000000045d2c8 in ngx_worker_process_cycle (cycle=0x7f2052007330, data="" at src/os/unix/ngx_process_cycle.c:753
#8 0x000000000045969e in ngx_spawn_process (cycle=0x7f2052007330, proc=0x45d1bd <ngx_worker_process_cycle>, data="" name=0x587b73 "pening logs", respawn=-3)
at src/os/unix/ngx_process.c:198
#9 0x000000000045bef3 in ngx_start_worker_processes (cycle=0x7f2052007330, n=1, type=-3) at src/os/unix/ngx_process_cycle.c:358
#10 0x000000000045b490 in ngx_master_process_cycle (cycle=0x7f2052007330) at src/os/unix/ngx_process_cycle.c:130
#11 0x000000000041ab13 in main (argc=3, argv=0x7ffef558b748) at src/core/nginx.c:367