Hi!

On Mon, Jan 20, 2003 at 02:13:43PM +1300, Les Ferguson wrote:
> Hi, I have spent countless hours on & off over the last few months trying to 
> get artsbuilder to work, it seems that now I have to learn how to debug the 
> program to isolate my problem.
> 
> I am now on the latest Mandrake updates:
> 
> arts-1.0.5a-1.1mdk
> libarts-1.0.5a-1.1mdk
> libarts-devel-1.0.5a-1.1mdk
> kdemultimedia-devel-3.0.5a-1.1mdk
> kdemultimedia-3.0.5a-1.1mdk
> 
> If I load and execute an example structure file, I get a segmentation fault, 
> the backtrace tells me...
> 
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...0x41460739 in wait4 () from /lib/i686/libc.so.6
> #0  0x41460739 in wait4 () from /lib/i686/libc.so.6
> #1  0x414dd340 in sys_sigabbrev () from /lib/i686/libc.so.6
> #2  0x41150a73 in waitpid () from /lib/i686/libpthread.so.0
> #3  0x4066f195 in KCrash::defaultCrashHandler(int) ()
>    from /usr/lib/libkdecore.so.4
> 
> Basically what I want to know is, what do I need to debug this, do I need the 
> source for the latest versions and where do I get that from?
> Then any advice on a good debugging tutorial would be appreciated.

Try the patch I've just created for Bug #51667 (you can get the patch from
bugs.kde.org). Its a very tricky bug, it took me also some time to track down,
and you need to know some internals to find it.

Anyway, for debugging aRts, you always should use at least one of the
following two techniques:

 (a) add debugging output to the server process (use arts_debug (...)) and
     track down the bug starting artsd -l0
 (b) run the server process in gdb

You can't usually debug problems (this included) if you just start the client
application (artsbuilder in your case) in the debugger, as the client usually
does not do any relevant sound processing stuff itself. Its all server based
computation (and thus: server side bugs, as well).

   Cu... Stefan
-- 
  -* Stefan Westerfeld, [EMAIL PROTECTED] (PGP!), Hamburg/Germany
     KDE Developer, project infos at http://space.twc.de/~stefan/kde *-         

Reply via email to