[Samba] Segmentation Fault when trying to set root samba password, IPA as a backend

Garming Sam garming at catalyst.net.nz
Wed Mar 2 00:42:53 UTC 2016


It's basically a memory debugging tool available on Linux. It's a pretty
invaluable tool in diagnosing segfaults (as well as a number of other
memory issues) because it can tell you where you're accessing memory
you're not supposed to.

All you have to do is install the tool for your system and just run
`valgrind <program> <program args>`, basically just putting valgrind in
front of whatever you were doing before. It will produce some (likely
long) log of its findings, hopefully with all the line numbers from the
source code.

Cheers,

Garming

On 02/03/16 11:11, Rowland penny wrote:
> On 01/03/16 21:35, Garming Sam wrote:
>> Hi Rowland,
>>
>> This new segfault seems unrelated to the previous one. It's probably
>> something like a double free, which typically shouldn't be that hard to
>> fix. If you try running the tool under valgrind, it should provide
>> enough information to fix the issue.
>>
>>
>> Cheers,
>>
>> Garming
>>
>
> Who or what is 'valgrind' ?
> I know what a 'valvegrinder' is, but I don't think you mean this :-D
>
> Or to put it another way, How?
> I am quite prepared to try and get the required info, but somebody
> else is going to have to write the 'C' code.
>
> Rowland
>
>





More information about the samba mailing list