Thanks for your quick reply! I am looking into it by GDB now. >-----Original Message----- >From: pulseaudio-discuss-bounces at mail.0pointer.de >[mailto:pulseaudio-discuss-bounces at mail.0pointer.de] On Behalf Of Colin >Guthrie >Sent: 2008??10??9?? 16:06 >To: pulseaudio-discuss at mail.0pointer.de >Subject: Re: [pulseaudio-discuss] Segmentation fault when load >module-alsa-sink by commandline > >Hi, > >Zhang, Xing Z wrote: >> I am newbie to PA. Now I am trying to enable PA from scratch. When I >> enter ??load-module module-alsa-sink?? it complains ??no such file >> found??, then I launch PA with param ??-p /usr/lib/pulse-0.9/modules/?? >> unfortunately a segmentation fault happen while I load >> module-alsa-sink. I notice default.pa uses module-hal-detect instead >> of directly loading module-asla-xxx, so I want to know whether the >> issue I met is a known bug? Or any other methods to load >> module-alsa-xxx by manual? >> >> BTW: I did above things in command line interface(pulseaudio ?CnC) and >> the PA version is 0.9.13) > >Most people prefer to just use PA with the default config, but if you're >trying to use for e.g. embedded purposes etc, there may be good reason >not to do this. > >Generally speaking, you can load up pulseaudio and then attach to it via >the command line tools (pacmd, pactl) in order to load the sinks etc. To >do this, you need to have some kind of basic default.pa script to load >the protocol modules in order to allow the later attaching by >pacmd/pactl and other pulseaudio clients. > >If you have compiled pulse with debugging symbols, the backtrace >produced by pulse when it crashes would be useful to help debug. > >You can use "ulimit -c unlimited" before running pulse and that should >cause a core dump which can then be analysed with gdb. > >I know this isn't the most helpful of replies, but I'd start off with >the default.pa and then strip it back bit by bit :) > >Col > > >-- > >Colin Guthrie >gmane(at)colin.guthr.ie >http://colin.guthr.ie/ > >Day Job: > Tribalogic Limited [http://www.tribalogic.net/] >Open Source: > Mandriva Linux Contributor [http://www.mandriva.com/] > PulseAudio Hacker [http://www.pulseaudio.org/] > Trac Hacker [http://trac.edgewall.org/] > >_______________________________________________ >pulseaudio-discuss mailing list >pulseaudio-discuss at mail.0pointer.de >https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss