bugs in malloc

2009-11-23 Thread Freeman Wang
We are using uClibc over uClinux which extends the heap using MMAP instead of SBRK. We found the following issues with uClibc version 0.9.30.1. 1. We found with some special application, the application would get stuck at line 162 of malloc.c and the reason was mem->next points back to itself.

Re: bugs in malloc

2009-11-23 Thread Mike Frysinger
On Monday 23 November 2009 14:55:26 Freeman Wang wrote: > 1. We found with some special application, the application would get > stuck at line 162 of malloc.c and the reason was mem->next points back > to itself. please try to reduce the allocation patterns of your 'special' application. it shou

RE: bugs in malloc

2009-11-23 Thread Freeman Wang
ugh the mmb list, we will be able to make sure the new_mmb structure is added properly. Freeman -Original Message- From: Mike Frysinger [mailto:vap...@gentoo.org] Sent: Monday, November 23, 2009 7:42 PM To: uclibc@uclibc.org Cc: Freeman Wang Subject: Re: bugs in malloc On Monday 23 No

Re: bugs in malloc

2009-11-24 Thread Sergio M. Ammirata, Ph.D.
he allocation > before going through the mmb list, we will be able to make sure the > new_mmb structure is added properly. > > Freeman > > -Original Message- > From: Mike Frysinger [mailto:vap...@gentoo.org] > Sent: Monday, November 23, 2009 7:42 PM > To: uclibc

Re: bugs in malloc

2009-11-26 Thread Peter Mazinger
Freeman Wang , Mike Frysinger , > uclibc@uclibc.org > Betreff: Re: bugs in malloc > If it helps, I am also experiences crashes in malloc. They did not occur > in > 0.9.28. Here is a sample backtrace: > > Program terminated with signal 11, Segmentation fault. > [New process 178

Re: bugs in malloc

2009-11-29 Thread Sergio M. Ammirata, Ph.D.
t;> An: Freeman Wang , Mike Frysinger , >> uclibc@uclibc.org >> Betreff: Re: bugs in malloc > >> If it helps, I am also experiences crashes in malloc. They did not occur >> in >> 0.9.28. Here is a sample backtrace: >> >> Program terminated wit

Re: bugs in malloc

2009-12-08 Thread Rob Landley
On Tuesday 24 November 2009 06:14:36 Sergio M. Ammirata, Ph.D. wrote: > If it helps, I am also experiences crashes in malloc. They did not occur in > 0.9.28. Here is a sample backtrace: Is there any way we can reproduce this? (How did you ./configure and build vlc, and what test data are you run

Re: bugs in malloc

2009-12-09 Thread Sergio M. Ammirata, Ph.D.
Rob, On 12/8/09 10:59 PM, "Rob Landley" wrote: > On Tuesday 24 November 2009 06:14:36 Sergio M. Ammirata, Ph.D. wrote: >> If it helps, I am also experiences crashes in malloc. They did not occur in >> 0.9.28. Here is a sample backtrace: > > Is there any way we can reproduce this? (How did you

Re: bugs in malloc

2009-12-09 Thread Rob Landley
On Wednesday 09 December 2009 06:42:08 Sergio M. Ammirata, Ph.D. wrote: > Rob, > > On 12/8/09 10:59 PM, "Rob Landley" wrote: > > On Tuesday 24 November 2009 06:14:36 Sergio M. Ammirata, Ph.D. wrote: > >> If it helps, I am also experiences crashes in malloc. They did not occur > >> in 0.9.28. Here

Re: bugs in malloc

2009-12-10 Thread Joseph S. Myers
On Wed, 9 Dec 2009, Rob Landley wrote: > worked, and is not an option if _I_ don't want to have to switch to eglibc. > (Which is lgplv3. Ew.) It appears you haven't actually looked at the EGLIBC sources. It's LGPLv2.1 (or greater, so if you want to distribute pieces under LGPLv3 you can), l

Re: bugs in malloc

2009-12-10 Thread Rob Landley
On Thursday 10 December 2009 07:12:05 Joseph S. Myers wrote: > On Wed, 9 Dec 2009, Rob Landley wrote: > > worked, and is not an option if _I_ don't want to have to switch to > > eglibc. (Which is lgplv3. Ew.) > > It appears you haven't actually looked at the EGLIBC sources. Not since a couple of

Re: bugs in malloc

2009-12-10 Thread Joseph S. Myers
On Thu, 10 Dec 2009, Rob Landley wrote: > > It's > > LGPLv2.1 (or greater, so if you want to distribute pieces under LGPLv3 you > > can), like FSF GLIBC. What happens if FSF GLIBC changes license is up to > > the EGLIBC Consortium. > > EGLIBC FAQ #1: eglibc is not meant to be a fork. If FSF GLI

Re: bugs in malloc

2009-12-10 Thread Rob Landley
On Thursday 10 December 2009 17:43:51 Joseph S. Myers wrote: > On Thu, 10 Dec 2009, Rob Landley wrote: > > > It's > > > LGPLv2.1 (or greater, so if you want to distribute pieces under LGPLv3 > > > you can), like FSF GLIBC. What happens if FSF GLIBC changes license is > > > up to the EGLIBC Consort

Re: bugs in malloc

2009-12-10 Thread Joseph S. Myers
On Thu, 10 Dec 2009, Rob Landley wrote: > On Thursday 10 December 2009 17:43:51 Joseph S. Myers wrote: > > On Thu, 10 Dec 2009, Rob Landley wrote: > > > > It's > > > > LGPLv2.1 (or greater, so if you want to distribute pieces under LGPLv3 > > > > you can), like FSF GLIBC. What happens if FSF GLIB

Re: bugs in malloc

2009-12-10 Thread Rob Landley
On Thursday 10 December 2009 18:01:04 Joseph S. Myers wrote: > On Thu, 10 Dec 2009, Rob Landley wrote: > > On Thursday 10 December 2009 17:43:51 Joseph S. Myers wrote: > > > On Thu, 10 Dec 2009, Rob Landley wrote: > > > > > It's > > > > > LGPLv2.1 (or greater, so if you want to distribute pieces un

RE: bugs in malloc

2009-12-10 Thread Freeman Wang
. [mailto:ser...@ammirata.net] Sent: Wednesday, December 09, 2009 4:42 AM To: Rob Landley; uclibc@uclibc.org Cc: Freeman Wang Subject: Re: bugs in malloc Rob, On 12/8/09 10:59 PM, "Rob Landley" wrote: > On Tuesday 24 November 2009 06:14:36 Sergio M. Ammirata, Ph.D. wrote: >> If

Re: bugs in malloc

2009-12-11 Thread Mark Brown
On Thu, Dec 10, 2009 at 06:40:41PM -0600, Rob Landley wrote: > On Thursday 10 December 2009 18:01:04 Joseph S. Myers wrote: > > snapshots from release branches have worked fine for Debian and > > Ubuntu, for example. > I.E. Organizations with their own full-time developer team, testing > infrast

Re: bugs in malloc

2009-12-11 Thread Sergio M. Ammirata, Ph.D.
Why not leverage the work done by these large organizations?. Ubuntu 9.10 is using the eglibc 2.8 branch. Why don't you grab their patched version (assuming they added patches), label it as an official eglibc 2.8 release and put it as a download link on the site. Personally, the Ubuntu 9.10 news i

Re: bugs in malloc

2009-12-13 Thread Carmelo AMOROSO
ial eglibc 2.8 release > and put it as a download link on the site. > > Personally, the Ubuntu 9.10 news is what convinced me to give eglibc a try > ... > > Sergio > is the "bugs in malloc" subject still appropriate to this email threads ? it seems you are sta

Re: bugs in malloc

2009-12-19 Thread Austin Foxley
On 12/10/2009 05:08 PM, Freeman Wang wrote: It should be worth to try the patch, at least the thread safe part which Mike agreed upon. Our VLC port which runs 12 threads used to only last about for 15-20 minutes before the patch and now is able to play for days. I went ahead and applied your p