-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Description
Attempting to use the supplied bin/searchfiles example program results in the program aborting with SIGABRT:
arto@ubuntu:/src/LucenePlusPlus/bin$ mkdir input output
arto@ubuntu:/src/LucenePlusPlus/bin$ echo 'Hello, world' > input/hello.txt
arto@ubuntu:/src/LucenePlusPlus/bin$ ./indexfiles input output
Indexing to directory: output...
Adding [1]: hello.txt
Index time: 4 milliseconds
Optimizing...
Optimize time: 2 milliseconds
Total time: 6 milliseconds
arto@ubuntu:/src/LucenePlusPlus/bin$ ./searchfiles -index output
Enter query: hello
Searching for: hello
1 total matching documents
1. input/hello.txt
*** glibc detected *** ./searchfiles: free(): invalid pointer: 0x00007fbb260e1b40 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fbb24a83b96]
./searchfiles[0x405dbe]
./searchfiles[0x4086ee]
./searchfiles[0x40686b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fbb24a2676d]
./searchfiles[0x407509]
======= Memory map: ========
...
Aborted
This was built on an Ubuntu 12.10 (x86-64) host with GCC 4.7.2, libstdc++, and Boost 1.50 using cmake . && make && make indexfiles searchfiles deletefiles.
Metadata
Metadata
Assignees
Labels
No labels