[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-multimedia
Subject: help
From: "Ramiro Tasquer" <tasquer () mail ! zuper ! net>
Date: 2001-09-21 9:38:49
[Download RAW message or body]
Hi!
I'm writing an applet, a sound applet, where you will be
able to see the wave of the sound (with Arts only for the
moment).
First, i did the main program as a QT-only program, then i
modify the code to work as an applet (you can't imagine
how messy was to do all the autoconf/automake stuff)
i use the khelloworldapplet as the base of the applet.
well, it does a segfault... and this is what gdb show me
Starting program: /opt/kde/bin/appletproxy
/opt/kde/share/apps/kicker/applets/khelloworldapplet.desktop
Qt: gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.
WARNING: Unable to find style plugin liquid.la
Program received signal SIGSEGV, Segmentation fault.
0x40daaed6 in Arts::Dispatcher::stringToObjectReference ()
from /opt/kde/lib/libmcop.so.0
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /opt/kde/bin/appletproxy
/opt/kde/share/apps/kicker/applets/khelloworldapplet.desktop
Qt: gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.ÐD
WARNING: Unable to find style plugin liquid.la
Program received signal SIGSEGV, Segmentation fault.
0x40daaed6 in Arts::Dispatcher::stringToObjectReference ()
from /opt/kde/lib/libmcop.so.0
(gdb) bt
#0 0x40daaed6 in
Arts::Dispatcher::stringToObjectReference () from
/opt/kde/lib/libmcop.so.0
#1 0x40d2106b in Arts::SoundServerV2_base::_fromString ()
from /opt/kde/lib/libsoundserver_idl.so.0
#2 0x40c8e762 in HelloWorldApplet::HelloWorldApplet ()
from /opt/kde/lib/libkhelloworldapplet.so.1
#3 0x40c8e65b in init () from
/opt/kde/lib/libkhelloworldapplet.so.1
#4 0x4001c1ff in KickerPluginManager::loadApplet () from
/opt/kde/lib/appletproxy.so
#5 0x4001a13e in AppletProxy::loadApplet () from
/opt/kde/lib/appletproxy.so
#6 0x400197ce in main () from /opt/kde/lib/appletproxy.so
#7 0x40afca8e in __libc_start_main (main=0x80484e8
<main>, argc=2, argv=0xbffff664, init=0x8048494 <_init>,
fini=0x804864c <_fini>, rtld_fini=0x4000aa20
<_dl_fini>, stack_end=0xbffff65c)
at ../sysdeps/generic/libc-start.c:92
i don't know what it can be..
the code looks like this.
Ð0A.cpp
HelloWorldApplet::HelloWorldApplet( const QString&
configFile, Type type, int actions, QWidget *parent, const
char *name )
: KPanelApplet( configFile, type, actions, parent,
name ) , server(Reference("global:Arts_SoundServerV2"))
{
dah = new iffts(server, 16, this);
}
i define server in the header, as a private variable..
like this
private:
SoundServerV2 server;
i don't know where could the problem be..
thanks a lot for your help..
Ramiro Tasquer
San Miguel de Tucuman - Argentina
www.ruidoblanco.com.ar
_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic