public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] LwIP TCP socket closing leads to crash in ecos-3.0
@ 2013-02-03  8:34 Elad Yosef
  2013-02-03  9:51 ` [ECOS] Fwd: " Elad Yosef
  0 siblings, 1 reply; 2+ messages in thread
From: Elad Yosef @ 2013-02-03  8:34 UTC (permalink / raw)
  To: ecos-discuss, eCos Discussion

Hi, I have the following Trace:

#0  cyg_assert_fail (psz_func=0x80030760 "Cyg_Mboxt<T,
QUEUE_SIZE>::~Cyg_Mboxt() [with T = void*, long int QUEUE_SIZE =
30l]",
    psz_file=0x800304b0
"/localhome/cc-views/elady_Mars_SW/vobs/Mars-eCos/Mars-eCos_OS/Mars_eCos_Config_install/include/cyg/kernel/mboxt.inl",
linenum=109, psz_msg=0x0) at
/localhome/eCos/ecos-3.0/packages/infra/v3_0/src/buffer.cxx:726
#1  0x8001cb25 in ~Cyg_Mboxt (this=<value optimized out>) at
/localhome/cc-views/elady_Mars_SW/vobs/Mars-eCos/Mars-eCos_OS/Mars_eCos_Config_install/include/cyg/kernel/mboxt.inl:110
#2  0x8001cb89 in ~Cyg_Mbox (this=0x80030760) at
/localhome/eCos/ecos-3.0/packages/kernel/v3_0/src/sync/mbox.cxx:92
#3  0x8001a4a1 in cyg_mbox_delete (mbox=2147682144) at
/localhome/eCos/ecos-3.0/packages/kernel/v3_0/src/common/kapi.cxx:851
#4  0x80026299 in sys_mbox_free (mbox=2147682144) at
/localhome/eCos/ecos-3.0/packages/net/lwip_tcpip/v3_0/src/ecos/sys_arch.c:108
#5  0x8002b7cf in netconn_delete (conn=0x8004da68) at
/localhome/eCos/ecos-3.0/packages/net/lwip_tcpip/v3_0/src/api/api_lib.c:289
#6  0x80025ae5 in lwip_close (s=<value optimized out>) at
/localhome/eCos/ecos-3.0/packages/net/lwip_tcpip/v3_0/src/api/sockets.c:268

My application is sending some date by this TCP socket and closes it once done.
It takes some time until my application crash, can it be that the
close() in the LwIP is buggy?

Thanks

Elad

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-03  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-03  8:34 [ECOS] LwIP TCP socket closing leads to crash in ecos-3.0 Elad Yosef
2013-02-03  9:51 ` [ECOS] Fwd: " Elad Yosef

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