konqueror leaks memory bad Reproducible: Always Steps to Reproduce: 1.valgrind konqueror 2.visit kernel.org 3.press ctrl+q to close konqueror Actual Results: ==17760== 292 (52 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 211 of 287 ==17760== at 0x4A1FCC0: malloc (vg_replace_malloc.c:149) ==17760== by 0x4DC8705: nss_parse_service_list (nsswitch.c:519) ==17760== by 0x4DC8DDE: __nss_database_lookup (nsswitch.c:134) ==17760== by 0xA4484AF: ??? ==17760== by 0xA449525: ??? ==17760== by 0x4D8E311: getpwnam_r@@GLIBC_2.2.5 (getXXbyYY_r.c:210) ==17760== by 0x4D8DD48: getpwnam (getXXbyYY.c:116) ==17760== by 0x5E23072: KUser::fillName(char const*) (kuser.cpp:123) ==17760== by 0x5E231A2: KUser::KUser(KUser::UIDMode) (kuser.cpp:73) ==17760== by 0x4BB0302: KonqMainWindow::initActions() (konq_mainwindow.cc:3917) ==17760== by 0x4BB5A26: KonqMainWindow::KonqMainWindow(KURL const&, bool, char const*, QString const&) (konq_mainwindow.cc:218) ==17760== by 0x4B859DA: KonqMisc::createBrowserWindowFromProfile(QString const&, QString const&, KURL const&, KParts::URLArgs const&, bool, QStringList const&, bool, bool) (konq_misc.cc:152) ==17760== ==17760== ==17760== 7,392 (3,144 direct, 4,248 indirect) bytes in 131 blocks are definitely lost in loss record 268 of 287 ==17760== at 0x4A204CC: operator new(unsigned long) (vg_replace_malloc.c:167) ==17760== by 0xB1F3EC2: kjsyyparse() (grammar.y:173) ==17760== by 0xB201290: KJS::Parser::parse(KJS::UChar const*, unsigned, KJS::SourceCode**, int*, KJS::UString*) (internal.cpp:490) ==17760== by 0xB202A82: KJS::InterpreterImp::evaluate(KJS::UString const&, KJS::Value const&) (internal.cpp:832) ==17760== by 0xB213C74: KJS::Interpreter::evaluate(KJS::UString const&, KJS::Value const&) (interpreter.cpp:166) ==17760== by 0xAF761D0: KJS::KJSProxyImpl::evaluate(QString, int, QString const&, DOM::Node const&, KJS::Completion*) (kjs_proxy.cpp:164) ==17760== by 0xADF2F80: KHTMLPart::executeScript(QString const&, int, DOM::Node const&, QString const&) (khtml_part.cpp:1155) ==17760== by 0xAE55767: khtml::HTMLTokenizer::scriptExecution(QString const&, QString const&, int) (htmltokenizer.cpp:452) ==17760== by 0xAE55EE7: khtml::HTMLTokenizer::notifyFinished(khtml::CachedObject*) (htmltokenizer.cpp:1755) ==17760== by 0xAF16D27: khtml::CachedScript::checkNotify() (loader.cpp:369) ==17760== by 0xAF1A1D7: khtml::CachedScript::data(QBuffer&, bool) (loader.cpp:361) ==17760== by 0xAF198E1: khtml::Loader::slotFinished(KIO::Job*) (loader.cpp:1205) ==17760== ==17760== ==17760== 3,712 (1,536 direct, 2,176 indirect) bytes in 2 blocks are definitely lost in loss record 273 of 287 ==17760== at 0x4A1FD8E: realloc (vg_replace_malloc.c:306) ==17760== by 0x7EEAF6D: (within /usr/lib64/libfontconfig.so.1.2.0) ==17760== by 0x7EEB897: (within /usr/lib64/libfontconfig.so.1.2.0) ==17760== by 0x7EE8C80: FcFontRenderPrepare (in /usr/lib64/libfontconfig.so.1.2.0) ==17760== by 0x7EE8E0B: FcFontSetMatch (in /usr/lib64/libfontconfig.so.1.2.0) ==17760== by 0x7EE8F8A: FcFontMatch (in /usr/lib64/libfontconfig.so.1.2.0) ==17760== by 0x7DC8AF0: XftFontMatch (in /usr/lib64/libXft.so.2.1.2) ==17760== by 0x640A02E: loadFontConfigFont(QFontPrivate const*, QFontDef const&, QFont::Script) (qfontdatabase_x11.cpp:1947) ==17760== by 0x640EEB1: QFontDatabase::findFont(QFont::Script, QFontPrivate const*, QFontDef const&, int) (qfontdatabase.cpp:997) ==17760== by 0x63A7233: QFontPrivate::load(QFont::Script) (qfont_x11.cpp:420) ==17760== by 0x63A79BC: QFontMetrics::width(QChar) const (qfontdata_p.h:153) ==17760== by 0x64DEA26: QLabel::sizeForWidth(int) const (qfontmetrics.h:80) Expected Results: no memory leaks Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-rc7 x86_64) ================================================================= System uname: 2.6.23-rc7 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz Timestamp of tree: Sun, 23 Sep 2007 05:20:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-g -O2 -pipe -march=nocona" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-g -O2 -pipe -march=nocona" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.public.fix.fi/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/omat" SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage" USE="X a52 aac ace acl acpi agg alsa amd64 bash-completion berkdb bitmap-fonts bittorrent boost bzip2 c++ cairo cblas cdaudio cdda cdr cdrom cli corba cracklib crypt css curl cxx dbus divx doc dri dvd dvdr dvdread eds emboss encode escreen evo examples fam ffmpeg firefox flac fortran gdbm gif gmedia gnome gpm gstreamer gtk hal iconv icu image imagemagick ipv6 isdnlog jpeg jpeg2k kde kdehiddenvisibility logrotate lzo mad madwifi matroska midi mikmod mmx mod modplug mp3 mp4 mpeg mplayer mudflap musepack ncurses nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline realmedia reflection samba sdl session speex spell spl sse sse2 ssl ssse3 subversion svg symlink tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode vcd vorbis wav wavpack wmp wxwindows x264 xcb xcomposite xfs xine xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 131665 [details] full valgrind --leak-check=full output
Please report this upstream and post the URL to that bug here.
http://bugs.kde.org/show_bug.cgi?id=150131
(In reply to comment #3) > http://bugs.kde.org/show_bug.cgi?id=150131 Thanks, Emil! When there's any activity on the upstream bug (e. g. a patch becomes available) that would enable us to fix this in Gentoo, please re-open this bug.