OpenViBE Bug Tracker - openvibe-designer
View Issue Details
0000167openvibe-designerbug reportpublic2015-01-24 10:422016-07-01 13:59
harag 
gserrier 
normalcrashalways
resolvedfixed 
x86_64Ubuntu14.10
0000167: Designer crashes - symbol lookup error on pressing play - when a temporal filter is part of the design
Pressing the play button when a temporal filter is part of the design causes a crash with the follow error showing in the terminal.

/dist/bin/openvibe-designer: symbol lookup error: /dist/lib/x86_64-linux-gnu/libopenvibe-plugins-contrib-signal-processing.so: undefined symbol: _ZN4itpp5zerosEi
1. Add a generic stream reader to the designer, select a file that was created by the generic stream writer (file attached).
2. Add a temporal filter.
3. Link the reader and filter.
4. Press play.
<OpenViBE-Scenario>
    <Boxes>
        <Box>
            <Identifier>(0x0e7ed427, 0x626f1952)</Identifier>
            <Name>Temporal filter</Name>
            <AlgorithmClassIdentifier>(0xb4f9d042, 0x9d79f2e5)</AlgorithmClassIdentifier>
            <Inputs>
                <Input>
                    <TypeIdentifier>(0x5ba36127, 0x195feae1)</TypeIdentifier>
                    <Name>Input signal</Name>
                </Input>
            </Inputs>
            <Outputs>
                <Output>
                    <TypeIdentifier>(0x5ba36127, 0x195feae1)</TypeIdentifier>
                    <Name>Filtered signal</Name>
                </Output>
            </Outputs>
            <Settings>
                <Setting>
                    <TypeIdentifier>(0x2f2c606c, 0x8512ed68)</TypeIdentifier>
                    <Name>Filter method</Name>
                    <DefaultValue>Butterworth</DefaultValue>
                    <Value>Butterworth</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
                <Setting>
                    <TypeIdentifier>(0xfa20178e, 0x4cba62e9)</TypeIdentifier>
                    <Name>Filter type</Name>
                    <DefaultValue>Band pass</DefaultValue>
                    <Value>Band pass</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
                <Setting>
                    <TypeIdentifier>(0x007deef9, 0x2f3e95c6)</TypeIdentifier>
                    <Name>Filter order</Name>
                    <DefaultValue>4</DefaultValue>
                    <Value>4</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
                <Setting>
                    <TypeIdentifier>(0x512a166f, 0x5c3ef83f)</TypeIdentifier>
                    <Name>Low cut frequency (Hz)</Name>
                    <DefaultValue>29</DefaultValue>
                    <Value>29</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
                <Setting>
                    <TypeIdentifier>(0x512a166f, 0x5c3ef83f)</TypeIdentifier>
                    <Name>High cut frequency (Hz)</Name>
                    <DefaultValue>40</DefaultValue>
                    <Value>40</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
                <Setting>
                    <TypeIdentifier>(0x512a166f, 0x5c3ef83f)</TypeIdentifier>
                    <Name>Pass band ripple (dB)</Name>
                    <DefaultValue>0.5</DefaultValue>
                    <Value>0.5</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
            </Settings>
            <Attributes>
                <Attribute>
                    <Identifier>(0x1fa7a38f, 0x54edbe0b)</Identifier>
                    <Value>160.000000</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x1fa963f5, 0x1a638cd4)</Identifier>
                    <Value>27</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x207c9054, 0x3c841b63)</Identifier>
                    <Value>192.000000</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x4e7b798a, 0x183beafb)</Identifier>
                    <Value>(0x27a4ceec, 0x876d6384)</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xad100179, 0xa3c984ab)</Identifier>
                    <Value>118</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xc73e83ec, 0xf855c5bc)</Identifier>
                    <Value>false</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xc80ce8af, 0xf699f813)</Identifier>
                    <Value>1</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xce18836a, 0x9c0eb403)</Identifier>
                    <Value>6</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xcfad85b0, 0x7c6d841c)</Identifier>
                    <Value>1</Value>
                </Attribute>
            </Attributes>
        </Box>
        <Box>
            <Identifier>(0x3e13b1a7, 0x6ddb53c7)</Identifier>
            <Name>Generic stream reader</Name>
            <AlgorithmClassIdentifier>(0x6468099f, 0x0370095a)</AlgorithmClassIdentifier>
            <Outputs>
                <Output>
                    <TypeIdentifier>(0x5ba36127, 0x195feae1)</TypeIdentifier>
                    <Name>Output stream 1</Name>
                </Output>
            </Outputs>
            <Settings>
                <Setting>
                    <TypeIdentifier>(0x330306dd, 0x74a95f98)</TypeIdentifier>
                    <Name>Filename</Name>
                    <DefaultValue></DefaultValue>
                    <Value>/home/phil/Documents/personal/Openvibe/record-[2015.01.19-10.55.15].ov</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
            </Settings>
            <Attributes>
                <Attribute>
                    <Identifier>(0x17ee7c08, 0x94c14893)</Identifier>
                    <Value></Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x1fa7a38f, 0x54edbe0b)</Identifier>
                    <Value>80.000000</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x1fa963f5, 0x1a638cd4)</Identifier>
                    <Value>42</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x207c9054, 0x3c841b63)</Identifier>
                    <Value>192.000000</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x30a4e5c9, 0x83502953)</Identifier>
                    <Value></Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x4e7b798a, 0x183beafb)</Identifier>
                    <Value>(0xf37b8e7a, 0x1bc33e4e)</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xad100179, 0xa3c984ab)</Identifier>
                    <Value>169</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xc46b3d00, 0x3e0454e1)</Identifier>
                    <Value>(0x00000000, 0x004b09fa)</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xc73e83ec, 0xf855c5bc)</Identifier>
                    <Value>false</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xc80ce8af, 0xf699f813)</Identifier>
                    <Value>1</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xce18836a, 0x9c0eb403)</Identifier>
                    <Value>1</Value>
                </Attribute>
            </Attributes>
        </Box>
        <Box>
            <Identifier>(0x5340e1c3, 0x789a411b)</Identifier>
            <Name>Signal display</Name>
            <AlgorithmClassIdentifier>(0x0055be5f, 0x087bdd12)</AlgorithmClassIdentifier>
            <Inputs>
                <Input>
                    <TypeIdentifier>(0x544a003e, 0x6dcba5f6)</TypeIdentifier>
                    <Name>Signal</Name>
                </Input>
                <Input>
                    <TypeIdentifier>(0x6f752dd0, 0x082a321e)</TypeIdentifier>
                    <Name>Stimulations</Name>
                </Input>
            </Inputs>
            <Settings>
                <Setting>
                    <TypeIdentifier>(0x512a166f, 0x5c3ef83f)</TypeIdentifier>
                    <Name>Time Scale</Name>
                    <DefaultValue>10</DefaultValue>
                    <Value>10</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
                <Setting>
                    <TypeIdentifier>(0x5de046a6, 0x086340aa)</TypeIdentifier>
                    <Name>Display Mode</Name>
                    <DefaultValue>Scan</DefaultValue>
                    <Value>Scan</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
                <Setting>
                    <TypeIdentifier>(0x2cdb2f0b, 0x12f231ea)</TypeIdentifier>
                    <Name>EEG display</Name>
                    <DefaultValue>false</DefaultValue>
                    <Value>false</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
                <Setting>
                    <TypeIdentifier>(0x2cdb2f0b, 0x12f231ea)</TypeIdentifier>
                    <Name>Manual Vertical Scale</Name>
                    <DefaultValue>false</DefaultValue>
                    <Value>false</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
                <Setting>
                    <TypeIdentifier>(0x512a166f, 0x5c3ef83f)</TypeIdentifier>
                    <Name>Vertical Scale</Name>
                    <DefaultValue>100</DefaultValue>
                    <Value>100</Value>
                    <Modifiability>false</Modifiability>
                </Setting>
            </Settings>
            <Attributes>
                <Attribute>
                    <Identifier>(0x1fa7a38f, 0x54edbe0b)</Identifier>
                    <Value>224.000000</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x1fa963f5, 0x1a638cd4)</Identifier>
                    <Value>27</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x207c9054, 0x3c841b63)</Identifier>
                    <Value>192.000000</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x4e7b798a, 0x183beafb)</Identifier>
                    <Value>(0x8420627f, 0x258204fa)</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xad100179, 0xa3c984ab)</Identifier>
                    <Value>108</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xc67a01dc, 0x28ce06c1)</Identifier>
                    <Value></Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xc73e83ec, 0xf855c5bc)</Identifier>
                    <Value>false</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xce18836a, 0x9c0eb403)</Identifier>
                    <Value>5</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0xcfad85b0, 0x7c6d841c)</Identifier>
                    <Value>2</Value>
                </Attribute>
            </Attributes>
        </Box>
    </Boxes>
    <Links>
        <Link>
            <Identifier>(0x468fba0a, 0x2fc50c03)</Identifier>
            <Source>
                <BoxIdentifier>(0x0e7ed427, 0x626f1952)</BoxIdentifier>
                <BoxOutputIndex>0</BoxOutputIndex>
            </Source>
            <Target>
                <BoxIdentifier>(0x5340e1c3, 0x789a411b)</BoxIdentifier>
                <BoxInputIndex>0</BoxInputIndex>
            </Target>
            <Attributes>
                <Attribute>
                    <Identifier>(0x1b32c44c, 0x1905e0e9)</Identifier>
                    <Value>180</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x358ae8b5, 0x0f8bacd1)</Identifier>
                    <Value>192</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x3f0a3b27, 0x570913d2)</Identifier>
                    <Value>206</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x6267b5c5, 0x676e3e42)</Identifier>
                    <Value>184</Value>
                </Attribute>
            </Attributes>
        </Link>
        <Link>
            <Identifier>(0x5a4d3772, 0x02998b46)</Identifier>
            <Source>
                <BoxIdentifier>(0x3e13b1a7, 0x6ddb53c7)</BoxIdentifier>
                <BoxOutputIndex>0</BoxOutputIndex>
            </Source>
            <Target>
                <BoxIdentifier>(0x0e7ed427, 0x626f1952)</BoxIdentifier>
                <BoxInputIndex>0</BoxInputIndex>
            </Target>
            <Attributes>
                <Attribute>
                    <Identifier>(0x1b32c44c, 0x1905e0e9)</Identifier>
                    <Value>107</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x358ae8b5, 0x0f8bacd1)</Identifier>
                    <Value>192</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x3f0a3b27, 0x570913d2)</Identifier>
                    <Value>142</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x6267b5c5, 0x676e3e42)</Identifier>
                    <Value>192</Value>
                </Attribute>
            </Attributes>
        </Link>
    </Links>
    <MessageLinks></MessageLinks>
    <Comments></Comments>
    <VisualisationTree>
        <VisualisationWidget>
            <Identifier>(0x0d90a12c, 0x0a08169b)</Identifier>
            <Type>3</Type>
            <ParentIdentifier>(0xffffffff, 0xffffffff)</ParentIdentifier>
            <BoxIdentifier>(0x5340e1c3, 0x789a411b)</BoxIdentifier>
            <NumChildren>0</NumChildren>
        </VisualisationWidget>
        <VisualisationWidget>
            <Identifier>(0x51fefa4b, 0x768325ef)</Identifier>
            <Name>Default window</Name>
            <Type>1</Type>
            <ParentIdentifier>(0xffffffff, 0xffffffff)</ParentIdentifier>
            <BoxIdentifier>(0xffffffff, 0xffffffff)</BoxIdentifier>
            <NumChildren>1</NumChildren>
            <Attributes>
                <Attribute>
                    <Identifier>(0x4c90d4ad, 0x7a2554ec)</Identifier>
                    <Value>320</Value>
                </Attribute>
                <Attribute>
                    <Identifier>(0x7b814cca, 0x271df6dd)</Identifier>
                    <Value>480</Value>
                </Attribute>
            </Attributes>
        </VisualisationWidget>
        <VisualisationWidget>
            <Identifier>(0x57574b04, 0x771566ef)</Identifier>
            <Name>Default tab</Name>
            <Type>2</Type>
            <ParentIdentifier>(0x51fefa4b, 0x768325ef)</ParentIdentifier>
            <Index>0</Index>
            <BoxIdentifier>(0xffffffff, 0xffffffff)</BoxIdentifier>
            <NumChildren>1</NumChildren>
        </VisualisationWidget>
        <VisualisationWidget>
            <Identifier>(0x60e4e6d1, 0x1ea747a4)</Identifier>
            <Name>Empty</Name>
            <Type>0</Type>
            <ParentIdentifier>(0x57574b04, 0x771566ef)</ParentIdentifier>
            <Index>0</Index>
            <BoxIdentifier>(0xffffffff, 0xffffffff)</BoxIdentifier>
            <NumChildren>0</NumChildren>
        </VisualisationWidget>
    </VisualisationTree>
</OpenViBE-Scenario>
No tags attached.
? record-[2015.01.19-10.55.29].ov (75,555) 2015-01-24 10:42
http://openvibe.inria.fr/tracker/file_download.php?file_id=31&type=bug
xml read-generic-stream-temporal-crash.xml (10,901) 2015-01-24 10:58
http://openvibe.inria.fr/tracker/file_download.php?file_id=32&type=bug
log build-pre-cmake-hack.log (110,076) 2015-02-04 12:52
http://openvibe.inria.fr/tracker/file_download.php?file_id=33&type=bug
log build.log (109,439) 2015-02-04 12:52
http://openvibe.inria.fr/tracker/file_download.php?file_id=34&type=bug
Issue History
2015-01-24 10:42haragNew Issue
2015-01-24 10:42haragFile Added: record-[2015.01.19-10.55.29].ov
2015-01-24 10:57haragNote Added: 0001172
2015-01-24 10:58haragFile Added: read-generic-stream-temporal-crash.xml
2015-01-26 10:14jtlindgrAssigned To => gserrier
2015-01-26 10:14jtlindgrStatusnew => assigned
2015-02-04 12:51haragNote Added: 0001173
2015-02-04 12:52haragFile Added: build-pre-cmake-hack.log
2015-02-04 12:52haragFile Added: build.log
2015-02-04 16:04gserrierNote Added: 0001174
2015-02-04 17:16haragNote Added: 0001175
2015-02-04 17:36gserrierNote Added: 0001176
2015-02-04 18:20haragNote Added: 0001177
2015-02-09 17:08gserrierNote Added: 0001178
2016-07-01 13:59jtlindgrNote Added: 0001213
2016-07-01 13:59jtlindgrStatusassigned => resolved
2016-07-01 13:59jtlindgrResolutionopen => fixed
2016-07-01 14:00jtlindgrNote Edited: 0001213bug_revision_view_page.php?bugnote_id=1213#r25

Notes
(0001172)
harag   
2015-01-24 10:57   
Debug info

[ INF ] Importing scenario...
[ INF ] Adding configuration file(s) /openvibe/dist/share/openvibe/kernel/openvibe-delayed.conf]
[ INF ] Adding configuration file(s) [/.config/openvibe/openvibe-delayedrc]
[ INF ] Adding configuration file(s) [/Openvibe/Scenarios/scenario.conf]
/openvibe/dist/bin/openvibe-designer: symbol lookup error: /openvibe/dist/lib/x86_64-linux-gnu/libopenvibe-plugins-contrib-signal-processing.so: undefined symbol: _ZN4itpp5zerosEi
[Thread 0x7fffd0ff9700 (LWP 24708) exited]
[Thread 0x7fffab77a700 (LWP 24709) exited]
[Thread 0x7fffd17fa700 (LWP 24707) exited]
[Thread 0x7fffd1ffb700 (LWP 24706) exited]
[Thread 0x7fffd27fc700 (LWP 24705) exited]
[Thread 0x7fffd2ffd700 (LWP 24704) exited]
[Thread 0x7fffd37fe700 (LWP 24703) exited]
[Thread 0x7fffd3fff700 (LWP 24702) exited]
[Thread 0x7fffd88d2700 (LWP 24701) exited]
[Thread 0x7fffe2996700 (LWP 24700) exited]
[Thread 0x7fffe3197700 (LWP 24699) exited]
[Thread 0x7ffff7fc19c0 (LWP 24695) exited]
[Inferior 1 (process 24695) exited with code 0177]
(gdb) bt
No stack.
(gdb)
(0001173)
harag   
2015-02-04 12:51   
Changing

FIND_LIBRARY(ITPP_LIB1 NAMES ${ITPP_LIB} PATHS ${ITPP_LIBRARY_DIRS} ${ITPP_LIBDIR} NO_DEFAULT_PATH)
to
FIND_LIBRARY(ITPP_LIB1 NAMES ${ITPP_LIB} PATHS ${ITPP_LIBRARY_DIRS} ${ITPP_LIBDIR} )

in FindThirdPartyITPP.cmake fixes the problem.

I will attach a log of my build in the bug report, so that you guys can scan if for more of these types of issues.
(0001174)
gserrier   
2015-02-04 16:04   
Hi,

You found a solution at the moment I found the problem :). The issue is provoked by the ubuntu package system. The maintainer of the package choose to move it from one directory to an other but apparently he forgot to update some informations that we use to find the library during the compilation/execution.

I report the bug to the maintainer and I'm currently waiting for it to be fix.

Even if your solution is working great, we cannot integrate it because let the system search for any file that looks like the library we look for can lead to security issues. However, if you know what is on your computer, you can use this solution until the package update.
(0001175)
harag   
2015-02-04 17:16   
Do you see any other candidates with the same type of issue in my build.log, I suspect that fftw3 could be one, I manually had to install it but it is still not found in the build.
(0001176)
gserrier   
2015-02-04 17:36   
Thanks for the fast answer. In my fresh installation fftw3 is working. It should not provoke the same issues as the guard is not bypass during the compilation. You will just have no access to the part of the code that use the lib.

Can you perform the following commands and give me what is print

pkg-config --variable=libdir fftw3

ls /usr/lib/x86_64-linux-gnu/ | grep libfftw3.so

ls /usr/lib/ | grep libfftw3.so
(0001177)
harag   
2015-02-04 18:20   
~$ pkg-config --variable=libdir fftw3
/usr/lib/x86_64-linux-gnu

~$ ls /usr/lib/x86_64-linux-gnu/ | grep libfftw3.so
libfftw3.so
libfftw3.so.3
libfftw3.so.3.4.4

~$ ls /usr/lib/ | grep libfftw3.so
~$
(0001178)
gserrier   
2015-02-09 17:08   
Configuration looks fine to me. Try delete the local-tmp directory and execute again install dependencies and build.
(0001213)
jtlindgr   
2016-07-01 13:59   
(edited on: 2016-07-01 14:00)
Guillaume informed the package maintainer, so the fix should eventually be there. As we only support LTS versions of Ubuntu, we're not overly concerned about building on 14.10. If this bug reappears on Ubuntu 16.04 and openvibe git master of 01.jul.2016 or later, please reopen the bug.