Menu

#1423 ckptnd doesn't handle fault case when creating share memory at start up

4.7.FC
fixed
None
enhancement
ckpt
nd
4.6
minor
2015-09-30
2015-07-21
No

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 ()

Related

Tickets: #1423
Wiki: ChangeLog-4.5.2
Wiki: ChangeLog-4.6.1

Discussion

  • Pham Hoang Nhat

    Pham Hoang Nhat - 2015-07-21
    • status: unassigned --> assigned
    • assigned_to: Pham Hoang Nhat
     
  • A V Mahesh (AVM)

    Are you targeting this ticket for 4. 7 ?
    If so change the milestone to 4.7, else I will change it to enhancement.​

     
  • A V Mahesh (AVM)

    • Type: defect --> enhancement
     
  • Pham Hoang Nhat

    Pham Hoang Nhat - 2015-08-11

    Currently, I'm busy with other stuff. I'll fix this in next release.

     
  • A V Mahesh (AVM)

    • status: assigned --> unassigned
    • assigned_to: Pham Hoang Nhat --> nobody
     
  • Pham Hoang Nhat

    Pham Hoang Nhat - 2015-08-17
    • status: unassigned --> assigned
    • assigned_to: Pham Hoang Nhat
     
    • A V Mahesh (AVM)

      Hi,

      Are you planning for 4.7 release ?

      -AVM

      On 8/17/2015 11:51 AM, Pham Hoang Nhat wrote:

      • status: unassigned --> assigned
      • assigned_to: Pham Hoang Nhat

      [tickets:#1423] http://sourceforge.net/p/opensaf/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: Tue Aug 11, 2015 06:48 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 you indicated interest in
      https://sourceforge.net/p/opensaf/tickets/1423/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #1423

  • Pham Hoang Nhat

    Pham Hoang Nhat - 2015-08-17

    Hi,

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

    /Nhat

     
  • Pham Hoang Nhat

    Pham Hoang Nhat - 2015-09-24
    • status: assigned --> review
     
  • A V Mahesh (AVM)

    • status: review --> fixed
     
  • A V Mahesh (AVM)

    changeset: 6947:eeb53120b0fd
    branch: opensaf-4.5.x
    parent: 6943:0e9d198637c5
    user: A V Mahesh mahesh.valla@oracle.com
    date: Wed Sep 30 09:08:40 2015 +0530
    summary: ckpt: ckptnd doesn't handle fault case when creating share memory at start up [#1423]

    changeset: 6948:98d5f79c002e
    branch: opensaf-4.6.x
    parent: 6944:30e1aedc3f9d
    user: A V Mahesh mahesh.valla@oracle.com
    date: Wed Sep 30 09:08:53 2015 +0530
    summary: ckpt: ckptnd doesn't handle fault case when creating share memory at start up [#1423]

    changeset: 6949:592a8a586c96
    tag: tip
    parent: 6946:1449d99d506c
    user: A V Mahesh mahesh.valla@oracle.com
    date: Wed Sep 30 09:09:07 2015 +0530
    summary: ckpt: ckptnd doesn't handle fault case when creating share memory at start up [#1423]

     

    Related

    Tickets: #1423

  • A V Mahesh (AVM)

    • Milestone: future --> 4.7.FC
     

Log in to post a comment.