Hi, 

I just submit the fix for review. Please have a look,

/Nhat


---

** [tickets:#1423] ckptnd doesn't handle fault case when creating share memory 
at start up**

**Status:** assigned
**Milestone:** future
**Created:** Tue Jul 21, 2015 06:33 AM UTC by Pham Hoang Nhat
**Last Updated:** Mon Aug 17, 2015 06:21 AM UTC
**Owner:** Pham Hoang Nhat


Observed behaviour
------------------
When installing a campaign a test component, the ckptnd trigger a core dump. 

Error messages
------------------
Following is the message in the syslog.

Jun 17 07:50:41 SC-2-2 osafckptnd[11361]: ER cpnd open request fail for RDWR 
mode (null)
Jun 17 07:50:51 SC-2-2 kernel: [  494.474214] osafckptnd[11361]: segfault at 0 
ip 00007f25cd609608 sp 00007fffdb6290b8 error 4 in 
libc-2.19.so[7f25cd57f000+19e000]

Following is the bt:
(gdb) bt
#0  0x00007fb733293608 in _wordcopy_fwd_dest_aligned () from /lib64/libc.so.6
#1  0x00007fb73328db8a in __memmove_sse2 () from /lib64/libc.so.6
#2  0x00007fb7343258cc in ncs_os_posix_shm (req=0x7fffe65e7090) at os_defs.c:836
#3  0x0000000000415d1f in cpnd_find_free_loc ()
#4  0x0000000000415f46 in cpnd_restart_shm_client_update ()
#5  0x0000000000405a5b in cpnd_evt_proc_ckpt_init ()
#6  0x000000000040d532 in cpnd_process_evt ()
#7  0x000000000040e235 in cpnd_main_process ()
#8  0x000000000040edf7 in main ()



---

Sent from sourceforge.net because [email protected] 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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to