Guys,
Any clue on this. I am interested in fixing this issue. Can someone guide me
on this?
--
Regards
Pankaj
On Tue, Nov 16, 2010 at 4:00 PM, Pankaj Jangid <pankaj.jan...@gmail.com>wrote:
> Here is the stack trace.
>
> clucene built with these options
> ----------------------------------------------
> cmake -G "Unix Makefiles" ..
> -DCMAKE_INSTALL_PREFIX="/lan/ops/cdnshelp/cops/tools/clucene/sun4v/32bit/release"
> -DCMAKE_CXX_FLAGS:STRING="-library=stlport4"
> -DCMAKE_EXE_LINKER_FLAGS:STRING="-library=stlport4"
>
>
>
> StackTrace of cl_demo crash
> -----------------------------------------
> dftsol03s% ./bin/cl_demo
> Location of text files to be indexed: .
> Location to store the clucene index: ./idx
> adding file 1: ./cmake_uninstall.cmake
> Segmentation Fault (core dumped)
> dftsol03s% dbx ./bin/cl_demo
> For information about new features see `help changes'
> To remove this message, put `dbxenv suppress_startup_message 7.6' in your
> .dbxrc
> Reading cl_demo
> Reading ld.so.1
> Reading libclucene-core.so.0.9.23.0
> Reading libclucene-shared.so.0.9.23.0
> Reading libthread.so.1
> Reading libz.so.1
> Reading libstlport.so.1
> Reading librt.so.1
> Reading libCrun.so.1
> Reading libm.so.2
> Reading libc.so.1
> Reading libm.so.1
> Reading libaio.so.1
> Reading libmd.so.1
> (dbx) run
> Running: cl_demo
> (process id 9352)
> Reading libc_psr.so.1
> Location of text files to be indexed: .
> Location to store the clucene index: ./idx
> adding file 1: ./cmake_uninstall.cmake
> t...@1 (l...@1) signal SEGV (no mapping at the fault address) in
> lucene::index::DocumentsWriter::ThreadState::init at line 222 in file
> "DocumentsWriterThreadState.cpp"
> 222 while(fp != NULL && _tcscmp(fp->fieldInfo->name, fi->name) != 0
> )
> (dbx) where
> current thread: t...@1
> =>[1] lucene::index::DocumentsWriter::ThreadState::init(this = ???, doc =
> ???, docID = ???) (optimized), at 0x7fa24e74 (line ~222) in
> "DocumentsWriterThreadState.cpp"
> [2] lucene::index::DocumentsWriter::getThreadState(this = ???, doc = ???,
> delTerm = ???) (optimized), at 0x7fa189a4 (line ~892) in
> "DocumentsWriter.cpp"
> [3] lucene::index::DocumentsWriter::updateDocument(this = ???, doc = ???,
> analyzer = ???, delTerm = ???) (optimized), at 0x7fa18be4 (line ~940) in
> "DocumentsWriter.cpp"
> [4] lucene::index::DocumentsWriter::addDocument(this = ???, doc = ???,
> analyzer = ???) (optimized), at 0x7fa18ba0 (line ~930) in
> "DocumentsWriter.cpp"
> [5] lucene::index::IndexWriter::addDocument(this = ???, doc = ???,
> analyzer = ???) (optimized), at 0x7fa51bd4 (line ~672) in "IndexWriter.cpp"
> [6] indexDocs(writer = ???, directory = ???) (optimized), at 0x14940
> (line ~84) in "IndexFiles.cpp"
> [7] IndexFiles(path = ???, target = ???, clearIndex = ???) (optimized),
> at 0x14a78 (line ~117) in "IndexFiles.cpp"
> [8] main(argc = ???, argv = ???) (optimized), at 0x15c9c (line ~58) in
> "Main.cpp"
>
> -----------------------------------------
>
>
> When configured with -DCMAKE_BUILD_TYPE="Release" option, cl_demo doesn't
> build.
>
> cmake -G "Unix Makefiles" ..
> -DCMAKE_INSTALL_PREFIX="/lan/ops/cdnshelp/cops/tools/clucene/sun4v/32bit/release"
> -DCMAKE_CXX_FLAGS:STRING="-library=stlport4"
> -DCMAKE_EXE_LINKER_FLAGS:STRING="-library=stlport4"
> -DCMAKE_BUILD_TYPE="Release"
>
> make cl_demo gives this linking error.
>
> Linking CXX executable ../../bin/cl_demo
> Undefined first referenced
> symbol in file
> lucene::document::Field::Field(const
> wchar_t*,lucene::util::ValueArray<unsigned char>*,int,const bool)
> ../../bin/libclucene-core.so.0.9.23.0
> std::string lucene::util::Misc::toString(const unsigned)
> ../../bin/libclucene-core.so.0.9.23.0
> lucene::index::IndexWriter::IndexWriter(lucene::store::Directory*,lucene::analysis::Analyzer*,const
> bool,const bool) ../../bin/libclucene-core.so.0.9.23.0
> lucene::store::FSDirectory*lucene::store::FSDirectory::getDirectory(const
> char*,const bool,lucene::store::LockFactory*)
> ../../bin/libclucene-core.so.0.9.23.0
> lucene::index::IndexWriter::IndexWriter(const
> char*,lucene::analysis::Analyzer*,const bool)
> CMakeFiles/cl_demo.dir/IndexFiles.o
> ld: fatal: Symbol referencing errors. No output written to
> ../../bin/cl_demo
> make[3]: *** [bin/cl_demo] Error 1
> make[2]: *** [src/demo/CMakeFiles/cl_demo.dir/all] Error 2
> make[1]: *** [src/demo/CMakeFiles/cl_demo.dir/rule] Error 2
> make: *** [cl_demo] Error 2
>
> -----------------------------------------
>
> Debug mode doesn't build. I have a fix for that I'll be submitting a patch
> for that.
>
> cmake -G "Unix Makefiles" ..
> -DCMAKE_INSTALL_PREFIX="/lan/ops/cdnshelp/cops/tools/clucene/sun4v/32bit/debug"
> -DCMAKE_CXX_FLAGS:STRING="-library=stlport4"
> -DCMAKE_EXE_LINKER_FLAGS:STRING="-library=stlport4"
> -DCMAKE_BUILD_TYPE="Debug"
>
> This is the error
>
> [ 61%] Building CXX object
> src/core/CMakeFiles/clucene-core.dir/CLucene/index/TermInfosReader.o
> "/lan/ops/cdnshelp/cops/users/pankajj/work/foss/clucene/clucene-HEAD-8484291/src/core/CLucene/store/IndexInput.h",
> line 194: Warning: lucene::store::BufferedIndexInput::getObjectName hides
> the virtual function lucene::store::IndexInput::getObjectName() const.
> "/lan/ops/cdnshelp/cops/users/pankajj/work/foss/clucene/clucene-HEAD-8484291/src/core/CLucene/index/TermInfosReader.cpp",
> line 114: Error: The operation "-- lucene::util::__LUCENE_ATOMIC_INT" is
> illegal.
> 1 Error(s) and 1 Warning(s) detected.
> make[2]: ***
> [src/core/CMakeFiles/clucene-core.dir/CLucene/index/TermInfosReader.o] Error
> 1
> make[1]: *** [src/core/CMakeFiles/clucene-core.dir/all] Error 2
> make: *** [all] Error 2
>
>
> -----------------------------------------
>
>
> On Tue, Nov 16, 2010 at 8:14 AM, Pankaj Jangid <pankaj.jan...@gmail.com>wrote:
>
>> We are using .9.21 and it works but the HEAD is quite different from it.
>> I'll send a stack-trace today.
>>
>> --
>> Regards
>> Pankaj
>>
>> On Tue, Nov 16, 2010 at 7:39 AM, Ben van Klinken
>> <bvanklin...@gmail.com>wrote:
>>
>>> I did have it going at some stage... was a while back so probably
>>> something new has broken it.
>>>
>>> ben
>>>
>>>
>>> On Sun, Nov 14, 2010 at 2:26 AM, Itamar Syn-Hershko
>>> <ita...@code972.com>wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>> I assume the same segfault is given in both cases. Can you send a
>>>> stacktrace? Also, please sync your copy with the latest git master HEAD.
>>>>
>>>>
>>>> Itamar.
>>>>
>>>>
>>>> On 12/11/2010 3:57 PM, Pankaj Jangid wrote:
>>>>
>>>> I have built clucene with this configuration on Solaris Sparc,
>>>>
>>>> cmake -G "Unix Makefiles" .. -DCMAKE_INSTALL_PREFIX="<cl_install_path>"
>>>> -DCMAKE_CXX_FLAGS:STRING="-m32 -library=stlport4"
>>>> -DCMAKE_EXE_LINKER_FLAGS:STRING="-library=stlport4"
>>>> -DCMAKE_BUILD_TYPE="Debug|Release"
>>>>
>>>> I have tried various combinations - Debug, Release, -m32. With -m64 it
>>>> doesn't build at all.
>>>>
>>>> cl_demo gives segfault during indexing.
>>>>
>>>> cl_test fails. Gives segfault.
>>>>
>>>> Have anybody tried clucene HEAD on Solaris/Sparc?
>>>>
>>>> --
>>>> Regards
>>>> Pankaj
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Centralized Desktop Delivery: Dell and VMware Reference Architecture
>>>> Simplifying enterprise desktop deployment and management using
>>>> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
>>>> client virtualization framework. Read
>>>> more!http://p.sf.net/sfu/dell-eql-dev2dev
>>>>
>>>>
>>>> _______________________________________________
>>>> CLucene-developers mailing
>>>> listclucene-develop...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/clucene-developers
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Centralized Desktop Delivery: Dell and VMware Reference Architecture
>>>> Simplifying enterprise desktop deployment and management using
>>>> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
>>>> client virtualization framework. Read more!
>>>> http://p.sf.net/sfu/dell-eql-dev2dev
>>>> _______________________________________________
>>>> CLucene-developers mailing list
>>>> CLucene-developers@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Beautiful is writing same markup. Internet Explorer 9 supports
>>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
>>> Spend less time writing and rewriting code and more time creating great
>>> experiences on the web. Be a part of the beta today
>>> http://p.sf.net/sfu/msIE9-sfdev2dev
>>>
>>> _______________________________________________
>>> CLucene-developers mailing list
>>> CLucene-developers@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>>>
>>>
>>
>
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers