Bug 877711 (qt-overcommit) - some Qt applications segfault at start with vm.overcommit_memory=2
Summary: some Qt applications segfault at start with vm.overcommit_memory=2
Keywords:
Status: CLOSED CANTFIX
Alias: qt-overcommit
Product: Fedora
Classification: Fedora
Component: qt
Version: 19
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 978982 979099 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-18 08:55 UTC by Andrew
Modified: 2013-10-09 16:36 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-09 16:25:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrew 2012-11-18 08:55:28 UTC
Disabling memory overcommit prevents some applications to start while there is a lot of free memory (1-2GB). Seen with KDE apps: kwin, plasma-desktop, kate, kopete, rekonq, crash reporter. So KDE desktop is unusable with this setting.
Overcommit values 0 or 1 fix that completely.

It might be divided into two parts:

- don't try to alloc a lot of memory

- don't segfault if memory is really exhausted and throw more proper kind of error

Affected Qt version: qt-4.8.3-7.fc17.x86_64
Works fine (mostly?): qt-4.8.2-7.fc17.x86_64

More info and backtraces:

https://bugzilla.redhat.com/show_bug.cgi?id=853587#c15 (this comment and below)

https://bugs.kde.org/show_bug.cgi?id=309889

Comment 1 Kevin Kofler 2012-11-18 15:40:16 UTC
To be honest, I'd be inclined to filing this under "don't do that then".

Comment 2 Andrew 2012-11-18 16:22:51 UTC
Sorry, my English isn't very well :) Do you mean not to play with overcommit setting and leave it as default?
It isn't vital maybe, but relying on overcommit permission isn't a best case anyway, as for me. Especially as for basic and important component like Qt.

Comment 3 Rex Dieter 2013-06-18 18:24:28 UTC
This might be fixed in latest qt/qtwebkit builds.

(If not, we'll likely just have to mark this CANTFIX)

Comment 4 Andrew 2013-06-19 09:19:10 UTC
(In reply to Rex Dieter from comment #3)
Could you please specify the exact version of this components to test? Are they already present in repo?
I use F19 beta x86_64 for now.

Comment 5 Kevin Kofler 2013-06-30 19:42:28 UTC
*** Bug 979099 has been marked as a duplicate of this bug. ***

Comment 6 Kevin Kofler 2013-07-01 09:53:56 UTC
*** Bug 978982 has been marked as a duplicate of this bug. ***

Comment 7 Fedora End Of Life 2013-07-04 03:55:05 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Lukáš Tinkl 2013-07-04 10:59:00 UTC
Still valid in F19

Comment 9 Rex Dieter 2013-10-09 16:25:22 UTC
marking cantfix, webkit jit (still) really needs this, no way around it afaik.


Note You need to log in before you can comment on or make changes to this bug.