This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

question about msgq

hello TI-friends,

Did you know what's the meaning as I see the following messages??

Assertion at Line no: 1548 in /Projects/TI-8168/DVRRDK_03.00.00.00/ti_tools/syslink/syslink_2_10_02_17_patched/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/MessageQ.c: (UInt16)queueId < MessageQ_module->numQueues : failed

  • Error indicates the MessageQ_heapID set in the message is invalid and greater than the maximum number of heaps configured in MessageQ module. When do you get this error ? What change did you make to cause this error ?

  • hi badri

    Because we didn't see following messages in our another version of SW, we didn't patch rdk3.0.1 about ipc-msgq and we use 8ch analog, After testing stability for 3 weeks, we got provided messages as the above.


    *** HeapMemMP_free: Free size is overlapping

            Error [0xfffffff9] at Line no: 1458 in file /home/TI-8168/DVRRDK_03.00.00.00/ti_tools/syslink/syslink_2_10_02_17_patched/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/HeapMemMP.c


    Any idea?

  • I don't understand . Pls mention

    Codebase used: RDK 3.0.1 - What issue ? What is the application being tested ? WHen do you get the error ?

    Codebase used: RDK 3.0.1 + MSGQ alloc patch - What issue ? What is the application being tested ? WHen do you get the error ?

    What are the changes you have done to RDK ? I need detailed info diff of every change done in dvr_rdk under mcfw folder.

    Your application already has a memory corruption issue  which causes M3 exception. Have you fixed that ? Memory corruption can result in this issue.

     

  • code base is RDK 3.0.0, I'm testing SCD stability for long time with 30fps, and DSP will feedback .. And I didn't patch ipc-msgq from 3.0.1

    Your application already has a memory corruption issue  which causes M3 exception. Have you fixed that ? Memory corruption can result in this issue.

    -> Mm..I'm trying to reproduce this, and got this result. I'm try to figure out where's it...

  • As I got the message, I got other message. See attach for your reference1680.logs.txt

  • by the message below, could I got any further info??

    Unable to handle kernel paging request at virtual address 90b2d404

    pgd = 80004000
    [90b2d404] *pgd=8de2d011

    , *pte=00000000, *ppte=00000000823 Internal error: Oops: 7 [#1]
    last sysfs file:
    Modules linked in: ti81xxhdmi ti81xxfb vpss osa_kermod syslink
    CPU: 0 Not tainted (2.6.37 #1)
    PC is at MessageQ_put+0x2f4/0x488 [syslink]
    LR is at release_console_sem+0x198/0x1ac
    pc : [<7f03d824>] lr : [<8006e1c0>] psr: 20000013
    sp : 8e56fe00 ip : 8e56fb08 fp : 8e56fe34
    r10: 00000004 r9 : 8006734c r8 : 00000002
    r7 : 00000003 r6 : 00038101 r5 : 95000a88 r4 : 00008101
    r3 : 90b0d000 r2 : 00000001 r1 : 00003b71 r0 : 00000125
    Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
    Control: 10c5387d Table: 8cc74019 DAC: 00000017
    Process kworker/0:1 (pid: 22, stack limit = 0x8e56e2e8)
    Stack: (0x8e56fe00 to 0x8e570000)
    fe00: 95000a88 7f029914 8e56fe24 8e56fe18 95000a88 935dd000 00000000 95001e00
    fe20: 00000002 00000004 8e56fe5c 8e56fe38 7f059fc4 7f03d53c 00000000 00000002
    fe40: 935dd000 00000000 00000002 8e7ab800 8e56fe84 8e56fe60 802d967c 7f059f24
    fe60: 00000000 804f4f08 8e56fe94 00000000 95001d00 8dc19200 8e56fea4 8e56fe88
    fe80: 802dbcb8 802d95ec 00000002 00000000 fffffffe 00000000 8e56febc 8e56fea8
    fea0: 802dbd34 802dbc2c 00000000 00000000 8e56fee4 8e56fec0 8039e4c8 802dbd14
    fec0: 804f049c 804f0490 00000002 ffffffff 00000004 00000000 8e56ff14 8e56fee8
    fee0: 80089844 8039e4a0 00000000 804f36b8 8e56ff14 8e6ab540 00000004 8e56ff34
    ff00: 804f36b8 8e464800 8e56ff2c 8e56ff18 8008987c 800897fc 00000000 804f36e0
    ff20: 8e56ff54 8e56ff30 80067394 80089868 8039e528 00000002 00000000 8e6ab554
    ff40: 804f36e0 8e5524c0 8e56ff8c 8e56ff58 8007fa68 80067358 8e56ff7c 00000000
    ff60: 8007eb00 8e5524c0 804f36b8 00000009 804f36b8 804f36b8 8e5524d0 8e56e000
    ff80: 8e56ffbc 8e56ff90 800803c0 8007f888 00000000 8e56ffcc 8e437ee0 8e5524c0
    ffa0: 8008020c 00000000 00000000 00000000 8e56fff4 8e56ffc0 80084730 80080218
    ffc0: 8e437ee0 00000000 8e5524c0 00000000 8e56ffd0 8e56ffd0 8e437ee0 800846a4
    ffe0: 80070a90 00000013 00000000 8e56fff8 80070a90 800846b0 80728674 8a747b76
    Backtrace:
    [<7f03d530>] (MessageQ_put+0x0/0x488 [syslink]) from [<7f059fc4>] (_TransportShm_notifyFxn+0xac/0xfc [syslink])
    [<7f059f18>] (_TransportShm_notifyFxn+0x0/0xfc [syslink]) from [<802d967c>] (notify_exec+0x9c/0xb0)
    r5:8e7ab800 r4:00000002
    [<802d95e0>] (notify_exec+0x0/0xb0) from [<802dbcb8>] (notify_shmdrv_isr_callback+0x98/0xac)
    r6:8dc19200 r5:95001d00 r4:00000000
    [<802dbc20>] (notify_shmdrv_isr_callback+0x0/0xac) from [<802dbd34>] (notify_shmdrv_video_isr+0x2c/0x3c)
    r7:00000000 r6:fffffffe r5:00000000 r4:00000002
    [<802dbd08>] (notify_shmdrv_video_isr+0x0/0x3c) from [<8039e4c8>] (notifier_call_chain+0x34/0x78)
    r5:00000000 r4:00000000
    [<8039e494>] (notifier_call_chain+0x0/0x78) from [<80089844>] (__blocking_notifier_call_chain+0x54/0x6c)
    [<800897f0>] (__blocking_notifier_call_chain+0x0/0x6c) from [<8008987c>] (blocking_notifier_call_chain+0x20/0x28)
    r8:8e464800 r7:804f36b8 r6:8e56ff34 r5:00000004 r4:8e6ab540
    [<8008985c>] (blocking_notifier_call_chain+0x0/0x28) from [<80067394>] (mbox_rx_work+0x48/0xec)
    [<8006734c>] (mbox_rx_work+0x0/0xec) from [<8007fa68>] (process_one_work+0x1ec/0x318)
    r6:8e5524c0 r5:804f36e0 r4:8e6ab554
    [<8007f87c>] (process_one_work+0x0/0x318) from [<800803c0>] (worker_thread+0x1b4/0x2d0)
    [<8008020c>] (worker_thread+0x0/0x2d0) from [<80084730>] (kthread+0x8c/0x94)
    [<800846a4>] (kthread+0x0/0x94) from [<80070a90>] (do_exit+0x0/0x5e4)
    r7:00000013 r6:80070a90 r5:800846a4 r4:8e437ee0
    Code: ebffd9bc e59f3150 e5933000 e5933078 (e7934104)

    ---[ end trace 5ac38480d782eb66 ]---