Re: [g-a-devel] Gnopernicus and textmode app, how avoiding crash
- From: remus draica <rd baum ro>
- To: Daniel COTTO <daniel cotto wanadoo fr>
- Cc: GnomeAccessibilityDevel <gnome-accessibility-devel gnome org>
- Subject: Re: [g-a-devel] Gnopernicus and textmode app, how avoiding crash
- Date: Fri, 16 Sep 2005 11:01:59 +0300
Hi,
>1. starting gnopernicus whithout braille and with festival,
> * gnopernicus crash when I start a gnome terminal.
The crash seems to be in the gnopernicus.
>From the trace files, the crash occurs while reading from a pipe/socket
etc.
Now I'm trying to see if the crash is in the at-spi side (it does such
readings). Please apply the patch attached to gnopernicus and send back
the log.
Regards,
Remus
On Thu, 2005-09-15 at 20:58, Daniel COTTO wrote:
> Hi,
>
> I have made the tests,
> 1. starting gnopernicus whithout braille and with festival,
> * gnopernicus crash when I start a gnome terminal.
>
> 2. I start gnome, then xterm (with alt-f2), then gnopernicus, in the xterm,
> then gnome terminal with de menu.
> * same crash.
>
> I attach two strace logs pehaps this will help.
>
> The first one is obtened whith:
>
> strace -p <pid of srcore> -o srcore1.log
>
> the second is obtened by:
> alt-f2 strace -o srcore2.log srcore
>
> If the attachments are not allowed, I can send them privately.
>
> If you need some other files, I can can send them.
>
> Regards
>
> Daniel
>
> ----- Original Message -----
> From: "remus draica" <rd baum ro>
> To: "Daniel COTTO" <daniel cotto wanadoo fr>
> Cc: "GnomeAccessibilityDevel" <gnome-accessibility-devel gnome org>
> Sent: Wednesday, September 14, 2005 10:12 AM
> Subject: Re: [g-a-devel] Gnopernicus and textmode app, how avoiding crash
>
>
> >
> > Hi,
> >
> > Please try the next scenarios:
> > 1. run gnopernicus/srcore in an xterm. Start gnome-terminal and run in
> > it some commands (ls, etc). Then run a console based apps.
> > 2. run gnopernicus/srcore in a gnome-terminal, but with braille support
> > off.
> >
> > Because I am not able to reproduce it, is very hard to trace the
> > problem. I'm trying to see if the problem is in the gnopernicus logic or
> > in the communication/use with/of brltty.
> >
> > Regards,
> > Remus
> >
> > The crash persists.
> >>
> >> So, when �anch �nome-terminal and then alt-f2 followed by srcore,
> >> srcore
> >> restart and gnopernicus seem to work in atk-based app. But I have the
> >> message in the tty1 conosle:
> >> no XFree86_VT property .
> >>
> >> When I run ls in the gnome terminal, srcore crash without error message
> >> but
> >> it can rerun by alt-f2.
> >>
> >> My .xinitrc has the CONTROLVT variable set tu
> >> CONTROLVT='7 brltty -bba -xas'
> >>
> >> I hope that tis will help.
> >>
> >> Daniel
> >>
> >> ----- Original Message -----
> >> From: "Daniel COTTO" <daniel cotto wanadoo fr>
> >> To: "Daniel COTTO" <daniel cotto wanadoo fr>; "GnomeAccessibilityDevel"
> >> <gnome-accessibility-devel gnome org>
> >> Cc: "GnomeAccessibilityDevel" <gnome-accessibility-devel gnome org>
> >> Sent: Tuesday, September 06, 2005 9:00 PM
> >> Subject: Re: [g-a-devel] Gnopernicus and textmode app, how avoiding crash
> >>
> >>
> >> > Hi,
> >> >
> >> > You are right the problem comes from gnome-terminal
> >> >
> >> > First of all I use gnome-terminal 2.8.2-2 because this is the version
> >> > included in sarge.
> >> >
> >> > Here are my tests:
> >> >
> >> > 1. I start gnome-terminal
> >> > * gnopernics crash has explained yesterday. (ko)
> >> >
> >> > 2. I open a xterm terminal; Now no gnopernicus (normal). I start yasr
> >> > to
> >> > have speech and then start Emacs.
> >> > * All is right;
> >> > * I close my xterm and gnopernicus run always fine. No problem (ok)
> >> >
> >> > Home this help.
> >> >
> >> > Daniel
> >> >
> >> >
> >> > ----- Original Message -----
> >> > From: "Daniel COTTO" <daniel cotto wanadoo fr>
> >> > To: "GnomeAccessibilityDevel" <gnome-accessibility-devel gnome org>
> >> > Sent: Tuesday, September 06, 2005 7:47 PM
> >> > Subject: Fw: [g-a-devel] Gnopernicus and textmode app, how avoiding
> >> > crash
> >> >
> >> >
> >> >> Excuse me I have forgotton to CC the list.
> >> >>
> >> >> ----- Original Message -----
> >> >> From: "Daniel COTTO" <daniel cotto wanadoo fr>
> >> >> To: "Samuel Thibault" <samuel thibault ens-lyon org>
> >> >> Sent: Tuesday, September 06, 2005 7:05 PM
> >> >> Subject: Re: [g-a-devel] Gnopernicus and textmode app, how avoiding
> >> >> crash
> >> >>
> >> >>
> >> >>> Hi,
> >> >>>
> >> >>> I have make no change from the debian default install, I have not
> >> >>> verified that a gnome-terminal automaticaly open when I start a
> >> >>> textmode
> >> >>> app. Pehaps it is the problem; I will try later this evening.
> >> >>>
> >> >>> Daniel
> >> >>>
> >> >>> ----- Original Message -----
> >> >>> From: "Samuel Thibault" <samuel thibault ens-lyon org>
> >> >>> To: "remus draica" <rd baum ro>
> >> >>> Cc: "Bill Haneman" <Bill Haneman Sun COM>;
> >> >>> <gnome-accessibility-devel gnome org>
> >> >>> Sent: Tuesday, September 06, 2005 12:37 PM
> >> >>> Subject: Re: [g-a-devel] Gnopernicus and textmode app, how avoiding
> >> >>> crash
> >> >>>
> >> >>>
> >> >>>> remus draica, le Tue 06 Sep 2005 13:35:07 +0300, a �it :
> >> >>>>> I'm trying to see if the problem is present when using
> >> >>>>> gnome-terminal.
> >> >>>>> It would be also interesting to see if the crash occurs when using
> >> >>>>> gnome-terminal (not an app stated in it).
> >> >>>>
> >> >>>> BTW, Daniel, which gnome-terminal do you use? The one from sarge I
> >> >>>> guess? (2.8.2-2)
> >> >>>>
> >> >>>> Regards,
> >> >>>> Samuel
> >> >>>> _______________________________________________
> >> >>>> Gnome-accessibility-devel mailing list
> >> >>>> Gnome-accessibility-devel gnome org
> >> >>>> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
> >> >>>>
> >> >>>
> >> >>> _______________________________________________
> >> >>> Gnome-accessibility-devel mailing list
> >> >>> Gnome-accessibility-devel gnome org
> >> >>> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
> >> >>>
> >> >>
> >> >>
> >> >> _______________________________________________
> >> >> Gnome-accessibility-devel mailing list
> >> >> Gnome-accessibility-devel gnome org
> >> >> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
> >> >>
> >> >
> >> >
> >>
> >>
> >> _______________________________________________
> >> Gnome-accessibility-devel mailing list
> >> Gnome-accessibility-devel gnome org
> >> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
> >
> >
Index: gnopernicus/srlow/libsrlow/SRLow.c
===================================================================
RCS file: /cvs/gnome/gnopernicus/srlow/libsrlow/SRLow.c,v
retrieving revision 1.125
diff -u -r1.125 SRLow.c
--- gnopernicus/srlow/libsrlow/SRLow.c 25 Jul 2005 14:21:54 -0000 1.125
+++ gnopernicus/srlow/libsrlow/SRLow.c 16 Sep 2005 07:54:59 -0000
@@ -2130,6 +2130,23 @@
{
static gboolean busy = FALSE;
SRLEvent *ev;
+
+ gchar *name, *role, *toolkit;
+
+ name = Accessible_getName (event->source),
+ role = Accessible_getRoleName (event->source);
+ toolkit = srl_acc_get_toolkit_name (event->source);
+ fprintf (stderr, "\nAT:%xp----\"%s\" "
+ "for %xp \"%s\" role \"%s\" "
+ "from \"%s\" with details %ld and %ld",
+ SRL_PTR (event), event->type, SRL_PTR (event->source),
+ SRL_STR (name), SRL_STR (role), SRL_STR (toolkit),
+ event->detail1, event->detail2);
+ SPI_freeString (name);
+ SPI_freeString (role);
+ SPI_freeString (toolkit);
+
+ return;
srl_assert (event && event->source);
srl_assert (srl_event_queue);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]