Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Segmentation Fault in subscribe_event #87

@tango-controls-bot

Description

@tango-controls-bot

subscribe_event() gives segmentation fault with this backtrace:

\#0  0xb628cf52 in std::string::compare\(char const\*\) const \(\) from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so.6
\(gdb\) bt
\#0  0xb628cf52 in std::string::compare\(char const\*\) const \(\) from /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so.6
\#1  0xb7d27e53 in operator==<char, std::char\_traits<char>, std::allocator<char> > \(this=0x846e2a8, device=0xb330a120, attribute=..., event=Tango::CHANGE\_EVENT,
callback=0x846d378, ev\_queue=0x0, filters=..., stateless=false\) at /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/bits/basic\_string.h:2189
\#2  Tango::EventConsumer::subscribe\_event \(this=0x846e2a8, device=0xb330a120, attribute=..., event=Tango::CHANGE\_EVENT, callback=0x846d378, ev\_queue=0x0, filters=...,
stateless=false\) at event.cpp:1889
\#3  0xb7d28658 in Tango::EventConsumer::subscribe\_event \(this=0x846e2a8, device=0xb330a120, attribute=..., event=Tango::CHANGE\_EVENT, callback=0x846d378, filters=...,
stateless=<value optimized out>\) at event.cpp:1818
\#4  0xb7e07449 in Tango::DeviceProxy::subscribe\_event \(this=0xb330a120, attr\_name=..., event=Tango::CHANGE\_EVENT, callback=0x846d378, filters=...,
stateless=<value optimized out>\) at devapi\_base.cpp:6598
\#5  0xb72d19b4 in TAction::configure \(this=0x846d370\) at src/taction.cpp:199
\#6  0xb72d4ef4 in TAction \(this=0x846d370, s=..., dev=0xb330a120, dt=ATTRIBUTE, pt=..., args=..., m=AUTO\_REFRESH, p=1000\) at src/taction.cpp:46
\#7  0xb7300113 in ActionFactory::create \(this=0x811e1b8, device=0xb330a120, ev=...\) at src/action\_factory.cpp:158
\#8  0xb72c23e6 in DeviceThread::process \(this=0xb3301718\) at src/devicethread.cpp:155
\#9  0xb733c358 in DeviceThread::qt\_metacall \(this=0xb3301718, \_c=QMetaObject::InvokeMetaMethod, \_id=5, \_a=0xaaaedc58\) at moc/moc\_devicethread.cpp:83
\#10 0xb659c654 in QMetaObject::activate\(QObject\*, int, int, void\*\*\) \(\) from /usr/lib/qt4/libQtCore.so.4
\#11 0x00000000 in ?? \(\)

Thanks for any suggestion!

Giacomo

Reported by: jacum

Original Ticket: tango-cs/bugs/257

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions