[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] lwip_socket_init where should this be called from?
From: |
Joolz [RSD] |
Subject: |
[lwip-users] lwip_socket_init where should this be called from? |
Date: |
Wed, 21 Mar 2007 15:15:09 -0000 |
I have just tried to start an Http server and it crashes with "OSSemPend
failed at 215 in lwip/src/arch/sys_arch.c". Now looking throught the
call stack I see
[ 9] pc 0x107160, fp 0x153eb8, sys_arch_sem_wait()+0x9c
[ 8] pc 0x107ea4, fp 0x153ed4, sys_sem_wait()+0x70
[ 7] pc 0x13503c, fp 0x153ef0, alloc_socket()+0x30
[ 6] pc 0x1359b8, fp 0x153f04, lwip_socket()+0x80
[ 5] pc 0x124130, fp 0x153f34, ht_newServerSocket()+0x34
[ 4] pc 0x1246ac, fp 0x153f90, httpd_start()+0x13c
[ 3] pc 0x109468, fp 0x153fa4, _startHttp()+0x34
[ 2] pc 0x109434, fp 0xdead701b, _startHttp()
So I decided to look a bit further and found the routine
lwip_socket_init but I cannot find where its called so both sockets
semaphores are not created?
Where should this be called from?
Best Regards
Julian Gardner
Director / Software Development Manager
RSD Communications Ltd
Unit 2, 8 Borrowmeadow Road
Stirling Scotland FK7 7UW
Tel +44 [0]1786 450572 Ext 238
Fax +44 [0]1786 450572
Mob +44 [0]7836 240907
WWW http://www.rsdtv.com
EMAIL address@hidden
==========================================
Please do not send me any email messages in HTML format or it may be
deleted at our mail server without notice to sender or recipient.
Message contents should be considered as confidential regardless of the
contents.
- [lwip-users] lwip_socket_init where should this be called from?,
Joolz [RSD] <=