| Summary: | 0.17.4 Bus error on sparc | ||
|---|---|---|---|
| Product: | p11-glue | Reporter: | Andreas Metzler <ametzler> | 
| Component: | p11-kit | Assignee: | Stef Walter <stefw> | 
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | SPARC | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| 
 
        
          Description
        
        
          Andreas Metzler
        
        
        
        
          2013-03-27 15:31:02 UTC
        
       
    Unfortunately I do not have access to a SPARC machine. Could you provide backtraces for the various crashes? Is it likely that these are related to bug #62819? ---------------------------------
(gdb) run
Starting program: /home/ametzler/P11/p11-kit-0.17.4/tools/tests/.libs/lt-test-save
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc-linux-gnu/libthread_db.so.1".
Program received signal SIGBUS, Bus error.
0x00017c94 in p11_hash_murmur2 (hash=0xffffd33c, input=<optimized out>, len=8)
    at hash.c:606
606                     if (len >= 4) {
(gdb) bt
#0  0x00017c94 in p11_hash_murmur2 (hash=0xffffd33c, input=<optimized out>,
    len=8) at hash.c:606
#1  0x00014c20 in p11_dict_str_hash (string=0x2f823) at dict.c:332
#2  0x000145b4 in lookup_or_create_bucket (dict=0x2f4d8, key=0x2f823,
    create=false) at dict.c:112
#3  0x000148d4 in p11_dict_steal (dict=0x2f4d8, key=0x2f823,
    stolen_key=0xffffd460, stolen_value=0xffffd464) at dict.c:209
#4  0x00014958 in p11_dict_remove (dict=0x2f4d8, key=0x2f823) at dict.c:233
#5  0x00018c24 in test_check_directory_msg (tc=0x2f398,
    file=0x19ac8 "test-save.c", line=353,
    directory=0x2f7b8 "/tmp/test-extract.o9OXXp/extract-dir", files=0x2f4d8)
    at test.c:194
#6  0x000125d8 in test_directory_files (tc=0x2f398) at test-save.c:349
#7  0x00019218 in CuTestRun (tc=0x2f398) at cutest/CuTest.c:143
#8  0x00019714 in CuSuiteRun (testSuite=0x2e120) at cutest/CuTest.c:279
#9  0x00011604 in main () at test-save.c:558
(gdb)
---------------------------------
-------------------------------------------------
(gdb) run
Starting program: /home/ametzler/P11/p11-kit-0.17.4/tools/tests/.libs/lt-test-x509
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc-linux-gnu/libthread_db.so.1".
Program received signal SIGBUS, Bus error.
0x000229f4 in p11_hash_murmur2 (hash=0xffffd34c, input=<optimized out>, len=16)
    at hash.c:606
606                     if (len >= 4) {
(gdb) bt
#0  0x000229f4 in p11_hash_murmur2 (hash=0xffffd34c, input=<optimized out>,
    len=16) at hash.c:606
#1  0x0001f980 in p11_dict_str_hash (string=0x61483) at dict.c:332
#2  0x0001f314 in lookup_or_create_bucket (dict=0x4de88, key=0x61483,
    create=false) at dict.c:112
#3  0x0001f634 in p11_dict_steal (dict=0x4de88, key=0x61483,
    stolen_key=0xffffd470, stolen_value=0xffffd474) at dict.c:209
#4  0x0001f6b8 in p11_dict_remove (dict=0x4de88, key=0x61483) at dict.c:233
#5  0x00023984 in test_check_directory_msg (tc=0x4b228,
    file=0x2e2a0 "test-x509.c", line=223,
    directory=0x4ce58 "/tmp/test-extract.7CLvfK", files=0x4de88) at test.c:194
#6  0x000122cc in test_directory (tc=0x4b228) at test-x509.c:223
#7  0x0002d9f8 in CuTestRun (tc=0x4b228) at cutest/CuTest.c:143
#8  0x0002def4 in CuSuiteRun (testSuite=0x4a120) at cutest/CuTest.c:279
#9  0x00011dc4 in main () at test-x509.c:272
-------------------------------------------------
(gdb) run
Starting program: /home/ametzler/P11/p11-kit-0.17.4/tools/tests/.libs/lt-test-pem
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc-linux-gnu/libthread_db.so.1".
Program received signal SIGBUS, Bus error.
0x00023694 in p11_hash_murmur2 (hash=0xffffd34c, input=<optimized out>, len=18)
    at hash.c:606
606                     if (len >= 4) {
(gdb) bt
#0  0x00023694 in p11_hash_murmur2 (hash=0xffffd34c, input=<optimized out>,
    len=18) at hash.c:606
#1  0x00020620 in p11_dict_str_hash (string=0x610fb) at dict.c:332
#2  0x0001ffb4 in lookup_or_create_bucket (dict=0x5b288, key=0x610fb,
    create=false) at dict.c:112
#3  0x000202d4 in p11_dict_steal (dict=0x5b288, key=0x610fb,
    stolen_key=0xffffd470, stolen_value=0xffffd474) at dict.c:209
#4  0x00020358 in p11_dict_remove (dict=0x5b288, key=0x610fb) at dict.c:233
#5  0x00024624 in test_check_directory_msg (tc=0x4b228,
    file=0x2ef40 "test-pem.c", line=213,
    directory=0x5a1f0 "/tmp/test-extract.8Kum0Y", files=0x5b288) at test.c:194
#6  0x000122cc in test_directory (tc=0x4b228) at test-pem.c:213
#7  0x0002e698 in CuTestRun (tc=0x4b228) at cutest/CuTest.c:143
#8  0x0002eb94 in CuSuiteRun (testSuite=0x4a120) at cutest/CuTest.c:279
#9  0x00011dc4 in main () at test-pem.c:262
-------------------------------------------------
(gdb) run
Starting program: /home/ametzler/P11/p11-kit-0.17.4/tools/tests/.libs/lt-test-openssl
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc-linux-gnu/libthread_db.so.1".
Program received signal SIGBUS, Bus error.
0x000257f4 in p11_hash_murmur2 (hash=0xffffd334, input=<optimized out>, len=16)
    at hash.c:606
606                     if (len >= 4) {
(gdb) bt
#0  0x000257f4 in p11_hash_murmur2 (hash=0xffffd334, input=<optimized out>,
    len=16) at hash.c:606
#1  0x00022780 in p11_dict_str_hash (string=0x6595b) at dict.c:332
#2  0x00022114 in lookup_or_create_bucket (dict=0x53b08, key=0x6595b,
    create=false) at dict.c:112
#3  0x00022434 in p11_dict_steal (dict=0x53b08, key=0x6595b,
    stolen_key=0xffffd458, stolen_value=0xffffd45c) at dict.c:209
#4  0x000224b8 in p11_dict_remove (dict=0x53b08, key=0x6595b) at dict.c:233
#5  0x00026784 in test_check_directory_msg (tc=0x4d3e8,
    file=0x310a0 "test-openssl.c", line=612,
    directory=0x53a28 "/tmp/test-extract.21Z8BM", files=0x53b08) at test.c:194
#6  0x00013058 in test_directory (tc=0x4d3e8) at test-openssl.c:608
#7  0x000307f8 in CuTestRun (tc=0x4d3e8) at cutest/CuTest.c:143
#8  0x00030cf4 in CuSuiteRun (testSuite=0x4c120) at cutest/CuTest.c:279
#9  0x00011ec4 in main () at test-openssl.c:678
-------------------------------------------------
    Could you see if the patch attached to bug #62819 fixes this? (In reply to comment #3) > Could you see if the patch attached to bug #62819 fixes this? It does not make a difference. cu andreas I'm unable to boot the debian squeeeze netinst.iso with qemu-system-sparc or qemu-system-sparc64. Could you please produce a patch which fixes the problem, or send me a VM/QEMU image which reproduces the issue? Thank you.  | 
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.