Comment 8 for bug 438637

Revision history for this message
Arthur Hartwig (a-hartwig) wrote :

I installed libitalc-dbgsym and got more informative reports:

root@ubuntu:~# apt-get install libitalc-dbgsym
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libitalc-dbgsym
0 upgraded, 1 newly installed, 0 to remove and 283 not upgraded.
Need to get 638kB of archives.
After this operation, 1642kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libitalc-dbgsym
Install these packages without verification [y/N]? y
Get:1 http://ddebs.ubuntu.com jaunty/main libitalc-dbgsym 1:1.0.9.1-0ubuntu9 [638kB]
Fetched 638kB in 2min 10s (4893B/s)
Selecting previously deselected package libitalc-dbgsym.
(Reading database ... 136498 files and directories currently installed.)
Unpacking libitalc-dbgsym (from .../libitalc-dbgsym_1%3a1.0.9.1-0ubuntu9_i386.ddeb) ...
Setting up libitalc-dbgsym (1:1.0.9.1-0ubuntu9) ...
root@ubuntu:~# italc
/usr/share/themes/EdubuntuColors/gtk-2.0/gtkrc:77: Murrine configuration option
"hilight_ratio" will be deprecated in future releases. Please use "highlight_sha
de" instead.
Illegal instruction
root@ubuntu:~# gdb italc
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/italc
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb69ea700 (LWP 25073)]
/usr/share/themes/EdubuntuColors/gtk-2.0/gtkrc:77: Murrine configuration option
"hilight_ratio" will be deprecated in future releases. Please use "highlight_sha
de" instead.

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb69ea700 (LWP 25073)]
0xb70a6e8a in filter_shrink_X_MMX (srcpix=0x89dedc8 "",
    dstpix=0x892d260 "P�\222\bP�\222\brÉ¥4�u�n�F�^�\\)�g�^Ö¬]\213T��gc�\177���XgY�J
?\bx��=�\201\017@�T���.��}���)\227+\024;;������Ų��pl\233gv=�����{��>����1�\226\2
34�\030�\216;�(�߻�q�u\205�8�\216\203\024\002\035�DQ\210�5\231\030\037��ѣT�+\\�y3K
\a\a\001�V������5\233��1v\231\221�\023\223\223lݶ���s�9\207\r\0336066���4�J\205ju
\236"..., height=128, srcpitch=<value optimized out>,
    dstpitch=<value optimized out>, srcwidth=128, dstwidth=16)
    at ./src/fast_qimage.cpp:386
386 ./src/fast_qimage.cpp: No such file or directory.
        in ./src/fast_qimage.cpp
Current language: auto; currently c++
(gdb) x/i 0xb70a6e8a
0xb70a6e8a <filter_shrink_X_MMX+138>: pshufw $0x0,%mm7,%mm7
(gdb) bt
#0 0xb70a6e8a in filter_shrink_X_MMX (srcpix=0x89dedc8 "",
    dstpix=0x892d260 "P�\222\bP�\222\brÉ¥4�u�n�F�^�\\)�g�^Ö¬]\213T��gc�\177���XgY�J
?\bx��=�\201\017@�T���.��}���)\227+\024;;������Ų��pl\233gv=�����{��>����1�\226\2
34�\030�\216;�(�߻�q�u\205�8�\216\203\024\002\035�DQ\210�5\231\030\037��ѣT�+\\�y3K
\a\a\001�V������5\233��1v\231\221�\023\223\223lݶ���s�9\207\r\0336066���4�J\205ju
\236"..., height=128, srcpitch=<value optimized out>,
    dstpitch=<value optimized out>, srcwidth=128, dstwidth=16)
    at ./src/fast_qimage.cpp:386
#1 0xb70a7334 in fastQImage::scaleTo (this=0xbfd702a8, _dst=@0xbfd70290)
    at ./src/fast_qimage.cpp:817
#2 0x080661a0 in ?? ()
#3 0x0805f338 in ?? ()
#4 0x0806b651 in ?? ()
#5 0x08079450 in ?? ()
#6 0x08091d17 in ?? ()
#7 0x0809e848 in ?? ()
#8 0xb6df0775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#9 0x0805bb11 in ?? ()
(gdb) quit
The program is running. Exit anyway? (y or n) y

root@ubuntu:~#

It would appear filter_shrink_X_MMX in ./src/fast_qimage.cpp was compiled with the wrong instruction set options (generate code with SSE instructions) or there is a compiler bug (it thinks pshufw is a MMX instruction) or the source code has some poorly chosen assembler code.