CESNET / libnetconf

C NETCONF library
Other
113 stars 84 forks source link

Segmentation fault on file_reload #261

Open superfast1979 opened 7 years ago

superfast1979 commented 7 years ago

I can't reproduce it but in continuous integration often we find this coredump.

id 5d80a02a6d51c05d5d6e436ec970aefeec28b9af reason: netopeer-server killed by SIGSEGV time: Wed 08 Mar 2017 11:15:13 AM CET cmdline: /usr/bin/netopeer-server -v 3 & package: netopeer-server-0.8.0-1 uid: 0 (root) count: 78 Directory: /var/spool/abrt/ccpp-2017-03-08-11:15:13-11587


[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/bin/netopeer-server -v 3 &'. Program terminated with signal 11, Segmentation fault.

0 0x00007f54863bc994 in fclose@@GLIBC_2.2.5 () from /lib64/libc.so.6

Missing separate debuginfos, use: debuginfo-install netopeer-server-0.8.0-1.x86_64 (gdb) where

0 0x00007f54863bc994 in fclose@@GLIBC_2.2.5 () from /lib64/libc.so.6

1 0x00007f548717f8d9 in file_reload.part.1 () from /lib64/libnetconf.so.0

2 0x00007f5487180ca5 in ncds_file_unlock () from /lib64/libnetconf.so.0

3 0x00007f5487177fa9 in ncds_break_locks () from /lib64/libnetconf.so.0

4 0x00007f5487158958 in nc_session_close () from /lib64/libnetconf.so.0

5 0x00007f5487158b66 in nc_session_free () from /lib64/libnetconf.so.0

6 0x000000000040ae69 in np_ssh_client_transport ()

7 0x0000000000406210 in client_main_thread ()

8 0x00007f5486719df5 in start_thread () from /lib64/libpthread.so.0

9 0x00007f54864471ad in clone () from /lib64/libc.so.6

(gdb)


segfault.txt