Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 1999 16:20:32 +0100
From:      Damian Hamill <damian@cablenet.net>
To:        hackers@freebsd.org
Subject:   dlopen failure
Message-ID:  <373C3F3F.A99DBD28@cablenet.net>

next in thread | raw e-mail | index | archive | help
I have a program that is dumping core.  

-----------------------------------------------
Here's the gdb output;

Program terminated with signal 6, Abort trap.
#0  0x800b728 in _kill ()
(gdb) bt
#0  0x800b728 in _kill ()
#1  0x800b34c in abort ()
#2  0x8004aa2 in __assert ()
#3  0x8003b4b in map_object ()
#4  0x8002e9e in find_symdef ()
#5  0x800334d in dlopen ()
#6  0x8049a68 in Get_SQL_Driver (name=0x804c7e4 "mysql") at Vdb.c:150
#7  0x8049ff9 in GetDefaultDriver () at Vdb.c:254
#8  0x804a141 in VdbInit (user=0x804bfb1 "nobody", passwd=0x0) at
Vdb.c:329
#9  0x8049316 in main ()
#10 0x8048be5 in _start ()

-----------------------------------------------------
here's the output in the logfile identifying the assert failure;

May 14 16:11:26 venus qmail: 926694686.764722 delivery 21: deferral:
assertion_"u.hdr.e_phentsize_==_sizeof(Elf_Phdr)"_failed:_file_"/usr/src/libexec/rtld-elf/map_object.c",_line_118/Abort_trap_-_core_dumped/
May 14 16:11:26 venus qmail: 926694686.764952 status: local 4/10 remote
0/20

---------------------------------------------------------
here's my system;

FreeBSD venus.cablenet.net 3.1-RELEASE FreeBSD 3.1-RELEASE #1: Tue Apr
27 11:44:21 BST 1999    
root@server.cablenet.net:/usr/src/sys/compile/SERVER  i386

and

# cat /etc/objformat
OBJFORMAT=elf

---------------------------------------------------------
and here's the ld line for the shared object I am loading;

ld -Bshareable -o $@ $< -u _floor ../../lib/libV.a 
/usr/local/lib/mysql/libmysqlclient.a /usr/lib/libm.a

---------------------------------------------------

Does anyone know why I am getting this error ?

MTIA

regards
damian

*    Damian Hamill   M.D.       damian@cablenet.net
* CableNet & The Landscape Channel
* http://www.cablenet.net/   http://www.landscapetv.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?373C3F3F.A99DBD28>