[Debian GNUstep maintainers] Bug#592751: Broken on hppa; programs abort with malloc assertion failure

dann frazier dannf at dannf.org
Tue Aug 17 18:59:15 UTC 2010


On Tue, Aug 17, 2010 at 07:56:04PM +0300, Yavor Doganov wrote:
> dann frazier wrote:
> > Oh, duh.. overlooked that file thinking it was a directory - sorry :)
> 
> No problem.
> 
> > test: malloc.c:3097: sYSMALLOc: Assertion ...
> 
> Thanks, that's seriously broken (expected).  What happens if you build
> it with `make debug=yes' (`make clean' before that)?

(sid)dannf at paer:~$ make clean
This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help.
rm -rf ./*~ ./obj
(sid)dannf at paer:~$ make debug=yes
This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help.
Making all for tool test...
 Compiling file test.m ...
 Linking tool test ...
(sid)dannf at paer:~$ ./obj/test
test: malloc.c:3097: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Aborted

> What about this plain (non-GNUstep) Objective-C program?
> 
> ./configure
> make
> ./test

(sid)dannf at paer:~/test-0.1$ ./test
Test 1
Test 2
Test 3

-- 
dann frazier






More information about the pkg-GNUstep-maintainers mailing list