Bug#628583: srtp: fails to build from source on sparc: bus error in cipher_test

2011-06-14 Thread Jonas Smedegaard
severity 628583 important
tags 628583 help
thanks

On 11-06-14 at 02:35pm, Alexander Kurtz wrote:
> On Thu, 2011-06-09 at 11:11 +0200, Jonas Smedegaard wrote:
> > package srtp
> > severity 628583 important
> > tags 628583 help
> > thanks
> 
> For some reason this didn't work the way it was probably supposed to.
> See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628583

Ahh - thanks for spotting.

Hopefully works this time.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: Digital signature


Bug#628583: srtp: fails to build from source on sparc: bus error in cipher_test

2011-06-09 Thread Jonas Smedegaard
package srtp
severity 628583 important
tags 628583 help
thanks

On 11-05-30 at 12:55pm, Tzafrir Cohen wrote:
> Source: srtp
> Version: 1.4.4~dfsg-7
> Justification: fails to build from source
> Severity: serious
> 
> 'make runtests' fails with a bus error at running
> 
>   ./crypto/tests/cipher_driver -v
> 
> The null cipher works fine. aes_icm causes the bus error.
> 
> Same error seems to be present in all past versions:
> https://buildd.debian.org/status/logs.php?pkg=srtp&arch=sparc

I believe that FTBFS is only serious when a regression - i.e. when it 
has previously succeeded to build for same architecture.

I therefore lower severity to not have this still progress of srtp for 
other architectures.

Help solving this is much appreciated!


Kind regards,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: Digital signature


Bug#628583: srtp: fails to build from source on sparc: bus error in cipher_test

2011-05-30 Thread Tzafrir Cohen
Source: srtp
Version: 1.4.4~dfsg-7
Justification: fails to build from source
Severity: serious

'make runtests' fails with a bus error at running

  ./crypto/tests/cipher_driver -v

The null cipher works fine. aes_icm causes the bus error.

Same error seems to be present in all past versions:
https://buildd.debian.org/status/logs.php?pkg=srtp&arch=sparc

This can be reproduced by running it from the build tree.

Backtrace:

(gdb bt
#0  aes_encrypt (plaintext=0x3204c, exp_key=0x3205c)
at crypto/cipher/aes.c:1916
#1  0x000162c4 in aes_icm_advance_ismacryp (c=0x3202c,
buf=, enc_len=0xd4c0, forIsmacryp=0)
at crypto/cipher/aes_icm.c:290
#2  aes_icm_encrypt_ismacryp (c=0x3202c, buf=,
enc_len=0xd4c0, forIsmacryp=0) at crypto/cipher/aes_icm.c:372
#3  0x000147b8 in cipher_type_self_test (ct=0x301c8)
at crypto/cipher/cipher.c:148
#4  0x000137b4 in cipher_driver_self_test (argc=2, argv=0xd824)
at crypto/test/cipher_driver.c:243
#5  main (argc=2, argv=0xd824) at crypto/test/cipher_driver.c:178


(gdb) bt full
#0  aes_encrypt (plaintext=0x3204c, exp_key=0x3205c)
at crypto/cipher/aes.c:1916
No locals.
#1  0x000162c4 in aes_icm_advance_ismacryp (c=0x3202c,
buf=, enc_len=0xd4c0, forIsmacryp=0)
at crypto/cipher/aes_icm.c:290
No locals.
#2  aes_icm_encrypt_ismacryp (c=0x3202c, buf=,
enc_len=0xd4c0, forIsmacryp=0) at crypto/cipher/aes_icm.c:372
bytes_to_encr = 32
i = 0
#3  0x000147b8 in cipher_type_self_test (ct=0x301c8)
at crypto/cipher/cipher.c:148
test_case = 0x301a8
c = 0x32020
status = err_status_ok
buffer = '\000' , 
"(\353\325\376\354\371\232\253\fܹ\222\003<\371\070S\240\222`\030\261\326=k\250\355q\247\230@d",
'\000' "\367, 
\372p\000\000\000\000\002\377\377\330$\000\001\313\b", '\000' "\377, \377\325\350\367\356\373\274\000\000\000\000\000\000\000"
buffer2 = 
"ā\342\372!\362\034\362\306{\206\234\356u\363\027\237\005\023\321)\204\\\234\374\376\006ڿ\n\024Y(\353\325\376\354\371\232\253\fܹ\222\003<\371\070S\240\222`\030\261\326=k\250\355q\247\230@",
 '\000' "\367, 
\372p\000\000\000\000\002\377\377\330$\000\001\313\b", '\000' "\367, \350ր\367\372\215 
\377\377\325@\377\377פ\367\374\200\000\000\000\000"
len = 32
i = 
case_num = 0
#4  0x000137b4 in cipher_driver_self_test (argc=2, argv=0xd824)
at crypto/test/cipher_driver.c:243
status = 
#5  main (argc=2, argv=0xd824) at crypto/test/cipher_driver.c:178
c = 0x0
status = 
test_key = 
"\000\001\002\003\004\005\006\a\b\t\n\v\f\r\016\017\020\021\022\023"
q = 
do_timing_test = 0
do_validation = 1
do_array_timing_test = 

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org