segfault with modperl
Posted: 2011-02-24T08:46:35-07:00
Hi,
I'm getting a segfault when using ImageMagick with my modperl application. The segfault happens at server startup, after all of the perl initialization code has been run. If I comment out the "use Image::Magick" line, the application starts up.
Versions:
- perl 5.12.2
- httpd-2.2.17
- mod-perl 2.0.4
- ImageMagick-6.6.1-10
- Ubuntu 10.10 - 32 bit - 2.6.35-25-generic-pae - i686
Here is a stack trace from a core file:
#0 0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xb660bba6 in std::ios_base::Init::~Init() () from /usr/lib/libstdc++.so.6
#2 0xb763d69e in ?? () from /lib/libc.so.6
#3 0xb763d70f in exit () from /lib/libc.so.6
#4 0x080667ab in destroy_and_exit_process (process=0x9c6b130, process_exit_value=-1216971552)
at main.c:272
#5 0x080678a7 in main (argc=4, argv=0xbfb75854) at main.c:746
Let me know if I can provide any more information.
I'm getting a segfault when using ImageMagick with my modperl application. The segfault happens at server startup, after all of the perl initialization code has been run. If I comment out the "use Image::Magick" line, the application starts up.
Versions:
- perl 5.12.2
- httpd-2.2.17
- mod-perl 2.0.4
- ImageMagick-6.6.1-10
- Ubuntu 10.10 - 32 bit - 2.6.35-25-generic-pae - i686
Here is a stack trace from a core file:
#0 0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xb660bba6 in std::ios_base::Init::~Init() () from /usr/lib/libstdc++.so.6
#2 0xb763d69e in ?? () from /lib/libc.so.6
#3 0xb763d70f in exit () from /lib/libc.so.6
#4 0x080667ab in destroy_and_exit_process (process=0x9c6b130, process_exit_value=-1216971552)
at main.c:272
#5 0x080678a7 in main (argc=4, argv=0xbfb75854) at main.c:746
Let me know if I can provide any more information.