[Bug 717671] New: Segmentation fault happened in libc-2.14 for q3ademo
https://bugzilla.novell.com/show_bug.cgi?id=717671 https://bugzilla.novell.com/show_bug.cgi?id=717671#c0 Summary: Segmentation fault happened in libc-2.14 for q3ademo Classification: openSUSE Product: openSUSE 12.1 Version: Milestone 5 Platform: x86 OS/Version: Linux Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: atilinuxnovellbugs@ati.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.1) Gecko/20100101 Firefox/6.0.1 When run Quake3 demo application on openSuse 12.1 Milestone5, segmentation fault happened with following error for dmesg. [ 2407.582728] q3demo.x86[26276]: segfault at 1c ip 00000000f747c362 sp 00000000ff97c5bc error 4 in libc-2.14.so[f741d000+17b000] Reproducible: Always Steps to Reproduce: 1. Download q3ademo from ftp://ftp.gamers.org/pub/idgames/idstuff/quake3/linux/linuxq3ademo-1.11-6.x86.gz.sh 2. Install q3ademo on openSuse 12.1 Milestone5 3. Run q3ademo Actual Results: Segmentation fault happened in libc-2.14 when check dmesg info: [ 2407.582728] q3demo.x86[26276]: segfault at 1c ip 00000000f747c362 sp 00000000ff97c5bc error 4 in libc-2.14.so[f741d000+17b000] Expected Results: q3ademo should be able to run successfully -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c1
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c2
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c3
--- Comment #3 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c5
--- Comment #5 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c6
--- Comment #6 from Luugi Marsan
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c7
--- Comment #7 from Luugi Marsan
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c9
--- Comment #9 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c10
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c11
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c12
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c13
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c14
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c15
--- Comment #15 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c16
--- Comment #16 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c17
Richard Guenther
Diff of the assembler of the files compiled by gcc 4.5/4.6:
"the files"? Which one(s)?
--- o 2011-09-22 14:21:24.092771000 +0200 +++ b 2011-09-22 14:21:28.048419000 +0200 @@ -1,38 +1,36 @@
-oldstdfiles.os.ok: file format elf32-i386 +oldstdfiles.os.broken: file format elf32-i386
-Disassembly of section .text: +Disassembly of section .text.startup:
00000000 <_IO_check_libio>: - 0: 83 ec 08 sub $0x8,%esp - 3: 89 1c 24 mov %ebx,(%esp) - 6: e8 fc ff ff ff call 7 <_IO_check_libio+0x7> - b: 81 c3 02 00 00 00 add $0x2,%ebx - 11: 89 74 24 04 mov %esi,0x4(%esp) - 15: 8b 83 00 00 00 00 mov 0x0(%ebx),%eax - 1b: 85 c0 test %eax,%eax - 1d: 75 4e jne 6d <_IO_check_libio+0x6d> - 1f: 8b 93 00 00 00 00 mov 0x0(%ebx),%edx - 25: 8b 83 00 00 00 00 mov 0x0(%ebx),%eax - 2b: 8b 8b 00 00 00 00 mov 0x0(%ebx),%ecx - 31: 8b b3 00 00 00 00 mov 0x0(%ebx),%esi - 37: 89 93 00 00 00 00 mov %edx,0x0(%ebx) - 3d: 89 10 mov %edx,(%eax) - 3f: 8b 83 00 00 00 00 mov 0x0(%ebx),%eax - 45: 89 8b 00 00 00 00 mov %ecx,0x0(%ebx) - 4b: c6 41 46 b8 movb $0xb8,0x46(%ecx) - 4f: c6 42 46 b8 movb $0xb8,0x46(%edx) - 53: 89 08 mov %ecx,(%eax) - 55: 8b 83 00 00 00 00 mov 0x0(%ebx),%eax - 5b: 89 06 mov %eax,(%esi) - 5d: 89 83 00 00 00 00 mov %eax,0x0(%ebx) - 63: 89 83 00 00 00 00 mov %eax,0x0(%ebx) - 69: c6 40 46 b8 movb $0xb8,0x46(%eax) - 6d: 8b 1c 24 mov (%esp),%ebx - 70: 8b 74 24 04 mov 0x4(%esp),%esi - 74: 83 c4 08 add $0x8,%esp - 77: c3 ret + 0: 56 push %esi + 1: 53 push %ebx + 2: e8 fc ff ff ff call 3 <_IO_check_libio+0x3> + 7: 81 c3 02 00 00 00 add $0x2,%ebx + d: 8b 83 00 00 00 00 mov 0x0(%ebx),%eax + 13: 85 c0 test %eax,%eax + 15: 75 4e jne 65 <_IO_check_libio+0x65> + 17: 8b 93 00 00 00 00 mov 0x0(%ebx),%edx + 1d: 8b 83 00 00 00 00 mov 0x0(%ebx),%eax + 23: 8b 8b 00 00 00 00 mov 0x0(%ebx),%ecx + 29: 8b b3 00 00 00 00 mov 0x0(%ebx),%esi + 2f: 89 93 00 00 00 00 mov %edx,0x0(%ebx) + 35: 89 10 mov %edx,(%eax) + 37: 8b 83 00 00 00 00 mov 0x0(%ebx),%eax + 3d: 89 8b 00 00 00 00 mov %ecx,0x0(%ebx) + 43: c6 41 46 b8 movb $0xb8,0x46(%ecx) + 47: c6 42 46 b8 movb $0xb8,0x46(%edx) + 4b: 89 08 mov %ecx,(%eax) + 4d: 8b 83 00 00 00 00 mov 0x0(%ebx),%eax + 53: 89 06 mov %eax,(%esi) + 55: 89 83 00 00 00 00 mov %eax,0x0(%ebx) + 5b: 89 83 00 00 00 00 mov %eax,0x0(%ebx) + 61: c6 40 46 b8 movb $0xb8,0x46(%eax) + 65: 5b pop %ebx + 66: 5e pop %esi + 67: c3 ret
Disassembly of section .text.__i686.get_pc_thunk.bx:
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c18
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c19
--- Comment #19 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c20
--- Comment #20 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c21
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c22
Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c23
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c24
--- Comment #24 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c25
--- Comment #25 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c26
--- Comment #26 from Richard Guenther
Richard, that does not compile for me.
But you should get the idea. asm ("" : "=r" (tmp) : "0" (__CTOR_LIST__)); initializes tmp from __CTOR_LIST__ without GCC seeing that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c27
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=717671
https://bugzilla.novell.com/show_bug.cgi?id=717671#c28
--- Comment #28 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com