public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Felix R <felixr@mailinator.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] lwIP sequential Assert cyg_Mbox
Date: Tue, 04 Jun 2013 09:10:00 -0000	[thread overview]
Message-ID: <1370337024262-234092.post@n7.nabble.com> (raw)

Hi,

the sequential http-test fails with an assert.

ASSERT FAIL: <5>mboxt.inl[79]void Cyg_Mboxt<T, QUEUE_SIZE>::wakeup_waiter()
Bad thread pointer
or:
ASSERT FAIL: <5>mboxt.inl[605]cyg_bool Cyg_Mboxt<T, QUEUE_SIZE>::tryput()
Bad this pointer

I cannot figure out the reason. can you help me?

trace:
Thread [1] (Suspended: Signal 'SIGINT' received. Description: Interrupt.)	
	13 cyg_assert_fail() buffer.cxx:748 0x00114a78	
	12 Cyg_Mboxt<void*, 10>::wakeup_waiter() mboxt.inl:79 0x0011e8d4	
	11 Cyg_Mboxt<void*, 10>::tryput() mboxt.inl:624 0x0011e804	
	10 Cyg_Mbox::tryput() mbox.cxx:156 0x0011d678	
	9 cyg_mbox_tryput() kapi.cxx:899 0x00117804	
	8 sys_mbox_trypost() sys_arch.c:288 0x0013031c	
	7 tcpip_input() tcpip.c:336 0x0012fca4	
	6 lwip_eth_drv_input() sequential.c:314 0x00130be8	
	5 eth_drv_recv() eth_drv.c:431 0x001243e8	
	4 zynq_eth_poll() xilinx_zynq_ethernet_controller.c:1177 0x00104cc8	
	3 zynq_eth_deliver() xilinx_zynq_ethernet_controller.c:1071 0x00104770	
	2 eth_thread() sequential.c:282 0x00130b64	
	1 Cyg_HardwareThread::thread_entry() thread.cxx:94 0x00118870	

this: (Mbox class)
this	0x0016d948	
	base	0	
	count	1	
	get_threadq	{...}	
		Cyg_ThreadQueue_Implementation	{...}	
			Cyg_CList_T<Cyg_Thread>	{...}	
				Cyg_CList	{...}	
					head	0x00000001	
						next	0x60000000	
						prev	0x074288c2	
	put_threadq	{...}	
	size	0	
	itemqueue	0x0016d958	




--
View this message in context: http://sourceware-org.1504.n7.nabble.com/lwIP-sequential-Assert-cyg-Mbox-tp234092.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

                 reply	other threads:[~2013-06-04  9:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1370337024262-234092.post@n7.nabble.com \
    --to=felixr@mailinator.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).