|
From: Bryan C. G. <br...@ra...> - 2013-11-18 22:25:54
|
> -----Original Message-----
> From: Bryan C. Geraghty [mailto:br...@ra...]
> Sent: Monday, November 18, 2013 4:08 PM
> To: 'Peter Pentchev'; 'ΜΑΝΩΛΗΣ ΡΑΓΚΟΥΣΗΣ'
> Cc: 'mha...@li...'
> Subject: RE: [Mhash-dev] keygen_test fails with Seg Fault
>
>> -----Original Message-----
>> From: Peter Pentchev [mailto:ro...@ri...]
>> Sent: Friday, November 15, 2013 6:02 PM
>> To: ΜΑΝΩΛΗΣ ΡΑΓΚΟΥΣΗΣ
>> Cc: mha...@li...
>> Subject: Re: [Mhash-dev] keygen_test fails with Seg Fault
>>
>> On Sat, Nov 16, 2013 at 12:03:13AM +0200, ΜΑΝΩΛΗΣ ΡΑΓΚΟΥΣΗΣ wrote:
>>> Good afternoon everyone
>>>
>>> While trying to compile mhash-0.9.9.9 , I get a seg fault error
>>> during the keygen test ,in make check procedure . The error is "*/bin/sh:
>>> line 4: 8384 Segmentation fault (core dumped) ${dir}$tst*". All the
>>> other tests are a pass!
>>>
>>> I tried with the previous version and still the same. What exactly is
>>> going wrong?
>>
>> What OS/platform are you running this on? Can you send the contents of the config.log file?
>
> I'm seeing the same error on my 64bit VM. I just did some quick debugging as a break from work and came up with this:
>
> (gdb) break 126
> Breakpoint 23 at 0x400cc9: file keygen_test.c, line 126.
> (gdb) break 127
> Breakpoint 24 at 0x400cd3: file keygen_test.c, line 127.
> (gdb) run
> The program being debugged has been started already.
> Start it from the beginning? (y or n) y
> Starting program: /home/bryan/Code/mhash/src/.libs/lt-keygen_test
>
> Breakpoint 23, main () at keygen_test.c:126
> 126 tmp = mutils_asciify(key, keysize);
> (gdb) c
> Continuing.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff78a3cbd in ?? () from /lib/libc.so.6
>
> I may have some more time to look into it tonight.
>
> Bryan
I was going to submit an issue and saw that the issue and a patch had already been submitted. This is now fixed.
Bryan
|