Public bug reported: every client i've used Seg faults gift witch in turn seq faults the client I dont know where do start debug it for yous ( using Ubuntu 12.04.2 LTS)
" tom@tom-netbook:~$ gift GIFT:Starting Server Random number generator has been seeded with 10046 gift: CAlgorithmCollection: The following is the config file located at "/home/tom/gift-config.mrml" as read by this program: <?xml version="1.0" standalone="no"?> <!DOCTYPE mrml SYSTEM "file:/usr/local/share/mrml.dtd"> <!-- This file has become quite a free interpretation of MRML the above !DOCTYPE is rather for the use of psgml than a promise that the following is pure MRML. In fact the parser does not validate. This is a configuration file for the server. It contains information about collections, algorithms and property sheets. THIS IS A SLIM VERSION OF THE GIFT-CONFIG.MRML. TO GET AN IDEA ABOUT A MORE VERBOSE VERSION USING MORE ALGORITHMS PLEASE TRY GIFT-CONFIG-LONG.MRML You find this file in the share/ directory of your GIFT installation. --> <mrml> <cui-configuration> <algorithm-list> <!--COMMENT The new definiton of the default algorithm The default algorithm performs in fact a meta query of several inverted file queries. Each sub-query of the meta query is specialised on one of the feature groups Color histogram Color block Gabor histogram Gabor block Each one of them is pruned in adifferent way. (this is the goal of the operation) --> <algorithm algorithm-id="adefault" algorithm-type="adefault" algorithm-name="Separate Normalisation" collection-id="c-23-35-2-11-5-113-2-161-0" cui-block-color-histogram="no" cui-block-color-blocks="no" cui-block-texture-histogram="no" cui-block-texture-blocks="no" cui-pr-percentage-of-features="70" cui-base-type="multiple" cui-weighting-function="ClassicalIDF"> <algorithm algorithm-id="sub1" algorithm-type="sub1" algorithm-name="sub1" cui-block-color-blocks="yes" cui-block-texture-histogram="yes" cui-block-texture-blocks="yes" cui-pr-percentage-of-features="100" cui-base-type="inverted_file"/> <algorithm algorithm-id="sub2" algorithm-type="sub2" algorithm-name="sub2" cui-block-color-histogram="yes" cui-block-texture-histogram="yes" cui-block-texture-blocks="yes" cui-base-type="inverted_file"/> <algorithm algorithm-id="sub3" algorithm-type="sub3" algorithm-name="sub3" cui-block-color-histogram="yes" cui-block-color-blocks="yes" cui-block-texture-blocks="yes" cui-pr-percentage-of-features="100" cui-base-type="inverted_file"/> <algorithm algorithm-id="sub4" algorithm-type="sub4" algorithm-name="sub4" cui-block-color-histogram="yes" cui-block-color-blocks="yes" cui-block-texture-histogram="yes" cui-base-type="inverted_file"/> <query-paradigm-list> <query-paradigm/><!-- match anything --> </query-paradigm-list> <property-sheet property-sheet-id="cui-p-1" property-sheet-type="subset" send-type="none" minsubsetsize="0" maxsubsetsize="1"> <property-sheet property-sheet-id="cui-p0" caption="Modify default configuration" property-sheet-type="set-element" send-type="none"> <property-sheet property-sheet-id="cui-p15" caption="Prune at % of features" property-sheet-type="numeric" send-type="attribute" send-name="cui-pr-percentage-of-features" from="20" to="100" step="5" send-value="70"/> <property-sheet property-sheet-id="cui-p1" property-sheet-type="subset" send-type="none" minsubsetsize="1" maxsubsetsize="4"> <property-sheet property-sheet-id="cui-p12" send-boolean-inverted="yes" caption="Colour blocks" property-sheet-type="set-element" send-type="attribute" send-name="cui-block-color-blocks" send-value="yes"/> <property-sheet property-sheet-id="cui-p14" send-boolean-inverted="yes" caption="Gabor blocks" property-sheet-type="set-element" send-type="attribute" send-name="cui-block-texture-blocks" send-value="yes"/> <property-sheet property-sheet-id="cui-p13" send-boolean-inverted="yes" caption="Gabor histogram" property-sheet-type="set-element" send-type="attribute" send-name="cui-block-texture-histogram" send-value="yes"/> <property-sheet property-sheet-id="cui-p11" send-boolean-inverted="yes" caption="Colour histogram" property-sheet-type="set-element" send-type="attribute" send-name="cui-block-color-histogram" send-value="yes"/> </property-sheet> </property-sheet> </property-sheet> </algorithm><!-- adefault --> </algorithm-list> <cui-algorithm-id-list-list> <cui-algorithm-id-list cui-algorithm-id-list-id="ail-inverted-file"> <cui-algorithm-id cui-algorithm-id="a-cidf"/> </cui-algorithm-id-list> </cui-algorithm-id-list-list> <collection-list listid="1"> <!-- xxyx gift-add-collection xyxx DEPENDS ON THIS LINE --> <collection collection-id="c-23-35-2-11-5-113-2-161-0" collection-name="albums" cui-algorithm-id-list-id="ail-inverted-file" cui-number-of-images="0" cui-base-dir="/home/tom/gift-indexing-data/albums/" cui-inverted-file-location="InvertedFile.db" cui-offset-file-location="InvertedFileOffset.db" cui-feature-description-location="InvertedFileFeatureDescription.db" cui-feature-file-location="url2fts.xml"> <query-paradigm-list> <query-paradigm type="inverted-file"/> <query-paradigm type="perl-demo"/> </query-paradigm-list> </collection> </collection-list> </cui-configuration> </mrml> <!-- this is for xemacs to make it start up in the right mode. it does the right thing, but complains --> <!-- ;;; Local Variables: *** --> <!-- ;;; mode: sgml *** --> This config file content will now be parsed by an XML parser If error messages occur, these are related to the content shown above. +/+/+/+/++//+++/++/+/+/+////gift: CAlgorithmCollection: The config file has been parsed successfully by CAlgorithmCollection maybe other parts of the program will also parse the same config file. ----- Configuring CAccessorAdminCollection ../usr/local/lib....-- Configuring the CAccessorFactoryContainer: I am going to scan the following directorys for plugins /usr/local/lib Not testing file:libavcodec.a (File name does not match plugin name) Not testing file:libMRML.so.1 (File name does not match plugin name) Not testing file:perl (File name does not match plugin name) Not testing file:libMRML.so (File name does not match plugin name) Not testing file:uade2 (File name does not match plugin name) Not testing file:libpostproc.a (File name does not match plugin name) Not testing file:pkgconfig (File name does not match plugin name) Not testing file:libx264.a (File name does not match plugin name) Not testing file:libexpat.a (File name does not match plugin name) Not testing file:libexpat.so.0 (File name does not match plugin name) Not testing file:python2.7 (File name does not match plugin name) Not testing file:libvpx.a (File name does not match plugin name) Not testing file:libMRML.so.1.3.0 (File name does not match plugin name) Not testing file:libswscale.a (File name does not match plugin name) Not testing file:libMRML.a (File name does not match plugin name) Not testing file:site_ruby (File name does not match plugin name) Not testing file:libswresample.a (File name does not match plugin name) Not testing file:libexpat.la (File name does not match plugin name) Not testing file:libyasm.a (File name does not match plugin name) Not testing file:libMRML.la (File name does not match plugin name) Not testing file:libavdevice.a (File name does not match plugin name) Not testing file:libavformat.a (File name does not match plugin name) Not testing file:libfdk-aac.la (File name does not match plugin name) Not testing file:libavfilter.a (File name does not match plugin name) Not testing file:freebasic (File name does not match plugin name) Not testing file:libavutil.a (File name does not match plugin name) Not testing file:libfdk-aac.a (File name does not match plugin name) Not testing file:.. (File name does not match plugin name) Not testing file:. (File name does not match plugin name) Not testing file:libexpat.so.0.5.0 (File name does not match plugin name) Not testing file:libopus.a (File name does not match plugin name) Not testing file:libexpat.so (File name does not match plugin name) Not testing file:libopus.la (File name does not match plugin name) FINISHED configuring the CAccessorFactoryContainer. .--gift::CAccessorAdminCollection : I read the config file /home/tom/gift-config.mrml Now we will parse the contents of this file using an XML parser CAccessorAdminCollection: Adding collection albums under the ID c-23-35-2-11-5-113-2-161-0 The config file has been parsed successfully maybe other parts of the program will also parse the same config file. FINISHED configuring CAccessorAdminCollection. FileSize:-1 characters CI18nTranslator.cc:76: File unreadable. Internationalization will be disabled in this run of the GIFT -- Configuring CDynamicQueryFactory Looking for libGIFTQu*.so in directory /usr/local/lib Not testing file:libavcodec.a (File name does not match plugin name) Not testing file:libMRML.so.1 (File name does not match plugin name) Not testing file:perl (File name does not match plugin name) Not testing file:libMRML.so (File name does not match plugin name) Not testing file:uade2 (File name does not match plugin name) Not testing file:libpostproc.a (File name does not match plugin name) Not testing file:pkgconfig (File name does not match plugin name) Not testing file:libx264.a (File name does not match plugin name) Not testing file:libexpat.a (File name does not match plugin name) Not testing file:libexpat.so.0 (File name does not match plugin name) Not testing file:python2.7 (File name does not match plugin name) Not testing file:libvpx.a (File name does not match plugin name) Not testing file:libMRML.so.1.3.0 (File name does not match plugin name) Not testing file:libswscale.a (File name does not match plugin name) Not testing file:libMRML.a (File name does not match plugin name) Not testing file:site_ruby (File name does not match plugin name) Not testing file:libswresample.a (File name does not match plugin name) Not testing file:libexpat.la (File name does not match plugin name) Not testing file:libyasm.a (File name does not match plugin name) Not testing file:libMRML.la (File name does not match plugin name) Not testing file:libavdevice.a (File name does not match plugin name) Not testing file:libavformat.a (File name does not match plugin name) Not testing file:libfdk-aac.la (File name does not match plugin name) Not testing file:libavfilter.a (File name does not match plugin name) Not testing file:freebasic (File name does not match plugin name) Not testing file:libavutil.a (File name does not match plugin name) Not testing file:libfdk-aac.a (File name does not match plugin name) Not testing file:.. (File name does not match plugin name) Not testing file:. (File name does not match plugin name) Not testing file:libexpat.so.0.5.0 (File name does not match plugin name) Not testing file:libopus.a (File name does not match plugin name) Not testing file:libexpat.so (File name does not match plugin name) Not testing file:libopus.la (File name does not match plugin name) FINISHED Configuring CDynamicQueryFactory ---------------------------------------- The current configuration directory is: /home/tom ---------------------------------------- Opening port 12789 ---------------------------------------- TCP socket successfully initialized:7 TCP socket successfully initialized:8 Waiting for connection... ...select trying to accept 7 1 Accept and serve: 7 connected: 7->3 Accepted Connection! Accepted from adress [Peer INET Address: 127.0.0.1] calling processMessage (no thread) CCommunicationHandler.cc:638:readAndParse before parse <?xml version="1.0" standalone="no" ?> <!DOCTYPE mrml SYSTEM "file:/usr/local/share/mrml.dtd"> <mrml session-id="nothing">STARTING:mrml 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ <open-session user-id="-perl-one-shot-query-" session-name="--feedback-client-session--"/>STARTING:open-session ENDING:open-session 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ <get-algorithms />STARTING:get-algorithms ENDING:get-algorithms 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ <get-collections />STARTING:get-collections ENDING:get-collections 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ 1:--------------------TEXT_ _ </mrml>ENDING:mrml CCommunicationHandler.cc:729:readAndParse before visit ++/+/+/+//CCommunicationHandler.cc:732:readAndParse before check CHECKING: __ROOT__ ++/+/+/+//CHECKING SUCCEEDED VISITING: __ROOT__ CHECKING: mrml ++/+/+/+//CHECKING SUCCEEDED VISITING: mrml CHECKING: open-session +/+/+/+/CHECKING SUCCEEDED VISITING: open-session HIER OPEN SESSION ENTERING OPENSESSION making a new session II Segmentation fault (core dumped) " ** Affects: gnuift (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189715 Title: gift Segmentation fault with client connection To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnuift/+bug/1189715/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs