Reply
Thread Tools
Posts: 116 | Thanked: 156 times | Joined on Sep 2009 @ North Yorkshire
#1
I'm writing a Python application that uses pybonjour.

In Diablo I'm getting a segfault in (I'm guessing) either libdns_sd.so.1 or libavahi-client.so.3. This happens when a call to DNSServiceProcessResult is made.

All is well with the same code on my Lenny machine, so I'm pretty confident it's not an issue with my code.

Can anybody offer any pointers?
__________________
mSideShow
 
Posts: 116 | Thanked: 156 times | Joined on Sep 2009 @ North Yorkshire
#2
Oh, and my callback function isn't getting called. This is what leads me to believe the segmentation fault is happening inside the library.
__________________
mSideShow
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#3
Hi,

there seem to be some problems with avahi and the libs for diablo, and it hasn't been updated since then. So it is most likely that the problems you are facing are coming from there.

Cheers Daniel
 

The Following User Says Thank You to danielwilms For This Useful Post:
Posts: 116 | Thanked: 156 times | Joined on Sep 2009 @ North Yorkshire
#4
Hmm.

I may have to look into building avahi with debug symbols in scratchbox.
__________________
mSideShow
 
Posts: 116 | Thanked: 156 times | Joined on Sep 2009 @ North Yorkshire
#5
I've just built avahi 0.6.23 and am still getting same segfault.
__________________
mSideShow
 
Posts: 13 | Thanked: 5 times | Joined on Jan 2010
#6
Check that the avahi daemon is running:
Code:
# /etc/init.d/avahi-daemon status
I still got errors after doing that, but they were much more informative.
 
Posts: 13 | Thanked: 5 times | Joined on Jan 2010
#7
...but I didn't actually see a segfault, I saw:
Code:
pybonjour.BonjourError: (-65537, 'unknown')
 
Reply

Tags
avahi, pybonjour


 
Forum Jump


All times are GMT. The time now is 06:47.