Sent from my Nokia phone -----Original Message----- From: pjsip-request@xxxxxxxxxxxxxxx Sent: 26/03/2011 10:00:15 pm Subject: pjsip Digest, Vol 43, Issue 36 Send pjsip mailing list submissions to pjsip at lists.pjsip.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org or, via email, send a message with subject or body 'help' to pjsip-request at lists.pjsip.org You can reach the person managing the list at pjsip-owner at lists.pjsip.org When replying, please edit your Subject line so it is more specific than "Re: Contents of pjsip digest..." Today's Topics: 1. Which function suppose to be called - Symbian VAS question (Mr. Iajdani) 2. soft deadlock detection bug in acquire_call (Attila Magyar) 3. Re: soft deadlock detection bug in acquire_call (Attila Magyar) 4. Unable to build r3482 under Mac OS X (Chi Zhang) ---------------------------------------------------------------------- Message: 1 Date: Sat, 26 Mar 2011 00:59:13 +0600 From: "Mr. Iajdani" <iajdani@xxxxxxxxxxxxx> To: pjsip at lists.pjsip.org Subject: Which function suppose to be called - Symbian VAS question Message-ID: <AANLkTik9J68cdDc3hyN7fqvwjTibdDtKnRGEOYZFCuqv at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" While creating sound device which function supposed to be called by the VAS direct play_cb_ext or play_cb.? My understanding it should be play_cb_ext but pjmedia_snd_port_create_player calling play_cb while VAS is active with switchboard. Any thought?? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110326/d9f88653/attachment-0001.html> ------------------------------ Message: 2 Date: Fri, 25 Mar 2011 21:25:34 +0100 From: Attila Magyar <m.magyar3@xxxxxxxxx> To: pjsip at lists.pjsip.org Subject: soft deadlock detection bug in acquire_call Message-ID: <AANLkTi=9Rs75X=UX8ThMD8vRCbMaya+tPp6EYwiFiK5O at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hi, I've found a bug in the acquire_call function in pjsua_call.c. The problem is that the timeout, which is used by the deadlock detection algorithm is not correctly initialized. The msec is set: timeout.msec = PJSUA_ACQUIRE_CALL_TIMEOUT; But time.sec is not set to any value, so it can be any garbage on the stack. In my case it was 139889163008162sec 0msec after the normalize. So what is missing is just a timeout.sec = 0; regards Attila Magyar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110325/f57a5df8/attachment-0001.html> ------------------------------ Message: 3 Date: Fri, 25 Mar 2011 21:27:09 +0100 From: Attila Magyar <m.magyar3@xxxxxxxxx> To: pjsip at lists.pjsip.org Subject: Re: soft deadlock detection bug in acquire_call Message-ID: <AANLkTinuqDJp7ORGaj+V3Zy7UFHeEuFpa68eFTvVuigY at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Sorry the diff was missing. On Fri, Mar 25, 2011 at 9:25 PM, Attila Magyar <m.magyar3 at gmail.com> wrote: > Hi, > > I've found a bug in the acquire_call function in pjsua_call.c. The problem > is that the timeout, which is used by the deadlock detection algorithm is > not correctly initialized. > > The msec is set: timeout.msec = PJSUA_ACQUIRE_CALL_TIMEOUT; > But time.sec is not set to any value, so it can be any garbage on the > stack. In my case it was 139889163008162sec 0msec after the normalize. So > what is missing is just a timeout.sec = 0; > > regards > Attila Magyar > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110325/f6ac3e00/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: fix_deadlock_detection.diff Type: application/octet-stream Size: 360 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110325/f6ac3e00/attachment-0001.diff> ------------------------------ Message: 4 Date: Sat, 26 Mar 2011 09:35:18 +0800 From: Chi Zhang <elecpaoao@xxxxxxxxx> To: pjsip at lists.pjsip.org Subject: Unable to build r3482 under Mac OS X Message-ID: <AANLkTinNZ4BLjd3eEfqiN-jYv=nQc71JogQ8nVHVE4N3 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi I was unable to build r3482 on Mac OS. OS Version: Mac OS X Snow Leopard 10.6.7 XCode: 4.0 gcc: 4.2.1 The error message: (I can build release 1.8.10 without problems using the command below) $ ./configure && make dep && make ....... r - output/libg7221codec-i386-apple-darwin10.7.0/common/common.o r - output/libg7221codec-i386-apple-darwin10.7.0/common/huff_tab.o r - output/libg7221codec-i386-apple-darwin10.7.0/common/tables.o r - output/libg7221codec-i386-apple-darwin10.7.0/common/basic_op.o r - output/libg7221codec-i386-apple-darwin10.7.0/decode/coef2sam.o r - output/libg7221codec-i386-apple-darwin10.7.0/decode/dct4_s.o r - output/libg7221codec-i386-apple-darwin10.7.0/decode/decoder.o r - output/libg7221codec-i386-apple-darwin10.7.0/encode/dct4_a.o r - output/libg7221codec-i386-apple-darwin10.7.0/encode/sam2coef.o r - output/libg7221codec-i386-apple-darwin10.7.0/encode/encoder.o ranlib ../../lib/libg7221codec-i386-apple-darwin10.7.0.a make -f /Users/eshock/Projects/workspaces/work/pjproject_main/build/rules.mak APP=PORTAUDIO app=libportaudio ../../lib/libportaudio-i386-apple-darwin10.7.0.a .libportaudio-i386-apple-darwin10.7.0.depend:1: *** missing separator. Stop. make[2]: *** [libportaudio] Error 2 make[1]: *** [all] Error 1 make: *** [all] Error 1 Why is the target versioned 10.7? That's strange, because my os version is 10.6.7, not 10.7 I did not include anything in my user.mak and I only have one line in my config_site.h: #include <pj/config_site_sample.h> The content of the file .libportaudio-i386-apple-darwin10.7.0.depend: output/libportaudio-i386-apple-darwin10.7.0/output/libportaudio-i386-apple-darwin10.7.0/output/ libportaudio-i386-apple-darwin10.7.0/output/libportaudio-i386-apple-darwin10.7.0/output/ libportaudio-i386-apple-darwin10.7.0/output/libportaudio-i386-apple-darwin10.7.0/output/ libportaudio-i386-apple-darwin10.7.0/output/libportaudio-i386-apple-darwin10.7.0/output/ libportaudio-i386-apple-darwin10.7.0/output/libportaudio-i386-apple-darwin10.7.0/output/ libportaudio-i386-apple-darwin10.7.0/output/libportaudio-i386-apple-darwin10.7.0/output/ libportaudio-i386-apple-darwin10.7.0/output/libportaudio-i386-apple-darwin10.7.0/output/ libportaudio-i386-apple-darwin10.7.0/output/libportaudio-i386-apple-darwin10.7.0/ Any idea what's going on? thx in advance -- Sincerely Yours, Chi Zhang elecpaoao at gmail.com College of Computer Science and Technology, Zhejiang University ------------------------------ _______________________________________________ pjsip mailing list pjsip at lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org End of pjsip Digest, Vol 43, Issue 36 *************************************