- **Type**: defect --> enhancement


---

** [tickets:#471] Mqsv: Mqsv application got blocked in Dispatch_block**

**Status:** unassigned
**Milestone:** future
**Created:** Mon Jun 24, 2013 06:59 AM UTC by A V Mahesh (AVM)
**Last Updated:** Mon Jun 24, 2013 06:59 AM UTC
**Owner:** nobody

http://devel.opensaf.org/ticket/3044

Observed on SLES 11 SP2 VMs of 64bit
Code Base: CS#3969 with patches for 2986, 2884, 2865, 2977.


It is observed when saMsgMessageSendReceive is given with NULL for "send time" 
parameter.Mqsv application got blocked at this instant. 


Below are the stack traces of threads.
(gdb) bt
#0 0xffffe430 in kernel_vsyscall ()
#1 0xf761a4e7 in poll () from /lib/libc.so.6
#2 0xf749439b in ncs_sel_obj_poll_single_obj (sel_obj=..., 
timeout_in_10ms=0xffe0c7a8) at os_defs.c:1451
#3 0xf74b4ecc in mds_mcm_time_wait (sel_obj=..., time_val=12000) at 
mds_c_sndrcv.c:2566
#4 0xf74b976b in mcm_pvt_normal_svc_sndrsp_direct (env_hdl=131071, fr_svc_id=9, 
buff=0x80bb8e0 "", len=702,


to_dest=564117779529768, to_svc_id=10, req=0xffe0c994, 
pri=MDS_SEND_PRIORITY_MEDIUM, msg_fmt_ver=2)
at mds_c_sndrcv.c:5129


#5 0xf74afee5 in mds_mcm_direct_send (info=0xffe0ceb0) at mds_c_sndrcv.c:459
#6 0xf74afba1 in mds_send (info=0xffe0ceb0) at mds_c_sndrcv.c:388
#7 0xf74af7eb in ncsmds_api (svc_to_mds_info=0xffe0ceb0) at mds_papi.c:104
#8 0xf7726143 in mqa_mds_msg_sync_send_direct (mqa_mds_hdl=131071, 
destination=0xffe0d2c0, i_evt=0x80bb8e0,


o_evt=0xffe0d2c8, timeout=12000, length=702) at mqa_mds.c:745


#9 0xf771eb7f in mqa_send_receive (mqa_cb=0xf773d200, mqnd_mds_dest=0xffe0d2c0, 
qsend_evt=0x80bb8e0,


qreply_evt=0xffe0d2c8, timeout=120000000000, length=702) at mqa_api.c:3123


#10 0xf771fa40 in saMsgMessageSendReceive (msgHandle=134982712, 
destination=0x80abdd0, sendMessage=0x80ac9b0,


receiveMessage=0x80aca90, replySendTime=0x0, timeout=120000000000) at 
mqa_api.c:3414


#11 0x0806bc2d in tet_test_red_msgMessageSendReceive (i=5, 
flg=TEST_NONCONFIG_MODE) at src/tet_mqa_conf.c:2295
#12 0x0805f956 in mqsv_it_msg_sendrcv_05 () at src/tet_mqa.c:10013
#13 0x0806866a in tet_invoketp (icnum=249, tpnum=1) at src/tet_mqa.c:15129
#14 0x0807af1f in call_1tp (icnum=249, tpnum=1, testnum=249) at tcm_main.c:581
#15 0x0807b60e in call_tps (tpcount=<optimized out>, icnum=<optimized out>) at 
tcm_main.c:477
#16 tet_tcm_main (argc=1, argv=0xffe0d814) at tcm_main.c:432
#17 0x0807db66 in main (argc=Cannot access memory at address 0x1
) at main.c:83


(gdb) thread apply all bt


Thread 4 (Thread 0xf7765f70 (LWP 8537)):
#0 0xffffe430 in kernel_vsyscall ()
#1 0xf761dd51 in select () from /lib/libc.so.6
#2 0xf74833b1 in ncs_tmr_wait () at sysf_tmr.c:446
#3 0xf76e7879 in start_thread () from /lib/libpthread.so.0
#4 0xf7624ffe in clone () from /lib/libc.so.6


Thread 3 (Thread 0xf7466f70 (LWP 8538)):
#0 0xffffe430 in kernel_vsyscall ()
#1 0xf761a4e7 in poll () from /lib/libc.so.6
#2 0xf74c8d17 in mdtm_process_recv_events () at mds_dt_tipc.c:567
#3 0xf76e7879 in start_thread () from /lib/libpthread.so.0
#4 0xf7624ffe in clone () from /lib/libc.so.6


Thread 2 (Thread 0xf0c1ab70 (LWP 9133)):
#0 0xffffe430 in kernel_vsyscall ()
#1 0xf761dd51 in select () from /lib/libc.so.6
#2 0xf749426a in ncs_sel_obj_select (highest_sel_obj=..., rfds=0xf0c1a22c, 
wfds=0x0, efds=0x0, timeout_in_10ms=0x0)


at os_defs.c:1391


#3 0xf747f42a in ncs_ipc_recv_common (mbx=0x80bac64, block=true) at 
sysf_ipc.c:335
#4 0xf747f313 in ncs_ipc_recv (mbx=0x80bac64) at sysf_ipc.c:302
#5 0xf772b29c in mqa_hdl_callbk_dispatch_block (mqa_cb=0xf773d200, 
msgHandle=134982712) at mqa_clbk.c:435
#6 0xf7717684 in saMsgDispatch (msgHandle=134982712, 
dispatchFlags=SA_DISPATCH_BLOCKING) at mqa_api.c:446
#7 0x0806c862 in mqsv_selection_thread_blocking (arg=0x80abd60) at 
src/tet_mqa_conf.c:3052
#8 0xf76e7879 in start_thread () from /lib/libpthread.so.0
#9 0xf7624ffe in clone () from /lib/libc.so.6


Thread 1 (Thread 0xf74688d0 (LWP 8535)):
#0 0xffffe430 in kernel_vsyscall ()
#1 0xf761a4e7 in poll () from /lib/libc.so.6
#2 0xf749439b in ncs_sel_obj_poll_single_obj (sel_obj=..., 
timeout_in_10ms=0xffe0c7a8) at os_defs.c:1451
#3 0xf74b4ecc in mds_mcm_time_wait (sel_obj=..., time_val=12000) at 
mds_c_sndrcv.c:2566
—Type <return> to continue, or q <return> to quit—CQuit
(gdb)


Following msgs are observed. 
Active log snippet:


Mar 6 14:09:25 SLOT_1 osafmsgd[8251]: ER Deregistering QUEUE GROUPS DB Update 
processing failed with error 12
Mar 6 14:09:25 SLOT_1 osafmsgd[8251]: ER Deregistering QUEUE GROUPS DB Update 
processing failed with error 12
Mar 6 14:11:01 SLOT_1 osafmsgnd[8231]: ER The queue is full
Mar 6 14:11:07 SLOT_1 osafmsgnd[8231]: ER The queue is full
Mar 6 14:11:07 SLOT_1 osafmsgnd[8231]: ER The queue is full
Mar 6 14:11:07 SLOT_1 osafmsgnd[8231]: ER The queue is full





---

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.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to