From: Dennis C. <dch...@pi...> - 2008-05-30 16:45:28
|
I have a build of 2.0.2 running on mac OS X 10.4. I'm getting a somewhat reproducible crash in iax_event_free, which doesnt seem associated with any particular audio event. Can anyone suggest what I might look for here? The offending symbol is the free call, which typically would be a non- allocated ptr being freed, or one that has already been freed. Thanks in advance, Dennis Christopher Pixion On 26-May-08, at 9:28 PM, iaxclient-devel- re...@li... wrote: > Send Iaxclient-devel mailing list submissions to > iax...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/iaxclient-devel > or, via email, send a message with subject or body 'help' to > iax...@li... > > You can reach the person managing the list at > iax...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Iaxclient-devel digest..." > > > Today's Topics: > > 1. Re: Windows choppy / stuttering audio (Florian Hackenberger) > 2. Re: Windows choppy / stuttering audio (Peter Grayson) > 3. A couple fixes to merge to trunk (Erik Bunce) > 4. compiling iaxclient (Jeremy Rotsztain) > 5. Re: compiling iaxclient (Jeremy Rotsztain) > 6. Re: compiling iaxclient (Alexander Vassilev) > 7. speex problems (Jeremy Rotsztain) > 8. Re: compiling iaxclient (Jeremy Rotsztain) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 6 May 2008 15:24:48 +0200 > From: Florian Hackenberger <f.h...@ch...> > Subject: Re: [Iaxclient-devel] Windows choppy / stuttering audio > To: "Peter Grayson" <jpg...@gm...> > Cc: iax...@li... > Message-ID: <200...@ch...> > Content-Type: text/plain; charset="utf-8" > > On Tuesday 06 May 2008, you wrote: >> Yes. There are definitely people (me) using iaxclient on Windows with >> good audio quality. I have not looked at jiaxclient, so I do not know >> how it affects the audio pipeline. Hopefully it doesn't affect the >> audio pipeline at all. > Jiaxclient is simply a wrapper around the public API of iaxclient. No > Java is involved concerning the audio. > >> What version of iaxclient are you using? > iaxclient 2.0.2 precompiled. We use the default audio host API on > windows (don't know which one that is). > >> There are some changes in the latest trunk that may help, but it's >> going to be a while before I have enough personal bandwidth to put >> together another iaxclient release with a new pre-built binary. > We are going to recompile the library, if you don't know what the > issue > could be. Do you have any pointers to documentation about how to build > the library on windows (or maybe even cross compile it on linux)? Is > contrib/win/vs2005 and README.VisualStudio up to date? > > Cheers, > Florian > > -- > DI Florian Hackenberger > fl...@ha... > www.hackenberger.at > > > > ------------------------------ > > Message: 2 > Date: Wed, 7 May 2008 08:27:34 -0400 > From: "Peter Grayson" <jpg...@gm...> > Subject: Re: [Iaxclient-devel] Windows choppy / stuttering audio > To: "Florian Hackenberger" <f.h...@ch...> > Cc: iax...@li... > Message-ID: > <c02...@ma...> > Content-Type: text/plain; charset=UTF-8 > > On Tue, May 6, 2008 at 9:24 AM, Florian Hackenberger > <f.h...@ch...> wrote: >> On Tuesday 06 May 2008, you wrote: >>> Yes. There are definitely people (me) using iaxclient on Windows >>> with >>> good audio quality. I have not looked at jiaxclient, so I do not >>> know >>> how it affects the audio pipeline. Hopefully it doesn't affect the >>> audio pipeline at all. >> Jiaxclient is simply a wrapper around the public API of >> iaxclient. No >> Java is involved concerning the audio. > > That's good and as I would expect. > >>> What version of iaxclient are you using? >> iaxclient 2.0.2 precompiled. We use the default audio host API on >> windows (don't know which one that is). > > Okay, 2.0.2 has proven to be pretty okay on Windows. I thought you > might have been using one of the 2.1 beta releases. > > The default audio API on windows is WMME. In fact, this is the only > one that iaxclient ever tries to use. > >>> There are some changes in the latest trunk that may help, but it's >>> going to be a while before I have enough personal bandwidth to put >>> together another iaxclient release with a new pre-built binary. >> We are going to recompile the library, if you don't know what the >> issue >> could be. Do you have any pointers to documentation about how to >> build >> the library on windows (or maybe even cross compile it on linux)? Is >> contrib/win/vs2005 and README.VisualStudio up to date? > > Yes, the projects in contrib/win/vs2005 are kept up-to-date as is > README.VisualStudio. The trunk has a yet more up-to-date > README.VisualStudio -- you might peek at that even if you are building > 2.0.2. > > You may be able to cross-compile 2.0.2, but the trunk and 2.1 betas > will be unwilling. I suggest using Visual Studio 2005 Pro. > > Thanks for your efforts. > Pete > > > > ------------------------------ > > Message: 3 > Date: Thu, 08 May 2008 10:33:37 -0400 > From: Erik Bunce <kd...@bu...> > Subject: [Iaxclient-devel] A couple fixes to merge to trunk > To: iax...@li... > Message-ID: <482...@bu...> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I'm planning to move a couple fixes from my branch to trunk, > specifically: > * r1429: which adds some prophylactic code to prevent performing > actions on call session that are no longer active. > * r1430: in the video capture callback there was an assumption that > you'd never want video captured while a non-video call was active. > This > is not always the case. An example of this is if a user has local > video > being displayed in a video preview window, and takes a non-video call. > This shouldn't cause the video callback to fail, nor output an error > message. > > Unless there are objections I'll be merging these to trunk tonight. > > Thanks and Enjoy, > Erik Bunce > > > > > ------------------------------ > > Message: 4 > Date: Mon, 26 May 2008 00:29:07 -0400 > From: Jeremy Rotsztain <je...@ma...> > Subject: [Iaxclient-devel] compiling iaxclient > To: iax...@li... > Message-ID: <F83...@ma...> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > > i've tried installing iaxclient 2.0.2 and 2.1beta 3 but i keep > getting errors when running make (configure works just fine) > > the list of errors is rather long ... it starts with this: > > Making all in iaxphone > g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib -I/usr/lib/wx/include/ > mac-unicode-debug-2.5 -I/usr/include/wx-2.5 -D__WXDEBUG__ -D__WXMAC__ > -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -DPOSIXSLEEP > -I/usr/lib/wx/include/mac-unicode-debug-2.5 -I/usr/include/wx-2.5 - > D__WXDEBUG__ -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES - > DNO_GCC_PRAGMA -g -O2 -MT iaxphone.o -MD -MP -MF .deps/iaxphone.Tpo - > c -o iaxphone.o iaxphone.cc > iaxphone.cc: In constructor 'IAXCalls::IAXCalls(wxWindow*, int)': > iaxphone.cc:84: error: no matching function for call to > 'wxString::Format(const char [4], long int)' > /usr/include/wx-2.5/wx/string.h:1072: note: candidates are: static > wxString wxString::Format(const wxChar*, ...) > iaxphone.cc: In member function 'int IAXCalls::HandleStateEvent > (iaxc_ev_call_state)': > iaxphone.cc:162: error: conversion from 'char [256]' to 'const > wxString' is ambiguous > /usr/include/wx-2.5/wx/string.h:659: note: candidates are: > wxString::wxString(wxChar, size_t) <near match> > /usr/include/wx-2.5/wx/string.h:649: note: > wxString::wxString(int) <near match> > iaxphone.cc: In constructor 'IAXFrame::IAXFrame(const wxChar*, int, > int, int, int)': > iaxphone.cc:229: error: conversion from 'const char [9]' to 'const > wxString' is ambiguous > /usr/include/wx-2.5/wx/string.h:659: note: candidates are: > wxString::wxString(wxChar, size_t) <near match> > /usr/include/wx-2.5/wx/string.h:649: note: > wxString::wxString(int) <near match> > iaxphone.cc:265: error: conversion from 'const char [11]' to 'const > wxString' is ambiguous > /usr/include/wx-2.5/wx/string.h:659: note: candidates are: > wxString::wxString(wxChar, size_t) <near match> > /usr/include/wx-2.5/wx/string.h:649: note: > wxString::wxString(int) <near match> > iaxphone.cc:265: error: conversion from 'const char [27]' to 'const > wxString' is ambiguous > /usr/include/wx-2.5/wx/string.h:659: note: candidates are: > wxString::wxString(wxChar, size_t) <near match> > /usr/include/wx-2.5/wx/string.h:649: note: > wxString::wxString(int) <near match> > iaxphone.cc:266: error: conversion from 'const char [13]' to 'const > wxString' is ambiguous > /usr/include/wx-2.5/wx/string.h:659: note: candidates are: > wxString::wxString(wxChar, size_t) <near match> > /usr/include/wx-2.5/wx/string.h:649: note: > wxString::wxString(int) <near match> > iaxphone.cc:266: error: conversion from 'const char [20]' to 'const > wxString' is ambiguous > /usr/include/wx-2.5/wx/string.h:659: note: candidates are: > wxString::wxString(wxChar, size_t) <near match> > > and ends with this: > > make[3]: *** [iaxphone.o] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > > i'm running osx 10.4.10 > > could i be using the wrong library somewhere along the way? > > thanks, > > jeremy > > > > > > > ------------------------------ > > Message: 5 > Date: Mon, 26 May 2008 11:42:27 -0400 > From: Jeremy Rotsztain <je...@ma...> > Subject: Re: [Iaxclient-devel] compiling iaxclient > To: iax...@li... > Message-ID: <354...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > > hey, > > that didn't seem to help. i'll look into wxwidgets though and see if > i can figure anything out. > > i'm also running into problems with the speex library when running > the testcall example: > > dyld: lazy symbol binding failed: Symbol not found: > _speex_preprocess_state_init > Referenced from: /usr/local/lib/libiaxclient.1.dylib > Expected in: /usr/local/lib/libspeex.1.dylib > > dyld: Symbol not found: _speex_preprocess_state_init > Referenced from: /usr/local/lib/libiaxclient.1.dylib > Expected in: /usr/local/lib/libspeex.1.dylib > > could that be a version issue? > > jeremy > > > On May 26, 2008, at 5:33 AM, Jean-Fran?ois wrote: > >> Hi, >> Maybe try to don't configure with wxwidgets. >> >> ./configure --enable-clients=testcall >> make >> >> look at "./configure --help" for more details > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 6 > Date: Mon, 26 May 2008 18:53:13 +0300 > From: Alexander Vassilev <ava...@vo...> > Subject: Re: [Iaxclient-devel] compiling iaxclient > To: iax...@li... > Message-ID: <483...@vo...> > Content-Type: text/plain; charset="iso-8859-1" > > Jeremy Rotsztain wrote: >> i've tried installing iaxclient 2.0.2 and 2.1beta 3 but i keep >> getting errors when running make (configure works just fine) >> > Hello Jeremy, > What wxWidgets build are you using, ANSI or Unicode? Your problems > looks > like you are using a Unicode wxWidgets build and the code is assuming > and is only compatible with ANSI build. If you are using an Univode > wxWIdgets build, try building wxWidgets in ANSI mode and try again. > > Regards > Alex > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: avasilev.vcf > Type: text/x-vcard > Size: 127 bytes > Desc: not available > > ------------------------------ > > Message: 7 > Date: Mon, 26 May 2008 19:48:12 -0400 > From: Jeremy Rotsztain <je...@ma...> > Subject: [Iaxclient-devel] speex problems > To: iax...@li... > Message-ID: <C34...@ma...> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > > i've made some progress getting iaxclient to compile with speex. > > configuring iaxclient worked when using ./configure --with-speex=/usr/ > local > > however, i'm now running into codec problems when i call the asterisk > server: > > warning: Invalid wideband mode encountered. Corrupted stream? > decode_int returned non-zero => -2 > > can't find much documentation for this error online. > > thanks for any advice, > > jeremy > > osx 10.4.10 > xcode 2.5 > iaxclient 2.0.2 > speex-1.2beta1 > > > > ------------------------------ > > Message: 8 > Date: Mon, 26 May 2008 21:28:12 -0400 > From: Jeremy Rotsztain <je...@ma...> > Subject: Re: [Iaxclient-devel] compiling iaxclient > To: Alexander Vassilev <ava...@vo...> > Cc: iax...@li... > Message-ID: <83E...@ma...> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > > hey alex, > > you're absolutely right about xwWidgets ... > > checking for wx-config... /usr/bin/wx-config > checking for wxWidgets version >= 2.6.0... no (version 2.5.3 is not > new enough) > checking for wx-config... (cached) /usr/bin/wx-config > checking for wxWidgets version >= 2.4.0... yes (version 2.5.3) > checking for wxWidgets static library... no > > so i installed the latest version (wxMac-2.8.7) > but configure seems to think that i'm still using 2.5.3. > looking at config --help, there are a few items that allow me to set > the path of wxWidgets. > > --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH > --with-wx-config=CONFIG wx-config script to use (optional) > --with-wx-prefix=PREFIX Prefix where wxWidgets is installed > (optional) > --with-wx-exec-prefix=PREFIX > Exec prefix where wxWidgets is installed > (optional) > WXRC Path to wxWidget's wxrc resource compiler > > do you know which ones i'm supposed to use ? > > jeremy > > > On May 26, 2008, at 11:53 AM, Alexander Vassilev wrote: > >> Jeremy Rotsztain wrote: >>> i've tried installing iaxclient 2.0.2 and 2.1beta 3 but i keep >>> getting errors when running make (configure works just fine) >>> >> Hello Jeremy, >> What wxWidgets build are you using, ANSI or Unicode? Your problems >> looks >> like you are using a Unicode wxWidgets build and the code is assuming >> and is only compatible with ANSI build. If you are using an Univode >> wxWIdgets build, try building wxWidgets in ANSI mode and try again. >> >> Regards >> Alex >> >> <avasilev.vcf> >> --------------------------------------------------------------------- >> - >> --- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Iaxclient-devel mailing list >> Iax...@li... >> https://lists.sourceforge.net/lists/listinfo/iaxclient-devel > > > > > ------------------------------ > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > ------------------------------ > > _______________________________________________ > Iaxclient-devel mailing list > Iax...@li... > https://lists.sourceforge.net/lists/listinfo/iaxclient-devel > > > End of Iaxclient-devel Digest, Vol 24, Issue 2 > ********************************************** |