Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265285 - dev-util/valgrind-{3.3.1,3.4.0,3.4.1} crashes with memcheck for running app
Summary: dev-util/valgrind-{3.3.1,3.4.0,3.4.1} crashes with memcheck for running app
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Maurice van der Pot (RETIRED)
URL: https://bugs.kde.org/189028
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 11:37 UTC by Albert Zeyer
Modified: 2009-04-08 13:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Zeyer 2009-04-07 11:37:54 UTC
...
==29522== Invalid write of size 4
==29522==    at 0x40B637A: (within /usr/lib/libSDL-1.2.so.0.11.2)
==29522==    by 0x818ECB6: DrawImageResampledAdv(SDL_Surface*, SDL_Surface*, int, int, int, int, int, int, int, int) (GfxPrimitives.cpp:895)
==29522==    by 0x835CD2E: CMap::UpdateMiniMap(bool) (GfxPrimitives.h:479)
==29522==    by 0x836029D: CMap::SetMinimapDimensions(unsigned, unsigned) (CMap.cpp:745)
==29522==    by 0x811E398: CClientNetEngine::ParsePrepareGame(CBytestream*) (CClient_Parse.cpp:810)
==29522==    by 0x811F852: CClientNetEngineBeta7::ParsePrepareGame(CBytestream*) (CClient_Parse.cpp:991)
==29522==    by 0x8121DAD: CClientNetEngineBeta9::ParsePrepareGame(CBytestream*) (CClient_Parse.cpp:1041)
==29522==    by 0x812378D: CClientNetEngine::ParsePacket(CBytestream*) (CClient_Parse.cpp:448)
==29522==    by 0x8141F33: CClient::ReadPackets() (CClient.cpp:1161)
==29522==    by 0x814E309: CClient::Frame() (CClient.cpp:1076)
==29522==    by 0x849B69D: DedIntern::Frame_Basic() (DedicatedControl.cpp:1347)
==29522==    by 0x8490BD4: DedicatedControl::Menu_Frame() (DedicatedControl.cpp:1532)
==29522==  Address 0x1f970f5c is not stack'd, malloc'd or (recently) free'd
--29522-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting
--29522-- si_code=1;  Faulting address: 0x35A7194A;  sp: 0x66B27E2C

valgrind: the 'impossible' happened:
   Killed by fatal signal
==29522==    at 0x380218DE: unlinkBlock (m_mallocfree.c:206)
==29522==    by 0x38021F04: vgPlain_arena_malloc (m_mallocfree.c:1202)
==29522==    by 0x3800295E: vgMemCheck_new_block (mc_malloc_wrappers.c:195)
==29522==    by 0x38002E02: vgMemCheck_malloc (mc_malloc_wrappers.c:226)
==29522==    by 0x38036AE3: vgPlain_scheduler (scheduler.c:1269)
==29522==    by 0x3804A066: run_a_thread_NORETURN (syswrap-linux.c:89)
==29522==    by 0x3804A326: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:212)
==29522==    by 0x38070038: (within /usr/lib/valgrind/x86-linux/memcheck)
==29522==    by 0x38075394: myvprintf_int64 (m_debuglog.c:596)
==29522==    by 0x42: ???
==29522==    by 0x66B27977: ???
==29522==    by 0xF: ???

sched status:
  running_tid=9

Thread 1: status = VgTs_WaitSys
==29522==    at 0x40C6BE5: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-2.8.so)
==29522==    by 0x839B300: ThreadPool::wait(ThreadPoolItem*, int*) (ThreadPool.cpp:158)
==29522==    by 0x810A7A6: main (main.cpp:416)

Thread 2: status = VgTs_WaitSys
==29522==    at 0x40C6BE5: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-2.8.so)
==29522==    by 0x83D84FA: TaskManager::TaskManager()::QueuedTaskHandler::handle() (TaskManager.cpp:55)
==29522==    by 0x839AC56: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:91)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)

Thread 3: status = VgTs_WaitSys
==29522==    at 0x40C6BE5: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-2.8.so)
==29522==    by 0x839AED4: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:100)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)

Thread 4: status = VgTs_WaitSys
==29522==    at 0x40C6F12: pthread_cond_timedwait@@GLIBC_2.3.2 (in /lib/libpthread-2.8.so)
==29522==    by 0x34F74BAF: ???

Thread 5: status = VgTs_WaitSys
==29522==    at 0x40CA2F6: (within /lib/libpthread-2.8.so)
==29522==    by 0x83D05F8: _ZL21SdlNetEventThreadMainPv (Networking.cpp:193)
==29522==    by 0x839A721: ThreadPool::start(int (*)(void*), void*, stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > const&)::StaticAction::handle() (ThreadPool.cpp:139)
==29522==    by 0x839AC56: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:91)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)

Thread 6: status = VgTs_WaitSys
==29522==    at 0x40CA2F6: (within /lib/libpthread-2.8.so)
==29522==    by 0x83D05F8: _ZL21SdlNetEventThreadMainPv (Networking.cpp:193)
==29522==    by 0x839A721: ThreadPool::start(int (*)(void*), void*, stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > const&)::StaticAction::handle() (ThreadPool.cpp:139)
==29522==    by 0x839AC56: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:91)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)

Thread 7: status = VgTs_WaitSys
==29522==    at 0x40CA2F6: (within /lib/libpthread-2.8.so)
==29522==    by 0x8495CA6: StdinDedInterface::stdinThreadFunc(void*) (DedicatedControl.cpp:457)
==29522==    by 0x839A721: ThreadPool::start(int (*)(void*), void*, stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > const&)::StaticAction::handle() (ThreadPool.cpp:139)
==29522==    by 0x839AC56: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:91)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)

Thread 8: status = VgTs_WaitSys
==29522==    at 0x40C9AFB: (within /lib/libpthread-2.8.so)
==29522==    by 0x84448D3: redi::basic_pstreambuf<char, stlpd_std::char_traits<char> >::underflow() (pstream.h:1628)
==29522==    by 0x810B985: stlpd_std::basic_streambuf<char, stlpd_std::char_traits<char> >::uflow() (_streambuf.c:165)
==29522==    by 0x81FF732: stlpd_std::basic_istream<char, stlpd_std::char_traits<char> >& stlpd_std::getline<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> >(stlpd_std::basic_istream<char, stlpd_std::char_traits<char> >&, stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> >&, char) (_streambuf.h:232)
==29522==    by 0x8498B62: ScriptDedInterface::pipeThreadFunc(void*) (_string_io.h:67)
==29522==    by 0x839A721: ThreadPool::start(int (*)(void*), void*, stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > const&)::StaticAction::handle() (ThreadPool.cpp:139)
==29522==    by 0x839AC56: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:91)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)

Thread 9: status = VgTs_Runnable
==29522==    at 0x40250FA: malloc (vg_replace_malloc.c:207)
==29522==    by 0x4B48357: (within /usr/lib/opengl/nvidia/lib/libGL.so.180.44)
==29522==    by 0x4446318: operator new[](unsigned) (in /usr/lib/libstlportstlg.so.5.1.5)
==29522==    by 0x8386CD4: CWpnRest::sortList() (CWpnRest.cpp:317)
==29522==    by 0x8387965: CWpnRest::addWeapon(stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > const&, int) (CWpnRest.cpp:166)
==29522==    by 0x8388303: CWpnRest::updateList(CGameScript*) (CWpnRest.cpp:58)
==29522==    by 0x811EAFC: CClientNetEngine::ParsePrepareGame(CBytestream*) (CClient_Parse.cpp:875)
==29522==    by 0x811F852: CClientNetEngineBeta7::ParsePrepareGame(CBytestream*) (CClient_Parse.cpp:991)
==29522==    by 0x8121DAD: CClientNetEngineBeta9::ParsePrepareGame(CBytestream*) (CClient_Parse.cpp:1041)
==29522==    by 0x812378D: CClientNetEngine::ParsePacket(CBytestream*) (CClient_Parse.cpp:448)
==29522==    by 0x8141F33: CClient::ReadPackets() (CClient.cpp:1161)
==29522==    by 0x814E309: CClient::Frame() (CClient.cpp:1076)
==29522==    by 0x849B69D: DedIntern::Frame_Basic() (DedicatedControl.cpp:1347)
==29522==    by 0x8490BD4: DedicatedControl::Menu_Frame() (DedicatedControl.cpp:1532)
==29522==    by 0x827AAAF: DeprecatedGUI::Menu_Frame() (MenuSystem.cpp:308)
==29522==    by 0x827AEBD: DeprecatedGUI::Menu_Loop() (MenuSystem.cpp:385)
==29522==    by 0x827B054: DeprecatedGUI::Menu_Start() (MenuSystem.cpp:294)
==29522==    by 0x810AB83: _ZL14MainLoopThreadPv (main.cpp:547)
==29522==    by 0x839A721: ThreadPool::start(int (*)(void*), void*, stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > const&)::StaticAction::handle() (ThreadPool.cpp:139)
==29522==    by 0x839AC56: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:91)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)

Thread 10: status = VgTs_WaitSys
==29522==    at 0x40CA2F6: (within /lib/libpthread-2.8.so)
==29522==    by 0x810585C: _ZZL21startMainLockDetectorvEN16MainLockDetector6handleEv (main.cpp:171)
==29522==    by 0x839AC56: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:91)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)

Thread 11: status = VgTs_WaitSys
==29522==    at 0x40C6BE5: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-2.8.so)
==29522==    by 0x839A96F: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:76)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)

Thread 12: status = VgTs_WaitSys
==29522==    at 0x40C6BE5: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-2.8.so)
==29522==    by 0x839A96F: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:76)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)

Thread 13: status = VgTs_WaitSys
==29522==    at 0x40CA2F6: (within /lib/libpthread-2.8.so)
==29522==    by 0x83BC132: ManagerMain(void*) (FileDownload.cpp:318)
==29522==    by 0x839A721: ThreadPool::start(int (*)(void*), void*, stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > const&)::StaticAction::handle() (ThreadPool.cpp:139)
==29522==    by 0x839AC56: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:91)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)
...
Thread 34: status = VgTs_Yielding
==29522==    at 0x40C467A: pthread_mutex_lock (pthread_mutex_lock.c:69)
==29522==    by 0x40A37FD: SDL_mutexP (SDL_sysmutex.c:108)
==29522==    by 0x83C9DD4: GetTime() (Timer.h:39)
==29522==    by 0x84090E1: CHttp::ProcessInternal() (HTTP.cpp:1493)
==29522==    by 0x840FB48: HttpThread::run(void*) (HTTP.cpp:314)
==29522==    by 0x839A721: ThreadPool::start(int (*)(void*), void*, stlpd_std::basic_string<char, stlpd_std::char_traits<char>, stlpd_std::allocator<char> > const&)::StaticAction::handle() (ThreadPool.cpp:139)
==29522==    by 0x839AC56: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:91)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)

Thread 35: status = VgTs_WaitSys
==29522==    at 0x40C6BE5: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-2.8.so)
==29522==    by 0x839A96F: ThreadPool::threadWrapper(void*) (ThreadPool.cpp:76)
==29522==    by 0x405F5FE: SDL_RunThread (SDL_thread.c:202)
==29522==    by 0x40A34A4: RunThread (SDL_systhread.c:47)
==29522==    by 0x40C315F: start_thread (pthread_create.c:297)
==29522==    by 0x4656E2D: clone (in /lib/libc-2.8.so)
...

Note: see also the FAQ.txt in the source distribution.
It contains workarounds to several common problems.

If that doesn't help, please report this bug to: www.valgrind.org

In the bug report, send all the above text, the valgrind
version, and what Linux distro you are using.  Thanks.
Comment 1 Albert Zeyer 2009-04-07 11:38:52 UTC
az@acompneu ~/Programmierung/openlierox $ emerge --info
Portage 2.2_rc28 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Core-TM-2_CPU_E8500_@_3.16GHz-with-glibc2.0
Timestamp of tree: Tue, 31 Mar 2009 14:00:01 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -ggdb -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mpd /usr/portage/local/private"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip GAPING_SECURITY_HOLE X X509 a52 aac aalib acl acpi acpi4linux adns agg aiglx aim alsa amarok amd amr amuled ao applet aqua_theme archive ares asf asm async asyncns atm auctex audioscrobbler automount avahi bash-completion berkdb bidi binary binary-drivers bindist bittorrent bl bonjour bookmarks bootsplash branding bzip2 bzlib cairo captury cdda cddb cdio cdparanoia cdr cdrom cgi cli clisp clucene cmake codecs corba cracklib crypt cups curl custreloc d daap dbus dedicated dga dhcp dirac disk-partition divx4linux dlopen dmi dnd dri dts dv dvd dvdnav dvdr dvdread eds emboss encode esd evo exif faad fam fame ffmpeg firefox flac flash font-server foomaticdb fortran fpx freetype ftp fuse galago gcj gcl gd gdbm gedit ggi gif gimp gl glib glitz glslideshow glut gnome gnutls gphoto2 gpm gprof graphviz gs gsm gstreamer gtk gtk2 gzip h323 hal haskell howl howl-compat html httpd hyperestraier icc iconv icq id3 id3tag imagemagick imap imlib imlib2 inotify insecure-drivers ipv6 isdnlog ithreads jack java jbig jikes jit jpeg jpeg2k kde kde4 kerberos kqemu lame latex lcms ldap libcaca libffi libnotify libssh2 libwww linuxthreads-tls live lzma lzo mad matroska mbox mdnsresponder-compat midi mikmod mjpeg mmx mmxext mng mod modplug mozbranding mozcalendar mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mppe-mppc mudflap multislot musepack musicbrainz mysql nautilus ncurses nemesi nepomuk net network njb nls nntp nptl nptlonly nsplugin ntfs objc offensive ogg oggvorbis openal opengl openmp oss pam pascal pch pcre pdf perl php plasma png pop posix ppds pppd prebuilt-system pthreads pulseaudio python qt qt3 qt3support qt4 quicktime rar rdesktop readline realmedia reflection rogue rplay rtc rtsp ruby samba sasl schroedinger screen sdl semantic-desktop server session shorten shout silvercity silverxp skins slp sndfile sockets socks5 solver speedo speex spell spl sqlite srt sse sse2 ssh ssl ssse3 startup-notification stream subversion svg sysfs tagwriting tcltk tcpd teamarena teletext tetex tga themes theora threads threadsafe thumbnail tiff transcode truetype type1 unicode unzip urandom usb v4l v4l2 vcd vdr vidix visualization vlm vorbis win32codecs wma wmf wxwindows x264 x86 xanim xatrix xattr xcb xcomposite xext xface xforms xine xml xorg xosd xpm xprint xrandr xrender xscreensaver xsettings xterm xulrunner xv xvid xvmc zeroconf zip zlib zvbi" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv apm"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Albert Zeyer 2009-04-07 12:37:54 UTC
I filled in an upstream bug:
https://bugs.kde.org/show_bug.cgi?id=189028
Comment 3 Albert Zeyer 2009-04-07 21:06:56 UTC
Upstream says it's probably just my application. I still think that valgrind should not crash, even if there is a problem in my application, but they are also right, that this is really probably causing the crash.
Comment 4 Maurice van der Pot (RETIRED) gentoo-dev 2009-04-08 07:55:09 UTC
Not sure what you want me to do about it.

You're right that in a perfect world it would not be possible to get valgrind to crash with any program, but I think with memcheck the reason may be that the overhead to prevent it would be too great.

See if the messages valgrind gives indicate real bugs in your program, fix those and then see if it still crashes. If it does and valgrind doesn't give you any further hints, then there's a good chance valgrind should be fixed.

Comment 5 Albert Zeyer 2009-04-08 13:39:43 UTC
Yes, I guess this report can be closed. At the beginning I wasn't sure if it is perhaps a bug in valgrind itself, that is why I was filling this bug.