Bug 851044 - system halt on resume from hibernation: segfault in libdirectfb
Summary: system halt on resume from hibernation: segfault in libdirectfb
Status: RESOLVED FIXED
: 861488 862678 (view as bug list)
Alias: None
Product: openSUSE 13.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: RC 1
Hardware: i686 openSUSE 13.1
: P2 - High : Critical (vote)
Target Milestone: ---
Assignee: Jeff Mahoney
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-19 07:21 UTC by Elmar Stellnberger
Modified: 2014-11-03 14:10 UTC (History)
6 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/var/log/messages (130.97 KB, text/plain)
2013-11-19 07:22 UTC, Elmar Stellnberger
Details
pm-suspend.log (11.99 KB, text/plain)
2013-11-19 07:28 UTC, Elmar Stellnberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar Stellnberger 2013-11-19 07:21:45 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:25.0) Gecko/20100101 Firefox/25.0

 Whenever I hibernate my pb dots e2 and then try to resume it stops after reading in 100% of all pages apparently when it tries to set the video mode. /var/log/messages shows a segafult in libdirectfb. It is possible to escape with the SysRq keys.

Reproducible: Always
Comment 1 Elmar Stellnberger 2013-11-19 07:22:57 UTC
Created attachment 567979 [details]
/var/log/messages
Comment 2 Elmar Stellnberger 2013-11-19 07:28:33 UTC
Created attachment 567981 [details]
pm-suspend.log

Is there a way to disable the console framebuffer? It seems to have some bugs as it does also display the boot image in a wrong position. Maybe I could set vga=0 or anything thelike or will that stay without effect unless I disable KMS completely?
Comment 3 Dr. Werner Fink 2013-12-17 14:32:40 UTC
Why this has become a bug of systemd-maintainers@suse.de ?

... from attachments

 /usr/lib/pm-utils/pm-functions: Zeile 134: 24494 Speicherzugriffsfehler  s2disk --config $S2DISK_CONF
Comment 4 Dr. Werner Fink 2013-12-17 14:42:06 UTC
Adding the maintainers of pm-utils and DirectFB to Carbon Copy list as well as re-assigning to the bugowner of pm-utils

@ Elmar : A core dump could help here even if the kernel tells about

kernel: [11361.253888] s2disk[24494]: segfault at 45454551 ip b729f8e7 sp bf9d4200 error 4 in libdirectfb-1.6.so.0.3.0[b7230000+133000]
Comment 5 Elmar Stellnberger 2013-12-17 19:25:19 UTC
At least there is no *.core in /usr and /var or directly in / or /root or not even in any other dir except the wine mono runtime.
Comment 6 Cristian Rodríguez 2013-12-17 21:12:56 UTC
(In reply to comment #0)
> User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:25.0) Gecko/20100101
> Firefox/25.0
> 
>  Whenever I hibernate my pb dots e2 and then try to resume it stops after
> reading in 100% of all pages apparently when it tries to set the video mode.
> /var/log/messages shows a segafult in libdirectfb. It is possible to escape
> with the SysRq keys.
> 
> Reproducible: Always

Is the affected system running a 32 bit kernel ? what is the output of uname -a ?
Comment 7 Elmar Stellnberger 2013-12-18 11:19:35 UTC
Linux linux-4wml 3.11.6-4-desktop #1 SMP PREEMPT Wed Oct 30 18:04:56 UTC 2013 (e6d4a27) i686 i686 i386 GNU/Linux
Comment 8 Cristian Rodríguez 2013-12-18 23:38:55 UTC
(In reply to comment #7)
> Linux linux-4wml 3.11.6-4-desktop #1 SMP PREEMPT Wed Oct 30 18:04:56 UTC 2013
> (e6d4a27) i686 i686 i386 GNU/Linux

All these "failure at resume" bugs in 32 bit x86 are caused by the same set of kernel bugs.

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-3.11.y&id=83da8ac7ee52d56e9bf5626502cca6e8e169580c

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-3.11.y&id=83da8ac7ee52d56e9bf5626502cca6e8e169580c

other symptoms

http://lists.opensuse.org/opensuse/2013-12/msg00248.html

In short, stuff using epoll or select are affected.. fix is only on 3.11.8 or later.
Comment 9 Elmar Stellnberger 2013-12-24 22:17:03 UTC
If this is a known bug then why not provide an update from 3.11.6 to 3.11.8?
Comment 10 Cristian Rodríguez 2013-12-25 03:59:00 UTC
(In reply to comment #9)
> If this is a known bug then why not provide an update from 3.11.6 to 3.11.8?

AFAIK, There is an update to 3.12.x in the works.
Comment 11 Dr. Werner Fink 2014-02-11 17:09:29 UTC
*** Bug 861488 has been marked as a duplicate of this bug. ***
Comment 12 Dr. Werner Fink 2014-02-11 17:11:30 UTC
Increase priority as I've been hit now several times by the same kernel bug
Comment 13 Dr. Werner Fink 2014-02-11 17:14:10 UTC
*** Bug 862678 has been marked as a duplicate of this bug. ***
Comment 14 Cristian Rodríguez 2014-02-11 17:20:33 UTC
Updated kernels have hit the update repos by now.. 3.11.10 should have this bugs fixed..
Comment 15 Cristian Rodríguez 2014-02-11 17:29:46 UTC
*** Bug 839170 has been marked as a duplicate of this bug. ***
Comment 16 Jeff Mahoney 2014-11-03 14:10:13 UTC
Closing as we've long since updated past 3.11.8.