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

CORBA strangeness? Was: Re: problems with gnome speech



Sebastian Dellit <sebo@blinzeln.de> writes:

> Hoppa Mario and all readers,
>
> thanks for instructions. I hope the output is correct.

Yes, thanks for providing this backtrace.  Meanwhile, I
seem to be hitting the same (or some related) issue
on some machines here myself.  I am pretty concerned about
this, since it seems extremely hard to track, at least
for someone with barely any CORBA knowledge.  From what
I can see, the real problem is hidden in the backtrace
because the CORBA calling-chain is involved.

I also observe gnome-speech using applications that seem to
launch a festival-synthesis-driver process that ends up
consuming 100% CPU and hanging the application that
is trying to use gnome-speech to deliver output.

Maybe those two issues are related, however, I do not
know how to even begin debugging the second one, since
gdb on the app that is using gnome-speech does not
show anything since the problems seems to be
in a different process?

Does anyone with more CORBA know-how know how to debug this?

At least the first (test-speech crashing) is
easy to reproduce:

install libgnome-speech3-dev
then:

Script started on Sun Jan 21 18:21:36 2007
x2:~# gdb test-speech
GNU gdb 6.5-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/test-speech 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47818684963056 (LWP 7091)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
1: OAFIID:GNOME_Speech_SynthesisDriver_Festival:proto0.3

Select a server: 1
Attempting to activate OAFIID:GNOME_Speech_SynthesisDriver_Festival:proto0.3.
Driver name: Festival GNOME Speech Driver
Driver version: 0.3
Synthesizer name: Festival Speech Synthesis System
Synthesizer Version: 1.4.3

Enter desired gender ('m' or 'f'): m

Enter desired locale, or 'all' to display all voices: all
1. kal_diphone (language english)

Select voice: 1

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 47818684963056 (LWP 7091)]
0x00002b7da7a36550 in writev () from /lib/libc.so.6
(gdb) bt
#0  0x00002b7da7a36550 in writev () from /lib/libc.so.6
#1  0x00002b7da6ea5760 in link_connection_wait_connected ()
   from /usr/lib/libORBit-2.so.0
#2  0x00002b7da6ea6002 in link_connection_writev ()
   from /usr/lib/libORBit-2.so.0
#3  0x00002b7da6e89ee0 in giop_send_buffer_write ()
   from /usr/lib/libORBit-2.so.0
#4  0x00002b7da6e8dc4c in ORBit_small_get_connection_status ()
   from /usr/lib/libORBit-2.so.0
#5  0x00002b7da6e8f09d in ORBit_small_invoke_stub ()
   from /usr/lib/libORBit-2.so.0
#6  0x00002b7da69c6852 in GNOME_Speech_SynthesisDriver_createSpeaker ()
   from /usr/lib/libgnomespeech.so.7
#7  0x0000000000401fa0 in ?? ()
#8  0x00002b7da79904ca in __libc_start_main () from /lib/libc.so.6
#9  0x000000000040192a in ?? ()
#10 0x00007fff041fbf18 in ?? ()
#11 0x0000000000000000 in ?? ()
(gdb) q
The program is running.  Exit anyway? (y or n) y
x2:~# uname -a
Linux x2 2.6.18-2-amd64 #1 SMP Wed Nov 8 20:09:48 CET 2006 x86_64 GNU/Linux


Script done on Sun Jan 21 18:23:20 2007

> on Wednesday, December 20, 2006 at 6:18:12 PM means Mario Lang:
>> Sebastian Dellit <sebo@blinzeln.de> writes:
>> when it segfaults, you end up in the gdb prompt again, enter "bt",
>> and paste the output you are getting.
>
> (gdb) file test-speech
> Reading symbols from /usr/local/bin/test-speech...done.
> Using host libthread_db library "/lib/libthread_db.so.1".
> (gdb) run
> Starting program: /usr/local/bin/test-speech
> [Thread debugging using libthread_db enabled]
> [New Thread 47007909014992 (LWP 11001)]
> 1: OAFIID:GNOME_Speech_SynthesisDriver_Festival:proto0.3
> Select a server: 1
> Attempting to activate OAFIID:GNOME_Speech_SynthesisDriver_Festival:proto0.3.
> Driver name: Festival GNOME Speech Driver
> Driver version: 0.3
> Synthesizer name: Festival Speech Synthesis System
> Synthesizer Version: 1.4.3
> Enter desired gender ('m' or 'f'): m
> Enter desired locale, or 'all' to display all voices:
> 1. kal_diphone (language english)
> Select voice: 1
> Program received signal SIGPIPE, Broken pipe.
> [Switching to Thread 47007909014992 (LWP 11001)]
> 0x00002ac0e17f4550 in writev () from /lib/libc.so.6
> (gdb) bt
> #0  0x00002ac0e17f4550 in writev () from /lib/libc.so.6
> #1  0x00002ac0e0d8a560 in link_connection_disconnect ()
> from /usr/lib/libORBit-2.so.0
> #2  0x00002ac0e0d8ae02 in link_connection_writev ()
> from /usr/lib/libORBit-2.so.0
> #3  0x00002ac0e0d6eda0 in giop_send_buffer_write ()
> from /usr/lib/libORBit-2.so.0
> #4  0x00002ac0e0d72a9c in ORBit_small_get_connection_status ()
> from /usr/lib/libORBit-2.so.0
> #5  0x00002ac0e0d73ec6 in ORBit_small_invoke_stub ()
> from /usr/lib/libORBit-2.so.0
> #6  0x00002ac0e09a6852 in GNOME_Speech_SynthesisDriver_createSpeaker (
> _obj=0xe, voice_spec=<value optimized out>, ev=<value optimized out>)
> at GNOME_Speech-stubs.c:153
> #7  0x0000000000401f80 in main (argc=1, argv=<value optimized out>)
> at test-speech.c:333
> (gdb)
>
> -- 
> Best regards Sebastian 
> ICQ: 264706583 / MSM: sebo@blinzeln.de / Skype: sebo_de
> E-Mail: sebo@blinzeln.de / Web: www.blindzeln.de

-- 
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang@db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>

Attachment: pgpOHmeS0VvQF.pgp
Description: PGP signature


Reply to: