Re: [Ekiga-devel-list] how to debug ekiga crash



El día Saturday, May 21, 2011 a las 10:30:17AM +0200, Eugen Dedu escribió:

> On 21/05/11 10:21, Matthias Apitz wrote:
> >El día Friday, May 20, 2011 a las 08:04:14PM +0200, Matthias Apitz 
> >escribió:
> >
> >>with this it compiles (with a lot of warnings) and installes fine; but
> >>it crashes on start without any other message or windows:
> >>
> >>guru@tinyCurrent:~/Ekiga/ekiga>  ekiga --version
> >>terminate called after throwing an instance of 
> >>'__gnu_cxx::__concurrence_unlock_error'
> >>   what():  __gnu_cxx::__concurrence_unlock_error
> >>Abort trap: 6 (`core' generado)
> >>
> >>I run it with truss and it seems to be in the phase of dynamic loading
> >>of it shared libs...
> 
> You are using ptlib/opal branches (not releases), is that right?

Yes, I pulled from SVN:

svn export https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/branches/v2_10 ptlib
svn export https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/branches/v3_10 opal

and ekiga from git;

> 
> If yes, then use little patch 
> http://mail.gnome.org/archives/ekiga-devel-list/2011-May/msg00005.html 
> (recompile the whole ptlib), while waiting that it is fixed correctly on 
> branch.

Thanks! This fixed the problem. And after fixing a bug in PTlib
concerning the detection of /dev/video0 in FreeBSD, which I've posted
already in 2008 :-( the video is detected fine. Also the call to the
echo service of ekiga works nicely. Concerning the detection of the
audio device, there is another bug: it only sees and uses /dev/dsp0 but
not /dev/dsp1 (even not when one sets this hardcoded with gconf-editor);
I will investigate this later and provide a patch; the patch for the
/dev/video0 in FreeBSD is attached;

Maybe someone could commit this to not have to look for it again in two
years :-) 

Thanks for your help, Eugen!

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru unixarea de> - w http://www.unixarea.de/
*** plugins/vidinput_v4l/vidinput_v4l.cxx	2011-05-21 13:21:48.000000000 +0200
--- plugins/vidinput_v4l/vidinput_v4l.cxx.OLD	2011-03-22 14:38:45.771873000 +0100
***************
*** 323,337 ****
          struct stat s;
          if (lstat(devname, &s) == 0) {
   
- #if defined(P_FREEBSD)                                                         
-          // device numbers are irrelevant here, so we match on names instead.  
-           if (filename.GetLength() <= 5 || filename.Left(5) != "video")        
-                continue;                                                       
-          int num = atoi(filename.Mid(6));                                      
-          if (num < 0 || num > 63)                                              
-                continue;                                                       
-           vid.SetAt(num, devname);                                             
- #else
            static const int deviceNumbers[] = { 81 };
            for (PINDEX i = 0; i < PARRAYSIZE(deviceNumbers); i++) {
              if (MAJOR(s.st_rdev) == deviceNumbers[i]) {
--- 323,328 ----
***************
*** 341,347 ****
                }
              }
            }
- #endif
          }
        }
      }
--- 332,337 ----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]