[Pyobjc-dev] NSNetServiceBrowser misbehaving
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2003-05-23 07:23:34
|
I was just screwing around with Rendezvous stuff, and it seems to have found some kind of PyObjC bug.. When I run the attached program on the LAN for *some* services, I get a bus error with this backtrace: (gdb) bt #0 0x9068ba4c in objc_msgSend () #1 0x00246990 in pythonify_c_value (type=0xfe190 "@", datum=0xbfffe2a8) at Modules/objc/objc_support.m:648 #2 0x002580b0 in method_stub (cif=0x1, resp=0xbfffe270, args=0xbfffe180, userdata=0xbfffe080) at Modules/objc/libffi_support.m:379 #3 0x00258d74 in ffi_closure_helper_DARWIN (closure=0x50fda0, rvalue=0xbfffe270, pgr=0x0, pfr=0x1, pst=0x1) at /Users/bob/src/Python/pyobjc/libffi-src/src/powerpc/ffi_darwin.c:707 #4 0x002590e8 in ffi_closure_ASM () #5 0x908bbbc0 in netServiceBrowserDispatchCallBack () #6 0x92b36db4 in NetServiceBrowser::BrowserReply(int, char*, char*, char*, int, NetServiceBrowser*) () ..... This traceback happens for _http._tcp (there should be a bunch of these) but not _daap._tcp (only my laptop is advertising right now). When browsing for _http._tcp I see the following output: setDelegate search Browsing for advertised services... runloop Bus error I'm running the latest CVS of PyObjC and an Apr 26 CVS compiler of Python 2.1b1. |