From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 18 18:10:24 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B5D316A41F for ; Fri, 18 Nov 2005 18:10:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 101E443D73 for ; Fri, 18 Nov 2005 18:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAIIAILH060341 for ; Fri, 18 Nov 2005 18:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAIIAIsT060340; Fri, 18 Nov 2005 18:10:18 GMT (envelope-from gnats) Resent-Date: Fri, 18 Nov 2005 18:10:18 GMT Resent-Message-Id: <200511181810.jAIIAIsT060340@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Paul Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5DAA16A420 for ; Fri, 18 Nov 2005 18:05:41 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13E5A43D73 for ; Fri, 18 Nov 2005 18:05:32 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jAII5VdS055835 for ; Fri, 18 Nov 2005 18:05:31 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id jAII5V7D055834; Fri, 18 Nov 2005 18:05:31 GMT (envelope-from nobody) Message-Id: <200511181805.jAII5V7D055834@www.freebsd.org> Date: Fri, 18 Nov 2005 18:05:31 GMT From: Paul To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/89246: ImageMagick Core dumping on various utilities X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2005 18:10:24 -0000 >Number: 89246 >Category: ports >Synopsis: ImageMagick Core dumping on various utilities >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 18 18:10:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Paul >Release: 4.11-RELEASE-p11 >Organization: DataPipe >Environment: FreeBSD www.zumu.com 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Oct 13 22:15:41 GMT 2005 root@www.uselesscrap.com:/usr/obj/usr/src/sys/EASYADMIN-SMP i386 >Description: My clients are using ImagickMagick on their site to handle image manipulation through their web application. At certain times throughout the day, there upload fails. They then upload the same image again, and it works without error. A closer look at the files on the server revealed a couple of core files hanging around from the various utilities that are being executed. I have successfully compiled ImageMagick with symbols by editing the Makefile, by adding the following: .if defined(WITH_DEBUG) CPPFLAGS+= -g -ggdb3 -O0 .endif and compiling with: make install -DWITH_DEBUG Below is the output of my gdb sessions on the file. My knowledge of gdb isn't that great, so if there is anything more that is needed to attain from gdb or otherwise, please let me know. Also, if this is a known problem, I apologize, as I haven't seen anything yet relating to this problem. --------------------------------------------------------------------- www# gdb /usr/local/bin/mogrify ./mogrify.core GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... Core was generated by `mogrify'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libMagick.so.8...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dwarf2read.c li ne 3049 in dwarf2_read_section done. Reading symbols from /usr/local/lib/libjbig.so.1...done. Reading symbols from /usr/local/lib/liblcms.so.1...done. Reading symbols from /usr/local/lib/libtiff.so.4...done. Reading symbols from /usr/local/lib/libjasper.so.4...done. Reading symbols from /usr/local/lib/libjpeg.so.9...done. Reading symbols from /usr/local/lib/libpng.so.5...done. Reading symbols from /usr/local/lib/libfpx.so.1...done. Reading symbols from /usr/lib/libbz2.so.1...done. Reading symbols from /usr/local/lib/libxml2.so.5...done. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/local/lib/libltdl.so.4...done. Reading symbols from /usr/local/lib/libfreetype.so.9...done. ---Type to continue, or q to quit--- Reading symbols from /usr/lib/libz.so.2...done. Reading symbols from /usr/lib/libc.so.4...done. Reading symbols from /usr/lib/libstdc++.so.3...done. Reading symbols from /usr/local/lib/libiconv.so.3...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 InheritException (exception=0x31c4, relative=0xbfbff58c) at magick/exception.c:473 473 magick/exception.c: No such file or directory. (gdb) bt #0 InheritException (exception=0x31c4, relative=0xbfbff58c) at magick/exception.c:473 #1 0x281277e5 in MogrifyImageCommand (image_info=0x804c000, argc=4, argv=0x804a040, metadata=0x0, exception=0xbfbff58c) at magick/mogrify.c:2634 #2 0x80489e5 in __register_frame_info () #3 0x8048832 in __register_frame_info () ----------------------------------------------------------------------------- www# gdb /usr/local/bin/identify ./identify.core GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)... Core was generated by `identify'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libMagick.so.8...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dwarf2read.c line 3049 in dwarf2_read_section done. Reading symbols from /usr/local/lib/libjbig.so.1...done. Reading symbols from /usr/local/lib/liblcms.so.1...done. Reading symbols from /usr/local/lib/libtiff.so.4...done. Reading symbols from /usr/local/lib/libjasper.so.4...done. Reading symbols from /usr/local/lib/libjpeg.so.9...done. Reading symbols from /usr/local/lib/libpng.so.5...done. Reading symbols from /usr/local/lib/libfpx.so.1...done. Reading symbols from /usr/lib/libbz2.so.1...done. Reading symbols from /usr/local/lib/libxml2.so.5...done. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/local/lib/libltdl.so.4...done. Reading symbols from /usr/local/lib/libfreetype.so.9...done. Reading symbols from /usr/lib/libz.so.2...done. Reading symbols from /usr/lib/libc.so.4...done. Reading symbols from /usr/lib/libstdc++.so.3...done. Reading symbols from /usr/local/lib/libiconv.so.3...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 ResetTimer (time_info=0x16c) at magick/timer.c:271 271 magick/timer.c: No such file or directory. (gdb) bt #0 ResetTimer (time_info=0x16c) at magick/timer.c:271 #1 0x280c5fec in PingImage (image_info=0x8059000, exception=0x0) at magick/constitute.c:251 #2 0x2810fdc5 in IdentifyImageCommand (image_info=0x804c000, argc=4, argv=0x804a040, metadata=0xbfbff588, exception=0xbfbff58c) at magick/identify.c:1060 #3 0x8048a96 in __register_frame_info () #4 0x80488da in __register_frame_info () >How-To-Repeat: I'm not quite sure how to repeat this problem. One upload file, but another attempt at the same upload (i.e. same file) will work just fine. >Fix: Unknown >Release-Note: >Audit-Trail: >Unformatted: