ConfD User Community

Confd_load_schemas is causing segmentation fault


#1

Hi,

Recently when i try doing "process coredump yang-sermon" then i am seeing crash files.

#show crashfiles
     2127343 Apr 18 20:40 /md/20180418_204032_yangserver_mon.4895.1524076832.fijoitssr00152.core.gz
     2582755 Apr 18 20:41 /md/20180418_204148_application.7748.1524076908.fijoitssr00152.core.gz

application process is also getting crashed.
BT:
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need “set solib-search-path” or “set sysroot”?
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib64/libthread_db.so.1”.
Core was generated by `/opt/services/app_sim/bin/asmd --Restart’.
Program terminated with signal 6, Aborted.
0 0x00000039e7435069 in __GI_raise (sig=sig@entry=6) at …/nptl/sysdeps/unix/sysv/linux/raise.c:56
56 …/nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
0 0x00000039e7435069 in __GI_raise (sig=sig@entry=6) at …/nptl/sysdeps/unix/sysv/linux/raise.c:56
1 0x00000039e7438168 in __GI_abort () at abort.c:89
2 0x00000039e746e544 in __libc_message (do_abort=, fmt=) at …/sysdeps/posix/libc_fatal.c:175
3 0x00000039e747830e in malloc_printerr (action=, str=, ptr=) at malloc.c:4920
4 0x00000039e7479e19 in _int_malloc (av=, bytes=) at malloc.c:3395
5 0x00000039e747b990 in __GI___libc_malloc (bytes=13924) at malloc.c:2855
6 0x00000000004869d5 in confd_malloc ()
7 0x0000000000488e64 in term_read ()
8 0x00000000004b5f39 in term_read_list ()
9 0x00000000004b9726 in load_many_ns ()
10 0x00000000004ba347 in maapi_load_schemas ()
11 0x000000000048bd6e in confd_load_schemas ()
12 0x000000000047aad8 in ebuilder_confd_init () at confd_thread.c:2706
13 0x000000000047c5fd in eBuilder_confd_thread (val=0x0) at confd_thread.c:3273
14 0x00002ab054f82201 in start_thread (arg=0x2ab05e3bd700) at pthread_create.c:312
15 0x00000039e74e660d in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) q
It is causing issue in confd_load_schemas() …
can you please help me this issue.

Regards,
Bibin


#2

Hi ,

Any update on this issue.

Regards,
BB