Hello, 

I'm getting a segfault at startup.

I've compiled revision 3696 of the code (checked out today, 27/12/2005)
I have the following message:
Conflict in [...]/softphone/runtime/styles/libkdefx.so

Full log below. 
I'm running Linux (Debian) on PPC (mac mini).

I had compiled rev3161, and did not have the segfault. Everything
looked fine, the application started... until I tried to make a call.
Then I would get the error message: 
"Couldn't open audio" 
Please check that
- Your sound card is configured properly
- No other program is blocking the soundcard.

So I downloaded the latest code, rev 3696, compiled it from the 
softphone-classic/trunk directory with

QTDIR=/usr/share/qt3 scons enable-video='no' softphone-runtime 

Because I was worried about the OSS / ALSA, I aslo tried
QTDIR=/usr/share/qt3 scons enable-video='no' enable-oss='yes' softphone-runtime

As well, I modified lib/portaudio/SConscrip around l. 105 to use OSS:
if pa_env.WengoOsIsLinux(): ^M
  defines['PA_USE_OSS'] = 1 ^M
  sources += sources_oss + sources_unix^M
  pa_env.WengoLibAdd("m")^M

I'm always getting the segfault.


Startup log:
PA :: Input device found: Logitech USB Headset: USB Audio (hw:0,0) form host 
API: ALSA
PA :: Input device found: Logitech USB Headset: USB Audio (hw:0,0) form host 
API: ALSA
PA :: Output device found: Logitech USB Headset: USB Audio (hw:0,0) form host 
API: ALSA
PA :: Output device found: Logitech USB Headset: USB Audio (hw:0,0) form host 
API: ALSA
PA :: Output device found: Logitech USB Headset: USB Audio (hw:0,0) form host 
API: ALSA
PA :: Input device found: Logitech USB Headset: USB Audio (hw:0,0) form host 
API: ALSA
PA :: Output device found: Logitech USB Headset: USB Audio (hw:0,0) form host 
API: ALSA
PA :: Output device found: Logitech USB Headset: USB Audio (hw:0,0) form host 
API: ALSA
Conflict in 
/home/andre/openwengo/openwengo/softphone-classic/trunk/build-wengo/linux2-debug/softphone/runtime/styles/libkdefx.so:
 Plugin cannot be queried successfully!
PA :: Input device found: Logitech USB Headset: USB Audio (hw:0,0) form host 
API: ALSA
PA :: Output device found: Logitech USB Headset: USB Audio (hw:0,0) form host 
API: ALSA
PA :: Output device found: Logitech USB Headset: USB Audio (hw:0,0) form host 
API: ALSA
PresencePopupMenu::publishMyPresenceStatus()
Connect: is connected? 0
PresencePopupMenu::publishMyPresenceStatus()
Connect: is connected? 0
./run_wengophone: line 8: 22757 Segmentation fault      ./wengophone
 

When using the OSS compiled version:
PA :: Input device found: /dev/dsp       form host API: OSS
PA :: Input device found: /dev/dsp       form host API: OSS
PA :: Output device found: /dev/dsp      form host API: OSS
PA :: Output device found: /dev/dsp      form host API: OSS
PA :: Output device found: /dev/dsp      form host API: OSS
PA :: Input device found: /dev/dsp       form host API: OSS
PA :: Output device found: /dev/dsp      form host API: OSS
PA :: Output device found: /dev/dsp      form host API: OSS
Conflict in
/home/andre/openwengo/openwengo/softphone-classic/trunk/build-wengo-oss-and-lib-OSS/linux2-debug/softphone/runtime/styles/libkdefx.so:
 Plugin cannot be queried successfully!
PA :: Input device found: /dev/dsp       form host API: OSS
PA :: Output device found: /dev/dsp      form host API: OSS
PA :: Output device found: /dev/dsp      form host API: OSS
PresencePopupMenu::publishMyPresenceStatus()
Connect: is connected? 0
PresencePopupMenu::publishMyPresenceStatus()
Connect: is connected? 0
./run_wengophone: line 8: 22856 Segmentation fault      ./wengophone
 

Thanks
André

-- 
André Allavena
Post-Doctoral Fellow
University of Waterloo
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to