Bug 898829

Summary: qt5 applications cause SIGILL on athlon xp (barton)
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Pluskal <mpluskal>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: forgotten_DV81ZEWZkN, forgotten_sM9JzehKpy
Version: 201409*   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 13.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Pluskal 2014-09-27 18:51:31 UTC
I have noticed first with bitcoin-qt, and also reproduced with libqt5-qttools:
# gdb qtdiag
...
(gdb) run
Starting program: /usr/bin/qtdiag
Got object file from memory but can't read symbols: File truncated.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0xb79e541b in QPointF (ypos=inf, xpos=0, this=0xb7e69f10 <QGuiApplicationPrivate::lastCursorPosition>) at ../../src/corelib/tools/qpoint.h:276
276     ../../src/corelib/tools/qpoint.h: No such file or directory.
(gdb) bt
#0  0xb79e541b in QPointF (ypos=inf, xpos=0, this=0xb7e69f10 <QGuiApplicationPrivate::lastCursorPosition>) at ../../src/corelib/tools/qpoint.h:276
#1  __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at kernel/qguiapplication.cpp:119
#2  _GLOBAL__sub_I_qguiapplication.cpp(void) () at .moc/moc_qguiapplication.cpp:321
#3  0xb7fed23e in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0xbffff4f4, env=env@entry=0xbffff4fc) at dl-init.c:78
#4  0xb7fed334 in call_init (env=0xbffff4fc, argv=0xbffff4f4, argc=1, l=<optimized out>) at dl-init.c:36
#5  _dl_init (main_map=0xb7fff8f8, argc=1, argv=0xbffff4f4, env=0xbffff4fc) at dl-init.c:126
#6  0xb7fdf03f in _dl_start_user () from /lib/ld-linux.so.2
(gdb) bt full
#0  0xb79e541b in QPointF (ypos=inf, xpos=0, this=0xb7e69f10 <QGuiApplicationPrivate::lastCursorPosition>) at ../../src/corelib/tools/qpoint.h:276
No locals.
#1  __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at kernel/qguiapplication.cpp:119
No locals.
#2  _GLOBAL__sub_I_qguiapplication.cpp(void) () at .moc/moc_qguiapplication.cpp:321
No locals.
#3  0xb7fed23e in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0xbffff4f4, env=env@entry=0xbffff4fc) at dl-init.c:78
        j = 2
        jm = 9
        addrs = 0xb7e5a944
        init_array = <optimized out>
#4  0xb7fed334 in call_init (env=0xbffff4fc, argv=0xbffff4f4, argc=1, l=<optimized out>) at dl-init.c:36
No locals.
#5  _dl_init (main_map=0xb7fff8f8, argc=1, argv=0xbffff4f4, env=0xbffff4fc) at dl-init.c:126
        preinit_array = <optimized out>
        preinit_array_size = <optimized out>
        i = 2
#6  0xb7fdf03f in _dl_start_user () from /lib/ld-linux.so.2
        tls_init_tp_called = true
        _dl_rtld_libname = {name = 0x8048154 "/lib/ld-linux.so.2", next = 0xb7fff83c <newname>, dont_free = 0}
        version_info = 0
        _dl_rtld_libname2 = {name = 0x0, next = 0x0, dont_free = 0}
        start_time = 844764779173922
        any_debug = 0
        relocate_time = 10255620
        library_path = 0x0
        preloadlist = 0x0
        audit_list = 0x0
        load_time = 5361143
        _rtld_local_ro = {_dl_debug_mask = 0, _dl_osversion = 200706, _dl_platform = 0xbffff6cb "i686", _dl_platformlen = 4, _dl_pagesize = 4096, _dl_inhibit_cache = 0, _dl_initial_searchlist = {r_list = 0xb6575538, r_nlist = 43}, _dl_clktck = 100,
          _dl_verbose = 0, _dl_debug_fd = 2, _dl_lazy = 1, _dl_bind_not = 0, _dl_dynamic_weak = 0, _dl_fpu_control = 895, _dl_correct_cache_id = 3, _dl_hwcap = 58981375, _dl_hwcap_mask = 67108864, _dl_auxv = 0xbffff610, _dl_x86_cap_flags = {
            "fpu\000\000\000\000", "vme\000\000\000\000", "de\000\000\000\000\000", "pse\000\000\000\000", "tsc\000\000\000\000", "msr\000\000\000\000", "pae\000\000\000\000", "mce\000\000\000\000", "cx8\000\000\000\000", "apic\000\000\000",
            "10\000\000\000\000\000", "sep\000\000\000\000", "mtrr\000\000\000", "pge\000\000\000\000", "mca\000\000\000\000", "cmov\000\000\000", "pat\000\000\000\000", "pse36\000\000", "pn\000\000\000\000\000", "clflush", "20\000\000\000\000\000",
            "dts\000\000\000\000", "acpi\000\000\000", "mmx\000\000\000\000", "fxsr\000\000\000", "sse\000\000\000\000", "sse2\000\000\000", "ss\000\000\000\000\000", "ht\000\000\000\000\000", "tm\000\000\000\000\000", "ia64\000\000\000",
            "pbe\000\000\000\000"}, _dl_x86_platforms = {"i386", "i486", "i586", "i686"}, _dl_inhibit_rpath = 0x0, _dl_origin_path = 0x0, _dl_use_load_bias = 4294967295, _dl_profile = 0x0, _dl_profile_output = 0xb7ff6e60 "/var/tmp",
          _dl_trace_prelink = 0x0, _dl_trace_prelink_map = 0x0, _dl_init_all_dirs = 0xb7fda000, _dl_hp_timing_overhead = 11, _dl_sysinfo = 3086859856, _dl_sysinfo_dso = 0xb7fdb000, _dl_sysinfo_map = 0xb7fffbe8, _dl_hwcap2 = 0,
          _dl_debug_printf = 0xb7fee040 <_dl_debug_printf>, _dl_catch_error = 0xb7fed070 <_dl_catch_error>, _dl_signal_error = 0xb7fecde0 <_dl_signal_error>, _dl_mcount = 0xb7fef2c0 <_dl_mcount>,
          _dl_lookup_symbol_x = 0xb7fe7b70 <_dl_lookup_symbol_x>, _dl_check_caller = 0xb7ff0620 <_dl_check_caller>, _dl_open = 0xb7ff0a80 <_dl_open>, _dl_close = 0xb7ff28e0 <_dl_close>, _dl_tls_get_addr_soft = 0xb7ff01f0 <_dl_tls_get_addr_soft>,
          _dl_discover_osversion = 0xb7ff3750 <_dl_discover_osversion>, _dl_audit = 0x0, _dl_naudit = 0, _dl_pointer_guard = 1}
        _dl_skip_args = 0
        __pointer_chk_guard_local = 3207359872
        _rtld_global_ro = {_dl_debug_mask = 0, _dl_osversion = 200706, _dl_platform = 0xbffff6cb "i686", _dl_platformlen = 4, _dl_pagesize = 4096, _dl_inhibit_cache = 0, _dl_initial_searchlist = {r_list = 0xb6575538, r_nlist = 43}, _dl_clktck = 100,
          _dl_verbose = 0, _dl_debug_fd = 2, _dl_lazy = 1, _dl_bind_not = 0, _dl_dynamic_weak = 0, _dl_fpu_control = 895, _dl_correct_cache_id = 3, _dl_hwcap = 58981375, _dl_hwcap_mask = 67108864, _dl_auxv = 0xbffff610, _dl_x86_cap_flags = {
            "fpu\000\000\000\000", "vme\000\000\000\000", "de\000\000\000\000\000", "pse\000\000\000\000", "tsc\000\000\000\000", "msr\000\000\000\000", "pae\000\000\000\000", "mce\000\000\000\000", "cx8\000\000\000\000", "apic\000\000\000",
            "10\000\000\000\000\000", "sep\000\000\000\000", "mtrr\000\000\000", "pge\000\000\000\000", "mca\000\000\000\000", "cmov\000\000\000", "pat\000\000\000\000", "pse36\000\000", "pn\000\000\000\000\000", "clflush", "20\000\000\000\000\000",
            "dts\000\000\000\000", "acpi\000\000\000", "mmx\000\000\000\000", "fxsr\000\000\000", "sse\000\000\000\000", "sse2\000\000\000", "ss\000\000\000\000\000", "ht\000\000\000\000\000", "tm\000\000\000\000\000", "ia64\000\000\000",
            "pbe\000\000\000\000"}, _dl_x86_platforms = {"i386", "i486", "i586", "i686"}, _dl_inhibit_rpath = 0x0, _dl_origin_path = 0x0, _dl_use_load_bias = 4294967295, _dl_profile = 0x0, _dl_profile_output = 0xb7ff6e60 "/var/tmp",
          _dl_trace_prelink = 0x0, _dl_trace_prelink_map = 0x0, _dl_init_all_dirs = 0xb7fda000, _dl_hp_timing_overhead = 11, _dl_sysinfo = 3086859856, _dl_sysinfo_dso = 0xb7fdb000, _dl_sysinfo_map = 0xb7fffbe8, _dl_hwcap2 = 0,
          _dl_debug_printf = 0xb7fee040 <_dl_debug_printf>, _dl_catch_error = 0xb7fed070 <_dl_catch_error>, _dl_signal_error = 0xb7fecde0 <_dl_signal_error>, _dl_mcount = 0xb7fef2c0 <_dl_mcount>,
          _dl_lookup_symbol_x = 0xb7fe7b70 <_dl_lookup_symbol_x>, _dl_check_caller = 0xb7ff0620 <_dl_check_caller>, _dl_open = 0xb7ff0a80 <_dl_open>, _dl_close = 0xb7ff28e0 <_dl_close>, _dl_tls_get_addr_soft = 0xb7ff01f0 <_dl_tls_get_addr_soft>,
          _dl_discover_osversion = 0xb7ff3750 <_dl_discover_osversion>, _dl_audit = 0x0, _dl_naudit = 0, _dl_pointer_guard = 1}
        _dl_argv = 0xbffff4f4
        _rtld_local = <error reading variable _rtld_local (Attempt to resolve a variably-sized type which appears in the interior of a structure type)>
        _rtld_global = <error reading variable _rtld_global (Attempt to resolve a variably-sized type which appears in the interior of a structure type)>
        _dl_argc = 1
        _dl_argv_internal = 0xbffff4f4
(gdb) disassemble $pc-32,$pc+32
Dump of assembler code from 0xb79e53fb to 0xb79e543b:
   0xb79e53fb <_GLOBAL__sub_I_qguiapplication.cpp(void)+11>:    or     $0x48,%al
   0xb79e53fd <_GLOBAL__sub_I_qguiapplication.cpp(void)+13>:    add    %al,-0x5517df14(%ebx)
   0xb79e5403 <_GLOBAL__sub_I_qguiapplication.cpp(void)+19>:    (bad)
   0xb79e5405 <_GLOBAL__sub_I_qguiapplication.cpp(void)+21>:    decl   0xd80bb(%ebp)
   0xb79e540b <_GLOBAL__sub_I_qguiapplication.cpp(void)+27>:    add    %bl,%ch
   0xb79e540d <_GLOBAL__sub_I_qguiapplication.cpp(void)+29>:    pop    %esp
   0xb79e540e <_GLOBAL__sub_I_qguiapplication.cpp(void)+30>:    and    $0x18,%al
   0xb79e5410 <_GLOBAL__sub_I_qguiapplication.cpp(void)+32>:    call   0xb79e33b0 <_Z4qInfv@plt>
   0xb79e5415 <_GLOBAL__sub_I_qguiapplication.cpp(void)+37>:    mov    -0x300(%ebx),%eax
=> 0xb79e541b <_GLOBAL__sub_I_qguiapplication.cpp(void)+43>:    movsd  0x18(%esp),%xmm0
   0xb79e5421 <_GLOBAL__sub_I_qguiapplication.cpp(void)+49>:    mov    -0x4ec(%ebx),%esi
   0xb79e5427 <_GLOBAL__sub_I_qguiapplication.cpp(void)+55>:    movsd  %xmm0,0x8(%eax)
   0xb79e542c <_GLOBAL__sub_I_qguiapplication.cpp(void)+60>:    fstpl  (%eax)
   0xb79e542e <_GLOBAL__sub_I_qguiapplication.cpp(void)+62>:    mov    -0x2d0(%ebx),%eax
   0xb79e5434 <_GLOBAL__sub_I_qguiapplication.cpp(void)+68>:    mov    %esi,(%eax)
   0xb79e5436 <_GLOBAL__sub_I_qguiapplication.cpp(void)+70>:    mov    %eax,0x4(%esp)
   0xb79e543a <_GLOBAL__sub_I_qguiapplication.cpp(void)+74>:    lea    -0x4589e0(%ebx),%eax
End of assembler dump.
(gdb) p $pc
$1 = (void (*)(void)) 0xb79e541b <_GLOBAL__sub_I_qguiapplication.cpp(void)+43>

# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 10
model name      : AMD Athlon(tm) XP 3200+
stepping        : 0
cpu MHz         : 2191.313
cache size      : 512 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 4382.62
clflush size    : 32
cache_alignment : 32
address sizes   : 34 bits physical, 32 bits virtual
power management: ts

See also bnc#872908
Comment 1 Forgotten User DV81ZEWZkN 2014-09-27 19:05:15 UTC
resolved once Factory publishes
Comment 2 Forgotten User DV81ZEWZkN 2014-09-27 19:05:35 UTC
err, it's a dup also

*** This bug has been marked as a duplicate of bug 897758 ***