Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authentication works but search crashes #2

Open
dewboy3d opened this issue Mar 29, 2011 · 1 comment
Open

authentication works but search crashes #2

dewboy3d opened this issue Mar 29, 2011 · 1 comment

Comments

@dewboy3d
Copy link

Note: this is on 1686 machine. I did build the module on the machine.

node version: v0.3.2-pre

When I run the example script, with my credentials and server info, it authenticates fine but then crashes with the following on a search....

node example.js

Auth: true
*** glibc detected *** node: double free or corruption (out): 0x0a55c110 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7c06704]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb7c086b6]
/usr/lib/liblber-2.4.so.2(ber_memfree_x+0x50)[0xb521fe50]
/usr/lib/liblber-2.4.so.2(ber_free+0x34)[0xb521e854]
/home/tfrohe/node-ldapauth/ldapauth.node[0xb5272f93]
/home/tfrohe/node-ldapauth/ldapauth.node[0xb527307d]
node[0x816db05]
node(eio_poll+0x16b)[0x816dceb]
node[0x813a02b]
node(ev_invoke_pending+0x53)[0x8170b73]
node(ev_run+0x88c)[0x817528c]
node(_ZN4node5StartEiPPc+0x594)[0x813d0f4]
node(main+0x22)[0x81395d2]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7bad775]
node[0x8139511]
======= Memory map: ========
08048000-08510000 r-xp 00000000 fc:00 1499218 /home/tfrohe/local/bin/node
08510000-08511000 r--p 004c7000 fc:00 1499218 /home/tfrohe/local/bin/node
08511000-08516000 rw-p 004c8000 fc:00 1499218 /home/tfrohe/local/bin/node
08516000-0852e000 rw-p 08516000 00:00 0
0a514000-0a5d9000 rw-p 0a514000 00:00 0 [heap]
b4ef4000-b4f00000 rwxp b4ef4000 00:00 0
b4f00000-b4f30000 rw-p b4f00000 00:00 0
b4f30000-b5000000 ---p b4f30000 00:00 0
b5009000-b5080000 rw-p b5009000 00:00 0
b5080000-b50a0000 rwxp b5080000 00:00 0
b50a0000-b50aa000 r-xp 00000000 fc:00 508091 /lib/tls/i686/cmov/libnss_files-2.9.so
b50aa000-b50ab000 r--p 00009000 fc:00 508091 /lib/tls/i686/cmov/libnss_files-2.9.so
b50ab000-b50ac000 rw-p 0000a000 fc:00 508091 /lib/tls/i686/cmov/libnss_files-2.9.so
b50ac000-b50ad000 ---p b50ac000 00:00 0
b50ad000-b50bd000 rw-p b50ad000 00:00 0
b50bd000-b50be000 ---p b50bd000 00:00 0
b50be000-b50ce000 rw-p b50be000 00:00 0
b50ce000-b50d1000 r-xp 00000000 fc:00 508159 /lib/libgpg-error.so.0.3.0
b50d1000-b50d2000 rw-p 00002000 fc:00 508159 /lib/libgpg-error.so.0.3.0
b50d2000-b5138000 r-xp 00000000 fc:00 508157 /lib/libgcrypt.so.11.4.4
b5138000-b5139000 r--p 00065000 fc:00 508157 /lib/libgcrypt.so.11.4.4
b5139000-b513b000 rw-p 00066000 fc:00 508157 /lib/libgcrypt.so.11.4.4
b513b000-b514b000 r-xp 00000000 fc:00 215537 /usr/lib/libtasn1.so.3.0.16
b514b000-b514c000 r--p 0000f000 fc:00 215537 /usr/lib/libtasn1.so.3.0.16
b514c000-b514d000 rw-p 00010000 fc:00 215537 /usr/lib/libtasn1.so.3.0.16
b514d000-b51e4000 r-xp 00000000 fc:00 215341 /usr/lib/libgnutls.so.26.4.6
b51e4000-b51e9000 r--p 00097000 fc:00 215341 /usr/lib/libgnutls.so.26.4.6
b51e9000-b51ea000 rw-p 0009c000 fc:00 215341 /usr/lib/libgnutls.so.26.4.6
b51ea000-b51fc000 r-xp 00000000 fc:00 508101 /lib/tls/i686/cmov/libresolv-2.9.so
b51fc000-b51fd000 r--p 00011000 fc:00 508101 /lib/tls/i686/cmov/libresolv-2.9.so
b51fd000-b51fe000 rw-p 00012000 fc:00 508101 /lib/tls/i686/cmov/libresolv-2.9.so
b51fe000-b5200000 rw-p b51fe000 00:00 0
b5200000-b5216000 r-xp 00000000 fc:00 215374 /usr/lib/libsasl2.so.2.0.22
b5216000-b5217000 r--p 00015000 fc:00 215374 /usr/lib/libsasl2.so.2.0.22
b5217000-b5218000 rw-p 00016000 fc:00 215374 /usr/lib/libsasl2.so.2.0.22
b5218000-b5224000 r-xp 00000000 fc:00 1419910 /usr/lib/liblber-2.4.so.2.4.1
b5224000-b5225000 r--p 0000b000 fc:00 1419910 /usr/lib/liblber-2.4.so.2.4.1
b5225000-b5226000 rw-p 0000c000 fc:00 1419910 /usr/lib/liblber-2.4.so.2.4.1
b5226000-b5266000 r-xp 00000000 fc:00 1419911 /usr/lib/libldap_r-2.4.so.2.4.1
b5266000-b5267000 ---p 00040000 fc:00 1419911 /usr/lib/libldap_r-2.4.so.2.4.1
b5267000-b5268000 r--p 00040000 fc:00 1419911 /usr/lib/libldap_r-2.4.so.2.4.1
b5268000-b5269000 rw-p 00041000 fc:00 1419911 /usr/lib/libldap_r-2.4.so.2.4.1
b5269000-b526a000 rw-p b5269000 00:00 0
b526a000-b5278000 r-xp 00000000 fc:00 1263835 /home/tfrohe/node-ldapauth/ldapauth.node
b5278000-b5279000 r--p 0000d000 fc:00 1263835 /home/tfrohe/node-ldapauth/ldapauth.node
b5279000-b527a000 rw-p 0000e000 fc:00 1263835 /home/tfrohe/node-ldapauth/ldapauth.node
b527a000-b529c000 rwxp b527a000 00:00 0
b529c000-b52bc000 rw-p b529c000 00:00 0
b52bc000-b52bd000 ---p b52bc000 00:00 0
b52bd000-b5b1f000 rw-p b52bd000 00:00 0
b5b1f000-b5b3f000 rwxp b5b1f000 00:00 0
b5b3f000-b5b7f000 rw-p b5b3f000 00:00 0
b5b7f000-b6000000 ---p b5b7f000 00:00 0
b6000000-b6080000 rw-p b6000000 00:00 0
b6080000-b6800000 ---p b6080000 00:00 0
b6800000-b6880000 rw-p b6800000 00:00 0
b6880000-b7b7f000 ---p b6880000 00:00 0
b7b7f000-b7b81000 rw-p b7b7f000 00:00 0
b7b81000-b7b95000 r-xp 00000000 fc:00 508043 /lib/libz.so.1.2.3.3
b7b95000-b7b96000 r--p 00013000 fc:00 508043 /lib/libz.so.1.2.3.3
b7b96000-b7b97000 rw-p 00014000 fc:00 508043 /lib/libz.so.1.2.3.3
b7b97000-b7cf3000 r-xp 00000000 fc:00 508012 /lib/tls/i686/cmov/libc-2.9.so
b7cf3000-b7cf4000 ---p 0015c000 fc:00 508012 /liAborted

@joelash
Copy link
Collaborator

joelash commented Sep 9, 2011

this should be taken care of with the latest code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants