maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   avahi segfault (https://talk.maemo.org/showthread.php?t=33339)

xmob 2009-10-22 20:29

avahi segfault
 
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?

xmob 2009-10-22 23:57

Re: avahi segfault
 
Oh, and my callback function isn't getting called. This is what leads me to believe the segmentation fault is happening inside the library.

danielwilms 2009-10-23 09:56

Re: avahi segfault
 
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

xmob 2009-10-23 10:17

Re: avahi segfault
 
Hmm.

I may have to look into building avahi with debug symbols in scratchbox.

xmob 2009-10-23 21:35

Re: avahi segfault
 
I've just built avahi 0.6.23 and am still getting same segfault. :(

mu_mind 2010-01-18 17:25

Re: avahi segfault
 
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. ;)

mu_mind 2010-01-18 17:30

Re: avahi segfault
 
...but I didn't actually see a segfault, I saw:
Code:

pybonjour.BonjourError: (-65537, 'unknown')


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

vBulletin® Version 3.8.8