Bug 624852
Summary: | Illegal Instruction with static strspn() app | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matthew Hungerford <mth411> | |
Component: | glibc | Assignee: | Andreas Schwab <schwab> | |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | high | Docs Contact: | ||
Priority: | low | |||
Version: | 13 | CC: | e.zobachev, fweimer, jakub, schwab | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | i686 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glibc-2.12.1-2 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 631011 (view as bug list) | Environment: | ||
Last Closed: | 2010-08-20 18:04:28 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
Matthew Hungerford
2010-08-17 22:39:20 UTC
Eugene Zobachev 2010-08-17 17:58:14 CDT I have experienced exactly same problem with the similar code. The code was compiled and executed on the same computer (Linux server with Fedora 13). Surprisingly, this code executes correctly in Ubuntu QEMU and KVN from the flash drive with Fedora 13, whereas Windows QEMU indicates same error ("Illegal instruction" in __strspn_sse42). Additional information: If you change "strspn" to "strcspn" in the code fragment above, the static build works fine. Looks like the VM is lying about the cpu capabilities. Please provide the contents of /proc/cpuinfo. For the original post, it was on actual hardware. My /proc/cpuinfo is vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz stepping : 10 cpu MHz : 2992.402 ... flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm tpr_shadow vnmi flexpriority glibc-2.12.1-2 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/glibc-2.12.1-2 Confirmed - glibc-2.12.1-2 fixes the issue. glibc-2.12.90-8 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/glibc-2.12.90-8 glibc-2.12.90-8 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. glibc-2.12.1-2 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |