upgrade from karmic to lucid: gui is crashing on login

Bug #542357 reported by Arun S L
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
X.Org X server
Invalid
Undecided
Unassigned
eglibc (Ubuntu)
Invalid
Undecided
Unassigned
Lucid
Invalid
Undecided
Unassigned
xorg-server (Ubuntu)
Invalid
High
Unassigned
Lucid
Invalid
High
Unassigned

Bug Description

Binary package hint: xorg

xorg crashes with 9.10 and ubuntu-bug and uing ppa is also not working. Says network fault in the only shell available. But apt-get is working.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e880b]
1: /usr/bin/X (0x8048000+0x61aed) [0x80a9aed]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0x730410]
3: /usr/lib/libXfont.so.1 (FontFileAddFontFile+0xff) [0x5616ff]
4: /usr/lib/libXfont.so.1 (FontFileReadDirectory+0x2ef) [0x55fe2f]
5: /usr/lib/libXfont.so.1 (FontFileInitFPE+0x2f) [0x56327f]
6: /usr/bin/X (0x8048000+0x2ca23) [0x8074a23]
7: /usr/bin/X (SetDefaultFontPath+0x100) [0x8074cb0]
8: /usr/bin/X (0x8048000+0x1ec2e) [0x8066c2e]
9: /lib/tls/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0x7e0bd6]
10: /usr/bin/X (0x8048000+0x1e921) [0x8066921]
Illegal instruction at address 0x8d9419

Caught signal 4 (Illegal instruction). Server aborting

Bryce Harrington (bryce)
tags: added: lucid
tags: added: karmic
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Arun,

Please attach the output of `lspci -vvnn` and `dmesg`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you're using a custom /etc/X11/xorg.conf please attach that as well.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: crash
tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in xorg-server (Ubuntu):
status: New → Incomplete
Revision history for this message
Arun S L (arun-sl) wrote :
Download full text (4.7 KiB)

arun@arun-desktop:~$ lspci -vvnn
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 01)
        Subsystem: VMware Device [15ad:1976]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Region 0: Memory at ec000000 (32-bit, prefetchable) [size=64M]
        Capabilities: <access denied>
        Kernel driver in use: agpgart-intel
        Kernel modules: intel-agp

00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge [8086:7191] (rev 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B+
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Kernel modules: shpchp

00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 08)
        Subsystem: VMware Device [15ad:1976]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0

00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 8a [Master SecP PriP])
        Subsystem: VMware Device [15ad:1976]
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
        Region 4: I/O ports at 1050 [size=16]
        Kernel driver in use: ata_piix

00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 08)
        Subsystem: VMware Device [15ad:1976]
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin ? routed to IRQ 9
        Kernel modules: i2c-piix4

00:0f.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405]
        Subsystem: VMware SVGA II Adapter [15ad:0405]
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SE...

Read more...

Revision history for this message
Arun S L (arun-sl) wrote :
Download full text (24.2 KiB)

arun@arun-desktop:~$ dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.32-16-generic (buildd@rothera) (gcc version 4.4.3 (Ubuntu 4.4.3-3ubuntu1) ) #25-Ubuntu SMP Tue Mar 9 16:33:52 UTC 2010 (Ubuntu 2.6.32-16.25-generic)
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] NSC Geode by NSC
[ 0.000000] Cyrix CyrixInstead
[ 0.000000] Centaur CentaurHauls
[ 0.000000] Transmeta GenuineTMx86
[ 0.000000] Transmeta TransmetaCPU
[ 0.000000] UMC UMC UMC UMC
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000001fef0000 (usable)
[ 0.000000] BIOS-e820: 000000001fef0000 - 000000001feff000 (ACPI data)
[ 0.000000] BIOS-e820: 000000001feff000 - 000000001ff00000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000001ff00000 - 0000000020000000 (usable)
[ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
[ 0.000000] DMI present.
[ 0.000000] Phoenix BIOS detected: BIOS may corrupt low RAM, working around it.
[ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
[ 0.000000] Failed to get TSC freq from the hypervisor
[ 0.000000] last_pfn = 0x20000 max_arch_pfn = 0x100000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR variable ranges disabled:
[ 0.000000] x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
[ 0.000000] CPU MTRRs all blank - virtualized system.
[ 0.000000] Scanning 0 areas for low memory corruption
[ 0.000000] modified physical RAM map:
[ 0.000000] modified: 0000000000000000 - 0000000000010000 (reserved)
[ 0.000000] modified: 0000000000010000 - 000000000009f800 (usable)
[ 0.000000] modified: 000000000009f800 - 00000000000a0000 (reserved)
[ 0.000000] modified: 00000000000dc000 - 0000000000100000 (reserved)
[ 0.000000] modified: 0000000000100000 - 000000001fef0000 (usable)
[ 0.000000] modified: 000000001fef0000 - 000000001feff000 (ACPI data)
[ 0.000000] modified: 000000001feff000 - 000000001ff00000 (ACPI NVS)
[ 0.000000] modified: 000000001ff00000 - 0000000020000000 (usable)
[ 0.000000] modified: 00000000fec00000 - 00000000fec10000 (reserved)
[ 0.000000] modified: 00000000fee00000 - 00000000fee01000 (reserved)
[ 0.000000] modified: 00000000fffe0000 - 0000000100000000 (reserved)
[ 0.000000] initial memory mapped : 0 - 00c00000
[ 0.000000] init_memory_mapping: 0000000000000000-0000000020000000
[ 0.000000] Using x86 segment limits to approximate NX protection
[ 0.000000] 0000000000 - 0000400000 page 4k
[ 0.000000] 0000400000 - 0020000000 page 2M
[ 0.000000] kernel direct mapping tables up to 20000000 @ 10...

Revision history for this message
Arun S L (arun-sl) wrote :
Download full text (21.3 KiB)

arun@arun-desktop:~$ cat /var/log/Xorg.0.log

X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux arun-desktop 2.6.32-16-generic #25-Ubuntu SMP Tue Mar 9 16:33:52 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-16-generic root=UUID=cec480f7-d619-4505-91ba-df039fa7ddb2 ro quiet splash
Build Date: 12 March 2010 07:37:07AM
xorg-server 2:1.7.5-1ubuntu3 (buildd@)
Current version of pixman: 0.16.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 19 18:30:56 2010
(II) Loader magic: 0x81eee80
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 6.0
        X.Org XInput driver : 7.0
        X.Org Server Extension : 2.0
(--) using VT number 8

(--) PCI:*(0:0:15:0) 15ad:0405:15ad:0405 VMware SVGA II Adapter rev 0, Mem @ 0xf0000000/134217728, 0xe8000000/8388608, I/O @ 0x00001060/16, BIOS @ 0x????????/32768
(==) Using default built-in configuration (30 lines)
(==) --- Start of built-in configuration ---
        Section "Device"
                Identifier "Builtin Default vmware Device 0"
                Driver "vmware"
        EndSection
        Section "Screen"
                Identifier "Builtin Default vmware Screen 0"
                Device "Builtin Default vmware Device 0"
        EndSection
        Section "Device"
                Identifier "Builtin Default vesa Device 0"
                Driver "vesa"
        EndSection
        Section "Screen"
                Identifier "Builtin Default vesa Screen 0"
                Device "Builtin Default vesa Device 0"
        EndSection
        Section "Device"
                Identifier "Builtin Default fbdev Device 0"
                Driver "fbdev"
        EndSection
        Section "Screen"
                Identifier "Builtin Default fbdev Screen 0"
                Device "Builtin Default fbdev Device 0"
        EndSection
        Section "ServerLayout"
                Identifier "Builtin Default Layout"
                Screen "Builtin Default vmware Screen 0"
                Screen "Builtin Default vesa Screen 0"
                Screen "Builtin Default fbdev Screen 0"
        EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout "Builtin Default Layout"
(**) |-->Screen "Builtin Default vmware Screen 0" (0)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Builtin Default vmware Device 0"
(==) No monitor specified for screen "Builtin Default vmware Screen 0".
        Using a default monitor configuration.
(**) |-->Screen "Builtin Default vesa Screen 0" (1)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Builtin Default vesa Device 0"
(==) No monitor specified for screen "Builtin Default vesa Screen 0".
        Using a default monitor ...

Revision history for this message
Arun S L (arun-sl) wrote :

I have no custom /etc/X11/xorg.conf file.

One more info is that i am running Ubundu using vmplayer from my IBM Thinkcenter 8813 desktop.

Arun S L (arun-sl)
Changed in xorg-server (Ubuntu):
status: Incomplete → New
Revision history for this message
Arun S L (arun-sl) wrote :

some more debug info about the instruction causing fault: its palignr!!!

(gdb) display/i $pc-5
6: x/i $pc-5
   0x279414: and %ah,0xf(%esi)
(gdb) display/i $pc-4
7: x/i $pc-4
   0x279415: movdqa %xmm3,%xmm4
(gdb) display/i $pc-3
8: x/i $pc-3
   0x279416: movq %mm3,%mm4
(gdb) display/i $pc-2
9: x/i $pc-2
   0x279417: outsl %ds:(%esi),(%dx)
(gdb) display/i $pc-1
10: x/i $pc-1
   0x279418: jecxz 0x279480
(gdb) display/i $pc
11: x/i $pc
=> 0x279419: palignr $0x4,%xmm2,%xmm3
(gdb) display/i $pc+1
12: x/i $pc+1
   0x27941a: palignr $0x4,%mm2,%mm3
(gdb) display/i $pc+2
13: x/i $pc+2
   0x27941b: cmp (%edi),%cl
(gdb) display/i $pc+3
14: x/i $pc+3
   0x27941c: pminub (%esi,%eiz,2),%mm0
(gdb) display/i $pc+4
15: x/i $pc+4
   0x27941d: fiaddl (%esi,%eiz,2)
(gdb) display/i $pc+5
16: x/i $pc+5
   0x27941e: add $0x66,%al

Revision history for this message
Arun S L (arun-sl) wrote :

something wrong in /lib/tls/i686/cmov/libc.so.6?

arun@arun-desktop:~$ sudo gdb X
GNU gdb (GDB) 7.0.90.20100309-ubuntu
Copyright (C) 2010 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/X...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/X
process 2144 is executing new program: /usr/bin/Xorg
[Thread debugging using libthread_db enabled]

X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux arun-desktop 2.6.32-16-generic #25-Ubuntu SMP Tue Mar 9 16:33:52 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-16-generic root=UUID=cec480f7-d619-4505-91ba-df039fa7ddb2 ro quiet splash
Build Date: 12 March 2010 07:37:07AM
xorg-server 2:1.7.5-1ubuntu3 (buildd@)
Current version of pixman: 0.16.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 20 01:54:48 2010
(==) Using default built-in configuration (30 lines)
[tcsetpgrp failed in terminal_inferior: Operation not permitted]
error setting MTRR (base = 0xf0000000, size = 0x01000000, type = 1) Inappropriate ioctl for device (25)

Program received signal SIGILL, Illegal instruction.
0x00279419 in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0x00279419 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1 0xbfc0456c in ?? ()
#2 0x00f036ff in FontFileAddFontFile () from /usr/lib/libXfont.so.1
#3 0x00f01e2f in FontFileReadDirectory () from /usr/lib/libXfont.so.1
#4 0x00f0527f in FontFileInitFPE () from /usr/lib/libXfont.so.1
#5 0x08074a23 in ?? ()
#6 0x08074cb0 in SetDefaultFontPath ()
#7 0x08066c2e in _start ()

Arun S L (arun-sl)
tags: added: tls
Revision history for this message
Arun S L (arun-sl) wrote :

bt with source details...

Program received signal SIGILL, Illegal instruction.
0x003ae419 in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0x003ae419 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1 0xbfffee8c in ?? ()
#2 0x001696ff in FontFileAddFontFile (dir=0x8245788,
    fontName=0xbfffee8c "-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1", fileName=0xbffff28c "10x20-ISO8859-1.pcf.gz")
    at ../../../src/fontfile/fontdir.c:691
#3 0x00167e2f in FontFileReadDirectory (
    directory=0x8242ed0 "/usr/share/fonts/X11/misc", pdir=0xbffff6cc)
    at ../../../src/fontfile/dirfile.c:138
#4 0x0016b27f in FontFileInitFPE (fpe=0x8245608)
    at ../../../src/fontfile/fontfile.c:99
#5 0x080723c3 in SetFontPathElements (npaths=<value optimized out>,
    paths=<value optimized out>, bad=0xbffff79c, persist=1)
    at ../../dix/dixfonts.c:1753
#6 0x08072680 in SetDefaultFontPath (
    path=0x8215bb0 "/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x"...)
    at ../../dix/dixfonts.c:1866
#7 0x08066c2e in main (argc=1, argv=0xbffff8b4, envp=0xbffff8bc)
    at ../../dix/main.c:225
(gdb)

Revision history for this message
Arun S L (arun-sl) wrote :

some more insight after painfully compiling the libc source also, took more than 3GB of downloading and compilation. somehow managed..

#0 __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:532
#1 0xbfffee8c in ?? ()
#2 0x001696ff in FontFileAddFontFile (dir=0x8245788,
    fontName=0xbfffee8c "-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1", fileName=0xbffff28c "10x20-ISO8859-1.pcf.gz")
    at ../../../src/fontfile/fontdir.c:691
#3 0x00167e2f in FontFileReadDirectory (
    directory=0x8242ed0 "/usr/share/fonts/X11/misc", pdir=0xbffff6cc)
    at ../../../src/fontfile/dirfile.c:138
#4 0x0016b27f in FontFileInitFPE (fpe=0x8245608)
    at ../../../src/fontfile/fontfile.c:99
#5 0x080723c3 in SetFontPathElements (npaths=<value optimized out>,
    paths=<value optimized out>, bad=0xbffff79c, persist=1)
    at ../../dix/dixfonts.c:1753
#6 0x08072680 in SetDefaultFontPath (
    path=0x8215bb0 "/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x"...)
    at ../../dix/dixfonts.c:1866
#7 0x08066c2e in main (argc=1, argv=0xbffff8b4, envp=0xbffff8bc)
    at ../../dix/main.c:225
(gdb)

portion of code from the file sysdeps/i386/i686/multiarch/memcpy-ssse3.S arround line 532

L(shl_4_loop):

        movdqa 16(%eax, %edi), %xmm2
        sub $32, %ecx
        movdqa 32(%eax, %edi), %xmm3
        movdqa %xmm3, %xmm4
        palignr $4, %xmm2, %xmm3
        palignr $4, %xmm1, %xmm2
        lea 32(%edi), %edi
        movdqa %xmm2, -32(%edx, %edi)
        movdqa %xmm3, -16(%edx, %edi)

        jl L(shl_4_end)

        movdqa 16(%eax, %edi), %xmm2
        sub $32, %ecx
        movdqa 32(%eax, %edi), %xmm3
        movdqa %xmm3, %xmm1

Can anyone help me from here?

Revision history for this message
Arun S L (arun-sl) wrote :

finally did one tweek to get it working...

:-)

moved /lib/tls/i686/cmov/libc.so.6 out

ldd picked /lib/libc.so.6 and bingo... everything is working fine now...

Please let me know if there is a factual solution down the line.

Arun S L (arun-sl)
Changed in eglibc (Ubuntu):
status: New → Confirmed
Bryce Harrington (bryce)
description: updated
Changed in xorg-server (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Bráulio (brauliobo) wrote :

similar error here with lucid and a gtk program:
bhavamitra@bhavamitra-laptop:~/gebr/hg$ gdb debr
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Lendo símbolos de /media/ARQUIVOS1/gebr/install/bin/debr...concluído.
(gdb) r
Starting program: /media/ARQUIVOS1/gebr/install/bin/debr
[Thread debugging using libthread_db enabled]
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkWidget::visited-link-color' of type `GdkColor' from rc file value "((GString*) 0x80cfab0)" of type `GString'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkWidget::visited-link-color' of type `GdkColor' from rc file value "((GString*) 0x91a3880)" of type `GString'

Program received signal SIGSEGV, Segmentation fault.
__memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:160
160 ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S: File not found.
        in ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S
(gdb) bt
#0 __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:160
#1 0x014166f0 in gtk_tree_path_copy () from /usr/lib/libgtk-x11-2.0.so.0

Revision history for this message
In , Bryce Harrington (bryce) wrote :
Download full text (5.4 KiB)

Forwarding this issue from Ubuntu reporter Arun S L:
https://bugs.edge.launchpad.net/ubuntu/+source/xorg-server/+bug/542357

[Problem]
A crash is encountered in the routine FontFileAddFontFile()

[Original Report]
xorg crashes with 9.10 and ubuntu-bug and uing ppa is also not working. Says network fault in the only shell available. But apt-get is working.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e880b]
1: /usr/bin/X (0x8048000+0x61aed) [0x80a9aed]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0x730410]
3: /usr/lib/libXfont.so.1 (FontFileAddFontFile+0xff) [0x5616ff]
4: /usr/lib/libXfont.so.1 (FontFileReadDirectory+0x2ef) [0x55fe2f]
5: /usr/lib/libXfont.so.1 (FontFileInitFPE+0x2f) [0x56327f]
6: /usr/bin/X (0x8048000+0x2ca23) [0x8074a23]
7: /usr/bin/X (SetDefaultFontPath+0x100) [0x8074cb0]
8: /usr/bin/X (0x8048000+0x1ec2e) [0x8066c2e]
9: /lib/tls/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0x7e0bd6]
10: /usr/bin/X (0x8048000+0x1e921) [0x8066921]
Illegal instruction at address 0x8d9419

Caught signal 4 (Illegal instruction). Server aborting

00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 01)
        Subsystem: VMware Device [15ad:1976]
00:0f.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405]
        Subsystem: VMware SVGA II Adapter [15ad:0405]

some more debug info about the instruction causing fault: its palignr!!!

(gdb) display/i $pc-5
6: x/i $pc-5
   0x279414: and %ah,0xf(%esi)
(gdb) display/i $pc-4
7: x/i $pc-4
   0x279415: movdqa %xmm3,%xmm4
(gdb) display/i $pc-3
8: x/i $pc-3
   0x279416: movq %mm3,%mm4
(gdb) display/i $pc-2
9: x/i $pc-2
   0x279417: outsl %ds:(%esi),(%dx)
(gdb) display/i $pc-1
10: x/i $pc-1
   0x279418: jecxz 0x279480
(gdb) display/i $pc
11: x/i $pc
=> 0x279419: palignr $0x4,%xmm2,%xmm3
(gdb) display/i $pc+1
12: x/i $pc+1
   0x27941a: palignr $0x4,%mm2,%mm3
(gdb) display/i $pc+2
13: x/i $pc+2
   0x27941b: cmp (%edi),%cl
(gdb) display/i $pc+3
14: x/i $pc+3
   0x27941c: pminub (%esi,%eiz,2),%mm0
(gdb) display/i $pc+4
15: x/i $pc+4
   0x27941d: fiaddl (%esi,%eiz,2)
(gdb) display/i $pc+5
16: x/i $pc+5
   0x27941e: add $0x66,%al

bt with source details...

Program received signal SIGILL, Illegal instruction.
0x003ae419 in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0x003ae419 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1 0xbfffee8c in ?? ()
#2 0x001696ff in FontFileAddFontFile (dir=0x8245788,
    fontName=0xbfffee8c "-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1", fileName=0xbffff28c "10x20-ISO8859-1.pcf.gz")
    at ../../../src/fontfile/fontdir.c:691
#3 0x00167e2f in FontFileReadDirectory (
    directory=0x8242ed0 "/usr/share/fonts/X11/misc", pdir=0xbffff6cc)
    at ../../../src/fontfile/dirfile.c:138
#4 0x0016b27f in FontFileInitFPE (fpe=0x8245608)
    at ../../../src/fontfile/fontfile.c:99
#5 0x080723c3 in SetFontPathElements (npaths=<value optimized out>,
    paths=<value optimized out>, bad=0xbffff79c, persist=1)
    at ../../dix/dixfonts.c:1753
#6 0x08072680 in SetDefaultFontPath (
    path=0x8215bb0 "/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/font...

Read more...

Revision history for this message
In , Bryce Harrington (bryce) wrote :
Revision history for this message
In , Julien Cristau (jcristau) wrote :

sigill in memcpy sounds like a libc bug to me. closing as not our bug.

Revision history for this message
Bryce Harrington (bryce) wrote :

Arun S L - I've forwarded this bug upstream to http://bugs.freedesktop.org/show_bug.cgi?id=27436 - please subscribe yourself to this bug, in case they need further information or wish you to test something. Thanks ahead of time!

Changed in xorg-server:
status: Unknown → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

Upstream believes this to be a bug in libc, not X.org. Reassigning to libc

affects: xorg-server (Ubuntu Lucid) → glibc (Ubuntu Lucid)
Revision history for this message
Kees Cook (kees) wrote :

Can you attach the contents of your /proc/cpuinfo file? It seems like glibc is choosing the wrong library for accelerated memcpy maybe?

BTW, instead of building your own glibc, consider using the existing debug symbols for the regular eglibc build in Ubuntu. See https://wiki.ubuntu.com/DebuggingProgramCrash for details.

Revision history for this message
Matthias Klose (doko) wrote :

Please could you check an eglibc built without --enable-multi-arch?

  deb http://ppa.launchpad.net/doko/ppa/ubuntu lucid main
  deb-src http://ppa.launchpad.net/doko/ppa/ubuntu lucid main

Revision history for this message
Matthias Klose (doko) wrote :

it's not in glibc. there's already an eglibc task open

affects: glibc (Ubuntu Lucid) → xorg-server (Ubuntu Lucid)
Revision history for this message
Bryce Harrington (bryce) wrote :

doko, explain why you set this back to xorg-server? Upstream does not believe it to be an xserver bug.

Changed in xorg-server (Ubuntu Lucid):
assignee: nobody → Matthias Klose (doko)
Revision history for this message
Matthias Klose (doko) wrote :

@bryce: we are using now eglibc for over nine months. this has nothing to with glibc.

Changed in xorg-server (Ubuntu Lucid):
assignee: Matthias Klose (doko) → nobody
Revision history for this message
Bryce Harrington (bryce) wrote :

doko, it's been determined already this is not an xorg-server issue so no task needs to be open against xorg-server.

Changed in xorg-server (Ubuntu Lucid):
status: Triaged → Invalid
Matthias Klose (doko)
Changed in eglibc (Ubuntu Lucid):
status: Confirmed → Incomplete
Revision history for this message
Shaved Wookie (shavedwookie) wrote :

I'm getting this on a machine with: Kubuntu Lucid AMD 64, Radeon HD 4850 running ATI driver.

Lucid Beta 2 live cd works fine, but my installed version (which worked fine a few weeks ago until I updated recently) gets to KDM and then just stops. Mouse and Keyboard don't *seem* to respond, however Alt+SysRq+RSE drops me to a working root shell.

The only real uncommon errors I can see in kdm.log / Xorg.0.log are:

"Kcrash: Application 'KDMgreet' is crashing..."

and shortly after:

"Error setting MTRR (base = xd0000000, size = 0x100000000, type = 1) Inappropriate IOCTL for device (25)"
DDXSigGiveUp: Closing Log
drKonqi: cannot connect to X server 0.0"

Please let me know if there's any info I can provide to help.

Revision history for this message
Shaved Wookie (shavedwookie) wrote :

Just remembered... Two details that may / may not be important:

1. I boot with radeon.modeset=0 as I just get a black screen otherwise
2. This machine is also running xorg-edgers ppa

I understand that xorg-edgers is unsupported, but thought it worth adding in case the original poster was using X-E as well.

Revision history for this message
David Leonard (david-leonard) wrote :

Similar problem with fresh install of ubuntu desktop 10.04/i386 under VMware Workstation 5.0.0-13124;
X would just keep crashing out (even with failsafe/vesa) with :

  Illegal instruction at address 0xb76c1ca3
  Caught signal 4 (Illegal instruction). Server aborting

Workaround/solution was to move /lib/tls/i686/cmov/libc.so.6 out of the way.

That library owned by: libc6-i686 (2.11.1-0ubuntu)

gdb session of "X -once :0":

#0 0xb75b9ca3 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1 0xb739b37d in _glapi_add_dispatch ()
   from /usr/lib/xorg/modules/extensions/libglx.so
#2 0xb5f2b469 in _mesa_map_function_spec () from /usr/lib/dri/swrast_dri.so
#3 0xb5f2b558 in _mesa_map_function_array () from /usr/lib/dri/swrast_dri.so
#4 0xb5f2b640 in _mesa_map_static_functions () from /usr/lib/dri/swrast_dri.so
#5 0xb5ede70c in driInitExtensions () from /usr/lib/dri/swrast_dri.so
#6 0xb5edf10c in ?? () from /usr/lib/dri/swrast_dri.so
#7 0xb73a23dd in ?? () from /usr/lib/xorg/modules/extensions/libglx.so
#8 0xb73a1732 in ?? () from /usr/lib/xorg/modules/extensions/libglx.so
#9 0x080cb8c5 in InitExtensions ()
#10 0x08066bd8 in _start ()

Program received signal SIGILL, Illegal instruction.
0xb75b9ca3 in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) x/i $eip
=> 0xb75b9ca3: palignr $0x8,%xmm3,%xmm2

Revision history for this message
Jan Van Sanden (lambdacore) wrote :

I also got this Bug.
Fresh install of 9.04 in a VM under ESX 3.5, then upgrade to 10.04.

gdm kept crashing until I renamed /lib/tls/i686/cmov/libc.so.6 to /lib/tls/i686/cmov/libc.so.6-old so it is no longer used.

Thus I can confirm the workaround in comment #10 as working.

Revision history for this message
volinthius (volinthius) wrote :

I'm experiencing this bug as well. Running Lucid on Hardy's qemu (0.9.1-1ubuntu1).

Renaming /lib/tls/i686/cmov/libc.so.6 away bypassed the bug.

Changed in xorg-server:
importance: Unknown → Medium
status: Confirmed → Won't Fix
Revision history for this message
Arun S L (arun-sl) wrote :

status: Confirmed → Won't Fix
What does this mean? Every time there is a tls update, i need to manually

cp /lib/libc.so.6 /lib/tls/i686/cmov/libc.so.6 by booting from CD?

There is no way out yet.... !

Revision history for this message
Arun S L (arun-sl) wrote :

Maverik the problem is even worsened!!

/lib/libc.6.so is itself effecting the crash!

Revision history for this message
Arun S L (arun-sl) wrote :

Sorry for being late to respond.

missed the question amidst other comments

the cpuinfo file asked is being attached

Changed in eglibc (Ubuntu):
status: Incomplete → Confirmed
Changed in eglibc (Ubuntu Lucid):
status: Incomplete → Confirmed
Changed in xorg-server:
importance: Medium → Undecided
status: Won't Fix → New
status: New → Confirmed
Changed in xorg-server (Ubuntu):
status: Invalid → Confirmed
Changed in xorg-server (Ubuntu Lucid):
status: Invalid → Confirmed
Changed in xorg-server (Ubuntu):
status: Confirmed → Invalid
Changed in xorg-server (Ubuntu Lucid):
status: Confirmed → Invalid
Bryce Harrington (bryce)
Changed in xorg-server:
status: Confirmed → Invalid
Revision history for this message
Chris Halse Rogers (raof) wrote :

This appears to be a eglibc bug, not an Xserver bug. Closing the Xserver tasks.

Has anyone actually answered Doko's question -

Please could you check an eglibc built without --enable-multi-arch?

  deb http://ppa.launchpad.net/doko/ppa/ubuntu lucid main
  deb-src http://ppa.launchpad.net/doko/ppa/ubuntu lucid main

Changed in eglibc (Ubuntu):
status: Confirmed → Incomplete
Changed in eglibc (Ubuntu Lucid):
status: Confirmed → Incomplete
Revision history for this message
Jan Van Sanden (lambdacore) wrote :

Just tried to install 10.04.2 LTS (32bit, desktop) from scratch in a newly created virtual machine running on a VMware ESX server.
xserver kept crashing until I deleted file /lib/tls/i686/cmov/libc.so.6
Only then I was able to install via restarting gdm.
So this bug is still relevant and prohibits installation for the unsuspicious admin.

Revision history for this message
Arun S L (arun-sl) wrote :

I switched to virtualbox and there this issue is not bothering me anymore.

Maybe this is a glitch in VMWare itself ???

Revision history for this message
Arun S L (arun-sl) wrote : [Bug 542357] Re: upgrade from karmic to lucid: gui is crashing on login

Maybe we should open a thread for the issue with VMWARE as well.

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

Revision history for this message
Jan Van Sanden (lambdacore) wrote :

After upgrading to 10.10 the workaround with removing /lib/tls/i686/cmov/libc.so.6 does not work anymore, as this file is no longer present. Instead the Backtrace reads as follows:

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80ef31b]
1: /usr/bin/X (0x8048000+0x5d00d) [0x80a500d]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0x69140c]
3: /usr/bin/X (0x8048000+0x11dada) [0x8165ada]
4: /usr/bin/X (LoadSubModule+0x79) [0x8166489]
5: /usr/bin/X (xf86LoadSubModule+0x6e) [0x80c20de]
6: /usr/lib/xorg/modules/drivers/vmwlegacy_drv.so (0xc42000+0x4dba) [0xc46dba]
7: /usr/bin/X (InitOutput+0x900) [0x80adf10]
8: /usr/bin/X (0x8048000+0x1a41b) [0x806241b]
9: /lib/libc.so.6 (__libc_start_main+0xe7) [0x163ce7]
10: /usr/bin/X (0x8048000+0x1a1b1) [0x80621b1]
Illegal instruction at address 0x25e0bd

Caught signal 4 (Illegal instruction). Server aborting

I'm also under the suspicion, that this may be a problem related to some incompatibilities between vmware and libc.so.6.
If you need more informations, just ask, the problem is absolutely reproducible with at least 6 different machines I'm running under different VMware ESX Servers versions (3.5, 4.0 and 4.1).

Revision history for this message
dino99 (9d9) wrote :

This is no more a supported version now

Changed in eglibc (Ubuntu Lucid):
status: Incomplete → Invalid
Changed in eglibc (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.