[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Call For Assistance #4 - slapd won't die gracefully, multiple versions.



Here's the bt full after issuing an ldapsearch transaction:

Script started on Sun Apr 18 10:10:23 2004
GNU gdb 6.1
Copyright 2004 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 "amd64-unknown-freebsd5.2.1".
(gdb) file /usr/ports/net/openldap22-server/work/openldap-2.2.8/servers/slapd/ .libs/slapd
Reading symbols from /usr/ports/net/openldap22-server/work/openldap-2.2.8/servers/slapd/ .libs/slapd...done.
(gdb) run -d 256
Starting program: /usr/ports/net/openldap22-server/work/openldap-2.2.8/servers/slapd/ .libs/slapd -d 256
@(#) $OpenLDAP: slapd 2.2.8 (Apr 17 2004 12:53:34) $
jlixfeld@eshara.ebit.ca:/usr/ports/net/openldap22-server/work/ openldap-2.2.8/servers/slapd
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
bdb_db_init: Initializing BDB database
slapd starting
conn=0 fd=15 ACCEPT from IP=127.0.0.1:39027 (IP=0.0.0.0:389)
conn=0 op=0 BIND dn="" method=128
conn=0 op=0 RESULT tag=97 err=0 text=
conn=0 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
conn=0 op=1 SRCH attr=namingContexts
conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
conn=0 op=2 UNBIND
conn=0 fd=15 closed


Program received signal SIGTERM, Terminated.
0x00000002014e669c in poll () from /lib/libc.so.5
(gdb) bt full
#0 0x00000002014e669c in poll () from /lib/libc.so.5
No symbol table info available.
#1 0x000000020137e5a9 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.5
No symbol table info available.
#2 0x000000020137dfe3 in _thread_kern_scheduler () from /usr/lib/libc_r.so.5
No symbol table info available.
#3 0x0000000000000000 in ?? ()
No symbol table info available.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
#5 0x000000000066d000 in ?? ()
No symbol table info available.
#6 0x00fc000000040010 in ?? ()
No symbol table info available.
#7 0x0000000000000000 in ?? ()
No symbol table info available.
#8 0x0000000000000000 in ?? ()
No symbol table info available.
#9 0x0000000000000000 in ?? ()
No symbol table info available.
#10 0x0000000000000000 in ?? ()
No symbol table info available.
#11 0x0000000000000000 in ?? ()
No symbol table info available.
#12 0x5f6461657268745f in ?? ()
No symbol table info available.
#13 0x006c616974696e69 in ?? ()
No symbol table info available.
#14 0x652e617261687365 in ?? ()
No symbol table info available.
#15 0x000061632e746962 in ?? ()
No symbol table info available.
#16 0x000000000068d000 in ?? ()
No symbol table info available.
#17 0x0000000000000000 in ?? ()
No symbol table info available.
#18 0x6d65744920494341 in ?? ()
No symbol table info available.
#19 0x0000000000000000 in ?? ()
No symbol table info available.
#20 0x000000007061646c in ?? ()
No symbol table info available.
#21 0x0000000000000000 in ?? ()
No symbol table info available.
#22 0x736f686c61636f6c in ?? ()
No symbol table info available.
#23 0x0000000000000074 in ?? ()
No symbol table info available.
#24 0x0000000000000000 in ?? ()
No symbol table info available.
#25 0x0000000000000000 in ?? ()
No symbol table info available.
#26 0x2f2f2f0045555254 in ?? ()
No symbol table info available.
#27 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#28 0x000000000066d0b0 in ?? ()
No symbol table info available.
#29 0x0000000000000000 in ?? ()
No symbol table info available.
#30 0x2f2f2f3a7061646c in ?? ()
No symbol table info available.
#31 0x0000000000000000 in ?? ()
No symbol table info available.
#32 0x0000000000668120 in ?? ()
No symbol table info available.
#33 0x000000000066d0c0 in ?? ()
No symbol table info available.
#34 0x0000000000668100 in ?? ()
No symbol table info available.
#35 0x000000000068c880 in ?? ()
No symbol table info available.
#36 0x0000000045555254 in ?? ()
No symbol table info available.
#37 0x0000000000000000 in ?? ()
No symbol table info available.
#38 0x000000000066d100 in ?? ()
No symbol table info available.
#39 0x0000000000000000 in ?? ()
No symbol table info available.
#40 0x0000000000668140 in ?? ()
No symbol table info available.
#41 0x000000000066d110 in ?? ()
No symbol table info available.
#42 0x5020737365636341 in ?? ()
No symbol table info available.
#43 0x00000000746e696f in ?? ()
No symbol table info available.
#44 0x0000000045555254 in ?? ()
No symbol table info available.
#45 0x0000000000000000 in ?? ()
No symbol table info available.
#46 0x000000000066d140 in ?? ()
No symbol table info available.
#47 0x0000000000000000 in ?? ()
No symbol table info available.
#48 0x00000000006681c0 in ?? ()
No symbol table info available.
#49 0x000000000066d150 in ?? ()
No symbol table info available.
#50 0x000000000066d160 in ?? ()
No symbol table info available.
#51 0x0000000000000000 in ?? ()
No symbol table info available.
#52 0x00000000006681a0 in ?? ()
No symbol table info available.
#53 0x000000000068c900 in ?? ()
No symbol table info available.
#54 0x0000000000668200 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#55 0x000000000068c980 in ?? ()
No symbol table info available.
#56 0x0000006f69647541 in ?? ()
No symbol table info available.
#57 0x0000000000000000 in ?? ()
No symbol table info available.
#58 0x0000000045555254 in ?? ()
No symbol table info available.
#59 0x0000000000000000 in ?? ()
No symbol table info available.
#60 0x000000000066d1b0 in ?? ()
No symbol table info available.
#61 0x0000000000000000 in ?? ()
No symbol table info available.
#62 0x0000000000668280 in ?? ()
No symbol table info available.
#63 0x000000000066d1c0 in ?? ()
No symbol table info available.
#64 0x000000000066d1d0 in ?? ()
No symbol table info available.
#65 0x0000000000000000 in ?? ()
No symbol table info available.
#66 0x0000000000668260 in ?? ()
No symbol table info available.
#67 0x000000000068ca00 in ?? ()
No symbol table info available.
#68 0x00007972616e6942 in ?? ()
No symbol table info available.
#69 0x0000000000000000 in ?? ()
No symbol table info available.
#70 0x0000000045555254 in ?? ()
No symbol table info available.
#71 0x0000000000000000 in ?? ()
No symbol table info available.
#72 0x000000000066d210 in ?? ()
No symbol table info available.
#73 0x0000000000000000 in ?? ()
No symbol table info available.
#74 0x00000000006682e0 in ?? ()
No symbol table info available.
#75 0x000000000066d220 in ?? ()
No symbol table info available.
#76 0x000000000066d230 in ?? ()
No symbol table info available.
#77 0x0000000000000000 in ?? ()
No symbol table info available.
#78 0x00000000006682c0 in ?? ()
No symbol table info available.
#79 0x000000000068ca80 in ?? ()
No symbol table info available.
#80 0x6972745320746942 in ?? ()
No symbol table info available.
#81 0x000000000000676e in ?? ()
No symbol table info available.
#82 0x0000000000668320 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#83 0x000000000068cb00 in ?? ()
No symbol table info available.
#84 0x006e61656c6f6f42 in ?? ()
No symbol table info available.
#85 0x0000000000000000 in ?? ()
No symbol table info available.
#86 0x0000000000668360 in ?? ()
No symbol table info available.
#87 0x000000000068cb80 in ?? ()
No symbol table info available.
#88 0x6369666974726543 in ?? ()
No symbol table info available.
#89 0x0000000000657461 in hbuf ()
No symbol table info available.
#90 0x0000000045555254 in ?? ()
No symbol table info available.
#91 0x0000000000000000 in ?? ()
No symbol table info available.
#92 0x000000000066d2b0 in ?? ()
No symbol table info available.
#93 0x0000000000000000 in ?? ()
No symbol table info available.
#94 0x00000000006683c0 in ?? ()
No symbol table info available.
#95 0x000000000066d2c0 in ?? ()
No symbol table info available.
#96 0x00000000006683a0 in ?? ()
No symbol table info available.
#97 0x000000000068cc00 in ?? ()
No symbol table info available.
#98 0x0000000045555254 in ?? ()
No symbol table info available.
#99 0x0000000000000000 in ?? ()
No symbol table info available.
#100 0x000000000066d2f0 in ?? ()
No symbol table info available.
#101 0x0000000000000000 in ?? ()
No symbol table info available.
#102 0x00000000006683e0 in ?? ()
No symbol table info available.
#103 0x000000000066d300 in ?? ()
No symbol table info available.
#104 0x0000000045555254 in ?? ()
No symbol table info available.
#105 0x0000000000000000 in ?? ()
No symbol table info available.
#106 0x000000000066d320 in ?? ()
No symbol table info available.
#107 0x0000000000000000 in ?? ()
No symbol table info available.
#108 0x0000000000668480 in ?? ()
No symbol table info available.
#109 0x000000000066d330 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#110 0x0000000000668440 in ?? ()
No symbol table info available.
#111 0x000000000068cc80 in ?? ()
No symbol table info available.
#112 0x0000000045555254 in ?? ()
No symbol table info available.
#113 0x0000000000000000 in ?? ()
No symbol table info available.
#114 0x000000000066d360 in ?? ()
No symbol table info available.
#115 0x0000000000000000 in ?? ()
No symbol table info available.
#116 0x00000000006684a0 in ?? ()
No symbol table info available.
#117 0x000000000066d370 in ?? ()
No symbol table info available.
#118 0x0000000045555254 in ?? ()
No symbol table info available.
#119 0x0000000000000000 in ?? ()
No symbol table info available.
#120 0x000000000066d390 in ?? ()
No symbol table info available.
#121 0x0000000000000000 in ?? ()
No symbol table info available.
#122 0x0000000000668540 in ?? ()
No symbol table info available.
#123 0x000000000066d3a0 in ?? ()
No symbol table info available.
#124 0x0000000000668500 in ?? ()
No symbol table info available.
#125 0x000000000068cd00 in ?? ()
No symbol table info available.
#126 0x0000000045555254 in ?? ()
No symbol table info available.
#127 0x0000000000000000 in ?? ()
No symbol table info available.
#128 0x000000000066d3d0 in ?? ()
No symbol table info available.
#129 0x0000000000000000 in ?? ()
No symbol table info available.
#130 0x0000000000668560 in ?? ()
No symbol table info available.
#131 0x000000000066d3e0 in ?? ()
No symbol table info available.
#132 0x207972746e756f43 in ?? ()
No symbol table info available.
#133 0x0000676e69727453 in ?? ()
No symbol table info available.
#134 0x00000000006685c0 in ?? ()
No symbol table info available.
#135 0x000000000068cd80 in ?? ()
No symbol table info available.
#136 0x0000000000668600 in ?? ()
No symbol table info available.
#137 0x000000000068ce00 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#138 0x6175512061746144 in ?? ()
No symbol table info available.
#139 0x000000007974696c in ?? ()
No symbol table info available.
#140 0x0000000000668660 in ?? ()
No symbol table info available.
#141 0x000000000068ce80 in ?? ()
No symbol table info available.
#142 0x79726576696c6544 in ?? ()
No symbol table info available.
#143 0x00646f6874654d20 in ?? ()
No symbol table info available.
#144 0x00000000006686a0 in ?? ()
No symbol table info available.
#145 0x000000000068cf00 in ?? ()
No symbol table info available.
#146 0x00000000006686e0 in ?? ()
No symbol table info available.
#147 0x000000000068cf80 in ?? ()
No symbol table info available.
#148 0x0000000000668740 in ?? ()
No symbol table info available.
#149 0x000000000068e000 in ?? ()
No symbol table info available.
#150 0x00000000006687c0 in ?? ()
No symbol table info available.
#151 0x000000000068e080 in ?? ()
No symbol table info available.
#152 0x6c61755120415344 in ?? ()
No symbol table info available.
#153 0x0000000000797469 in ?? ()
No symbol table info available.
#154 0x0000000000668820 in ?? ()
No symbol table info available.
#155 0x000000000068e100 in ?? ()
No symbol table info available.
#156 0x6570795420455344 in ?? ()
No symbol table info available.
#157 0x0000000000000000 in ?? ()
No symbol table info available.
#158 0x0000000000668860 in ?? ()
No symbol table info available.
#159 0x000000000068e180 in ?? ()
No symbol table info available.
#160 0x6465636e61686e45 in ?? ()
No symbol table info available.
#161 0x0000656469754720 in ?? ()
No symbol table info available.
#162 0x00000000006688a0 in ?? ()
No symbol table info available.
#163 0x000000000068e200 in ?? ()
No symbol table info available.
#164 0x00000000006688e0 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#165 0x000000000068e280 in ?? ()
No symbol table info available.
#166 0x0000000000786146 in ?? ()
No symbol table info available.
#167 0x0000000000000000 in ?? ()
No symbol table info available.
#168 0x0000000045555254 in ?? ()
No symbol table info available.
#169 0x0000000000000000 in ?? ()
No symbol table info available.
#170 0x000000000066d520 in ?? ()
No symbol table info available.
#171 0x0000000000000000 in ?? ()
No symbol table info available.
#172 0x0000000000668960 in ?? ()
No symbol table info available.
#173 0x000000000066d530 in ?? ()
No symbol table info available.
#174 0x000000000066d540 in ?? ()
No symbol table info available.
#175 0x0000000000000000 in ?? ()
No symbol table info available.
#176 0x0000000000668940 in ?? ()
No symbol table info available.
#177 0x000000000068e300 in ?? ()
No symbol table info available.
#178 0x00000000006689a0 in ?? ()
No symbol table info available.
#179 0x000000000068e380 in ?? ()
No symbol table info available.
#180 0x0000006564697547 in ?? ()
No symbol table info available.
#181 0x0000000000000000 in ?? ()
No symbol table info available.
#182 0x0000000000668a00 in ?? ()
No symbol table info available.
#183 0x000000000068e400 in ?? ()
No symbol table info available.
#184 0x6972745320354149 in ?? ()
No symbol table info available.
#185 0x000000000000676e in ?? ()
No symbol table info available.
#186 0x0000000000668a40 in ?? ()
No symbol table info available.
#187 0x000000000068e480 in ?? ()
No symbol table info available.
#188 0x0072656765746e49 in ?? ()
No symbol table info available.
#189 0x0000000000000000 in ?? ()
No symbol table info available.
#190 0x0000000000668a80 in ?? ()
No symbol table info available.
#191 0x000000000068e500 in ?? ()
No symbol table info available.
#192 0x000000004745504a in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#193 0x0000000000000000 in ?? ()
No symbol table info available.
#194 0x0000000045555254 in ?? ()
No symbol table info available.
#195 0x0000000000000000 in ?? ()
No symbol table info available.
#196 0x000000000066d5f0 in ?? ()
No symbol table info available.
#197 0x0000000000000000 in ?? ()
No symbol table info available.
#198 0x0000000000668ae0 in ?? ()
No symbol table info available.
#199 0x000000000066d600 in ?? ()
No symbol table info available.
#200 0x000000000066d610 in ?? ()
No symbol table info available.
#201 0x0000000000000000 in ?? ()
No symbol table info available.
#202 0x0000000000668ac0 in ?? ()
No symbol table info available.
#203 0x000000000068e580 in ?? ()
No symbol table info available.
#204 0x0000000000668b20 in ?? ()
No symbol table info available.
#205 0x000000000068e600 in ?? ()
No symbol table info available.
#206 0x0000000000668b80 in ?? ()
No symbol table info available.
#207 0x000000000068e680 in ?? ()
No symbol table info available.
#208 0x0000000000668be0 in ?? ()
No symbol table info available.
#209 0x000000000068e700 in ?? ()
No symbol table info available.
#210 0x657250206c69614d in ?? ()
No symbol table info available.
#211 0x0065636e65726566 in ?? ()
No symbol table info available.
#212 0x0000000000668c40 in ?? ()
No symbol table info available.
#213 0x000000000068e780 in ?? ()
No symbol table info available.
#214 0x4120524f2053484d in ?? ()
No symbol table info available.
#215 0x0000737365726464 in ?? ()
No symbol table info available.
#216 0x0000000000668c80 in ?? ()
No symbol table info available.
#217 0x000000000068e800 in ?? ()
No symbol table info available.
#218 0x0000000000668cc0 in ?? ()
No symbol table info available.
#219 0x000000000068e880 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#220 0x0000000000668d20 in ?? ()
No symbol table info available.
#221 0x000000000068e900 in ?? ()
No symbol table info available.
#222 0x20636972656d754e in ?? ()
No symbol table info available.
#223 0x0000676e69727453 in ?? ()
No symbol table info available.
#224 0x0000000000668d80 in ?? ()
No symbol table info available.
#225 0x000000000068e980 in ?? ()
No symbol table info available.
#226 0x0000000000668dc0 in ?? ()
No symbol table info available.
#227 0x000000000068ea00 in ?? ()
No symbol table info available.
#228 0x000000000044494f in parse_acl (be=Error accessing memory address 0xffffffffffffffea: Bad address.
) at aclparse.c:761
name = Error accessing memory address 0xfffffffffffffb5a: Bad address.
(gdb) quit
The program is running. Exit anyway? (y or n) y


Script done on Sun Apr 18 10:11:44 2004


On Apr 18, 2004, at 7:18 AM, Howard Chu wrote:

Either this binary was not threaded, or your version of gdb doesn't support
your threads library. A "bt full" at this point would still be interesting.


  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

-----Original Message-----
From: Jason Lixfeld [mailto:jason+lists.openldap@lixfeld.ca]

The first time I did have debugging symbols.  I did run from
the build
tree after compiling with -g but alas I did re-compile without -O.

Here's what was passed to configure from make:

configure:3141: cc -c -g -fPIC  -I/usr/local/include/db42
-D_THREAD_SAFE  -I/usr/local/include

Now then, here's my typescript:

Script started on Sat Apr 17 13:13:41 2004
GNU gdb 6.1
Copyright 2004 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 "amd64-unknown-freebsd5.2.1".
(gdb) file slapd
Reading symbols from slapd...done.
(gdb) run -d 256
Starting program:
/usr/ports/net/openldap22-server/work/openldap-2.2.8/servers/slapd/
.libs/slapd -d 256
@(#) $OpenLDAP: slapd 2.2.8 (Apr 17 2004 12:53:34) $

jlixfeld@eshara.ebit.ca:/usr/ports/net/openldap22-server/work/
openldap
-2.2.8/servers/slapd
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52:
(December  3,
2003)
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52:
(December  3,
2003)
bdb_db_init: Initializing BDB database
slapd starting
conn=0 fd=15 ACCEPT from IP=127.0.0.1:44636 (IP=0.0.0.0:389)
conn=0 op=0 BIND dn="" method=128
conn=0 op=0 RESULT tag=97 err=0 text=
conn=0 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
conn=0 op=1 SRCH attr=namingContexts
conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
conn=0 op=2 UNBIND
conn=0 fd=15 closed

Program received signal SIGINT, Interrupt.
0x00000002014e669c in poll () from /lib/libc.so.5
(gdb) info threads
(gdb) thread apply all bt
(gdb) quit
The program is running.  Exit anyway? (y or n) y