Comment 4 for bug 198115

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 198115] [NEW] Mytbackend killed with SIGILL on AMD

Anders Kvist wrote:
> Public bug reported:
>
> It works fine on my Intel Core2 Duo laptop but not on my old AMD box...
>
> root@mythtv:~# mythbackend
> Illegal instruction (core dumped)
>
> gdb:
> Program received signal SIGILL, Illegal instruction.
> [Switching to Thread 0xb5705720 (LWP 27706)]
> NetInterfaceTrafficStats (this=0xb6f84f80) at groupsock/NetInterface.cpp:152
> 152 groupsock/NetInterface.cpp: No such file or directory.
> in groupsock/NetInterface.cpp
>
> #0 NetInterfaceTrafficStats (this=0xb6f84f80) at groupsock/NetInterface.cpp:152
> #1 0xb6efec1d in __static_initialization_and_destruction_0 (__initialize_p=<value optimized out>, __priority=65535) at groupsock/Groupsock.cpp:104
> #2 0xb6f54855 in __do_global_ctors_aux () from /usr/lib/libmythlivemedia-0.21.so.0
> #3 0xb6ef7440 in _init () from /usr/lib/libmythlivemedia-0.21.so.0
> #4 0xb7fd29a0 in ?? () from /lib/ld-linux.so.2
> #5 0x00000001 in ?? ()
> #6 0xbff9793c in ?? ()
> #7 0x08056ea0 in ?? ()
> #8 0xbff97934 in ?? ()
> #9 0x00000001 in ?? ()
> #10 0xb7fdfff4 in ?? () from /lib/ld-linux.so.2
> #11 0x0000001c in ?? ()
> #12 0xb7fe0668 in _r_debug ()
> #13 0xb7fc5000 in ?? ()
> #14 0x00000047 in ?? ()
> #15 0x00000000 in ?? ()
>
> strace:
> uname({sys="Linux", node="mythtv", ...}) = 0
> brk(0) = 0x815a000
> brk(0x817b000) = 0x817b000
> open("/etc/selinux/config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
> statfs64("/selinux", 84, 0xbfd2d5bc) = -1 ENOENT (No such file or directory)
> open("/proc/mounts", O_RDONLY|O_LARGEFILE) = 3
> fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f05000
> read(3, "rootfs / rootfs rw 0 0\nnone /sys"..., 1024) = 738
> read(3, "", 1024) = 0
> close(3) = 0
> munmap(0xb7f05000, 4096) = 0
> futex(0xb5d42674, 0x81 /* FUTEX_??? */, 2147483647) = 0
> futex(0xb5d47700, 0x81 /* FUTEX_??? */, 2147483647) = 0
> --- SIGILL (Illegal instruction) @ 0 (0) ---
> +++ killed by SIGILL (core dumped) +++
> Process 27710 detached
>
> root@mythtv:~# cat /proc/cpuinfo
> processor : 0
> vendor_id : AuthenticAMD
> cpu family : 6
> model : 4
> model name : AMD Athlon(tm) Processor
> stepping : 2
> cpu MHz : 1337.932
> cache size : 256 KB
> fdiv_bug : no
> hlt_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 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
> bogomips : 2678.40
> clflush size : 32
>
> ** Affects: mythtv (Ubuntu)
> Importance: Undecided
> Status: New
>
Can you post the /proc/cpuinfo from the working one? I suspect different flags
supported.

--
Mario Limonciello
<email address hidden>