Subject: Re: coldfusion (undefined symbol)
To: Hubert Feyrer <hubert@feyrer.de>
From: User Noud <noud@knot.nl>
List: tech-pkg
Date: 12/19/2000 10:57:28
cfserver's log shows me:

new# cat server.log
Error: performing semget() on ColdFusion Registry semaphore:File exists
new# 

gdb shows me:

new# gdb cfserver ../log/cfserver.core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsd"...(no debugging symbols found)...
Core was generated by `cfserver'.
Program terminated with signal 6, Abort trap.
/lib/libdl.so.2: No such file or directory.
#0  0x48a83c11 in ?? ()/lib/libpthread.so.0: No such file or directory.
(gdb) 

i copy /usr/pkg/emul/linux/lib to /lib
i copy /usr/pkg/emul/linux/usr/lib/libstdc++-libc6.1-1.so.2 to /usr/lib.

start and look w/ gdb ..:

new# gdb cfserver ../log/cfserver.core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsd"...(no debugging symbols found)...
Core was generated by `cfserver'.
Program terminated with signal 6, Abort trap.
find_solib: Can't read pathname for load map: Input/output error

#0  0x48a83c11 in ?? () from /lib/libc.so.6
(gdb) bt
#0  0x48a83c11 in ?? () from /lib/libc.so.6
#1  0x489fba40 in ?? () from /lib/libpthread.so.0
#2  0x48a85053 in ?? () from /lib/libc.so.6
#3  0x4898d192 in ?? () from /usr/lib/coldfusion/libporting.so
#4  0x4899eb1a in ?? () from /usr/lib/coldfusion/libporting.so
#5  0x489909ad in ?? () from /usr/lib/coldfusion/libporting.so
#6  0x81e3c3d in CASResourceLoader::GetSize ()
#7  0x81e3cfe in CASResourceLoader::GetSize ()
#8  0x81e3d35 in CResourcePath::getLexTablePath ()
#9  0x827749d in
makeLower__H1Zt12basic_string3ZcZt11char_traits1ZcZt9allocator1Zc_RX01_v ()
#10 0x8277440 in
makeLower__H1Zt12basic_string3ZcZt11char_traits1ZcZt9allocator1Zc_RX01_v ()
#11 0x827745c in
makeLower__H1Zt12basic_string3ZcZt11char_traits1ZcZt9allocator1Zc_RX01_v ()
#12 0x81b5a51 in createXMLDataGrove ()
#13 0x81f2346 in CRegExp::Match ()
#14 0x80722a6 in _init ()
#15 0x48a7d2d8 in ?? () from /lib/libc.so.6
(gdb)

i don't know what's the "find_solib: Can't read pathname for load map:
Input/output error" means. is it that gdb expects more then
libstdc++-libc6.1-1.so.2 in /usr/lib?
nor do i have experience anough w/ gdb.

Hubert mentioned i'll have to ktrace. will try that now.
~n