Bug 247398 - MALLOC_CHECK_ set to 3 by startkde
Summary: MALLOC_CHECK_ set to 3 by startkde
Status: VERIFIED UPSTREAM
Alias: None
Product: kdm
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 18:01 UTC by Nico Kruber
Modified: 2011-01-28 16:17 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Kruber 2010-08-11 18:01:15 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

The startkde script sets MALLOC_CHECK_ to 3 breaking eclipse (https://bugs.eclipse.org/bugs/show_bug.cgi?id=320487 - ok, eclipse's fault) but also slowing down performance by up to 30%, according to http://www.novell.com/support/viewContent.do?externalId=3113982&sliceId=1 (?). Also the comments in http://websvn.kde.org/branches/KDE/4.5/kdebase/workspace/startkde.cmake?view=markup suggest this should not have been enabled for a release in the first place.

Reproducible: Always
Comment 1 Maciej Mrozowski 2010-08-12 13:42:56 UTC
Fixed
Comment 2 Alejandro Nova 2010-08-16 07:35:50 UTC
If it's fixed, then please, leave it RESOLVED / FIXED ;).
Comment 3 David Faure 2010-09-01 21:21:33 UTC
SVN commit 1170655 by dfaure:

Let's try and remember to remove MALLOCK_CHECK_ on the next 4.x.0 release, up to now we forgot every time...
CCBUG: 247398


 M  +1 -0      RELEASE-CHECKLIST  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1170655
Comment 4 Nico Kruber 2011-01-26 14:56:47 UTC
again, on 4.6 MALLOC_CHECK_ is set to 3 by startkde
http://websvn.kde.org/branches/KDE/4.6/kdebase/workspace/startkde.cmake?view=markup

looks as if this has been forgotten once again :(
Comment 5 Will Stephenson 2011-01-26 15:32:50 UTC
Fixed again in 4.6 branch, revision 1217284
Comment 6 Kevin Kofler 2011-01-26 16:10:14 UTC
How about just keeping this disabled always, even in trunk? Developers who really want to debug memory issues can easily set MALLOC_CHECK_ on their own.
Comment 7 Lamarque V. Souza 2011-01-28 16:17:10 UTC
What about using "kde4-config --kde-version" to know if it is a development version?

[lamarque@evolucao ~]$ kde4-config --kde-version
4.6.00 (4.6.0)

If release number is above 50 it is a development version, right? We can something like:

kde4-config --kde-version | perl -ne 'if (/(\d+)\.(\d+)\.(\d+)/) { if ($1 > 50) { print "development\n"; } else { print "production\n"}; exit 0; }'