FS#11251 - Some programs chrash munmap_chunk()

Attached to Project: Arch Linux
Opened by Florian Pritz (bluewind) - Monday, 18 August 2008, 13:30 GMT
Last edited by Aaron Griffin (phrakture) - Wednesday, 04 February 2009, 18:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture i686
Severity High
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Some programs chrash with the following output:
*** glibc detected *** import: munmap_chunk(): invalid pointer: 0x0a18f4d4 ***

Additional info:
Before reinstalling leafpad and mousepad (maybe others too) chrashed. Now I'm only aware of import chrashing AFTER it save the screenshot.
Import-crash confirmed on i686 with/without testing enabled.

Steps to reproduce:
"import" in a terminal.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Wednesday, 04 February 2009, 18:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  ImageMagick 6.4.8.1
Comment by Thorsten Töpper (Atsutane) - Monday, 18 August 2008, 13:48 GMT
Same goes here with import. Tested with my PC and the Laptop, both i686 without testing.
Comment by Andreas Radke (AndyRTR) - Monday, 18 August 2008, 15:13 GMT
not a glibc bug. probably a bug in imagemagicks import application.

http://www.google.de/search?hl=de&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=b9Q&q=imagemagick+import+munmap_chunk()%3A+invalid+pointer&btnG=Suche&meta=

reassigning to the imagemagick maintainer...
Comment by Eric Belanger (Snowman) - Wednesday, 20 August 2008, 06:08 GMT
I can't reproduce it here. For my test, I ran 'import' and 'import -window root test.png' on my i686 and x86_64 system.

I've updated imagemagick to the latest version: imagemagick-6.4.2.10-1. Please update and retest. Post the result here.
Comment by Florian Pritz (bluewind) - Wednesday, 20 August 2008, 07:58 GMT
Not fix with the newest version.

Maybe the output helps you.
Comment by Jan de Groot (JGC) - Sunday, 12 October 2008, 12:46 GMT
Works fine here with the current version of imagemagick (i686).
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 21:30 GMT
What's the status of this issue?
Comment by Florian Pritz (bluewind) - Friday, 05 December 2008, 21:35 GMT
Doesn't yet work here. I'm currently on arch64.
Comment by Jan de Groot (JGC) - Friday, 05 December 2008, 21:44 GMT
Works fine here, both amd64 and i686. Do you have some self-compiled installation of imagemagick around?
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 21:46 GMT
I cannot reproduce this problem here as well on i686. Ran import /tmp/test and selected a region of my screen, and the screencapture was correctly created.
Comment by Florian Pritz (bluewind) - Friday, 05 December 2008, 21:50 GMT
No I'm using the repo pkg 6.4.6.3-1.
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 21:52 GMT
Interesting. Can you compile the package on your machine, but disable any optimizations? So in /etc/makepkg.conf the compiler lines look like this:

CFLAGS="-O0 -march=i686 -mtune=generic -pipe"
CXXFLAGS="-O0 -march=i686 -mtune=generic -pipe"
Comment by Florian Pritz (bluewind) - Friday, 05 December 2008, 22:13 GMT
Doesn't help :(
Comment by Florian Pritz (bluewind) - Friday, 09 January 2009, 13:56 GMT
I added !strip to the options in the PKGBUILD, rebuilt the package and hunt it through gdb. Hopefully this helps.
   gdb.txt (12.8 KiB)

Loading...