- **status**: review --> fixed
- **assigned_to**: Minh Hon Chau -->  nobody 
- **Comment**:

commits
release:[645a7fca7576e437782da96197b56096e1afbd8c]
develop:[cb04247b15858eadfeeb5c385b7544d0049b9e67]



---

** [tickets:#2508] ntfd: coredump due to failure of pthread_mutex_destroy**

**Status:** fixed
**Milestone:** 5.17.08
**Created:** Wed Jun 21, 2017 06:12 AM UTC by Minh Hon Chau
**Last Updated:** Wed Jul 05, 2017 09:23 AM UTC
**Owner:** nobody


syslog:

2017-05-23 18:05:36 SC-3 systemd[1]: Stopping OpenSAF daemon...
2017-05-23 18:05:36 SC-3 opensafd: Stopping OpenSAF Services
2017-05-23 18:05:36 SC-3 osafamfnd[255]: NO Shutdown initiated
2017-05-23 18:05:36 SC-3 osafamfnd[255]: NO Terminating all AMF components
2017-05-23 18:05:36 SC-3 osafclmna[166]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osafclmd[235]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osafckptd[381]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osafimmd[194]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osaffmd[184]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osafamfwd[335]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osafckptnd[314]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osafsmfnd[273]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osaflogd[215]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osafimmpbed: NO IMM PBE received SIG_TERM, closing db 
handle
2017-05-23 18:05:36 SC-3 osafimmpbed: IN IMM PBE process EXITING...
2017-05-23 18:05:36 SC-3 osafimmnd[205]: NO Implementer locally disconnected. 
Marking it as doomed 25 <303, 2030f> (OpenSafImmPBE)
2017-05-23 18:05:36 SC-3 osafrded[175]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osafimmnd[205]: NO Implementer disconnected 25 <303, 
2030f> (OpenSafImmPBE)
2017-05-23 18:05:36 SC-3 osafimmnd[205]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osafsmfd[271]: exiting for shutdown
2017-05-23 18:05:36 SC-3 osafntfimcnd[473]: NO saImmOiDispatch() Fail 
SA_AIS_ERR_BAD_HANDLE (9)
2017-05-23 18:05:36 SC-3 osafamfd[245]: NO Re-initializing with IMM

2017-05-23 18:05:36 SC-3 osafntfd[225]: osaf_abort(16) called from 
0x5611b80d2a69 with errno=4


backtrace:

~~~
[New LWP 225]
[New LWP 227]
[New LWP 228]
[New LWP 229]
[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/local/lib/opensaf/osafntfd'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f8fd1780428 in __GI_raise (sig=sig@entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:54
[Current thread is 1 (Thread 0x7f8fd32cc740 (LWP 225))]

Thread 4 (Thread 0x7f8fd3289b00 (LWP 229)):
#0  __clock_nanosleep (clock_id=<optimized out>, flags=1, req=0x7f8fd3289240, 
rem=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
        oldstate = 0
        r = <optimized out>
        rem = 0x0
        req = 0x7f8fd3289240
        flags = 1
        clock_id = <optimized out>
#1  0x00007f8fd233157d in osaf_nanosleep (sleep_duration=0x7f8fd23b9c10 
<_ZN4baseL10kOneSecondE>) at src/base/osaf_time.c:39
        wakeup_time = {tv_sec = 19013, tv_nsec = 484354498}
        retval = 32655
#2  0x00007f8fd23a0336 in base::Sleep (duration=...) at ./src/base/time.h:135
No locals.
#3  0x00007f8fd23a043e in rda_callback_task (rda_callback_cb=0x5611b8fa61b0) at 
src/rde/agent/rda_papi.cc:117
        msg = "10 2", '\000' <repeats 59 times>
        rc = PCSRDA_RC_FATAL_IPC_CONNECTION_LOST
        value = 2
        retry_count = 0
        conn_lost = true
        cmd_type = RDE_RDA_HA_ROLE
        cb_info = {cb_type = PCS_RDA_ROLE_CHG_IND, info = {io_role = 
PCS_RDA_STANDBY}}
#4  0x00007f8fd1b1b6ba in start_thread (arg=0x7f8fd3289b00) at 
pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f8fd3289b00
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140255699704576, 
6214217193111308760, 1, 140732091062047, 140255699705280, 0, 
-6259172466962839080, -6259168954657519144}, mask_was_saved = 0}}, priv = {pad 
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0x00007f8fd185182d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 3 (Thread 0x7f8fd32a9b00 (LWP 228)):
#0  0x00007f8fd1845b5d in poll () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1  0x00007f8fd2388473 in mdtm_process_recv_events_tcp () at 
src/mds/mds_dt_trans.c:986
        pollres = 1
#2  0x00007f8fd1b1b6ba in start_thread (arg=0x7f8fd32a9b00) at 
pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f8fd32a9b00
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140255699835648, 
6214217193111308760, 1, 140732091060655, 140255699836352, 0, 
-6259172484142708264, -6259168954657519144}, mask_was_saved = 0}}, priv = {pad 
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f8fd185182d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 2 (Thread 0x7f8fd32c9b00 (LWP 227)):
#0  0x00007f8fd1845b5d in poll () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1  0x00007f8fd232f2e9 in osaf_ppoll (io_fds=0x7f8fd32c92d0, i_nfds=1, 
i_timeout_ts=0x7f8fd32c9300, i_sigmask=0x0) at src/base/osaf_poll.c:108
        current_time = {tv_sec = 140255699964672, tv_nsec = 140255699964640}
        elapsed_time = {tv_sec = 0, tv_nsec = 0}
        time_left = 60000
        millisecond_round_up = {tv_sec = 0, tv_nsec = 999999}
        max_possible_timeout = {tv_sec = 2147483, tv_nsec = 647000000}
        start_time = {tv_sec = 19010, tv_nsec = 624662266}
        time_left_ts = {tv_sec = 60, tv_nsec = 999999}
        result = -768428400
#2  0x00007f8fd233fd29 in ncs_tmr_wait () at src/base/sysf_tmr.c:464
        rc = 1
        inds_rmvd = 1
        next_delay = 600
        tv = {tv_sec = 60, tv_usec = 0}
        ts_current = {tv_sec = 19010, tv_nsec = 624662099}
        ts = {tv_sec = 60, tv_nsec = 0}
        set = {fd = 8, events = 1, revents = 0}
#3  0x00007f8fd1b1b6ba in start_thread (arg=0x7f8fd32c9b00) at 
pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f8fd32c9b00
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140255699966720, 
6214217193111308760, 1, 140732091061551, 140255699967424, 0, 
-6259172501322577448, -6259168954657519144}, mask_was_saved = 0}}, priv = {pad 
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x00007f8fd185182d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 1 (Thread 0x7f8fd32cc740 (LWP 225)):
#0  0x00007f8fd1780428 in __GI_raise (sig=sig@entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:54
        resultvar = 0
        pid = 225
        selftid = 225
#1  0x00007f8fd178202a in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x15c00000001, sa_sigaction 
= 0x15c00000001}, sa_mask = {__val = {94634102319078, 0, 0, 140255700011512, 0, 
140255700011512, 140255672457999, 1, 140255672215552, 0, 140255675083600, 
4294967295, 94634117937392, 0, 140255579602216, 0}}, sa_flags = -1102324928, 
sa_restorer = 0x0}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f8fd233286a in osaf_abort (i_cause=16) at src/base/osaf_utility.c:33
No locals.
#3  0x00005611b80d2a69 in stop_ntfimcn () at src/ntf/ntfd/ntfs_imcnutil.c:355
        join_ret = 0xffffffffffffffff
        rc = 16
        __FUNCTION__ = "stop_ntfimcn"
#4  0x00005611b80988dd in main (argc=1, argv=0x7ffebe4bdcb8) at 
src/ntf/ntfd/ntfs_main.c:349
        ret = 1
        mbx_fd = {raise_obj = 18, rmv_obj = 19}
        error = SA_AIS_OK
        rc = 1
        fds = {{fd = 25, events = 1, revents = 1}, {fd = 21, events = 1, 
revents = 0}, {fd = 27, events = 1, revents = 0}, {fd = 19, events = 1, revents 
= 0}, {fd = 29, events = 1, revents = 0}, {fd = 23, events = 1, revents = 0}}
        term_fd = 25
        __FUNCTION__ = "main"
54      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
~~~


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to