Bluehost.com Web Hosting $6.95

[Samba] my first samba set-up gives me a headache

This is a discussion on [Samba] my first samba set-up gives me a headache within the Samba forums, part of the Networking and Network Related category; [root@amsdev-dv09 samba]# valgrind --tool=memcheck net ads info -U atcapacci ==8483== Memcheck, a memory error detector. ==8483== Copyright (...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 07-18-2008
Thomas Vito
 
Posts: n/a
Default Re : Re : Re : Re : [Samba] my first samba set-up gives me a headache

[root@amsdev-dv09 samba]# valgrind --tool=memcheck net ads info -U atcapacci
==8483== Memcheck, a memory error detector.
==8483== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==8483== Using LibVEX rev 1658, a library for dynamic binary translation.
==8483== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==8483== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==8483== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==8483== For more details, rerun with: -v
==8483==
atcapacci's password:
LDAP server: 10.130.12.100
LDAP server name: AMSTERDAM-DC01.eu.acme.com
Realm: EU.acme.COM
Bind Path: dc=EU,dc=acme,dc=COM
LDAP port: 389
Server time: Fri, 18 Jul 2008 15:32:54 CEST
KDC server: 10.130.12.100
Server time offset: 0
==8483==
==8483== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 46 from 1)
==8483== malloc/free: in use at exit: 341,160 bytes in 406 blocks.
==8483== malloc/free: 2,133 allocs, 1,727 frees, 567,837 bytes allocated.
==8483== For counts of detected errors, rerun with: -v
==8483== searching for pointers to 406 not-freed blocks.
==8483== checked 666,924 bytes.
==8483==
==8483== LEAK SUMMARY:
==8483== definitely lost: 9,426 bytes in 179 blocks.
==8483== possibly lost: 0 bytes in 0 blocks.
==8483== still reachable: 331,734 bytes in 227 blocks.
==8483== suppressed: 0 bytes in 0 blocks.
==8483== Use --leak-check=full to see details of leaked memory.


2008/7/18, Volker Lendecke <Volker.Lendecke@sernet.de>:
> On Fri, Jul 18, 2008 at 02:58:37PM +0200, Thomas Vito wrote:
>> in gdb the command exits normally:

>
> Weird... Next try: Run it under valgrind --tool=memcheck and
> send the output?
>
> Volker
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #12 (permalink)  
Old 07-18-2008
Volker Lendecke
 
Posts: n/a
Default Re: Re : Re : Re : Re : [Samba] my first samba set-up gives me aheadache

On Fri, Jul 18, 2008 at 03:34:14PM +0200, Thomas Vito wrote:
> [root@amsdev-dv09 samba]# valgrind --tool=memcheck net ads info -U atcapacci
> ==8483== Memcheck, a memory error detector.
> ==8483== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
> ==8483== Using LibVEX rev 1658, a library for dynamic binary translation.
> ==8483== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
> ==8483== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
> ==8483== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
> ==8483== For more details, rerun with: -v
> ==8483==
> atcapacci's password:
> LDAP server: 10.130.12.100
> LDAP server name: AMSTERDAM-DC01.eu.acme.com
> Realm: EU.acme.COM
> Bind Path: dc=EU,dc=acme,dc=COM
> LDAP port: 389
> Server time: Fri, 18 Jul 2008 15:32:54 CEST
> KDC server: 10.130.12.100
> Server time offset: 0
> ==8483==
> ==8483== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 46 from 1)


That also looks fine. Now I'm a bit lost. If it runs fine
under gdb and valgrind but crashes if run plain, then the
only way to catch this is to instrument the source code with
additional debug statements. This however becomes a bit more
difficult, you would have to install the RHEL source RPM,
rebuild it and edit the source files that are hopefully left
under /usr/src/redhat/BUILD.

Sorry, from here on you're a bit on your own. But as you
probably have RHEL support, maybe they can help you.

Volker

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFIgJ4VUzqjrWwMRl0RAhEHAJ41ajNL4PmoI4W5fkgoAj UBA8UVMQCgm0zz
ruMN2EeTdo4YbMl1mnvI60o=
=QSK3
-----END PGP SIGNATURE-----

Reply With Quote
  #13 (permalink)  
Old 07-18-2008
Thomas Vito
 
Posts: n/a
Default Re : Re : Re : Re : Re : [Samba] my first samba set-up gives me aheadache

Thanks anyway i am going to open a case to see if they come up with
suggestions and will eventually post them here.

Cheers

2008/7/18, Volker Lendecke <Volker.Lendecke@sernet.de>:
> On Fri, Jul 18, 2008 at 03:34:14PM +0200, Thomas Vito wrote:
>> [root@amsdev-dv09 samba]# valgrind --tool=memcheck net ads info -U
>> atcapacci
>> ==8483== Memcheck, a memory error detector.
>> ==8483== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
>> ==8483== Using LibVEX rev 1658, a library for dynamic binary translation.
>> ==8483== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
>> ==8483== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
>> ==8483== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
>> ==8483== For more details, rerun with: -v
>> ==8483==
>> atcapacci's password:
>> LDAP server: 10.130.12.100
>> LDAP server name: AMSTERDAM-DC01.eu.acme.com
>> Realm: EU.acme.COM
>> Bind Path: dc=EU,dc=acme,dc=COM
>> LDAP port: 389
>> Server time: Fri, 18 Jul 2008 15:32:54 CEST
>> KDC server: 10.130.12.100
>> Server time offset: 0
>> ==8483==
>> ==8483== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 46 from 1)

>
> That also looks fine. Now I'm a bit lost. If it runs fine
> under gdb and valgrind but crashes if run plain, then the
> only way to catch this is to instrument the source code with
> additional debug statements. This however becomes a bit more
> difficult, you would have to install the RHEL source RPM,
> rebuild it and edit the source files that are hopefully left
> under /usr/src/redhat/BUILD.
>
> Sorry, from here on you're a bit on your own. But as you
> probably have RHEL support, maybe they can help you.
>
> Volker
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0