From kde-multimedia Fri Sep 21 16:31:17 2001 From: Stefan Westerfeld Date: Fri, 21 Sep 2001 16:31:17 +0000 To: kde-multimedia Subject: Re: Help X-MARC-Message: https://marc.info/?l=kde-multimedia&m=100108999419009 Hi! On Fri, Sep 21, 2001 at 12:43:52PM +0000, Ramiro Tasquer wrote: > 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 Did you create an Arts::Dispatcher instance, either using KArtsDispatcher dispatcher; or Arts::Dispatcher dispatcher; it's the first thing you should do (like Q/KApplication for Qt), and I could imagine that your segfault happens due to that. Cu... Stefan -- -* Stefan Westerfeld, stefan@space.twc.de (PGP!), Hamburg/Germany KDE Developer, project infos at http://space.twc.de/~stefan/kde *- _______________________________________________ Kde-multimedia mailing list Kde-multimedia@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-multimedia