mainGnuTLS - Support: sr #108038, version 3.0.18 for windows 64 bit...

 
 

sr #108038: version 3.0.18 for windows 64 bit crashes during initialisation.

Submitter:  Bjørn Christensen <cybear>
Submitted:  Wed 25 Apr 2012 01:19:29 PM UTC
   
 
Category:  Extra library Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Operating System:  Microsoft Windows
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 26 Apr 2012 12:51:29 AM UTC, comment #4: 

Posted to the nettle-bugs mailing list.

Mann Ern Kang <mannern>
Wed 25 Apr 2012 03:29:35 PM UTC, comment #3: 

Ah, ok then. May I ask you to report it also to nettle?
http://www.lysator.liu.se/~nisse/nettle/

Nikos Mavrogiannopoulos <nmav>
Group administrator
Wed 25 Apr 2012 03:19:06 PM UTC, comment #2: 

I believe this is a different issue. The fix mentioned only corrects the parameter passing for the cpuid assembler code inside gnutls.

I came across this issue while building nettle for Windows x64 earlier on. This crash is actually due to the assembler code for aes inside nettle. The RNG for gnutls uses yarrow from nettle, which in turn uses some aes functions internally. Nettle has custom assembler code for aes, which after inspecting the .asm files, appears to support only the Linux calling convention on x86_64 (based on nettle 2.4).

As such, this seems to be more of a nettle problem rather than a gnutls one.

Cheers,
Mann Ern

Mann Ern Kang <mannern>
Wed 25 Apr 2012 02:40:24 PM UTC, comment #1: 
Nikos Mavrogiannopoulos <nmav>
Group administrator
Wed 25 Apr 2012 01:19:29 PM UTC, original submission:  

I have build gnutls version 3.0.18 using nettle version 2.4 and when I call gnutls_global_init() it calls _gnutls_rnd_init()  and deep down in --nettle_aes_encrypt() in file aes-encrypt-internal.s:123 I get a segmentation fault.

If I choose to build libnettle with the option --disable-assembler it works fine.

I have no clue what is wrong but I am fairly sure it is the assembler code, probably the calling convention.

I do not know if this is the right place to report this problem.

Bjørn Christensen <cybear>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mannern (Posted a comment)
  • -email is unavailable- added by nmav (Posted a comment)
  • -email is unavailable- added by cybear (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-03 nmav Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code