[tickets] [opensaf:tickets] #2261 imm: PBE is crashing when OpenSAF is shutting down
--- ** [tickets:#2261] imm: PBE is crashing when OpenSAF is shutting down** **Status:** assigned **Milestone:** 5.0.2 **Created:** Fri Jan 13, 2017 09:26 AM UTC by Zoran Milinkovic **Last Updated:** Fri Jan 13, 2017 09:26 AM UTC **Owner:** Zoran Milinkovic When OpenSAF is shutting down, PBE is crashing sometimes. ~~~ [New LWP 1888] [New LWP 1884] [New LWP 1887] [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/osafimmpbed --pbe /srv/shared/imm//imm.db'. Program terminated with signal SIGABRT, Aborted. #0 0x7fc923fbcc37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 Thread 3 (Thread 0x7fc9258e8b00 (LWP 1887)): #0 0x7fc924072fdd in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x7fc924ad909b in osaf_poll_no_timeout (io_fds=0x7fc9258e8290, i_nfds=1) at src/base/osaf_poll.c:32 #2 0x7fc924ad9248 in osaf_ppoll (io_fds=0x7fc9258e8290, i_nfds=1, i_timeout_ts=0x0, i_sigmask=0x0) at src/base/osaf_poll.c:79 #3 0x7fc924ae95cf in ncs_tmr_wait () at src/base/sysf_tmr.c:409 #4 0x7fc924353184 in start_thread (arg=0x7fc9258e8b00) at pthread_create.c:312 #5 0x7fc92408037d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 2 (Thread 0x7fc9258eb780 (LWP 1884)): #0 0x7fc92435a64a in do_fcntl (arg=0x7ffd194a7070, cmd=7, fd=22) at ../sysdeps/unix/sysv/linux/fcntl.c:39 #1 __libc_fcntl (fd=22, cmd=) at ../sysdeps/unix/sysv/linux/fcntl.c:92 #2 0x7fc925270985 in __gcov_open () from /usr/local/lib/opensaf/libosaf_common.so.0 No symbol table info available. #3 0x7fc9252714ee in gcov_exit () from /usr/local/lib/opensaf/libosaf_common.so.0 No symbol table info available. #4 0x7fc923fc21a9 in __run_exit_handlers (status=1, listp=0x7fc9243446c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82 #5 0x7fc923fc21f5 in __GI_exit (status=) at exit.c:104 No locals. #6 0x55828aa7c60c in pbeDaemon (immHandle=4230542917903, dbHandle=0x55828bb010e8, ownerHandle=1483565869334821379, classIdMap=0x7ffd194abc10, objCount=335, pbe2=false, pbe2B=false) at src/imm/immpbed/immpbe_daemon.cc:2343 #7 0x55828aa6b408 in main (argc=3, argv=0x7ffd194abdd8) at src/imm/immpbed/immpbe.cc:354 Thread 1 (Thread 0x7fc9258c8b00 (LWP 1888)): #0 0x7fc923fbcc37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x7fc923fc0028 in __GI_abort () at abort.c:89 #2 0x7fc923ff92a4 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7fc9241076b0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x7fc92400555e in malloc_printerr (ptr=, str=0x7fc924107878 "double free or corruption (fasttop)", action=1) at malloc.c:4996 #4 _int_free (av=, p=, have_lock=0) at malloc.c:3840 #5 0x7fc92483936f in std::basic_string, std::allocator >::~basic_string() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 No symbol table info available. #6 0x7fc923fc253a in __cxa_finalize (d=0x7fc9256c6c80) at cxa_finalize.c:56 #7 0x7fc925493833 in __do_global_dtors_aux () from /usr/local/lib/opensaf/libimmpbe_dump.so.0 No symbol table info available. #8 0x7fc9258c7dc0 in ?? () No symbol table info available. #9 0x7fc9256e870a in _dl_fini () at dl-fini.c:252 Backtrace stopped: frame did not save the PC 56 ../nptl/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.-- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2262 base: Improve TRACE_ENTER, TRACE_LEAVE macros
--- ** [tickets:#2262] base: Improve TRACE_ENTER, TRACE_LEAVE macros** **Status:** review **Milestone:** 5.2.FC **Created:** Fri Jan 13, 2017 09:35 AM UTC by Hans Nordebäck **Last Updated:** Fri Jan 13, 2017 09:35 AM UTC **Owner:** Hans Nordebäck Improve TRACE_ENTER, TRACE_LEAVE macros for C++ functions. A new class Trace is introduced to make TRACE_ENTER/TRACE_LEAVE consistent. The Trace destructor will handle all missing TRACE_LEAVE at runtime (RAII idiom). TRACE_LEAVEs without a matching TRACE_ENTER are handled at compile time. To identify all missing TRACE_LEAVE zeroes are written as line number: Jan 13 10:03:48.925438 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:0325] >> susi_success: 1 : Jan 13 10:03:48.929056 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:] << susi_success The trace2dot tool and e.g. dotty can be used to get a graphical view of the call graph. --- 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.-- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2262 base: Improve TRACE_ENTER, TRACE_LEAVE macros
- Description has changed: Diff: --- old +++ new @@ -4,4 +4,4 @@ : Jan 13 10:03:48.929056 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:] << susi_success -The trace2dot tool and e.g. dotty can be used to get a graphical view of the call graph. +The trace2dot tool and e.g. dotty can be used to get a call graph. --- ** [tickets:#2262] base: Improve TRACE_ENTER, TRACE_LEAVE macros** **Status:** review **Milestone:** 5.2.FC **Created:** Fri Jan 13, 2017 09:35 AM UTC by Hans Nordebäck **Last Updated:** Fri Jan 13, 2017 09:35 AM UTC **Owner:** Hans Nordebäck Improve TRACE_ENTER, TRACE_LEAVE macros for C++ functions. A new class Trace is introduced to make TRACE_ENTER/TRACE_LEAVE consistent. The Trace destructor will handle all missing TRACE_LEAVE at runtime (RAII idiom). TRACE_LEAVEs without a matching TRACE_ENTER are handled at compile time. To identify all missing TRACE_LEAVE zeroes are written as line number: Jan 13 10:03:48.925438 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:0325] >> susi_success: 1 : Jan 13 10:03:48.929056 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:] << susi_success The trace2dot tool and e.g. dotty can be used to get a call graph. --- 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.-- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2263 tools: Set ordering in trace2dot
--- ** [tickets:#2263] tools: Set ordering in trace2dot** **Status:** review **Milestone:** 5.2.FC **Created:** Fri Jan 13, 2017 01:13 PM UTC by Hans Nordebäck **Last Updated:** Fri Jan 13, 2017 01:13 PM UTC **Owner:** Hans Nordebäck Set ordering in trace2dot --- 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.-- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2264 SI SWAP returns try-again but logs an error
--- ** [tickets:#2264] SI SWAP returns try-again but logs an error** **Status:** unassigned **Milestone:** 5.2.FC **Created:** Fri Jan 13, 2017 01:58 PM UTC by Rafael **Last Updated:** Fri Jan 13, 2017 01:58 PM UTC **Owner:** nobody in si.cc: LOG_ER("%s SWAP failed - Cold sync in progress", name.c_str()); rc = SA_AIS_ERR_TRY_AGAIN; The log is indicating an error but a TRY_AGAIN is returned and the next try is succesful. Looks like LOG_ER needs to be changed to LOG_NO --- 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.-- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2264 SI SWAP returns try-again but logs an error
Consider to change LOG_NO to TRACE in case multiple try again would spam the system log. --- ** [tickets:#2264] SI SWAP returns try-again but logs an error** **Status:** unassigned **Milestone:** 5.2.FC **Created:** Fri Jan 13, 2017 01:58 PM UTC by Rafael **Last Updated:** Fri Jan 13, 2017 01:58 PM UTC **Owner:** nobody in si.cc: LOG_ER("%s SWAP failed - Cold sync in progress", name.c_str()); rc = SA_AIS_ERR_TRY_AGAIN; The log is indicating an error but a TRY_AGAIN is returned and the next try is succesful. Looks like LOG_ER needs to be changed to LOG_NO --- 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.-- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2200 log: no document saLogStreamLogFileFormat value depending on logMaxLogrecsize
- Description has changed: Diff: --- old +++ new @@ -1,3 +1,5 @@ The attribute `saLogStreamFixedLogRecordSize` value of log streams can be set to zero (flexilble log record) or an specific number, but must not be larger than `logMaxLogrecsize` attribute value which belongs to `OpenSafLogConfig` class. `saLogStreamFixedLogRecordSize` value is limited by `logMaxLogrecsize`. This info should be described in PR documentation. + +Also update the PR due to tickets [#2146], [#2250] and [#2258] - **status**: unassigned --> assigned - **assigned_to**: Vu Minh Nguyen --- ** [tickets:#2200] log: no document saLogStreamLogFileFormat value depending on logMaxLogrecsize** **Status:** assigned **Milestone:** 5.2.FC **Created:** Wed Nov 23, 2016 07:23 AM UTC by Vu Minh Nguyen **Last Updated:** Wed Nov 23, 2016 07:23 AM UTC **Owner:** Vu Minh Nguyen The attribute `saLogStreamFixedLogRecordSize` value of log streams can be set to zero (flexilble log record) or an specific number, but must not be larger than `logMaxLogrecsize` attribute value which belongs to `OpenSafLogConfig` class. `saLogStreamFixedLogRecordSize` value is limited by `logMaxLogrecsize`. This info should be described in PR documentation. Also update the PR due to tickets [#2146], [#2250] and [#2258] --- 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.-- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets