Bug 2842 - NET ADS JOIN Command Fails -> Glibc Change?
NET ADS JOIN Command Fails -> Glibc Change?
Product: Samba 3.0
Classification: Unclassified
Component: net utility
x86 Linux
: P3 normal
: none
Assigned To: Gerald (Jerry) Carter
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2005-06-30 13:37 UTC by Garth DAttilo
Modified: 2005-08-30 05:47 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Garth DAttilo 2005-06-30 13:37:10 UTC
Using Fedora Core 4, the net ads add command fails with the following error
(followed by the usual trace):
   *** glibc detected *** net: free(): invalid pointer: 0x004d27f0
======= Backtrace: =========
It looks like the repsonse to invalid 'free()' calls has changed. 
   You can get around this by manually setting MALLOC_CHECK to either 0 (ignore)
or 1 (report and continue) but that's not at all obvious at the outset. :-)

Garth D'Attilo
NCAR/ACD Systems Administrator
Comment 1 Garth DAttilo 2005-06-30 13:46:14 UTC
Hmmm... Looks like that should be "net ads join"...
Comment 2 Gerald (Jerry) Carter 2005-07-15 15:36:04 UTC
any chance of getting a backtrace with debug symbols 
(compile with --enable-debug)?  
Comment 3 Garth DAttilo 2005-07-25 12:59:41 UTC
Version 3.0.20pre2 compiled with --enable-debug. Debug level set to 10.
Everything seems to progress normally until this point.
Please let me know if you want the entire log file or if I have misunderstood
what you are asking for.

Thanks in advance,


[2005/07/21 17:54:28, 2] utils/net.c:main(897)
  return code = 0
*** glibc detected *** /usr/bin/net: free(): invalid pointer: 0x001c8db0 ***
======= Backtrace: =========
Comment 4 Gerald (Jerry) Carter 2005-07-25 13:02:51 UTC

I reproduce the same issue locally.  This looks like a 
bug in the kerberos libs which I think redhat will have to 
handle with the MIT folks.  I've copied Jay Fenlason at redaht
on this bug.
Comment 5 Gerald (Jerry) Carter 2005-08-30 05:47:23 UTC
This is a bug in the e2fsprogs on FC4.  Confirmed by RH developers.
Not our bug.