Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#15422 - [wmix] latest update breaks malloc.c ?
Attached to Project:
Arch Linux
Opened by Adrian Benson (abenson) - Tuesday, 07 July 2009, 07:57 GMT
Last edited by Allan McRae (Allan) - Friday, 10 July 2009, 04:19 GMT
Opened by Adrian Benson (abenson) - Tuesday, 07 July 2009, 07:57 GMT
Last edited by Allan McRae (Allan) - Friday, 10 July 2009, 04:19 GMT
|
DetailsDescription:
crashes of various packages due to some issue in malloc.c i.e binaries that link to /usr/lib/libc are dying Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: see e.g. at http://bbs.archlinux.org/viewtopic.php?pid=580120 also community/gdal - latest version and one I rebuilt from ABS error message: gdal_rasterize: malloc.c:3074: 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 |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 10 July 2009, 04:19 GMT
Reason for closing: Fixed
Additional comments about closing: wmix-3.1-4
Friday, 10 July 2009, 04:19 GMT
Reason for closing: Fixed
Additional comments about closing: wmix-3.1-4
Are you on i686?
Try to run with MALLOC_CHECK_=0 wmix
gcc-libs-4.4.0-4-i686 works fine here
gcc-lins-4.4.0-5-x86_64 works fine here
why gcc-libs? None os libs provided by gcc-libs are loaded for wmix.
can you provide a backtrace with debug symbols, also check md5sum of the DSO loaded by wmix. (post here)
Whichever lib provides malloc.
I am running x86_64 non-testing, since upgraded to testing
core/glibc 2.10.1-2 & 2.10.1-3
core/gcc-libs 4.4.0-4 & 4.4.0-5
error persists for both
First encountered this error with community/gdal, both the binary and a local rebuild
I have since installed wmix to test it and can confirm same error.
NB I don't care about wmix, it is just quick to compile
Via google there are only 3 instances of this error, all on Arch, all within the last 6 weeks, all involve glibc 2.10
http://www.google.co.nz/search?q=%22malloc.c%3A3074%22&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
I have also tried this on my latop (Arch64 non-testing) same errors
I rebuilt wmix with debug symbols
And have attached the gdb backtrace
PS Please don't be fooled into thinking I really know what I am doing here.
Attach files like in my previous post.
-rwxr-xr-x 1 root root 141446 2009-07-07 07:48 /lib/ld-2.10.1.so
lrwxrwxrwx 1 root root 20 2009-07-08 14:03 /lib/ld-linux.so.2 -> ld-linux-x86-32.so.2
lrwxrwxrwx 1 root root 28 2009-05-29 01:47 /lib/ld-linux-x86-32.so.2 -> /opt/lib32/lib/ld-linux.so.2
lrwxrwxrwx 1 root root 12 2009-07-07 07:48 /lib/ld-linux-x86-64.so.2 -> ld-2.10.1.so
OK, md5sum of the files are OK for x86_64.
What happens when run wmix with malloc check off as I said in the first comment ?
MALLOC_CHECK_=0 wmix
what is your locale? what happens if run under clean user? and under twm?
When I run, wmix with it crash :)
MALLOC_CHECK_=1 /usr/bin/wmix
*** glibc detected *** /usr/bin/wmix: free(): invalid pointer: 0x000000000168b030 ***
This is problem in the app.