[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: memdump



Uwe Kerstan <uwe.kerstan@gmx.de> wrote:
> welches Programm schreibt die Datei /.memdump auf die Platte?

> $ ls -l /.memdump
> -rw-r--r--    1 root     root           82 19. Apr 09:23 /.memdump

> $ cat /.memdump
>      09:23:10

>      MEMORY ALLOCATED : 0, MAX was 0
> BLOCK  NUMBER   SIZE  TYPE

> Was passiert da? 
> Ungefragt nach / schreiben finde ich nicht gut.
[...]

Ich hatte die Datei auch, es muss ein Programm sein, dass als root
aufgerufen wurde und dann gekillt wurde oder abgestuerzt ist und das
gegen libxml2 linkt.

|----- /usr/share/doc/libxml2-dev/libxml-dev.html/xml.html ----------
| Debugging routines
| 
| When configured using --with-mem-debug flag (off by default),
| libxml uses a set of memory allocation debugging routineskeeping
| track of all allocated blocks and the location in the code where
| the routine was called. A couple of other debugging routines allow
| to dump the memory allocated infos to a file or call a specific
| routine when a given block number is allocated:
| 
| * xmlMallocLoc() xmlReallocLoc() and xmlMemStrdupLoc() are the
|   memory debugging replacement allocation routines
| * xmlMemoryDump () dumps all the informations about the allocated
|   memory block lefts in the .memdump file
|--------------------------------------------------------------------

(Gefunden mit
find /usr/ -type f -print0 | xargs -0 grep -l memdump)

Bei mir sind das folgende Komponenten:
downhill:~# dpkg --no-act -r libxml2
dpkg: dependency problems prevent removal of libxml2:
 wv depends on libxml2 (>= 2.4.0-1).
 libmagick5 depends on libxml2 (>= 2.4.0-1).
 kdelibs3 depends on libxml2 (>= 2.4.0-1).
 kdelibs3-bin depends on libxml2 (>= 2.4.0-1).
 libxml2-dev depends on libxml2 (= 2.4.16-2).
 libxslt1 depends on libxml2 (>= 2.4.3-1).
 libwmf0.2-2 depends on libxml2 (>= 2.4.0-1).
 xsltproc depends on libxml2 (>= 2.4.3-1).

ametzler@downhill:~> { find /usr/bin -type f -print0 | xargs -0 grep -l xmlMemoryDump ; } 2>&1 | tee /tmp/memdump-log2
/usr/bin/xml2man
/usr/bin/xmllint
/usr/bin/xsltproc
/usr/bin/xmlcatalog

               cu andreas


-- 
Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-request@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)



Reply to: