On Sun, Apr 13, 2008 at 07:38:19PM -0400, Desislava I. Petkova wrote:
Hello
I'm trying to build a full-text PF/Tijah index. After starting the Mserver, I add 10 XML files into a new collection. I've divided the collection into files so that the files are not too large. This finishes without errors and the collection exists since
pf:collections( ) <>
returns
<collection updatable="false" size="100 MiB" numDocs="1">dblp.xml1</collection>, <collection updatable="false" size="61 MiB" numDocs="1">dblp.xml10</collection>, <collection updatable="false" size="102 MiB" numDocs="1">dblp.xml2</collection>, <collection updatable="false" size="102 MiB" numDocs="1">dblp.xml3</collection>, <collection updatable="false" size="102 MiB" numDocs="1">dblp.xml4</collection>, <collection updatable="false" size="103 MiB" numDocs="1">dblp.xml5</collection>, <collection updatable="false" size="101 MiB" numDocs="1">dblp.xml6</collection>, <collection updatable="false" size="101 MiB" numDocs="1">dblp.xml7</collection>, <collection updatable="false" size="107 MiB" numDocs="1">dblp.xml8</collection>, <collection updatable="false" size="107 MiB" numDocs="1">dblp.xml9</collection>
Then I try to build a full-text index for the collection
let $opt := <TijahOptions stemmer="porter-english" /> return tijah:create-ft-index($opt) <>
But the Mserver aborts after some time with the following error message:
MonetDB>*** glibc detected *** free(): invalid pointer: 0x0000002be9d42010 ***
I would like to know what this error message means, and how can I fix the problem.
I'm not that involved with the current tijah code, the message is relatively clear. It means that somewhere in the code a piece of memory is freed, but the pointer to this piece of memory isn't known by the malloc library, ie we try to free memory which isn't alloced. So the best thing to do is create a small example and create a bug report via the sourceforge bugreporting infrastructure. Then the tijah creators can have a look were the problem starts and possibly fix it (or move it to the lower layers of MonetDB). Niels
Thank you for your response, Desislava
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao... _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- Niels Nes, Centre for Mathematics and Computer Science (CWI) Kruislaan 413, 1098 SJ Amsterdam, The Netherlands room C0.02, phone ++31 20 592-4098, fax ++31 20 592-4312 url: http://www.cwi.nl/~niels e-mail: Niels.Nes@cwi.nl