pthread_mutex_lock oracle internet directory core dump

From: Cram TeXeD <texed75_at_NO-SPAM.yahoo.com>
Date: Fri, 15 Nov 2002 17:45:44 +0100
Message-ID: <kt8atu43m8cchdsv91smndpoiud82c1u15_at_4ax.com>



Hello.
I'm new to OID.
I just want to run the samplesearch.c from the SDK I have succed to compile it, but when I run it, I get a coredump

Here extract from dbg report.
"
Program received signal SIGSEGV, Segmentation fault. 0x407b0d87 in pthread_mutex_lock () from /lib/libpthread.so.0 (gdb) where
#0 0x407b0d87 in pthread_mutex_lock () from /lib/libpthread.so.0
#1 0x408414b8 in free () from /lib/libc.so.6
#2 0x08052f94 in print_entry (ld=0x4092652c, entry=0x40922300,
attrsonly=0) at samplesearch.c:482
#3 0x08052d11 in dosearch (ld=0x4092652c, base=0x807c8d0 "c=fr",
scope=1, attrs=0x0, attrsonly=0,

    filtpatt=0x807c8e0 "objectclass=*", value=0x8075507 "") at samplesearch.c:417
#4 0x08052a87 in main (argc=10, argv=0xbffecad4) at
samplesearch.c:354
#5 0x407dc727 in __libc_start_main () from /lib/libc.so.6
(gdb) list 354

349             }
350             putchar( '\n' );
351         }
352
353         if ( infile == NULL ) {
354             rc = dosearch( ld, base, scope, attrs, attrsonly,
filtpattern, "" );
355         } else {
356             rc = 0;
357             first = 1;
358             while ( rc == 0 && fgets( line, sizeof( line ), fp )
!= NULL ) { "

I use Redhat 7.3 and 9iAS 9.0.2

Here somebody who get this ?

Thank a lot

Cram TeXeD Received on Fri Nov 15 2002 - 17:45:44 CET

Original text of this message