Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-23 Thread Isaac Gutekunst
We finally have a culprit. Enabling the CAN driver causes the same tests to fail. Thank you everyone for all the help! We actually have something to go on now. Isaac On 10/23/2015 09:37 AM, Joel Sherrill wrote: On 10/23/2015 8:01 AM, Isaac Gutekunst wrote: On 10/23/2015 08:50 AM, Joel Sherr

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-23 Thread Joel Sherrill
On 10/23/2015 8:01 AM, Isaac Gutekunst wrote: On 10/23/2015 08:50 AM, Joel Sherrill wrote: On October 23, 2015 7:02:34 AM CDT, Joel Sherrill wrote: On October 22, 2015 1:37:18 PM CDT, Isaac Gutekunst wrote: I think I may have some information that's actually useful. I've managed to a

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-23 Thread Isaac Gutekunst
On 10/23/2015 08:50 AM, Joel Sherrill wrote: On October 23, 2015 7:02:34 AM CDT, Joel Sherrill wrote: On October 22, 2015 1:37:18 PM CDT, Isaac Gutekunst wrote: I think I may have some information that's actually useful. I've managed to actually execute some tests and lots of them a

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-23 Thread Joel Sherrill
On October 23, 2015 7:02:34 AM CDT, Joel Sherrill wrote: > > >On October 22, 2015 1:37:18 PM CDT, Isaac Gutekunst > wrote: >>I think I may have some information that's actually useful. >> >>I've managed to actually execute some tests and lots of them are >>failing. >> >>sp01 and sp02 fail q

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-23 Thread Joel Sherrill
On October 22, 2015 1:37:18 PM CDT, Isaac Gutekunst wrote: >I think I may have some information that's actually useful. > >I've managed to actually execute some tests and lots of them are >failing. > >sp01 and sp02 fail quite quickly, as an assertion fails. > >assertion "first != _Chain_Tai

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-23 Thread Sebastian Huber
You can run the test suite on Qemu using the lm3s6965 BSP (you need Qemu patches, see source directory of the BSP). I did run the tests and it looks good. On 22/10/15 20:37, Isaac Gutekunst wrote: I think I may have some information that's actually useful. I've managed to actually execute som

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-22 Thread Isaac Gutekunst
I think I may have some information that's actually useful. I've managed to actually execute some tests and lots of them are failing. sp01 and sp02 fail quite quickly, as an assertion fails. assertion "first != _Chain_Tail( &ready_queues[ index ] )" failed: file "../../cpukit/../../../stm3

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-22 Thread Jay Doyle
On 10/22/2015 01:40 AM, Sebastian Huber wrote: On 21/10/15 15:48, Jay Doyle wrote: On 10/21/2015 09:35 AM, Sebastian Huber wrote: On 21/10/15 15:08, Isaac Gutekunst wrote: On 10/21/2015 09:00 AM, Sebastian Huber wrote: On 21/10/15 14:56, Isaac Gutekunst wrote: On 10/21/2015 08:24

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Sebastian Huber
On 21/10/15 15:48, Jay Doyle wrote: On 10/21/2015 09:35 AM, Sebastian Huber wrote: On 21/10/15 15:08, Isaac Gutekunst wrote: On 10/21/2015 09:00 AM, Sebastian Huber wrote: On 21/10/15 14:56, Isaac Gutekunst wrote: On 10/21/2015 08:24 AM, Sebastian Huber wrote: On 21/10/15 14:13,

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Joel Sherrill
On 10/21/2015 9:09 AM, Isaac Gutekunst wrote: On 10/21/2015 09:58 AM, Joel Sherrill wrote: On 10/21/2015 8:35 AM, Sebastian Huber wrote: On 21/10/15 15:08, Isaac Gutekunst wrote: On 10/21/2015 09:00 AM, Sebastian Huber wrote: On 21/10/15 14:56, Isaac Gutekunst wrote: On 10/21/201

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Jay Doyle
Forwarded Message Subject:Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support() Date: Wed, 21 Oct 2015 09:48:42 -0400 From: Jay Doyle To: Sebastian Huber On 10/21/2015 09:35 AM, Sebastian Huber wrote: On 21/10/15 15:08, Isaac Gutekunst wrote: On 10

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Isaac Gutekunst
On 10/21/2015 09:58 AM, Joel Sherrill wrote: On 10/21/2015 8:35 AM, Sebastian Huber wrote: On 21/10/15 15:08, Isaac Gutekunst wrote: On 10/21/2015 09:00 AM, Sebastian Huber wrote: On 21/10/15 14:56, Isaac Gutekunst wrote: On 10/21/2015 08:24 AM, Sebastian Huber wrote: On 21/10/15

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Joel Sherrill
On 10/21/2015 8:35 AM, Sebastian Huber wrote: On 21/10/15 15:08, Isaac Gutekunst wrote: On 10/21/2015 09:00 AM, Sebastian Huber wrote: On 21/10/15 14:56, Isaac Gutekunst wrote: On 10/21/2015 08:24 AM, Sebastian Huber wrote: On 21/10/15 14:13, Isaac Gutekunst wrote: Thanks for the r

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Sebastian Huber
On 21/10/15 15:35, Sebastian Huber wrote: On 21/10/15 15:08, Isaac Gutekunst wrote: On 10/21/2015 09:00 AM, Sebastian Huber wrote: On 21/10/15 14:56, Isaac Gutekunst wrote: On 10/21/2015 08:24 AM, Sebastian Huber wrote: On 21/10/15 14:13, Isaac Gutekunst wrote: Thanks for the reply

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Sebastian Huber
On 21/10/15 15:08, Isaac Gutekunst wrote: On 10/21/2015 09:00 AM, Sebastian Huber wrote: On 21/10/15 14:56, Isaac Gutekunst wrote: On 10/21/2015 08:24 AM, Sebastian Huber wrote: On 21/10/15 14:13, Isaac Gutekunst wrote: Thanks for the reply. On 10/21/2015 01:50 AM, Sebastian Huber wr

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Isaac Gutekunst
On 10/21/2015 09:00 AM, Sebastian Huber wrote: On 21/10/15 14:56, Isaac Gutekunst wrote: On 10/21/2015 08:24 AM, Sebastian Huber wrote: On 21/10/15 14:13, Isaac Gutekunst wrote: Thanks for the reply. On 10/21/2015 01:50 AM, Sebastian Huber wrote: On 20/10/15 16:02, Isaac Gutekunst wr

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Sebastian Huber
On 21/10/15 14:56, Isaac Gutekunst wrote: On 10/21/2015 08:24 AM, Sebastian Huber wrote: On 21/10/15 14:13, Isaac Gutekunst wrote: Thanks for the reply. On 10/21/2015 01:50 AM, Sebastian Huber wrote: On 20/10/15 16:02, Isaac Gutekunst wrote: [...] As far as I can tell this would on

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Isaac Gutekunst
On 10/21/2015 08:24 AM, Sebastian Huber wrote: On 21/10/15 14:13, Isaac Gutekunst wrote: Thanks for the reply. On 10/21/2015 01:50 AM, Sebastian Huber wrote: On 20/10/15 16:02, Isaac Gutekunst wrote: [...] As far as I can tell this would only occur if the caller of pthread_mutex_loc

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Sebastian Huber
On 21/10/15 14:13, Isaac Gutekunst wrote: Thanks for the reply. On 10/21/2015 01:50 AM, Sebastian Huber wrote: On 20/10/15 16:02, Isaac Gutekunst wrote: [...] As far as I can tell this would only occur if the caller of pthread_mutex_lock was in a "bad" state. I don't believe it is in

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-21 Thread Isaac Gutekunst
Thanks for the reply. On 10/21/2015 01:50 AM, Sebastian Huber wrote: On 20/10/15 16:02, Isaac Gutekunst wrote: Hi Devel, I'm pretty sure this is a devel question, not users. I'm working with a colleague at Vecna to port lwIP to the STM32F7 BSP we've developed. We have a basic HTTP server

Re: Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-20 Thread Sebastian Huber
On 20/10/15 16:02, Isaac Gutekunst wrote: Hi Devel, I'm pretty sure this is a devel question, not users. I'm working with a colleague at Vecna to port lwIP to the STM32F7 BSP we've developed. We have a basic HTTP server that prints out the current list of tasks. We refresh the page at a

Random lwIP Crashes in _POSIX_Mutex_Lock_support()

2015-10-20 Thread Isaac Gutekunst
Hi Devel, I'm pretty sure this is a devel question, not users. I'm working with a colleague at Vecna to port lwIP to the STM32F7 BSP we've developed. We have a basic HTTP server that prints out the current list of tasks. We refresh the page at a very high rate, and after about 1-30 minutes,