opalvoip-devel Mailing List for OpalVOIP (Page 5)
Brought to you by:
csoutheren,
rjongbloed
You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(57) |
Nov
(163) |
Dec
(101) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(72) |
Feb
(81) |
Mar
(61) |
Apr
(35) |
May
(40) |
Jun
(49) |
Jul
(27) |
Aug
(15) |
Sep
(71) |
Oct
(41) |
Nov
(37) |
Dec
(22) |
2009 |
Jan
(9) |
Feb
(16) |
Mar
(26) |
Apr
(39) |
May
(70) |
Jun
(26) |
Jul
(27) |
Aug
(30) |
Sep
(25) |
Oct
(62) |
Nov
(43) |
Dec
(13) |
2010 |
Jan
(53) |
Feb
(45) |
Mar
(32) |
Apr
(39) |
May
(24) |
Jun
(58) |
Jul
(5) |
Aug
(14) |
Sep
(10) |
Oct
(10) |
Nov
(16) |
Dec
(4) |
2011 |
Jan
(32) |
Feb
(30) |
Mar
(29) |
Apr
(24) |
May
(70) |
Jun
(26) |
Jul
(27) |
Aug
(23) |
Sep
(44) |
Oct
(18) |
Nov
(28) |
Dec
(45) |
2012 |
Jan
(26) |
Feb
(24) |
Mar
(88) |
Apr
(56) |
May
(84) |
Jun
(64) |
Jul
(14) |
Aug
(46) |
Sep
(70) |
Oct
(13) |
Nov
(40) |
Dec
(5) |
2013 |
Jan
(42) |
Feb
(43) |
Mar
(83) |
Apr
(27) |
May
(57) |
Jun
(39) |
Jul
(29) |
Aug
(21) |
Sep
(31) |
Oct
(31) |
Nov
(3) |
Dec
(22) |
2014 |
Jan
(20) |
Feb
(10) |
Mar
(31) |
Apr
(37) |
May
(24) |
Jun
(15) |
Jul
(11) |
Aug
(5) |
Sep
(2) |
Oct
(4) |
Nov
(4) |
Dec
(11) |
2015 |
Jan
(6) |
Feb
(3) |
Mar
(7) |
Apr
(3) |
May
|
Jun
|
Jul
(9) |
Aug
(8) |
Sep
(12) |
Oct
(3) |
Nov
(4) |
Dec
(6) |
2016 |
Jan
(3) |
Feb
(7) |
Mar
(3) |
Apr
(9) |
May
(4) |
Jun
(2) |
Jul
(3) |
Aug
(17) |
Sep
|
Oct
(11) |
Nov
(10) |
Dec
(7) |
2017 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(4) |
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(3) |
Sep
(6) |
Oct
(2) |
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
(7) |
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2022 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
(1) |
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: Елена В. <len...@ya...> - 2016-08-11 12:59:15
|
Hello! PTLib V3.16 Procyon, OS x86_64 GNU/Linux I use PServiceProcess as base class for daemon implementation. And it seems that m_processID field saves parent value in the child process after fork(). Why is Terminate() function called at the end? It couses exit and prevents calling the destructor of PServiceProcess. int PServiceProcess::InternalMain(void *) { if ((terminationValue = InitialiseService()) < 0) { // Make sure housekeeping thread is going so signals are handled. SignalTimerChange(); terminationValue = 1; if (OnStart()) { terminationValue = 0; Main(); Terminate(); } } return terminationValue; } Best regards Elena |
From: Alexander S. <ale...@gm...> - 2016-08-10 11:45:47
|
At least two of samples "conopal" and "opalmcu" have difficulties with processing of commands coming from its consoles. Most of commands processed only if entered as first. Repeated input have no effect. But "quit" works always :) For conopal it looks like this: Auto answer: immediate OPAL> version OPAL Console version 2.17alpha2 by Vox Gratia on Unix Linux (4.4.0-34-generic-x86_64) with PTLib v2.17alpha2 (svn:34912) and OPAL v3.17alpha2 (svn:34912) OPAL> version OPAL> Also there is no "help" anymore. |
From: Robert J. <ro...@vo...> - 2016-08-01 08:55:55
|
Other than white space I cannot see the difference in the XML. Also the XML you show does not seem to be anything in PTLib or OPAL. SO I have no idea of the context on how you are using things. I do not think I can help you here. ---------- Robert Jongbloed Vox Lucida Pty. Ltd. -----Original message----- From: Birinder Singh Sent: Sunday, 31st July 2016, 12:21 To: opa...@li... Subject: [Opalvoip-devel] Opal SIP messages as SIP/XML but not SIP as protocol - trunk branch I took latest code of Opal. Sending a Method_Message sends message as following. The wireshark shows the protocol as SIP/XML but previously it was SIP I have the code of sometime back and it works perfectly I needed to ask if this is a deliberate change in the Opal or a bug. (I am using Opal on Windows) Message Body eXtensible Markup Language <?xml version='1.0' ?> <Query> <CmdType> DeviceCatalog </CmdType> <SN> 4 </SN> <DeviceID> </DeviceID> <DeviceType> Camera </DeviceType> </Query> Previously the message body was: Message Body <?xml version='1.0'?>\n <Query>\n <CmdType>DeviceCatalog</CmdType>\n <SN>1</SN>\n <DeviceID></DeviceID>\n <DeviceType>Camera</DeviceType>\n </Query>\n Sent from Mail for Windows 10 ------------------------------------------------------------------------------ _______________________________________________ Opalvoip-devel mailing list Opa...@li... https://lists.sourceforge.net/lists/listinfo/opalvoip-devel |
From: Craig S. <cr...@po...> - 2016-07-31 11:18:09
|
Still working on it. I’ve been unimpressed with the conversions from several of the available tools (svn2git, reposurgeon etc), so I am working on my own tool to do more sympathetic conversion. It’s a slow process, but it’s getting there ☺ Craig Craig Southeren Post Increment Consulting and Software cr...@po... www.postincrement.com <http://www.postincrement.com/> Mobile: +61 417231046 US: +1 415 800 4201 On 30/07/2016, 9:46 PM, "Víctor M. Jáquez L." <vj...@ig...> wrote: On 05/22/16 at 11:45am, Craig Southeren wrote: > Robert and I are planning to migrate the Opal and PTLib code > repositories from Subversion to Git sometime in the few weeks. Any news regarding this? Thanks vmjl |
From: Víctor M. J. L. <vj...@ig...> - 2016-07-30 12:22:58
|
On 05/22/16 at 11:45am, Craig Southeren wrote: > Robert and I are planning to migrate the Opal and PTLib code > repositories from Subversion to Git sometime in the few weeks. Any news regarding this? Thanks vmjl |
From: Birinder S. <bs...@at...> - 2016-07-04 17:17:28
|
I took latest code of Opal. Sending a Method_Message sends message as following. The wireshark shows the protocol as SIP/XML but previously it was SIP I have the code of sometime back and it works perfectly I needed to ask if this is a deliberate change in the Opal or a bug. (I am using Opal on Windows) Message Body eXtensible Markup Language <?xml version='1.0' ?> <Query> <CmdType> DeviceCatalog </CmdType> <SN> 4 </SN> <DeviceID> </DeviceID> <DeviceType> Camera </DeviceType> </Query> Previously the message body was: Message Body <?xml version='1.0'?>\n <Query>\n <CmdType>DeviceCatalog</CmdType>\n <SN>1</SN>\n <DeviceID></DeviceID>\n <DeviceType>Camera</DeviceType>\n </Query>\n Sent from Mail for Windows 10 |
From: Sergei N. <ser...@gm...> - 2016-06-06 12:11:32
|
I've used svn2git with restricred url for part of SF projects. Then do git mirror from result to github. пн, 6 июня 2016 г., 13:59 Craig Southeren <cr...@po...>: > Thank you for this. I'll certainly look at what you have done > > What tool did you use for the conversion ? > > Craig > > Sent from my iPhone > > On 6 Jun 2016, at 8:55 PM, Sergei Nikulov <ser...@gm...> > wrote: > > > > 2016-05-22 4:45 GMT+03:00 Craig Southeren <cr...@po...>: > >> Hi all, >> >> >> >> Robert and I are planning to migrate the Opal and PTLib code >> repositories from Subversion to Git sometime in the few weeks. >> >> >> >> The repository will stay on SourceForge, and the new repo will >> include all of the history and tags so nothing should be lost. >> >> >> >> We’d value any tips or tricks from the Opal and PTLib community. >> Please email to the list or to myself or Robert. >> >> >> > > Hello Craig, > > I've already done full svn->git conversion with all history/tags/branches > here > > https://github.com/snikulov/ptlib.sf.mirror > https://github.com/snikulov/opal.sf.mirror > > So if you want, you can validate it and clone from github. > > > >> Craig >> >> >> >> >> >> Craig Southeren >> >> Post Increment Consulting and Software >> >> cr...@po... >> >> www.postincrement.com >> >> US: +1 415 800 4201 >> >> Mobile: +61 417231046 >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Mobile security can be enabling, not merely restricting. Employees who >> bring their own devices (BYOD) to work are irked by the imposition of MDM >> restrictions. Mobile Device Manager Plus allows you to control only the >> apps on BYO-devices by containerizing them, leaving personal data >> untouched! >> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j >> _______________________________________________ >> Opalvoip-devel mailing list >> Opa...@li... >> https://lists.sourceforge.net/lists/listinfo/opalvoip-devel >> >> > > > -- > Best Regards, > Sergei Nikulov > > |
From: Sergei N. <ser...@gm...> - 2016-06-06 10:55:18
|
2016-05-22 4:45 GMT+03:00 Craig Southeren <cr...@po...>: > Hi all, > > > > Robert and I are planning to migrate the Opal and PTLib code > repositories from Subversion to Git sometime in the few weeks. > > > > The repository will stay on SourceForge, and the new repo will include > all of the history and tags so nothing should be lost. > > > > We’d value any tips or tricks from the Opal and PTLib community. > Please email to the list or to myself or Robert. > > > Hello Craig, I've already done full svn->git conversion with all history/tags/branches here https://github.com/snikulov/ptlib.sf.mirror https://github.com/snikulov/opal.sf.mirror So if you want, you can validate it and clone from github. > Craig > > > > > > Craig Southeren > > Post Increment Consulting and Software > > cr...@po... > > www.postincrement.com > > US: +1 415 800 4201 > > Mobile: +61 417231046 > > > > > > > ------------------------------------------------------------------------------ > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data > untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > _______________________________________________ > Opalvoip-devel mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel > > -- Best Regards, Sergei Nikulov |
From: Víctor M. J. L. <vj...@ig...> - 2016-05-23 08:54:11
|
On 05/22/16 at 11:45am, Craig Southeren wrote: > Hi all, > > > > Robert and I are planning to migrate the Opal and PTLib code > repositories from Subversion to Git sometime in the few weeks. Yupi!! \o/ > > > > The repository will stay on SourceForge, and the new repo will include > all of the history and tags so nothing should be lost. > > > > We'd value any tips or tricks from the Opal and PTLib community. Please > email to the list or to myself or Robert. I did it once, long time ago, using git-svn. I didn't do it cleanly but it worked. I split opal and ptlib in two different repositories, but keeping the branches and releases were hard. By the way, github has an "importer": https://help.github.com/articles/importing-from-subversion/ vmjl |
From: Craig S. <cr...@po...> - 2016-05-22 02:15:32
|
Hi all, Robert and I are planning to migrate the Opal and PTLib code repositories from Subversion to Git sometime in the few weeks. The repository will stay on SourceForge, and the new repo will include all of the history and tags so nothing should be lost. We'd value any tips or tricks from the Opal and PTLib community. Please email to the list or to myself or Robert. Craig Craig Southeren Post Increment Consulting and Software <mailto:cr...@po...> cr...@po... <http://www.postincrement.com> www.postincrement.com US: +1 415 800 4201 Mobile: +61 417231046 |
From: Alexander S. <ale...@gm...> - 2016-05-01 19:43:13
|
Got it. Anyway it more looks like a Polycom problem cause it happens only first conopal connection with a RealPresence acting as a mini-mcu (being on call with a third party). On first conopal connection problem is present but if I do disconnect, restart conopal and reconnect to RealPresence everything works as it should. Also SIP connections works fine. On 01.05.2016 21:09, Robert Jongbloed wrote: > RE: [Opalvoip-devel] H.323 video-size and resolution downgrade bug > This is a nasty problem, coming about due to a legal, but a bit odd, > configuration of the Polycom. > > If you look at the TCS, you can see that the "main" video is, as you > say at level 2.1 (parameter 42 is 50) however ,there is an extended > video capability for H.264 that has level 3.1. Extended video is > typically used for things like "slide show" secondary video. > > The problem is that OPAL only has one H.264 capability (one per > fundamental format) for a connection, and thus cannot distinguish > between the "main" or the "extended" video. Whatever is later in the > TCS is what gets used. > > It is a difficult problem and one for which I cannot think of a quick > fix for. :-( > > ---------- > *Robert Jongbloed* > /Vox Lucida Pty. Ltd./ > > -----Original message----- > *From:* Alexander Sbitnev > *Sent:* Wednesday, 27th April 2016, 17:11 > *To:* opa...@li... > *Subject:* [Opalvoip-devel] H.323 video-size and resolution > downgrade bug > > Got another problem with polycom and conopal. It happens if I > manually setup preferred video resolution (720p) in conopal and connect > to Polycom which can only receive a smaller video resolution (h264 level > 2.1) but can send a higher resolution (720p). As result during > negotiations and startup phase mediaformat and encoder first downgrade > to CIF: > > 0:00.209 H.245 Handler:16421 mediafmt.cxx(1331) > MediaFormat Merging H.264-1 into H.264-1 > 0:00.209 H.245 Handler:16421 mediafmt.cxx(1331) > MediaFormat Merging H.264-1 into YUV420P > 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Height" from "720" to "576" > 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Width" from "1280" to "352" > 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Max Bit Rate" from "1382400000" to > "1024000" > 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Max Rx Frame Height" from "1080" > to "576" > 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Max Rx Frame Width" from "1920" to > "352" > .... > 0:00.263 H.245 Handler:16421 h264-x264.cxx(773) > x264 Applied options: prof=66 lev=21 res=352x576 fps=30 > bps=1000000 period=1000 RTP=1400 NALU=1400 TSTO=31 Mode=1 > > and next get back to 720p: > > 0:00.269 H.245 Handler:16421 mediafmt.cxx(1331) > MediaFormat Merging H.264-1 into H.264-1 > 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Height" from "576" to "720" > 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Width" from "352" to "1280" > 0:00.269 H.245 Handler:16421 mediafmt.cxx(1331) > MediaFormat Merging H.264-1 into YUV420P > 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Height" from "576" to "720" > 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) > MediaFormat Changed media option "Frame Width" from "352" to "1280" > .... > 0:00.286 H.245 Handler:16421 h264-x264.cxx(773) > x264 Applied options: prof=66 lev=21 res=1280x720 fps=6 > bps=1000000 period=1000 RTP=1400 NALU=1400 TSTO=31 Mode=1 > > As result tx video frame failing with a incorrect buffer size: > > 0:00.346 Tx video:16463 rtp_session.cxx(1257) > RTP Session 2, SSRC=321345223 (0x132756c7), sending (forced) > empty ReceiverReport > 0:00.346 Tx video:16463 rtp_session.cxx(1299) > RTP Session 2, SSRC=321345223 (0x132756c7), sending SDES > cname="dl056bmuVh+UNLzue1xTfQ" > 0:00.346 Tx video:16463 rtp_session.cxx(1409) > RTP Session 2, sent 1 forced reports: status=1 > 0:00.346 H.245 Handler:16421 opalpluginmgr.cx(625) > OpalPlugin Setting encoder options: H.264-1 res=1280x720 target=960000 > 0:00.346 Tx video:16463 mediastrm.cxx(1329) > Media Tried to read with insufficient buffer size - 304160 < > 1382400 > 0:00.346 Tx video:16463 patch.cxx(781) > Patch Thread ended because source read failed on > 14OpalMediaPatch[0x7fa3000e65e0] > 20OpalVideoMediaStream[0x7fa30011c5b0],Source,YUV420P,2 -> > 18OpalRTPMediaStream[0x7fa30007b5c0],Sink,H.264-1,2 > > Full logs and packet dumps I will send directly to Robert and anyone > else interested. > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > Opalvoip-devel mailing list > Opa...@li... > <mailto:Opa...@li...> > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel > > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > > > _______________________________________________ > Opalvoip-devel mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel |
From: Robert J. <ro...@vo...> - 2016-05-01 18:09:14
|
This is a nasty problem, coming about due to a legal, but a bit odd, configuration of the Polycom. If you look at the TCS, you can see that the "main" video is, as you say at level 2.1 (parameter 42 is 50) however ,there is an extended video capability for H.264 that has level 3.1. Extended video is typically used for things like "slide show" secondary video. The problem is that OPAL only has one H.264 capability (one per fundamental format) for a connection, and thus cannot distinguish between the "main" or the "extended" video. Whatever is later in the TCS is what gets used. It is a difficult problem and one for which I cannot think of a quick fix for. :-( ---------- Robert Jongbloed Vox Lucida Pty. Ltd. -----Original message----- From: Alexander Sbitnev Sent: Wednesday, 27th April 2016, 17:11 To: opa...@li... Subject: [Opalvoip-devel] H.323 video-size and resolution downgrade bug Got another problem with polycom and conopal. It happens if I manually setup preferred video resolution (720p) in conopal and connect to Polycom which can only receive a smaller video resolution (h264 level 2.1) but can send a higher resolution (720p). As result during negotiations and startup phase mediaformat and encoder first downgrade to CIF: 0:00.209 H.245 Handler:16421 mediafmt.cxx(1331) MediaFormat Merging H.264-1 into H.264-1 0:00.209 H.245 Handler:16421 mediafmt.cxx(1331) MediaFormat Merging H.264-1 into YUV420P 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Height" from "720" to "576" 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Width" from "1280" to "352" 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Max Bit Rate" from "1382400000" to "1024000" 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Max Rx Frame Height" from "1080" to "576" 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Max Rx Frame Width" from "1920" to "352" .... 0:00.263 H.245 Handler:16421 h264-x264.cxx(773) x264 Applied options: prof=66 lev=21 res=352x576 fps=30 bps=1000000 period=1000 RTP=1400 NALU=1400 TSTO=31 Mode=1 and next get back to 720p: 0:00.269 H.245 Handler:16421 mediafmt.cxx(1331) MediaFormat Merging H.264-1 into H.264-1 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Height" from "576" to "720" 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Width" from "352" to "1280" 0:00.269 H.245 Handler:16421 mediafmt.cxx(1331) MediaFormat Merging H.264-1 into YUV420P 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Height" from "576" to "720" 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Width" from "352" to "1280" .... 0:00.286 H.245 Handler:16421 h264-x264.cxx(773) x264 Applied options: prof=66 lev=21 res=1280x720 fps=6 bps=1000000 period=1000 RTP=1400 NALU=1400 TSTO=31 Mode=1 As result tx video frame failing with a incorrect buffer size: 0:00.346 Tx video:16463 rtp_session.cxx(1257) RTP Session 2, SSRC=321345223 (0x132756c7), sending (forced) empty ReceiverReport 0:00.346 Tx video:16463 rtp_session.cxx(1299) RTP Session 2, SSRC=321345223 (0x132756c7), sending SDES cname="dl056bmuVh+UNLzue1xTfQ" 0:00.346 Tx video:16463 rtp_session.cxx(1409) RTP Session 2, sent 1 forced reports: status=1 0:00.346 H.245 Handler:16421 opalpluginmgr.cx(625) OpalPlugin Setting encoder options: H.264-1 res=1280x720 target=960000 0:00.346 Tx video:16463 mediastrm.cxx(1329) Media Tried to read with insufficient buffer size - 304160 < 1382400 0:00.346 Tx video:16463 patch.cxx(781) Patch Thread ended because source read failed on 14OpalMediaPatch[0x7fa3000e65e0] 20OpalVideoMediaStream[0x7fa30011c5b0],Source,YUV420P,2 -> 18OpalRTPMediaStream[0x7fa30007b5c0],Sink,H.264-1,2 Full logs and packet dumps I will send directly to Robert and anyone else interested. ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Opalvoip-devel mailing list Opa...@li... <mailto:Opa...@li...> https://lists.sourceforge.net/lists/listinfo/opalvoip-devel |
From: Alexander S. <ale...@gm...> - 2016-04-27 16:09:01
|
Got another problem with polycom and conopal. It happens if I manually setup preferred video resolution (720p) in conopal and connect to Polycom which can only receive a smaller video resolution (h264 level 2.1) but can send a higher resolution (720p). As result during negotiations and startup phase mediaformat and encoder first downgrade to CIF: 0:00.209 H.245 Handler:16421 mediafmt.cxx(1331) MediaFormat Merging H.264-1 into H.264-1 0:00.209 H.245 Handler:16421 mediafmt.cxx(1331) MediaFormat Merging H.264-1 into YUV420P 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Height" from "720" to "576" 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Width" from "1280" to "352" 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Max Bit Rate" from "1382400000" to "1024000" 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Max Rx Frame Height" from "1080" to "576" 0:00.209 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Max Rx Frame Width" from "1920" to "352" .... 0:00.263 H.245 Handler:16421 h264-x264.cxx(773) x264 Applied options: prof=66 lev=21 res=352x576 fps=30 bps=1000000 period=1000 RTP=1400 NALU=1400 TSTO=31 Mode=1 and next get back to 720p: 0:00.269 H.245 Handler:16421 mediafmt.cxx(1331) MediaFormat Merging H.264-1 into H.264-1 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Height" from "576" to "720" 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Width" from "352" to "1280" 0:00.269 H.245 Handler:16421 mediafmt.cxx(1331) MediaFormat Merging H.264-1 into YUV420P 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Height" from "576" to "720" 0:00.269 H.245 Handler:16421 mediafmt.cxx(266) MediaFormat Changed media option "Frame Width" from "352" to "1280" .... 0:00.286 H.245 Handler:16421 h264-x264.cxx(773) x264 Applied options: prof=66 lev=21 res=1280x720 fps=6 bps=1000000 period=1000 RTP=1400 NALU=1400 TSTO=31 Mode=1 As result tx video frame failing with a incorrect buffer size: 0:00.346 Tx video:16463 rtp_session.cxx(1257) RTP Session 2, SSRC=321345223 (0x132756c7), sending (forced) empty ReceiverReport 0:00.346 Tx video:16463 rtp_session.cxx(1299) RTP Session 2, SSRC=321345223 (0x132756c7), sending SDES cname="dl056bmuVh+UNLzue1xTfQ" 0:00.346 Tx video:16463 rtp_session.cxx(1409) RTP Session 2, sent 1 forced reports: status=1 0:00.346 H.245 Handler:16421 opalpluginmgr.cx(625) OpalPlugin Setting encoder options: H.264-1 res=1280x720 target=960000 0:00.346 Tx video:16463 mediastrm.cxx(1329) Media Tried to read with insufficient buffer size - 304160 < 1382400 0:00.346 Tx video:16463 patch.cxx(781) Patch Thread ended because source read failed on 14OpalMediaPatch[0x7fa3000e65e0] 20OpalVideoMediaStream[0x7fa30011c5b0],Source,YUV420P,2 -> 18OpalRTPMediaStream[0x7fa30007b5c0],Sink,H.264-1,2 Full logs and packet dumps I will send directly to Robert and anyone else interested. |
From: Alexander S. <ale...@gm...> - 2016-04-27 14:07:53
|
It really cured my case too. Many thanks. On 23.04.2016 16:13, Robert Jongbloed wrote: > RE: [Opalvoip-devel] Procyon crash > Thank you, I have applied this patch to the stable code. > > ---------- > *Robert Jongbloed* > /Vox Lucida Pty. Ltd./ > > -----Original message----- > *From:* Harald Karner > *Sent:* Thursday, 21st April 2016, 7:40 > *To:* Alexander Sbitnev; opa...@li... > *Subject:* Re: [Opalvoip-devel] Procyon crash > > Hello Alexander! > > I encountered a similar problem recently. But in my case it the crash > occurred in every call. It turned out it was caused by the H.281/FECC > rtp stream, since H.281/FECC has no regular RTP frames, m_frameTime is > initialized with a value of 0. > Adding a "if (m_frameTime != 0) " for > "timestamp += ((20*GetMediaFormat().GetTimeUnits() + m_frameTime - > 1)/m_frameTime) * m_frameTime;" > did the trick for me (see attached patch). > And looking at your trace log, one of the last things happening there is > the opening of the FECC channel... > > Regards > Harald > > On 20.04.2016 15:06, Alexander Sbitnev wrote: > > Got myself a crash with Procyon console sample during call initiating > > with Polycom RealPresence Group 700. > > Some times call initiated without problem. Sometimes it crashing with > > divide by null operation (SIGFPE). > > By some strange coincidence I was able to get crash dump without > > building debug version. Normally without debug build little info can be > > salvaged, but this time normal build debugging as a debug one. But still > > I've rebuild with debug and re-examine situation. > > Here is my preliminary findings on the matter of crash. > > Coredump I've got: > > > > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > > Core was generated by `obj_linux_x86_64_d/conopal --no-sip --no-fast > > --video-size 1280x720 --grabber-d'. > > Program terminated with signal SIGFPE, Arithmetic exception. > > #0 0x00007f5f9abab924 in OpalRTPMediaStream::ReadPacket > > (this=0x7f5f684f8e10, packet=...) at > > /home/shuras/Procyon/opal-3.16.1/src/rtp/rtp_stream.cxx:324 > > 324 timestamp += ((20*GetMediaFormat().GetTimeUnits() + > > m_frameTime - 1)/m_frameTime) * m_frameTime; > > [Current thread is 1 (Thread 0x7f5f8a9d4700 (LWP 11457))] > > (gdb) bt > > #0 0x00007f5f9abab924 in OpalRTPMediaStream::ReadPacket > > (this=0x7f5f684f8e10, packet=...) at > > /home/shuras/Procyon/opal-3.16.1/src/rtp/rtp_stream.cxx:324 > > #1 0x00007f5f9ab72944 in OpalMediaPatch::Main (this=0x7f5f684d65e0) at > > /home/shuras/Procyon/opal-3.16.1/src/opal/patch.cxx:780 > > #2 0x00007f5f9ab79bf1 in PThreadObj<OpalMediaPatch>::Main > > (this=0x7f5f6808a730) at /usr/local/include/ptlib/thread.h:737 > > #3 0x00007f5f99f2a5fc in PThread::PX_ThreadMain (arg=0x7f5f6808a730) at > > /home/shuras/Procyon/ptlib-2.16.1/src/ptlib/unix/tlibthrd.cxx:348 > > #4 0x00007f5f9719b6aa in start_thread (arg=0x7f5f8a9d4700) at > > pthread_create.c:333 > > #5 0x00007f5f9941ce9d in clone () at > > ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 > > (gdb) print m_frameTime > > $1 = 0 > > > > Log file attached. > > I didn't find anything suspicious in the log yet. I suppose it must be > > some race condition. > > > > > > ------------------------------------------------------------------------------ > > Find and fix application performance issues faster with Applications Manager > > Applications Manager provides deep performance insights into multiple tiers of > > your business applications. It resolves application problems quickly and > > reduces your MTTR. Get your free trial! > >https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > > > > > > > > _______________________________________________ > > Opalvoip-devel mailing list > >Opa...@li... > <mailto:Opa...@li...> > >https://lists.sourceforge.net/lists/listinfo/opalvoip-devel > > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________ > Opalvoip-devel mailing list > Opa...@li... > <mailto:Opa...@li...> > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel > > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > > > _______________________________________________ > Opalvoip-devel mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel |
From: Robert J. <ro...@vo...> - 2016-04-23 13:17:11
|
Alexander, I have found valgrind to be too slow to be practical. It actually causes more problems than it reveals. PTLib trunk has support for Google address sanitizer, and I would recommend you use that. ---------- Robert Jongbloed Vox Lucida Pty. Ltd. -----Original message----- From: Alexander Sbitnev Sent: Wednesday, 20th April 2016, 15:50 To: opa...@li...; Robert Jongbloed Subject: Re: Procyon crash UPDATE. I've tried to start conopal under valgrind to check if some memory problems pops up. Want to check for double free error happening during conopal shutdown after successful call. But in the end still get a crash and multiple times valgrind warnings appears probably indicating some places there uninitialized variables was used. Want to post it here cause crash also probable came from uninitialized variable. Maybe it will helps to find problem origin. ==12540== Thread 10: ==12540== Conditional jump or move depends on uninitialised value(s) ==12540== at 0x65E55E6: PIPSocket::AddressAndPort::SetAddress(PIPSocket::Address const&, unsigned short) (sockets.cxx:2831) ==12540== by 0x572BF22: OpalRTPSession::SetQoS(PIPSocket::QoS const&) (rtp_session.cxx:2338) ==12540== by 0x572303E: OpalRTPSession::InternalAttachTransport(PSafePtr<OpalMediaTransport, PSafePtrMultiThreaded> const&, char const*) (rtp_session.cxx:794) ==12540== by 0x572BCEA: OpalRTPSession::Open(PString const&, OpalTransportAddress const&) (rtp_session.cxx:2314) ==12540== by 0x5A056B0: H323Connection::CreateRealTimeLogicalChannel(H323Capability const&, H323Channel::Directions, unsigned int, H245_H2250LogicalChannelParameters const*) (h323.cxx:4969) ==12540== by 0x5A0CA63: H323RealTimeCapability::CreateChannel(H323Connection&, H323Channel::Directions, unsigned int, H245_H2250LogicalChannelParameters const*) const (h323caps.cxx:483) ==12540== by 0x5A221A4: H245NegLogicalChannel::Open(H323Capability const&, unsigned int, unsigned int, PSafePtr<OpalMediaStream, PSafePtrBase>) (h323neg.cxx:496) ==12540== by 0x5A24505: H245NegLogicalChannels::Open(H323Capability const&, unsigned int, unsigned int, PSafePtr<OpalMediaStream, PSafePtrBase>) (h323neg.cxx:921) ==12540== by 0x5A03518: H323Connection::OpenLogicalChannel(H323Capability const&, unsigned int, H323Channel::Directions) (h323.cxx:4606) ==12540== by 0x5A01529: H323Connection::OpenMediaStream(OpalMediaFormat const&, unsigned int, bool) (h323.cxx:4311) ==12540== by 0x56C308A: OpalCall::OpenSourceMediaStreams(OpalConnection&, OpalMediaType const&, unsigned int, OpalMediaFormat const&, OpalVideoFormat::ContentRole, bool, bool) (call.cxx:693) ==12540== by 0x5A03127: H323Connection::SelectDefaultLogicalChannel(OpalMediaType const&, unsigned int) (h323.cxx:4558) ==12540== -------------------------------------------------------------------------------------------------------------------------- ==12540== Conditional jump or move depends on uninitialised value(s) ==12540== at 0x4C31D66: __memcmp_sse4_1 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12540== by 0x66551C5: PObject::InternalCompareObjectMemoryDirect(PObject const*, PObject const*, int) (object.cxx:189) ==12540== by 0x5C2BDD2: OpalFarEndCameraControl::CompareObjectMemoryDirect(PObject const&) const (in /usr/local/lib/libopal_d.so.3.16.1) ==12540== by 0x6655245: PObject::Compare(PObject const&) const (object.cxx:207) ==12540== by 0x66402FF: PSortedListInfo::ValueSelect(PSortedListElement*, PObject const&, PSortedListElement*&) const (collect.cxx:1074) ==12540== by 0x6642085: PSortedListInfo::ValueSelect(PObject const&, PSortedListElement*&) const (lists.h:729) ==12540== by 0x663F781: PAbstractSortedList::FindElement(PObject const*, int*) const (collect.cxx:826) ==12540== by 0x663F715: PAbstractSortedList::GetObjectsIndex(PObject const*) const (collect.cxx:819) ==12540== by 0x5C257FB: OpalH224Handler::TransmitClientFrame(OpalH224Client const&, H224_Frame&) (h224.cxx:765) ==12540== by 0x5C25767: OpalH224Handler::SendExtraCapabilitiesMessage(OpalH224Client const&, unsigned char*, int) (h224.cxx:757) ==12540== by 0x5C29CAD: OpalH281Client::SendExtraCapabilities() const (h281.cxx:544) ==12540== by 0x5C2AD4C: OpalFarEndCameraControl::Attach(PVideoInputDevice*, PString const&) (h281.cxx:764) --------------------------------------------------------------------------------------------------------------------------- ==12540== Conditional jump or move depends on uninitialised value(s) ==12540== at 0x573A3A1: OpalAudioJitterBuffer::CalculateRequiredTimestamp(unsigned int) const (jitter.cxx:540) ==12540== by 0x573A712: OpalAudioJitterBuffer::ReadData(RTP_DataFrame&, PTimeInterval const&, PTimeInterval) (jitter.cxx:596) ==12540== by 0x57369E1: OpalRTPMediaStream::ReadPacket(RTP_DataFrame&) (rtp_stream.cxx:328) ==12540== by 0x56FD943: OpalMediaPatch::Main() (patch.cxx:780) ==12540== by 0x5704BF0: PThreadObj<OpalMediaPatch>::Main() (thread.h:737) ==12540== by 0x66005FB: PThread::PX_ThreadMain(void*) (tlibthrd.cxx:348) ==12540== by 0x903A6A9: start_thread (pthread_create.c:333) ==12540== by 0x6E0BE9C: clone (clone.S:109) ==12540== Full log with valgrind output enclosed. |
From: Robert J. <ro...@vo...> - 2016-04-23 13:13:48
|
Thank you, I have applied this patch to the stable code. ---------- Robert Jongbloed Vox Lucida Pty. Ltd. -----Original message----- From: Harald Karner Sent: Thursday, 21st April 2016, 7:40 To: Alexander Sbitnev; opa...@li... Subject: Re: [Opalvoip-devel] Procyon crash Hello Alexander! I encountered a similar problem recently. But in my case it the crash occurred in every call. It turned out it was caused by the H.281/FECC rtp stream, since H.281/FECC has no regular RTP frames, m_frameTime is initialized with a value of 0. Adding a "if (m_frameTime != 0) " for "timestamp += ((20*GetMediaFormat().GetTimeUnits() + m_frameTime - 1)/m_frameTime) * m_frameTime;" did the trick for me (see attached patch). And looking at your trace log, one of the last things happening there is the opening of the FECC channel... Regards Harald On 20.04.2016 15:06, Alexander Sbitnev wrote: > Got myself a crash with Procyon console sample during call initiating > with Polycom RealPresence Group 700. > Some times call initiated without problem. Sometimes it crashing with > divide by null operation (SIGFPE). > By some strange coincidence I was able to get crash dump without > building debug version. Normally without debug build little info can be > salvaged, but this time normal build debugging as a debug one. But still > I've rebuild with debug and re-examine situation. > Here is my preliminary findings on the matter of crash. > Coredump I've got: > > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > Core was generated by `obj_linux_x86_64_d/conopal --no-sip --no-fast > --video-size 1280x720 --grabber-d'. > Program terminated with signal SIGFPE, Arithmetic exception. > #0 0x00007f5f9abab924 in OpalRTPMediaStream::ReadPacket > (this=0x7f5f684f8e10, packet=...) at > /home/shuras/Procyon/opal-3.16.1/src/rtp/rtp_stream.cxx:324 > 324 timestamp += ((20*GetMediaFormat().GetTimeUnits() + > m_frameTime - 1)/m_frameTime) * m_frameTime; > [Current thread is 1 (Thread 0x7f5f8a9d4700 (LWP 11457))] > (gdb) bt > #0 0x00007f5f9abab924 in OpalRTPMediaStream::ReadPacket > (this=0x7f5f684f8e10, packet=...) at > /home/shuras/Procyon/opal-3.16.1/src/rtp/rtp_stream.cxx:324 > #1 0x00007f5f9ab72944 in OpalMediaPatch::Main (this=0x7f5f684d65e0) at > /home/shuras/Procyon/opal-3.16.1/src/opal/patch.cxx:780 > #2 0x00007f5f9ab79bf1 in PThreadObj<OpalMediaPatch>::Main > (this=0x7f5f6808a730) at /usr/local/include/ptlib/thread.h:737 > #3 0x00007f5f99f2a5fc in PThread::PX_ThreadMain (arg=0x7f5f6808a730) at > /home/shuras/Procyon/ptlib-2.16.1/src/ptlib/unix/tlibthrd.cxx:348 > #4 0x00007f5f9719b6aa in start_thread (arg=0x7f5f8a9d4700) at > pthread_create.c:333 > #5 0x00007f5f9941ce9d in clone () at > ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 > (gdb) print m_frameTime > $1 = 0 > > Log file attached. > I didn't find anything suspicious in the log yet. I suppose it must be > some race condition. > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > > > > _______________________________________________ > Opalvoip-devel mailing list > Opa...@li... <mailto:Opa...@li...> > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel > ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________ Opalvoip-devel mailing list Opa...@li... <mailto:Opa...@li...> https://lists.sourceforge.net/lists/listinfo/opalvoip-devel |
From: Robert J. <ro...@vo...> - 2016-04-23 13:07:49
|
I installed Ubuntu 15.10 into a VM and was able to duplicate the error. Should now be fixed. ---------- Robert Jongbloed Vox Lucida Pty. Ltd. -----Original message----- From: Alexander Sbitnev Sent: Wednesday, 20th April 2016, 12:25 To: opa...@li... Subject: [Opalvoip-devel] Trunk compilation fails with Ubuntu 15.10 For at least last week or more there is problem with GNU build on my platform. g++ version: Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.2.1-22ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) And compilation problem itself: [CXX] src/ptlib/unix/tlib.cxx In file included from /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlib.cxx:988:0: /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx: In member function ‘void PThread::PX_StartThread()’: /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx:392:75: error: invalid user-defined conversion from ‘atomic<int>’ to ‘PThread::Priority’ [-fpermissive] /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx:78:33: note: in definition of macro ‘PAssertPTHREAD’ In file included from /home/shuras/OpalTrunk/ptlib/include/ptlib/contain.h:43:0, from /home/shuras/OpalTrunk/ptlib/include/ptlib.h:48, from /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlib.cxx:49: /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:97:14: note: candidate is: atomic<int>::operator int() const <near match> /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:111:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_FUNCTIONS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:179:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:186:3: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS_BUILTIN’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:97:14: note: no known conversion from ‘int’ to ‘PThread::Priority’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:111:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_FUNCTIONS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:179:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:186:3: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS_BUILTIN’ In file included from /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlib.cxx:988:0: /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx:114:12: note: initializing argument 1 of ‘int GetSchedParam(PThread::Priority, sched_param&)’ At global scope: cc1plus: warning: unrecognized command line option ‘-Wno-potentially-evaluated-expression’ cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’ /home/shuras/OpalTrunk/ptlib/make/post.mak:138: recipe for target '/home/shuras/OpalTrunk/ptlib/lib_linux_x86_64/obj/tlib.o' failed ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Opalvoip-devel mailing list Opa...@li... <mailto:Opa...@li...> https://lists.sourceforge.net/lists/listinfo/opalvoip-devel |
From: Harald K. <har...@gm...> - 2016-04-21 06:37:49
|
Hello Alexander! I encountered a similar problem recently. But in my case it the crash occurred in every call. It turned out it was caused by the H.281/FECC rtp stream, since H.281/FECC has no regular RTP frames, m_frameTime is initialized with a value of 0. Adding a "if (m_frameTime != 0) " for "timestamp += ((20*GetMediaFormat().GetTimeUnits() + m_frameTime - 1)/m_frameTime) * m_frameTime;" did the trick for me (see attached patch). And looking at your trace log, one of the last things happening there is the opening of the FECC channel... Regards Harald On 20.04.2016 15:06, Alexander Sbitnev wrote: > Got myself a crash with Procyon console sample during call initiating > with Polycom RealPresence Group 700. > Some times call initiated without problem. Sometimes it crashing with > divide by null operation (SIGFPE). > By some strange coincidence I was able to get crash dump without > building debug version. Normally without debug build little info can be > salvaged, but this time normal build debugging as a debug one. But still > I've rebuild with debug and re-examine situation. > Here is my preliminary findings on the matter of crash. > Coredump I've got: > > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > Core was generated by `obj_linux_x86_64_d/conopal --no-sip --no-fast > --video-size 1280x720 --grabber-d'. > Program terminated with signal SIGFPE, Arithmetic exception. > #0 0x00007f5f9abab924 in OpalRTPMediaStream::ReadPacket > (this=0x7f5f684f8e10, packet=...) at > /home/shuras/Procyon/opal-3.16.1/src/rtp/rtp_stream.cxx:324 > 324 timestamp += ((20*GetMediaFormat().GetTimeUnits() + > m_frameTime - 1)/m_frameTime) * m_frameTime; > [Current thread is 1 (Thread 0x7f5f8a9d4700 (LWP 11457))] > (gdb) bt > #0 0x00007f5f9abab924 in OpalRTPMediaStream::ReadPacket > (this=0x7f5f684f8e10, packet=...) at > /home/shuras/Procyon/opal-3.16.1/src/rtp/rtp_stream.cxx:324 > #1 0x00007f5f9ab72944 in OpalMediaPatch::Main (this=0x7f5f684d65e0) at > /home/shuras/Procyon/opal-3.16.1/src/opal/patch.cxx:780 > #2 0x00007f5f9ab79bf1 in PThreadObj<OpalMediaPatch>::Main > (this=0x7f5f6808a730) at /usr/local/include/ptlib/thread.h:737 > #3 0x00007f5f99f2a5fc in PThread::PX_ThreadMain (arg=0x7f5f6808a730) at > /home/shuras/Procyon/ptlib-2.16.1/src/ptlib/unix/tlibthrd.cxx:348 > #4 0x00007f5f9719b6aa in start_thread (arg=0x7f5f8a9d4700) at > pthread_create.c:333 > #5 0x00007f5f9941ce9d in clone () at > ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 > (gdb) print m_frameTime > $1 = 0 > > Log file attached. > I didn't find anything suspicious in the log yet. I suppose it must be > some race condition. > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > > > > _______________________________________________ > Opalvoip-devel mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel > |
From: Alexander S. <ale...@gm...> - 2016-04-20 13:06:48
|
Got myself a crash with Procyon console sample during call initiating with Polycom RealPresence Group 700. Some times call initiated without problem. Sometimes it crashing with divide by null operation (SIGFPE). By some strange coincidence I was able to get crash dump without building debug version. Normally without debug build little info can be salvaged, but this time normal build debugging as a debug one. But still I've rebuild with debug and re-examine situation. Here is my preliminary findings on the matter of crash. Coredump I've got: Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `obj_linux_x86_64_d/conopal --no-sip --no-fast --video-size 1280x720 --grabber-d'. Program terminated with signal SIGFPE, Arithmetic exception. #0 0x00007f5f9abab924 in OpalRTPMediaStream::ReadPacket (this=0x7f5f684f8e10, packet=...) at /home/shuras/Procyon/opal-3.16.1/src/rtp/rtp_stream.cxx:324 324 timestamp += ((20*GetMediaFormat().GetTimeUnits() + m_frameTime - 1)/m_frameTime) * m_frameTime; [Current thread is 1 (Thread 0x7f5f8a9d4700 (LWP 11457))] (gdb) bt #0 0x00007f5f9abab924 in OpalRTPMediaStream::ReadPacket (this=0x7f5f684f8e10, packet=...) at /home/shuras/Procyon/opal-3.16.1/src/rtp/rtp_stream.cxx:324 #1 0x00007f5f9ab72944 in OpalMediaPatch::Main (this=0x7f5f684d65e0) at /home/shuras/Procyon/opal-3.16.1/src/opal/patch.cxx:780 #2 0x00007f5f9ab79bf1 in PThreadObj<OpalMediaPatch>::Main (this=0x7f5f6808a730) at /usr/local/include/ptlib/thread.h:737 #3 0x00007f5f99f2a5fc in PThread::PX_ThreadMain (arg=0x7f5f6808a730) at /home/shuras/Procyon/ptlib-2.16.1/src/ptlib/unix/tlibthrd.cxx:348 #4 0x00007f5f9719b6aa in start_thread (arg=0x7f5f8a9d4700) at pthread_create.c:333 #5 0x00007f5f9941ce9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 (gdb) print m_frameTime $1 = 0 Log file attached. I didn't find anything suspicious in the log yet. I suppose it must be some race condition. |
From: Alexander S. <ale...@gm...> - 2016-04-20 11:24:08
|
For at least last week or more there is problem with GNU build on my platform. g++ version: Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.2.1-22ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) And compilation problem itself: [CXX] src/ptlib/unix/tlib.cxx In file included from /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlib.cxx:988:0: /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx: In member function ‘void PThread::PX_StartThread()’: /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx:392:75: error: invalid user-defined conversion from ‘atomic<int>’ to ‘PThread::Priority’ [-fpermissive] /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx:78:33: note: in definition of macro ‘PAssertPTHREAD’ In file included from /home/shuras/OpalTrunk/ptlib/include/ptlib/contain.h:43:0, from /home/shuras/OpalTrunk/ptlib/include/ptlib.h:48, from /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlib.cxx:49: /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:97:14: note: candidate is: atomic<int>::operator int() const <near match> /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:111:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_FUNCTIONS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:179:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:186:3: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS_BUILTIN’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:97:14: note: no known conversion from ‘int’ to ‘PThread::Priority’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:111:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_FUNCTIONS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:179:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:186:3: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS_BUILTIN’ In file included from /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlib.cxx:988:0: /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx:114:12: note: initializing argument 1 of ‘int GetSchedParam(PThread::Priority, sched_param&)’ At global scope: cc1plus: warning: unrecognized command line option ‘-Wno-potentially-evaluated-expression’ cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’ /home/shuras/OpalTrunk/ptlib/make/post.mak:138: recipe for target '/home/shuras/OpalTrunk/ptlib/lib_linux_x86_64/obj/tlib.o' failed |
From: Sergei N. <ser...@gm...> - 2016-04-05 12:07:18
|
Hello, Robert. Do you have plans to support Visual Studio 2015 soon? Visual Studio 2015 Community is available for free. Thank you. 2016-03-11 12:42 GMT+03:00 Robert Jongbloed <ro...@vo...>: > I'd recommend using Visual Studio 2013, which is what I use very day. I am > not sure of the status of the older solution/project files, and do not have > time to check. > > ---------- > Robert Jongbloed > Vox Lucida Pty. Ltd. > > -----Original message----- > From: Leonardo Nahra > Sent: Wednesday, 9th March 2016, 19:31 > To: opa...@li... > Subject: [Opalvoip-devel] Building Opal DLL > > Hello, > > I wanted to test Opal to get familiar with how things work, but when I tried > to run the code I wrote, an error message popped up saying "opald.dll" was > not installed. Then I got confused, since I only wanted to see things > working, I only compiled the static libs, but it's requesting for the .dlls > anyway. So that's my first question: > > 1. Why is it asking for the dlls when I linked the project with opal and > ptlib's static libs? > > To solve this problem, I decided to build the opal dll, but I'm getting an > unresolved external symbol error, that I think it's related to the VP8 > plugin (which I don't want to use and it's not compiled) and one other thing > I'm not able to pinpoint the possible cause. Here is the build output: > > 1>------ Build started: Project: OPAL DLL, Configuration: Debug Win32 ------ > 1>Build started 09/03/2016 16:05:32. > 1>InitializeBuildStatus: > 1> Touching "..\..\lib\Win32\Debug\OPAL DLL.unsuccessfulbuild". > 1>CustomBuild: > 1> All outputs are up-to-date. > 1>ClCompile: > 1> All outputs are up-to-date. > 1>ResourceCompile: > 1> All outputs are up-to-date. > 1>Link: > 1> Creating library C:\Users\Prav\Documents\opal\lib\opald.lib and > object C:\Users\Prav\Documents\opal\lib\opald.exp > 1>opalsd.lib(mediafmt.obj) : error LNK2001: unresolved external symbol > "class OpalVideoFormat const & __cdecl GetOpalVP8(void)" > (?GetOpalVP8@@YAABVOpalVideoFormat@@XZ) > 1>opalsd.lib(rtp_session.obj) : error LNK2019: unresolved external symbol > "public: __thiscall OpalICEMediaTransport::OpalICEMediaTransport(class > PString const &)" (??0OpalICEMediaTransport@@QAE@ABVPString@@@Z) referenced > in function "protected: virtual class OpalMediaTransport * __thiscall > OpalRTPSession::CreateMediaTransport(class PString const &)" > (?CreateMediaTransport@OpalRTPSession@@MAEPAVOpalMediaTransport@@ABVPString@@@Z) > 1>..\..\lib\opald.dll : fatal error LNK1120: 2 unresolved externals > 1> > 1>Build FAILED. > 1> > 1>Time Elapsed 00:00:02.59 > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== > > 2. How can I solve these build problems? > > obs: I'm not disabling anything on the configurations. > > Thanks, Nahra. > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > _______________________________________________ > > Opalvoip-devel mailing list > > Opa...@li... > > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Opalvoip-devel mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opalvoip-devel > -- Best Regards, Sergei Nikulov |
From: Robert J. <ro...@vo...> - 2016-03-11 09:42:57
|
I'd recommend using Visual Studio 2013, which is what I use very day. I am not sure of the status of the older solution/project files, and do not have time to check. ---------- Robert Jongbloed Vox Lucida Pty. Ltd. -----Original message----- From: Leonardo Nahra Sent: Wednesday, 9th March 2016, 19:31 To: opa...@li... Subject: [Opalvoip-devel] Building Opal DLL Hello, I wanted to test Opal to get familiar with how things work, but when I tried to run the code I wrote, an error message popped up saying "opald.dll" was not installed. Then I got confused, since I only wanted to see things working, I only compiled the static libs, but it's requesting for the .dlls anyway. So that's my first question: 1. Why is it asking for the dlls when I linked the project with opal and ptlib's static libs? To solve this problem, I decided to build the opal dll, but I'm getting an unresolved external symbol error, that I think it's related to the VP8 plugin (which I don't want to use and it's not compiled) and one other thing I'm not able to pinpoint the possible cause. Here is the build output: 1>------ Build started: Project: OPAL DLL, Configuration: Debug Win32 ------ 1>Build started 09/03/2016 16:05:32. 1>InitializeBuildStatus: 1> Touching "..\..\lib\Win32\Debug\OPAL DLL.unsuccessfulbuild". 1>CustomBuild: 1> All outputs are up-to-date. 1>ClCompile: 1> All outputs are up-to-date. 1>ResourceCompile: 1> All outputs are up-to-date. 1>Link: 1> Creating library C:\Users\Prav\Documents\opal\lib\opald.lib and object C:\Users\Prav\Documents\opal\lib\opald.exp 1>opalsd.lib(mediafmt.obj) : error LNK2001: unresolved external symbol "class OpalVideoFormat const & __cdecl GetOpalVP8(void)" (?GetOpalVP8@@YAABVOpalVideoFormat@@XZ) 1>opalsd.lib(rtp_session.obj) : error LNK2019: unresolved external symbol "public: __thiscall OpalICEMediaTransport::OpalICEMediaTransport(class PString const &)" (??0OpalICEMediaTransport@@QAE@ABVPString@@@Z) referenced in function "protected: virtual class OpalMediaTransport * __thiscall OpalRTPSession::CreateMediaTransport(class PString const &)" (?CreateMediaTransport@OpalRTPSession@@MAEPAVOpalMediaTransport@@ABVPString@@@Z) 1>..\..\lib\opald.dll : fatal error LNK1120: 2 unresolved externals 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:02.59 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 2. How can I solve these build problems? obs: I'm not disabling anything on the configurations. Thanks, Nahra. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ Opalvoip-devel mailing list Opa...@li... https://lists.sourceforge.net/lists/listinfo/opalvoip-devel |
From: Leonardo N. <leo...@gm...> - 2016-03-09 19:30:37
|
Hello, I wanted to test Opal to get familiar with how things work, but when I tried to run the code I wrote, an error message popped up saying "opald.dll" was not installed. Then I got confused, since I only wanted to see things working, I only compiled the static libs, but it's requesting for the .dlls anyway. So that's my first question: 1. Why is it asking for the dlls when I linked the project with opal and ptlib's static libs? To solve this problem, I decided to build the opal dll, but I'm getting an unresolved external symbol error, that I think it's related to the VP8 plugin (which I don't want to use and it's not compiled) and one other thing I'm not able to pinpoint the possible cause. Here is the build output: 1>------ Build started: Project: OPAL DLL, Configuration: Debug Win32 ------ 1>Build started 09/03/2016 16:05:32. 1>InitializeBuildStatus: 1> Touching "..\..\lib\Win32\Debug\OPAL DLL.unsuccessfulbuild". 1>CustomBuild: 1> All outputs are up-to-date. 1>ClCompile: 1> All outputs are up-to-date. 1>ResourceCompile: 1> All outputs are up-to-date. 1>Link: 1> Creating library C:\Users\Prav\Documents\opal\lib\opald.lib and object C:\Users\Prav\Documents\opal\lib\opald.exp 1>opalsd.lib(mediafmt.obj) : error LNK2001: unresolved external symbol "class OpalVideoFormat const & __cdecl GetOpalVP8(void)" (?GetOpalVP8@ @YAABVOpalVideoFormat@@XZ) 1>opalsd.lib(rtp_session.obj) : error LNK2019: unresolved external symbol "public: __thiscall OpalICEMediaTransport::OpalICEMediaTransport(class PString const &)" (??0OpalICEMediaTransport@@QAE@ABVPString@@@Z) referenced in function "protected: virtual class OpalMediaTransport * __thiscall OpalRTPSession::CreateMediaTransport(class PString const &)" (?CreateMediaTransport@OpalRTPSession@@MAEPAVOpalMediaTransport@@ABVPString@ @@Z) 1>..\..\lib\opald.dll : fatal error LNK1120: 2 unresolved externals 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:02.59 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 2. How can I solve these build problems? obs: I'm not disabling anything on the configurations. Thanks, Nahra. |
From: Robert J. <ro...@vo...> - 2016-03-03 11:12:55
|
I am not certain if this is up to date, but, look at ....\opal\samples\Android\ReadMe.txt" ---------- Robert Jongbloed Vox Lucida Pty. Ltd. -----Original message----- From: 王菲菲 Sent: Friday, 26th February 2016, 9:11 To: opa...@li... Subject: [Opalvoip-devel] How to build opal on android platform with NDK? Hi,All I have a project need to build opal on android platform with NDK. Has anyone done this before? Or some suggestion? Thanks! Andy Wang ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Opalvoip-devel mailing list Opa...@li... https://lists.sourceforge.net/lists/listinfo/opalvoip-devel |
From: 王菲菲 <wan...@hi...> - 2016-02-26 09:09:56
|
Hi,All I have a project need to build opal on android platform with NDK. Has anyone done this before? Or some suggestion? Thanks! Andy Wang |