Re: [GnomeMeeting-list] Re: 1.2
- From: Jean-Christophe Dubois <jcd tribudubois net>
- To: GnomeMeeting mailing list <gnomemeeting-list gnome org>
- Subject: Re: [GnomeMeeting-list] Re: 1.2
- Date: Mon, 03 Jan 2005 11:12:44 +0100
On Mon, 2005-01-03 at 10:37 +0100, Damien Sandras wrote:
> Le lundi 03 janvier 2005 à 10:29 +0100, Jean-Christophe Dubois a écrit :
> > On Mon, 2005-01-03 at 09:27 +0100, Damien Sandras wrote:
> > > Hello Jean-Christophe,
> > >
> > > I have no idea for the camera unfortunately but perhaps it is related to
> > > the crash you are getting.
> > >
> > > What version of GCC are you using? I know there is a problem in gcc
> > > 3.4.1 and 3.5.0.
> > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16717
> >
> > [root lancelot root]# g++ --v
> > Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/specs
> > Configured with: ../configure --prefix=/usr --libdir=/usr/lib
> > --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
> > --enable-shared --enable-threads=posix --disable-checking
> > --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu
> > --disable-libunwind-exceptions --enable-languages=c,c
> > ++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib
> > Thread model: posix
> > gcc version 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)
> >
> > So it looks like it is 3.4.1 but I am not sure if Mandrake did apply any
> > patch to it.
>
>
> That is very interesting to know. I will mail the mandrake maintainer to
> know if they have patches. Can you confirm me that you don't have the
> "Picture" plugin for video?
I'll try tonight at home and I'll let you know.
However the compiler does have the bug. I tried the source code provided
with the bug report and it doesn't work if -O2 is passed at compile time
but works OK without it. So once again is there an easy way to turn all
optimization off when compiling pwlib, openh323 and gnomemeeting? Or
should I just go and patch all the generated Makefiles?
Thanks
JC
>
>
>
> > >
> > > Can you recompile with debug symbols as Kilian was suggesting?
> >
> > Well, I did what Killian suggested (comment out LDFLAGS+=-s) and the
> > backtrace is complete now. I am not sure what parameter should be given
> > to the various configure scripts to actually get some program/libraries
> > with full debug support (-g). Still the stack for thread 4 and 5 is in
> > very bad state. So I could bring a new/old compiler or I could force all
> > optimizations off when compiling C++. Is there an easy way to do this
> > with the 3 components (pwlib, openh323 and gnomemeeting). I need to make
> > sure -O2 is not passed at compile time.
> >
> > Thanks
> >
> > JC
> >
> >
> > >
> > > Le lundi 03 janvier 2005 à 01:40 +0100, Jean-Christophe Dubois a écrit :
> > > > (gdb) run --debug=3
> > > > The program being debugged has been started already.
> > > > Start it from the beginning? (y or n)
> > > > Please answer y or n.
> > > > The program being debugged has been started already.
> > > > Start it from the beginning? (y or n) y
> > > > Starting program: /usr/local/bin/gnomemeeting --debug=3
> > > > [Thread debugging using libthread_db enabled]
> > > > [New Thread 1101375392 (LWP 6008)]
> > > > It appears that you do not have gnomemeeting.server installed in a
> > > > valid location. Factory mode disabled.
> > > > [New Thread 1111129008 (LWP 6027)]
> > > > [New Thread 1119521712 (LWP 6028)]
> > > > 2005/01/03 01:36:23.127 0:01.102 gnomemeeting
> > > > Detected audio plugins: ALSA,OSS,Quicknet
> > > > 2005/01/03 01:36:23.129 0:01.102 gnomemeeting
> > > > Detected video plugins: V4L
> > > > 2005/01/03 01:36:23.525 0:01.498 gnomemeeting
> > > > Detected the following audio input devices: SiS SI7012,USB Device
> > > > 0x471:0x311,Default with plugin ALSA
> > > > 2005/01/03 01:36:23.526 0:01.499 gnomemeeting
> > > > Detected the following audio output devices: SiS SI7012,Default with
> > > > plugin ALSA
> > > > 2005/01/03 01:36:23.526 0:01.499 gnomemeeting
> > > > Detected the following video input devices: Philips 740 webcam with
> > > > plugin V4L
> > > > [New Thread 1129294768 (LWP 6035)]
> > > > [New Thread 1137687472 (LWP 6036)]
> > > > 2005/01/03 01:36:25.626 0:03.600 gnomemeeting
> > > > GnomeMeeting version 1.2.0
> > > > 2005/01/03 01:36:25.633 0:03.606 gnomemeeting
> > > > OpenH323 version 1.15.2
> > > > 2005/01/03 01:36:25.634 0:03.607 gnomemeeting PWLIB
> > > > version 1.8.3
> > > > 2005/01/03 01:36:25.634 0:03.608 gnomemeeting GNOME
> > > > support enabled
> > > > 2005/01/03 01:36:25.635 0:03.609 gnomemeeting
> > > > Fullscreen support enabled
> > > > 2005/01/03 01:36:25.636 0:03.610 gnomemeeting DBUS
> > > > support enabled
> > > > 2005/01/03 01:36:25.637 0:03.611 gnomemeeting
> > > > Quicknet hardware support enabled
> > > > 2005/01/03 01:36:25.644 0:03.618 gnomemeeting Set
> > > > TCP port range to 3000030010
> > > > 2005/01/03 01:36:25.649 0:03.623 gnomemeeting Set
> > > > RTP port range to 50005016
> > > > 2005/01/03 01:36:25.651 0:03.624 gnomemeeting Set
> > > > UDP port range to 50205023
> > > > 2005/01/03 01:36:25.659 0:03.632 gnomemeeting H323
> > > > Added capability: iLBC-13k3{sw} <1>
> > > > 2005/01/03 01:36:25.661 0:03.635 gnomemeeting H323
> > > > Added capability: MS-GSM{sw} <2>
> > > > 2005/01/03 01:36:25.667 0:03.736 gnomemeeting H323
> > > > Added capability: SpeexNarrow-15k{sw} <3>
> > > > 2005/01/03 01:36:25.765 0:03.739 gnomemeeting H323
> > > > Added capability: iLBC-15k2{sw} <4>
> > > > 2005/01/03 01:36:25.767 0:03.740 gnomemeeting H323
> > > > Added capability: GSM-06.10{sw} <5>
> > > > 2005/01/03 01:36:25.769 0:03.742 gnomemeeting H323
> > > > Added capability: SpeexNarrow-8k{sw} <6>
> > > > 2005/01/03 01:36:25.770 0:03.748 gnomemeeting H323
> > > > Added capability: G.726-32k{sw} <7>
> > > > 2005/01/03 01:36:25.776 0:03.749 gnomemeeting H323
> > > > Added capability: G.711-uLaw-64k <8>
> > > > 2005/01/03 01:36:25.778 0:03.751 gnomemeeting H323
> > > > Added capability: G.711-ALaw-64k <9>
> > > > 2005/01/03 01:36:25.780 0:03.753 gnomemeeting H323
> > > > Added capability: H.261-QCIF <10>
> > > > 2005/01/03 01:36:25.781 0:03.754 gnomemeeting H323
> > > > Added capability: H.261-CIF <11>
> > > > 2005/01/03 01:36:25.783 0:03.757 gnomemeeting H323
> > > > Added capability: UserInput/hookflash <12>
> > > > 2005/01/03 01:36:25.785 0:03.758 gnomemeeting H323
> > > > Added capability: UserInput/basicString <13>
> > > > 2005/01/03 01:36:25.786 0:03.764 gnomemeeting H323
> > > > Added capability: UserInput/dtmf <14>
> > > > 2005/01/03 01:36:25.792 0:03.765 gnomemeeting H323
> > > > Added capability: UserInput/RFC2833 <15>
> > > > 2005/01/03 01:36:25.796 0:03.770 gnomemeeting H323
> > > > Started listener Listener[ip$*:1720]
> > > > [New Thread 1146506160 (LWP 6042)]
> > > > 2005/01/03 01:36:25.942 0:03.915 H323 Listener:8428150 H323
> > > > Awaiting TCP connections on port 1720
> > > > [New Thread 1154898864 (LWP 6043)]
> > > > 2005/01/03 01:36:26.374 0:04.347 GMStunClient:08428900 H323
> > > > STUN server "stun.voxgratia.org" replies Port Restricted NAT
> > > > [Thread 1154898864 (LWP 6043) exited]
> > > > 2005/01/03 01:37:00.077 0:38.050 H323 Cleaner H323
> > > > Cleaning up connections
> > > > 2005/01/03 01:37:00.094 0:38.067 gnomemeeting H323
> > > > Removing listener Listener[ip$*:1720]
> > > > [Thread 1146506160 (LWP 6042) exited]
> > > > 2005/01/03 01:37:00.744 0:38.717 H323 Cleaner H323
> > > > Cleaning up connections
> > > > 2005/01/03 01:37:00.745 0:38.718 H323 Cleaner H323
> > > > Stopped cleaner thread
> > > > 2005/01/03 01:37:00.745 0:38.718 gnomemeeting H323
> > > > Cleaning up connections
> > > > 2005/01/03 01:37:00.745 0:38.718 gnomemeeting H323
> > > > Deleted endpoint.
> > > > [Thread 1111129008 (LWP 6027) exited]
> > > > [Thread 1119521712 (LWP 6028) exited]
> > > >
> > > > Program received signal SIGSEGV, Segmentation fault.
> > > > [Switching to Thread 1101375392 (LWP 6008)]
> > > > 0x411add0c in PFactory<PSoundChannel, PString>::~PFactory ()
> > > > from /usr/local/lib/libpt_linux_x86_r.so.1.8.3
> > > > (gdb) thread
> > > > [Current thread is 1 (Thread 1101375392 (LWP 6008))]
> > > > (gdb) info thread
> > > > 5 Thread 1137687472 (LWP 6036) 0xffffe410 in ?? ()
> > > > 4 Thread 1129294768 (LWP 6035) 0xffffe410 in ?? ()
> > > > * 1 Thread 1101375392 (LWP 6008) 0x411add0c in
> > > > PFactory<PSoundChannel, PString>::~PFactory ()
> > > > from /usr/local/lib/libpt_linux_x86_r.so.1.8.3
> > > > (gdb) thread apply all bt
> > > >
> > > > Thread 5 (Thread 1137687472 (LWP 6036)):
> > > > #0 0xffffe410 in ?? ()
> > > > #1 0x43cfb9c8 in ?? ()
> > > > #2 0xffffffff in ?? ()
> > > > #3 0x00000005 in ?? ()
> > > > #4 0x408a2e8e in g_main_context_acquire ()
> > > > from /usr/lib/libglib-2.0.so.0
> > > > #5 0x08361d80 in ?? ()
> > > > #6 0x00000005 in ?? ()
> > > > Previous frame inner to this frame (corrupt stack?)
> > > > #0 0x411add0c in PFactory<PSoundChannel, PString>::~PFactory ()
> > > > from /usr/local/lib/libpt_linux_x86_r.so.1.8.3
> > > > (gdb) where
> > > > #0 0x411add0c in PFactory<PSoundChannel, PString>::~PFactory ()
> > > > from /usr/local/lib/libpt_linux_x86_r.so.1.8.3
> > > > #1 0x411f3d7f in PFactoryBase::FactoryMap::~FactoryMap ()
> > > > from /usr/local/lib/libpt_linux_x86_r.so.1.8.3
> > > > #2 0x411f3dc0 in __tcf_0 ()
> > > > from /usr/local/lib/libpt_linux_x86_r.so.1.8.3
> > > > #3 0x4147574f in __cxa_finalize () from /lib/tls/libc.so.6
> > > > #4 0x410e8423 in __do_global_dtors_aux ()
> > > > from /usr/local/lib/libpt_linux_x86_r.so.1.8.3
> > > > #5 0x411f46b6 in _fini ()
> > > > from /usr/local/lib/libpt_linux_x86_r.so.1.8.3
> > > > #6 0x4000b437 in _dl_fini () at dl-fini.c:177
> > > > #7 0x414754d7 in exit () from /lib/tls/libc.so.6
> > > > #8 0x4145feaa in __libc_start_main () from /lib/tls/libc.so.6
> > > > #9 0x0807df41 in _start () at ../sysdeps/i386/elf/start.S:102
> > > > (gdb)
> > > >
> > > > On Mon, 2005-01-03 at 01:13 +0100, Kilian Krause wrote:
> > > > > Hi JC,
> > > > >
> > > > > [snip]
> > > > >
> > > > > > <here I "quit" gnomemeeting using the menu>
> > > > > [snip]
> > > > > > Program received signal SIGSEGV, Segmentation fault.
> > > > > > [Switching to Thread 1101408192 (LWP 28887)]
> > > > > > 0x411b557c in PFactory<PSoundChannel, PString>::~PFactory ()
> > > > > > from /usr/local/lib/libpt_linux_x86_r.so.1.8.3
> > > > > > Current language: auto; currently c
> > > > > > (gdb)
> > > > > > (gdb) where
> > > > > [snip]
> > > > >
> > > > > it's usually better to use "thread apply all bt" for GnomeMeeting is
> > > > > multi-threaded. I'm not sure this applies here, but just as a general
> > > > > note. Apart from that, you should compile pwlib with debug symbols. to
> > > > > have the "??" filled. As an easy hack you can just remove the line
> > > > > LDFLAGS+=-s
> > > > > in make/unix.mak of pwlib and recompile pwlib and openh323.
> > > > >
> > > > > Thanks!
> > > > >
> > > > > _______________________________________________
> > > > > GnomeMeeting-list mailing list
> > > > > GnomeMeeting-list gnome org
> > > > > http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> > > > --
> > > > Jean-Christophe Dubois <jcd tribudubois net>
> > > > _______________________________________________
> > > > GnomeMeeting-list mailing list
> > > > GnomeMeeting-list gnome org
> > > > http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> > > _______________________________________________
> > > GnomeMeeting-list mailing list
> > > GnomeMeeting-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> >
> > _______________________________________________
> > GnomeMeeting-list mailing list
> > GnomeMeeting-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> _______________________________________________
> GnomeMeeting-list mailing list
> GnomeMeeting-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]