[Bug 263828] Meinproc4 crashes when building documentation

Wolfgang Rohdewald wolfgang at rohdewald.de
Sun Apr 3 13:06:00 CEST 2011


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





--- Comment #10 from Wolfgang Rohdewald <wolfgang rohdewald de>  2011-04-03 13:05:54 ---
actually DEBUG_MEMORY and friends do find a problem but they hide it just like
Ralfs patch and continue so I missed it in the output

I have a minimal file which makes meinproc4 crash:

<?xml version='1.0'?>
<!DOCTYPE xsl:stylesheet [
]>

this causes a syntax error on linux but on windows it still crashes in the same
place. At the crash place DEBUG_MEMORY finds a tag error: the memory block to
be freed is not marked with the correct tag (DEBUG_MEMORY adds a header with
this tag and more debug data to every malloced block) so maybe something writes
thru a wrong pointer or out of array bounds. Still valgrind on linux finds
nothing. 

Continuing later today... maybe I should regularly scan all memory blocks for
correct tags so I can find the place where it gets corrupted but that will take
a lot of time even with that minimal test file. The debug output is about 10GB

Any idea what could be different for linux and windows?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-windows mailing list