Yep, I am using DSO, but LD_PRELOAD didn't help

[dmitry@bio-york ~]# set LD_PRELOAD=/usr/lib/apache/libperl.so
[dmitry@bio-york ~]# gdb httpd
GNU gdb 4.18
This GDB was configured as "i386-redhat-linux"...
(gdb) run -X
Starting program: /usr/sbin/httpd -X
[Fri Jan 14 18:34:03 2000] [error] [asp] [3483] loaded 12 scripts

Program received signal SIGSEGV, Segmentation fault.
0x4043180b in boot_SDBM_File (cv=0x8aef3e8) at SDBM_File.c:267
267         dXSARGS;

Cheers
Dmitry

At 06:17 PM 1/14/00 , Daniel Jacobowitz wrote:
>This sounds like the same corruption problem that I talked about in my
>last message - could you try exporting LD_PRELOAD=/path/to/modperl.so?
>
>(I'm guessing from context that you're using a DSO - apologies for the
>non-sequitor if I'm wrong, I just got back on the list).
>
>On Fri, Jan 14, 2000 at 05:57:49PM -0800, Dmitry Beransky wrote:
> >
> > >I don't know about this, are you sure you copied over your
> > >new modperl httpd to /usr/local/apache after the build,
> > >and did a full stop / start, this is a common step overlooked
> > >by the best of us.
> >
> > Yes, I'm using the new build.  I've compiled perl with debugging turned on
> > and now gdb shows exactly where the problem occurs: line 267 of SDBM_File.c
> >

Reply via email to