segfault when trying to play a video after suspend

Bug #1401716 reported by mathew thomas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

after returning from suspend i try to play a video (tried varoius players) and i get a crash:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1401716/+attachment/4280490/+files/log.txt

the only way to reset is to do a full system boot

it shouldnt matter but i also use mateDM
---
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: max 4160 F.... pulseaudio
 /dev/snd/controlC0: max 4160 F.... pulseaudio
                      max 4331 F.... mixer_applet2
 /dev/snd/seq: timidity 3938 F.... timidity
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=c997660a-13fd-4923-9103-c2decec8d50a
InstallationDate: Installed on 2014-10-17 (57 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release i386 (20140722.2)
MachineType: LENOVO 20042
Package: linux (not installed)
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-43-generic root=UUID=abe24297-b7ee-4a4b-9b31-463e4816e8e9 ro quiet splash
ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-43-generic N/A
 linux-backports-modules-3.13.0-43-generic N/A
 linux-firmware 1.127.10
Tags: trusty
Uname: Linux 3.13.0-43-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 09/07/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 29CN31WW(V2.08)
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Base Board Product Name
dmi.board.vendor: LENOVO
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnLENOVO:bvr29CN31WW(V2.08):bd09/07/2010:svnLENOVO:pn20042:pvrLenovoG560:rvnLENOVO:rnBaseBoardProductName:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: 20042
dmi.product.version: Lenovo G560
dmi.sys.vendor: LENOVO

Revision history for this message
mathew thomas (maxie) wrote :

oh yeh it is on a lenovo g560 laptop
and i had similar experiences when i had hibernate enabled

Revision history for this message
penalvch (penalvch) wrote :

mathew thomas, thank you for reporting this and helping make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1401716
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: xserver-xorg-video-nouveau (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
mathew thomas (maxie) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected trusty
description: updated
Revision history for this message
mathew thomas (maxie) wrote : BootDmesg.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : CRDA.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : CurrentDmesg.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : IwConfig.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : Lspci.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : Lsusb.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : ProcEnviron.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : ProcInterrupts.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : ProcModules.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : RfKill.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : UdevDb.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : UdevLog.txt

apport information

Revision history for this message
mathew thomas (maxie) wrote : WifiSyslog.txt

apport information

Revision history for this message
penalvch (penalvch) wrote :

Cut from Bug Description.

description: updated
tags: added: bios-outdated-29cn38ww
Revision history for this message
mathew thomas (maxie) wrote : re: [Bug 1401716] Re: segfault when trying to play a video after suspend
Download full text (3.9 KiB)

hi chris thanks for replying
unfortunatly no change

root@lap002:/home/max# sudo dmidecode -s bios-version && sudo dmidecode -s
bios-release-date
29CN38WW(V2.15)
01/28/2011
root@lap002:/home/max#

i inserted some cuttings from the syslog file if it helps

----------------------------------------
 From: "Christopher M. Penalver" <email address hidden>
Sent: Sunday, December 14, 2014 7:43 AM
To: <email address hidden>
Subject: [Bug 1401716] Re: segfault when trying to play a video after
suspend

mathew thomas, as per
http://support.lenovo.com/us/en/products/laptops-and-netbooks/lenovo-g-serie
s-laptops/lenovo-g560-notebook an update to your BIOS is available
(29CN38WW). If you update to this following
https://help.ubuntu.com/community/BIOSUpdate does it change anything? If
it doesn't, could you please both specify what happened, and provide the
output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

For more on BIOS updates and linux, please see
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette
.

Please note your current BIOS is already in the Bug Description, so
posting this on the old BIOS would not be helpful. As well, you don't
have to create a new bug report.

Once the BIOS is updated, then please mark this report Status Confirmed.

Thank you for your understanding.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1401716

Title:
segfault when trying to play a video after suspend

Status in linux package in Ubuntu:
Incomplete

Bug description:
after returning from suspend i try to play a video (tried varoius players)
and i get a crash:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1401716/+attachment/428
0490/+files/log.txt

the only way to reset is to do a full system boot

it shouldnt matter but i also use mateDM
---
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: max 4160 F.... pulseaudio
 /dev/snd/controlC0: max 4160 F.... pulseaudio
                      max 4331 F.... mixer_applet2
 /dev/snd/seq: timidity 3938 F.... timidity
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=c997660a-13fd-4923-9103-c2decec8d50a
InstallationDate: Installed on 2014-10-17 (57 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release i386
(20140722.2)
MachineType: LENOVO 20042
Package: linux (not installed)
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-43-generic
root=UUID=abe24297-b7ee-4a4b-9b31-463e4816e8e9 ro quiet splash
ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No
PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-43-generic N/A
 linux-backports-modules-3.13.0-43-generic N/A
 linux-firmware 1.127.10
Tags: trusty
Uname: Linux 3.13.0-43-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: Tru...

Read more...

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
mathew thomas (maxie) wrote :
Revision history for this message
penalvch (penalvch) wrote :

mathew thomas, could you please test the latest upstream kernel available from the very top line at the top of the page (the release names are irrelevant for testing, and please do not test the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested exactly shown as:
kernel-fixed-upstream-3.18

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: latest-bios-29cn38ww
removed: bios-outdated-29cn38ww
Changed in linux (Ubuntu):
importance: Low → Medium
status: Confirmed → Incomplete
Revision history for this message
mathew thomas (maxie) wrote :

the first one i tried 3.14.1-031401.201404141220 fixed the bug

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
mathew thomas (maxie)
tags: added: kernel-fixed-upstream-3.14.1-031401.201404141220
removed: apport-collected latest-bios-29cn38ww trusty
penalvch (penalvch)
tags: added: apport-collected kernel-fixed-upstream-3.14.1 latest-bios-29cn38ww trusty
removed: kernel-fixed-upstream-3.14.1-031401.201404141220
Revision history for this message
penalvch (penalvch) wrote :

mathew thomas, the next step is to fully reverse commit bisect from kernel 3.13 to 3.14.1 in order to identify the last bad commit, followed immediately by the first good one. Once this commit has been identified, then it may be reviewed as a candidate for backporting into your release. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection#How_do_I_reverse_bisect_the_upstream_kernel.3F ? Please note, finding adjacent kernel versions is not fully commit bisecting.

Thank you for your understanding.

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

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-reverse-bisect
Revision history for this message
mathew thomas (maxie) wrote :

ok i tried this several times,
3.13.0-031300-generic_3.13.0-031300.201401192235
is the first kernel that resolved the problem
even the repositry kernel was updated to
linux-image-3.13.0-44-generic and was still causing a problem
is there much difference between the repository and the upstream kernels?

Revision history for this message
mathew thomas (maxie) wrote :

scratch that!! it happened with that kernel too!! is there much difference between a forced suspend (low battery) and a power button suspend?

Revision history for this message
mathew thomas (maxie) wrote :

in addition a weird thing happened from 3.13.4
after it returned from crash the display came up garbaged
random fragments of the screen mixed up all over the screen
Dec 31 19:15:03 lap002 kernel: [87000.759353] nouveau E[ PFIFO][0000:01:00.0] channel 3 [Xorg[13447]] unload timeout
Dec 31 19:16:26 lap002 kernel: [87083.883200] nouveau E[Xorg[13925]] failed to idle channel 0xcccc0001 [Xorg[13925]]
Dec 31 19:16:41 lap002 kernel: [87098.891207] nouveau E[Xorg[13925]] failed to idle channel 0xcccc0001 [Xorg[13925]]
Dec 31 19:16:43 lap002 kernel: [87100.898119] nouveau E[ PFIFO][0000:01:00.0] channel 4 [Xorg[13925]] unload timeout
is what came out from tty

Revision history for this message
penalvch (penalvch) wrote :

mathew thomas, just to advise, it is best to keep the way you are suspending consistent when testing to this issue. Hence, if you are doing it from the power button, then keep doing that, and only that when going through your tests.

Revision history for this message
mathew thomas (maxie) wrote :

it only happened when the battery went flat, where the testing before was going via the power icon, i started again from scratch because i believed it wasnt getting resolved via the power icon

Revision history for this message
mathew thomas (maxie) wrote :

so far still fails
also something else happened with kernel when it crashed

linux-image-3.13.11-03131103-generic_3.13.11-03131103.201406131635_i386
Jan 10 16:50:31 lap002 kernel: [59727.336134] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH TLB flush idle timeout fail
Jan 10 16:50:31 lap002 kernel: [59727.340115] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_STATUS : 0x00000503 BUSY DISPATCH CTXPROG CCACHE_UNK4
Jan 10 16:50:31 lap002 kernel: [59727.344281] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_VSTATUS0: 0x00000008 CCACHE
Jan 10 16:50:31 lap002 kernel: [59727.348338] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_VSTATUS1: 0x00000000
Jan 10 16:50:31 lap002 kernel: [59727.352341] nouveau E[ PGRAPH][0000:01:00.0] PGRAPH_VSTATUS2: 0x00000000

Revision history for this message
mathew thomas (maxie) wrote :
Download full text (4.8 KiB)

ok this was an accidental test
(i accidently ran the battery to suspend with a video paused in the background)

linux-headers-3.13.11-03131105_3.13.11-03131105.201407181735_all

Jan 13 00:14:30 lap002 kernel: [197396.486012] nouveau E[ PGRAPH][0000:01:00.0] ILLEGAL_MTHD ILLEGAL_CLASS
Jan 13 00:14:30 lap002 kernel: [197396.486070] nouveau E[ PGRAPH][0000:01:00.0] ch -1 [0x003fb24000 unknown] subc 2 class 0x0000 mthd 0x0860 data 0xff7c7c7c
Jan 13 00:14:30 lap002 kernel: [197396.486110] nouveau E[ PGRAPH][0000:01:00.0] ILLEGAL_MTHD ILLEGAL_CLASS
Jan 13 00:14:30 lap002 kernel: [197396.486139] nouveau E[ PGRAPH][0000:01:00.0] ch -1 [0x003fb24000 unknown] subc 2 class 0x0000 mthd 0x0860 data 0xff7c7c7c
Jan 13 00:14:30 lap002 kernel: [197396.486179] nouveau E[ PGRAPH][0000:01:00.0] ILLEGAL_MTHD ILLEGAL_CLASS
Jan 13 00:14:30 lap002 kernel: [197396.486208] nouveau E[ PGRAPH][0000:01:00.0] ch -1 [0x003fb24000 unknown] subc 2 class 0x0000 mthd 0x0860 data 0xff7c7c7c
Jan 13 00:14:30 lap002 kernel: [197396.486276] nouveau E[ PGRAPH][0000:01:00.0] ILLEGAL_MTHD ILLEGAL_CLASS
Jan 13 00:14:30 lap002 kernel: [197396.486305] nouveau E[ PGRAPH][0000:01:00.0] ch -1 [0x003fb24000 unknown] subc 2 class 0x0000 mthd 0x0860 data 0xff7c7c7c
Jan 13 00:14:30 lap002 kernel: [197396.486373] nouveau E[ PGRAPH][0000:01:00.0] ILLEGAL_MTHD ILLEGAL_CLASS
Jan 13 00:14:30 lap002 kernel: [197396.486402] nouveau E[ PGRAPH][0000:01:00.0] ch -1 [0x003fb24000 unknown] subc 2 class 0x0000 mthd 0x0860 data 0xff7c7c7c
Jan 13 00:14:30 lap002 kernel: [197396.486470] nouveau E[ PGRAPH][0000:01:00.0] ILLEGAL_MTHD ILLEGAL_CLASS
Jan 13 00:14:30 lap002 kernel: [197396.486498] nouveau E[ PGRAPH][0000:01:00.0] ch -1 [0x003fb24000 unknown] subc 2 class 0x0000 mthd 0x0860 data 0xff7c7c7c
Jan 13 00:14:30 lap002 kernel: [197396.486567] nouveau E[ PGRAPH][0000:01:00.0] ILLEGAL_MTHD ILLEGAL_CLASS
Jan 13 00:14:30 lap002 kernel: [197396.486596] nouveau E[ PGRAPH][0000:01:00.0] ch -1 [0x003fb24000 unknown] subc 2 class 0x0000 mthd 0x0860 data 0xff7c7c7c
Jan 13 00:14:30 lap002 kernel: [197396.486653] nouveau E[ PFB][0000:01:00.0] trapped write at 0x002001a034 on channel 0x0003fb24 [unknown] PFIFO/PFIFO_READ/SEMAPHORE reason: NULL_DMAOBJ
Jan 13 00:14:30 lap002 kernel: [197396.486727] nouveau E[ PGRAPH][0000:01:00.0] ILLEGAL_MTHD ILLEGAL_CLASS
Jan 13 00:14:30 lap002 kernel: [197396.486756] nouveau E[ PGRAPH][0000:01:00.0] ch -1 [0x003fb24000 unknown] subc 2 class 0x0000 mthd 0x0860 data 0xff7c7c7c
Jan 13 00:14:30 lap002 kernel: [197396.486814] nouveau E[ PGRAPH][0000:01:00.0] ILLEGAL_MTHD ILLEGAL_CLASS
Jan 13 00:14:30 lap002 kernel: [197396.486827] nouveau E[ PGRAPH][0000:01:00.0] ch -1 [0x003fb24000 unknown] subc 2 class 0x0000 mthd 0x0860 data 0xff7c7c7c
Jan 13 00:14:30 lap002 kernel: [197396.486891] nouveau E[ PGRAPH][0000:01:00.0] ILLEGAL_MTHD ILLEGAL_CLASS
Jan 13 00:14:30 lap002 kernel: [197396.486919] nouveau E[ PGRAPH][0000:01:00.0] ch -1 [0x003fb24000 unknown] subc 2 class 0x0000 mthd 0x0860 data 0xff7c7c7c
Jan 13 00:14:30 lap002 kernel: [197396.489019] nouveau E[ PFIFO][0000:01:00.0] CACHE_ERROR - ch 127 [unknown] subc 0 mthd 0x0010 data 0x00000000
Jan 13 00:14:30...

Read more...

Revision history for this message
mathew thomas (maxie) wrote :

ok success with kernel linux-image-3.13.11-03131106-generic_3.13.11-03131106.201408131735_i386

Revision history for this message
mathew thomas (maxie) wrote :

false alarm! tested 2 more times both failed

Revision history for this message
mathew thomas (maxie) wrote :

ok now
i tested it 6 times before posting
linux-image-3.13.11-03131108-generic_3.13.11-03131108.201410031135_i386
all a sucess
i hope this information helps
and thanks

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

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.