[ecasound] Still cannot get ecawave to work under Redhat 7.1

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: [ecasound] Still cannot get ecawave to work under Redhat 7.1
From: fabrizio.gennari@philips.com
Date: Thu Jul 12 2001 - 19:27:14 EEST


I tried the ecawave-0.4.0 RPM on a machine running Redhat 7.1 with no luck. The message "extension "RENDER" missing on display :0.0" appears then the program segfaults. The message appears with all Qt programs, so it should be harmless. I ran the program
with gdb, and captured a backtrace of the functions called.

#0 0xd0680809 in ?? ()
#1 0x404d4dfa in QObject::connect () at eval.c:41
#2 0x0805499a in QMainWindow::childEvent () at eval.c:41
#3 0x08054360 in QMainWindow::childEvent () at eval.c:41
#4 0x0805373e in QMainWindow::childEvent () at eval.c:41
#5 0x40863177 in __libc_start_main ( main=0x8053610 <QMainWindow::childEvent(QChildEvent *)+196>, argc=1, ubp_av=0xbffff88c, init=0x8051bbc <_init>, fini=0x8077cd8 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff884) at
../sysdeps/generic/libc-start.c:129

Then, I downloaded the sources and recompiled them with the old compiler egcs-2.91.66, adding the flag -g for debugging. The result was the same. The backtrace this time was:

#0 0xf068080a in ?? ()
#1 0x404d4dfa in QObject::connect () at eval.c:41
#2 0x08054dba in QESession::QESession (this=0x80e0cb8, parent=0xbffff694, name=0x8079da1 "session") at qesession.cpp:87
#3 0x08054780 in QEInterface::QEInterface (this=0xbffff694, filename=@0xbffff724, parent=0x0, name=0x0) at qeinterface.cpp:38
#4 0x08053b5e in main (argc=1, argv=0xbffff87c) at ecawave.cpp:53
#5 0x40863177 in __libc_start_main (main=0x8053a30 <main>, argc=1, ubp_av=0xbffff87c, init=0x8051c0c <_init>, fini=0x8079800 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff86c) at ../sysdeps/generic/libc-start.c:129

I compiled again, but using the newer gcc-2.96. The result was better: after "extension "RENDER" missing on display :0.0" the main window appeared. I clicked on Open, then on Browse, selected a file and clicked OK. The program crashed. Here is the
backtrace:

#0 __strtol_internal (nptr=0x402eed68 "W\232(@Øy\234@\214r)@\001", endptr=0x4, base=1076817280, group=135137976) at eval.c:36
#1 0x40807598 in __user_type_info::dyncast (this=0x402eed68, boff=4, target=@0x402eed80, objptr=0x80e0ab8, subtype=@0x8091ed8, subptr=0x80e0abc) from /usr/lib/libstdc++-libc6.2-2.so.3
#2 0x40809033 in __dynamic_cast_2 ( from=0x4010524c <WAVEFILE type_info function>, to=0x8051a94 <AUDIO_IO type_info function>, boff=4, address=0x80e0ab8, sub=0x807763c <ECA_OBJECT type_info function>, subptr=0x80e0abc) from
/usr/lib/libstdc++-libc6.2-2.so.3
#3 0x0805f202 in QEOpenFileDialog::format_test (this=0x80f4a28) at qeopenfiledialog.cpp:90
#4 0x404d5e0b in QObject::activate_signal () at eval.c:41
#5 0x080703bf in QEFilenameInput::file_selected (this=0x80f4ee0) at qefilenameinput_moc.cpp:100
#6 0x08065af7 in QEFilenameInput::button_browse (this=0x80f4ee0) at qefilenameinput.cpp:82
#7 0x404d5e0b in QObject::activate_signal () at eval.c:41
#8 0x405ef532 in QButton::clicked () at eval.c:41
#9 0x4053b77b in QButton::mouseReleaseEvent () at eval.c:41
#10 0x4051fd11 in QWidget::event () at eval.c:41
#11 0x4047e154 in QApplication::notify () at eval.c:41
#12 0x4044d01f in QETWidget::translateMouseEvent () at eval.c:41
#13 0x4044a488 in QApplication::x11ProcessEvent () at eval.c:41
#14 0x4044943a in QApplication::processNextEvent () at eval.c:41
#15 0x4047ffec in QApplication::enter_loop () at eval.c:41
#16 0x40485534 in QDialog::show () at eval.c:41
#17 0x40484eaf in QDialog::exec () at eval.c:41
#18 0x08058eba in QESession::open_event (this=0x80d1f70) at qesession.cpp:596
#19 0x404d5e0b in QObject::activate_signal () at eval.c:41
#20 0x405ef532 in QButton::clicked () at eval.c:41
#21 0x4053b77b in QButton::mouseReleaseEvent () at eval.c:41
#22 0x4051fd11 in QWidget::event () at eval.c:41
#23 0x4047e154 in QApplication::notify () at eval.c:41
#24 0x4044d01f in QETWidget::translateMouseEvent () at eval.c:41
#25 0x4044a488 in QApplication::x11ProcessEvent () at eval.c:41
#26 0x4044943a in QApplication::processNextEvent () at eval.c:41
#27 0x4047ffec in QApplication::enter_loop () at eval.c:41
#28 0x404493b7 in QApplication::exec () at eval.c:41
#29 0x08052f12 in main (argc=1, argv=0xbffff86c) at ecawave.cpp:58
#30 0x40864177 in __libc_start_main (main=0x8052d70 <main>, argc=1, ubp_av=0xbffff86c, init=0x80512dc <_init>, fini=0x807b490 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff85c) at ../sysdeps/generic/libc-start.c:129

It seems that the "dynamic_cast" called by QEOpenFileDialog::format_test fails. But why does it fail? And why such a different behaviour between compilers? Maybe it is libstdc++'s fault? I am using the one coming with Redhat 7.1.

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Jul 12 2001 - 19:28:52 EEST