saucy Xorg Segmentation fault

Bug #1238880 reported by gregrwm
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-mach64 (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

saucy Xorg can launch and display an xterm, but segfaults when twm is launched, or mouse is moved, or under lightdm. same hardware works fine under precise. Additional attachment contains:
-rw-r----- 1 root whoopsie 1328963 2013-10-11 Fri 10:19:27 /var/crash/_usr_bin_Xorg.0.crash
-rw-r--r-- 1 root root 49500 2013-10-11 Fri 10:19:43 /var/log/Xorg.0.log
-rw-r--r-- 1 root root 145 2013-10-11 Fri 10:19:43 /var/run/systemd/seats/seat0
-rw-r--r-- 1 root root 202 2013-10-11 Fri 10:19:43 /var/run/systemd/users/444
-rw-r--r-- 1 root root 245 2013-10-11 Fri 10:19:43 /var/run/systemd/sessions/c1
-rw-r----- 1 root adm 1030 2013-10-11 Fri 10:19:45 /var/log/apport.log

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: xorg 1:7.7+1ubuntu6
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic i686
ApportVersion: 2.12.5-0ubuntu1
Architecture: i386
Date: Fri Oct 11 11:32:25 2013
MarkForUpload: True
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.13.1-0ubuntu1
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
DistUpgraded: Fresh install
DistroCodename: trusty
DistroRelease: Ubuntu 14.04
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] 3D Rage PRO AGP 2X [1002:4742] (rev 5c) (prog-if 00 [VGA controller])
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rage Pro Turbo AGP 2X [1002:0080]
Lsusb:
 Bus 001 Device 003: ID 09da:0006 A4 Tech Co., Ltd Optical Mouse WOP-35 / Trust 450L Optical Mouse
 Bus 001 Device 002: ID 552d:4348
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Compaq Deskpro EN Series
Package: xorg 1:7.7+1ubuntu7
PackageArchitecture: i386
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-1-generic root=UUID=0a0b9aac-fdd8-4d69-bc07-f4d66fbb6f28 ro noplymouth INIT_VERBOSE=yes panic=30 lapic acpi=force
ProcVersionSignature: Ubuntu 3.13.0-1.16-generic 3.13.0-rc7
Renderer: Software
Tags: trusty ubuntu reproducible
Uname: Linux 3.13.0-1-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 02/10/99
dmi.bios.vendor: Compaq
dmi.bios.version: 686T3
dmi.board.name: 0400h
dmi.board.vendor: Compaq
dmi.chassis.type: 3
dmi.chassis.vendor: Compaq
dmi.modalias: dmi:bvnCompaq:bvr686T3:bd02/10/99:svnCompaq:pnDeskproENSeries:pvr:rvnCompaq:rn0400h:rvr:cvnCompaq:ct3:cvr:
dmi.product.name: Deskpro EN Series
dmi.sys.vendor: Compaq
version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
version.libdrm2: libdrm2 2.4.50-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.0.1-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.0.1-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.14.5-1ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.907-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu1
xserver.bootTime: Sat Jan 11 15:42:36 2014
xserver.configfile: default
xserver.devices:
 input Power Button KEYBOARD, id 6
 input A4Tech USB Optical Mouse MOUSE, id 7
 input AT Translated Set 2 keyboard KEYBOARD, id 8
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.14.5-1ubuntu2

Revision history for this message
gregrwm (gregrwm) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg (Ubuntu):
status: New → Confirmed
Revision history for this message
booble (yashin-vladimir) wrote :

For me lightdm over Xorg starts fine and works until I try to login to kde.
Then I see kde applications starting, I can even see my desktop for 2 seconds and then xorg crashes.

Nvidia binary driver 319.60-0ubuntu1 is installed
Ubuntu 13.10, problem appeared after upgrade.
% uname -a
Linux 3.10.4-031004-generic #201307282043 SMP Mon Jul 29 00:44:07 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

On 13.04 same configuration worked fine.

I use integrated video on laptop to drive laptop's LVDS and discrete Nvidia card for 2 external monitors: DVI and DisplayPort.
Xinerama is used across all monitors.

If I try to use Nvidia card with one DVI monitor then no crashes are observed.

Please let me know what other information might be useful, I will try to collect it ASAP.

Thank you.

Revision history for this message
penalvch (penalvch) wrote :

gregrwm, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xorg REPLACE-WITH-BUG-NUMBER

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in xorg (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
booble (yashin-vladimir) wrote :

Hi Chris,

Actually the problem was solved for me once I installed nvidia driver from xorg-edgers PPA.
Here is my current driver version: 331.20-0ubuntu8~xedgers~saucy1

Looks like the driver in Ubuntu repository is too outdated and has some issue with new xorg and/or some configurations.

Thanks!

Revision history for this message
gregrwm (gregrwm) wrote :

yes, still the same, running latest current liveCD.

tried: apport-collect -p xorg 1238880
got:
ERROR: connecting to Launchpad failed: [Errno 8] _....

tried ping of 8.8.8.8, worked, tried changing resolv.conf to 8.8.8.8, still got same error.

(was still copying down error message when presumably lightdm yet again tried to launch xorg, i of course yet again tried to switch the virtual terminal back to see the rest of the error message, and instead got a garbled and unresponsive screen, a different latent bug no doubt in some driver that has shown up when switching VTs in rapid succession, have seen *this* bug since many releases ago.)

Revision history for this message
penalvch (penalvch) wrote :

gregrwm, thank you for performing the requested test. Could you please execute the following in your current install so that it would attach additional debugging logs:
apport-collect -p xorg 1238880

description: updated
description: updated
tags: added: trusty
tags: added: regression-release
Revision history for this message
gregrwm (gregrwm) wrote : Dependencies.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
gregrwm (gregrwm) wrote : ProcEnviron.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : Dependencies.txt

apport information

description: updated
Revision history for this message
gregrwm (gregrwm) wrote :

did the apport-collect for you from both precise (which works fine) and saucy (which segfaults), yes i launched it multiple times while working out how to appease it. it appeared to me i succeeded once each for precise and saucy, so i'm surprised to see 3 entries above..

penalvch (penalvch)
tags: added: needs-trusty-test
Revision history for this message
gregrwm (gregrwm) wrote :

apport information

description: updated
Revision history for this message
gregrwm (gregrwm) wrote :

ok i installed trusty, launched X, 2 xterms, and twm, so far so good, then i launched lxrandr, then xorg segfaulted. then i ran:
apport-collect -p xorg 1238880
did that get you what you need?

Revision history for this message
penalvch (penalvch) wrote :

gregrwm, thank you for your comment. Unfortunately, it did not provide the expected information. Could you please ensure xdiagnose is installed, and if so, after doing the apport-collect a window pops up which you would need to say yes to for the debug logs to be attached:
"Your display manager log files may help developers diagnose the bug, but may contain sensitive information such as your hostname. Do you want to include these logs in your bug report?" -> Yes

Could you please advise?

Revision history for this message
gregrwm (gregrwm) wrote : BootDmesg.txt

apport information

tags: added: reproducible ubuntu
description: updated
Revision history for this message
gregrwm (gregrwm) wrote : BootLog.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : CurrentDmesg.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : Dependencies.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : DpkgLog.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : GconfCompiz.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : Lspci.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : ProcInterrupts.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : ProcModules.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : UdevDb.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : UdevLog.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : XorgLog.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : xserver.errors.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote : xserver.outputs.txt

apport information

Revision history for this message
gregrwm (gregrwm) wrote :

ok installed xdiagnose, reran apport. note the sequence:

..==== AUTHENTICATING FOR com.ubuntu.apport.root-info ===
Authentication is required to collect system information for this problem report
Authenticating as: ,,, (mino)
Password: ..............................................................................................................................
.==== AUTHENTICATION COMPLETE ===

no windows are popping up (xorg isn't running). it was still typing periods twice per second or so, so it wasn't very clear, but i guessed it wanted a sudo password. seemed to work. got what you wanted yet?

penalvch (penalvch)
description: updated
Revision history for this message
penalvch (penalvch) wrote :

gregrwm, thank you for performing the requested information. Could you please provide the full computer model as noted on the sticker (ex. Compaq Deskpro EN Desktop PC 6450+)?

Revision history for this message
gregrwm (gregrwm) wrote :

"COMPAQ DESKPRO"
"intel inside pentium II"
"DPEND-P350/6 4/N4 US"
"COMPAQ SERIAL NUMBER NO. 6848 BW32 D190"

penalvch (penalvch)
tags: removed: needs-trusty-test
Revision history for this message
penalvch (penalvch) wrote :

gregrwm, thank you for providing the requested information. The next step is to fully commit bisect from Precise to Saucy, in order to identify the offending commit. Could you please do this following https://wiki.ubuntu.com/X/Bisecting ?

affects: xorg (Ubuntu) → xserver-xorg-video-mach64 (Ubuntu)
Changed in xserver-xorg-video-mach64 (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
gregrwm (gregrwm) wrote :

ok i got this far:
  $ git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-mach64
now what is the Ubuntu Way to compile and test it?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

​​​​this driver has been removed from Ubuntu, closing the bugs

Changed in xserver-xorg-video-mach64 (Ubuntu):
status: Confirmed → Won't Fix
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.