dll core dump ...

From: Loy D'Souza <lds_at_potomac.wash.inmet.com>
Date: Mon, 23 Jan 1995 10:50:45 -0500 (EST)

Hi!

 I have consistently got a core dump when i have tried to dynamically
load 2 or more object (.so) files. This is on a solaris 2.3 running
STk-2.1.5, Following is the stack trace (courtesy gdb).

#0 0xef7e55bc in globenv ()
#1 0xc in ?? ()
#2 0xef7e53b4 in globenv ()
#3 0x47cbc in load_and_call (
    path=0xefffe438 "/projects/pape/development/STk/Extensions/pdm.so",
    fct_name=0xefffdf08 "init_pdm") at dynload.c:138
#4 0x47fec in load_object_file (
    path=0xefffe438 "/projects/pape/development/STk/Extensions/pdm.so")
    at dynload.c:219
#5 0x2c0e0 in do_load (
    full_name=0xefffe438 "/projects/pape/development/STk/Extensions/pdm.so")
    at port.c:160
#6 0x2c290 in try_loadfile (
    prefix=0x12af00 "/projects/pape/development/STk/Extensions",
    fname=0x1579f0 "pdm.so", suffixes=0xef3f8) at port.c:201
#7 0x2c76c in loadfile (fname=0x1579f0 "pdm.so", err_if_absent=1)
    at port.c:250
#8 0x2d64c in scheme_load (filename=0x106870) at port.c:452
#9 0x3fdd0 in leval (x=0x106888, env=0xdf2f0) at eval.c:210
#10 0x445a0 in syntax_begin (pform=0xefffe80c, env=0xdf2f0) at syntax.c:259
#11 0x407d0 in leval (x=0x1068b8, env=0xdf2f0) at eval.c:247
#12 0x2c178 in do_load (
    full_name=0xefffe8e8 "/projects/pape/development/STk/Lib/pdm.stk")

My work around for now is to statically link each obj file. Would
appreciate any other better solutions than this.

Loy
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				Loy M. D'Souza
Intermetrics, Inc.				      Email: lds_at_wash.inmet.com
7918 Jones Branch Drive, #710			      Phone: (703) 827 2606
McLean, VA 22102				      Fax:   (703) 827 5560
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Received on Mon Jan 23 1995 - 16:51:16 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST