[Bug 56059] aRtsd crashes if loading StereoCompressor before any other effects (was: artsd crashes at krec startup)

Christian Roerecke christian.roerecke at web.de
Thu Jul 24 18:01:06 BST 2003


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=56059     




------- Additional Comments From christian.roerecke at web.de  2003-07-24 19:01 -------
Hi, 
 
I have a rather strange analysis of this bug. When I compile the kdemultimedia/arts directory 
with --enable-debug=full, artsd won't crash while loading an effect. When I compile the very 
same directory without this switch, artsd will crash. 
 
The modules arts and kdelibs are compiled with  --enable-debug=full as well. 
 
This is the output of krec with kdemultimedia/arts and --enable-debug=full 
christian at roehre:~> krec 
krec: KRecord::KRecord( QWidget *[Null pointer], const char*  ) 
krec: StartUpWindow::StartUpWindow(QWidget *[Null pointer], const char 
*KRec::StartUpWindow ) 
krec: StartUpWindow::isTipDialog = true 
krec: KRecord::KRecord() Mainwidget 
mcop warning: user defined signal handler found for SIG_PIPE, overriding 
krec: KRecord::KRecord() aRts-Objects 
unix_connect: can't connect to server 
(unix:/tmp/mcop-christian/roehre_wg101_schwesternhaus-28cc-3f1fec46) 
Launched ok, pid = 27097 
artskde: [void KAudioRecordStream::flush()] 
krec: AKByteStreamSender::AKByteStreamSender( RecordFile *(nil), float 40.6349, QObject 
*0x80d0928, const char* "" ) 
krec: KRecord::KRecord() Arts::Connects 
krec: KRecord::KRecord() Starts 
krec: KRecord::KRecord() Actions 
krec: KRecord::KRecord() ToolBar::VU-Meter/Level-Slider/LCDNumber 
krec: KRecord::~KRecord() 
krec: AKByteStreamSender::~AKByteStreamSender() 
krec: ~KRecord() - Bye 
 
This is the output without the switch: 
christian at roehre:~> krec 
krec: KRecord::KRecord( QWidget *[Null pointer], const char*  ) 
krec: StartUpWindow::StartUpWindow(QWidget *[Null pointer], const char 
*KRec::StartUpWindow ) 
krec: StartUpWindow::isTipDialog = true 
krec: KRecord::KRecord() Mainwidget 
mcop warning: user defined signal handler found for SIG_PIPE, overriding 
krec: KRecord::KRecord() aRts-Objects 
artskde: [void KAudioRecordStream::flush()] 
Launched ok, pid = 28106 
krec: AKByteStreamSender::AKByteStreamSender( RecordFile *(nil), float 40.6349, QObject 
*0x80d0950, const char* "" ) 
krec: KRecord::KRecord() Arts::Connects 
file ./mcop/flowsystem.cc: line 120 (void Arts::RemoteScheduleNode::connect(const string &, 
Arts::ScheduleNode *, const string &)): assertion failed: (!fs.isNull()) 
krec: KRecord::KRecord() Starts 
krec: KRecord::KRecord() Actions 
krec: KRecord::KRecord() ToolBar::VU-Meter/Level-Slider/LCDNumber 
krec: KRecord::~KRecord() 
krec: AKByteStreamSender::~AKByteStreamSender() 
krec: ~KRecord() - Bye 
 
Does the difference in the output starting with file ./mcop/flowsystem.cc: line 120 give someone 
experienced an insight? 
 
Here is a backtrace from artsd when I insert an effect via artsshell: 
(gdb) next 
Single stepping until exit from function select, 
which has no line number information. 
[Switching to Thread 1024 (LWP 28123)] 
0x404e729a in Arts::StdIOManager::processOneEvent () from /opt/kdecvs/lib/libmcop.so.1 
(gdb) 
Single stepping until exit from function processOneEvent__Q24Arts12StdIOManagerb, 
which has no line number information. 
0x404e7621 in Arts::StdIOManager::run () from /opt/kdecvs/lib/libmcop.so.1 
(gdb) 
Single stepping until exit from function run__Q24Arts12StdIOManager, 
which has no line number information. 
 
Program received signal SIGSEGV, Segmentation fault. 
0x4148f3ae in ?? () 
(gdb) bt 
#0  0x4148f3ae in ?? () 
#1  0x4148e244 in ?? () 
#2  0x4148e291 in ?? () 
#3  0x40b773ac in ?? () 
#4  0x404ec3ab in Arts::Object_skel::_dispatch () from /opt/kdecvs/lib/libmcop.so.1 
#5  0x404e23d5 in Arts::Dispatcher::handle () from /opt/kdecvs/lib/libmcop.so.1 
#6  0x404b97d3 in Arts::Connection::receive () from /opt/kdecvs/lib/libmcop.so.1 
#7  0x404f14b8 in Arts::SocketConnection::notifyIO () from /opt/kdecvs/lib/libmcop.so.1 
#8  0x404e7462 in Arts::StdIOManager::processOneEvent () from /opt/kdecvs/lib/libmcop.so.1 
#9  0x404e7621 in Arts::StdIOManager::run () from /opt/kdecvs/lib/libmcop.so.1 
#10 0x404e4a04 in Arts::Dispatcher::run () from /opt/kdecvs/lib/libmcop.so.1 
#11 0x080627df in main () 
#12 0x406629ed in __libc_start_main () from /lib/libc.so.6 
(gdb) 
 
Somewhere along the line between the objectmanager and the call to flowsystem might be the 
error, at least this is my guess. 
 
Hope this helps, with further directions I'm willing to provide more information, compiling, 
testing. 
 
Christian



More information about the kde-multimedia mailing list