Re: Resize filters
[email protected] Mon, 23 May 2011 19:42:00 +0000
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
On Mon, May 23, 2011 at 02:40:24PM -0500, Bob Friesenhahn wrote: > On Mon, 23 May 2011, [email protected] wrote: >>> >>> Segmentation faults are likely your fault. However, it is wise to >>> invoke InitializeMagick(NULL) at the start of your program. >> >> InitializeMagick() was done. That the segfaults would turn out to be >> my fault wouldn't be surprising, but it's not yet obvious to me what >> needs repair. > > Add '-g -ggdb' to your build options in order to enable debugging and > then use GDB to debug the issue. Make sure that you have installed the > 'graphicsmagick-dbg' Ubuntu package so that you can see what is going on > inside GraphicsMagick. > > Use > > ulimit -c unlimited > > in your shell configuration in order to allow core dump files to be > created. > > Many people find Kdbg ('kdgb' Ubtuntu package) to provide a > user-friendly way to do debugging. I was not using -ggdb, and graphicsmagick-dbg. Thanks for the suggestions. -bch > Bob > -- > Bob Friesenhahn > [email protected], http://www.simplesystems.org/users/bfriesen/ > GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ -- Brad Harder Method Logic Digital Consulting http://methodlogic.net/ http://twitter.com/bcharder ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay