On 23 May 2015, at 18:30, Germán Arias <germanan...@gmx.es> wrote:
> 
> Hi,
> 
> Yesterday I update gnustep on my laptop (amd64), and the latest changes
> in base crash all apps. Here the backtrace.
> 
> *** Error in `/usr/GNUstep/Local/Applications/Gorm.app/Gorm':
> munmap_chunk(): invalid pointer: 0x00007ffff6ac256d ***
> 
> Program received signal SIGABRT, Aborted.
> 0x00007ffff5eaccc9 in __GI_raise (sig=sig@entry=6)
>    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
> 56    ../nptl/sysdeps/unix/sysv/linux/raise.c: No existe el archivo o el
> directorio.
> (gdb) backtrace
> #0  0x00007ffff5eaccc9 in __GI_raise (sig=sig@entry=6)
>    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
> #1  0x00007ffff5eb00d8 in __GI_abort () at abort.c:89
> #2  0x00007ffff5ee9394 in __libc_message (do_abort=do_abort@entry=1, 
>    fmt=fmt@entry=0x7ffff5ff7b28 "*** Error in `%s': %s: 0x%s ***\n")
>    at ../sysdeps/posix/libc_fatal.c:175
> #3  0x00007ffff5ef40f7 in malloc_printerr (action=<optimized out>, 
>    str=0x7ffff5ff7ea8 "munmap_chunk(): invalid pointer", ptr=<optimized
> out>)
>    at malloc.c:4996
> #4  0x00007ffff6802fd8 in -[GSPlaceholderString
> initWithBytesNoCopy:length:encoding:freeWhenDone:] (self=<optimized
> out>, _cmd=<optimized out>, 
>    bytes=0x7ffff6ac256d, length=0, encoding=<optimized out>, flag=0
> '\000')
>    at GSString.m:1363

Thanks ... easily diagnosed from the stacktrace ...  was freeing memory that it 
shouldn't have been freeing in the case when initialised with a zero length 
buffer.
Should be fixed in trunk.
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to