[Fwd: Re: [g-a-devel] Gnopernicus and textmode app, how avoiding crash]



Same mail, but with attachments.

Remus


-----Forwarded Message-----
From: remus draica <rd baum ro>
To: Bill Haneman <bill haneman sun com>
Cc: Daniel COTTO <daniel cotto wanadoo fr>, GnomeAccessibilityDevel <gnome-accessibility-devel gnome org>
Subject: Re: [g-a-devel] Gnopernicus and textmode app, how avoiding crash
Date: Mon, 19 Sep 2005 13:15:26 +0300


Hi,

>From those logs, seems that the connection with X dies for some reasons.
Because at-spi is responsible with this, it is an at-spi bug. The patch
I sent to you (the one for gnopernicus) prevents gnopernicus to do
something. It only shows some information for every event.

Bill, what do you think about this bug? In the attachment are 2 files:
  1. patch- a patch for gnopernicus to display information for every
event received by gnopernicus. After displaying, the callback return
(the original gnopernicus code is not executed).
  2. gnopernicus.log - the output with this patch.

Daniel, thanks for your help.

Remus



On Fri, 2005-09-16 at 22:49, Daniel COTTO wrote:
> Hi,
> 
> I have made the folowwing test2 respectively with the original gnopernicus 
> and the patched gnopernicus.
> 
> 1. startx
> 2. call gnome-terminal
> 3. exit gnome-terminal
> 4. exit gnome.
> 
> When I use the patched gnopernicus, the braille terminal doesn't react at 
> all except displaying the welcome message. I have not tested the tts because 
> I usely doesn't use it.
> 
> I have attached a tar.bz2 containing:
> * gnopernicuslog --> test with the oirginal gnopernicus
> * gnopernicus2.log --> test with patched gnopernicus
> * my .xinit file
> 
> 
> 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: Friday, September 16, 2005 10:01 AM
> Subject: Re: [g-a-devel] Gnopernicus and textmode app, how avoiding crash
> 
> 
> >
> > 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
> >> >
> >> >
> > 
> 
> ______________________________________________________________________
> _______________________________________________
> Gnome-accessibility-devel mailing list
> Gnome-accessibility-devel gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
GTK Accessibility Module initialized
Bonobo accessibility support initialized

**********************
* SCREEN READER CORE *
**********************

Bonobo accessibility support initialized
GTK Accessibility Module initialized
BrlAPI detected a 40x1 display
no XFree86_VT property

** BRAILLE initialization succeded for BRLTTY device on port <NONE>.
   To see something you must have a Braille device connected to your computer.
   To change one or more settings use gnopernicus UI.

...........
AT:83a9c10p----"object:visible-data-changed" for 82f85f8p "ven 16 sep, 21:24" role "toggle button" from "GAIL" with details 0 and 0
AT:81233f0p----"object:property-change:accessible-name" for 83b1c68p "ven 16 sep, 21:24" role "toggle button" from "GAIL" with details 0 and 0
AT:83a9c10p----"object:visible-data-changed" for 82f85f8p "ven 16 sep, 21:24" role "toggle button" from "GAIL" with details 0 and 0
AT:83b07a8p----"object:property-change:accessible-name" for 8127030p "ven 16 sep, 21:24" role "toggle button" from "GAIL" with details 0 and 0
AT:83a9c10p----"object:visible-data-changed" for 82f85f8p "ven 16 sep, 21:24" role "toggle button" from "GAIL" with details 0 and 0
AT:83b07a8p----"object:property-change:accessible-name" for 83b44c0p "ven 16 sep, 21:24" role "toggle button" from "GAIL" with details 0 and 0
AT:83a9c10p----"object:visible-data-changed" for 82f85f8p "ven 16 sep, 21:24" role "toggle button" from "GAIL" with details 0 and 0
AT:83b07a8p----"object:property-change:accessible-name" for 8127030p "ven 16 sep, 21:24" role "toggle button" from "GAIL" with details 0 and 0
AT:83b07a8p----"object:visible-data-changed" for 83b1bd0p "ven 16 sep, 21:24" role "toggle button" from "GAIL" with details 0 and 0
AT:83b07a8p----"object:property-change:accessible-name" for 8127048p "ven 16 sep, 21:24" role "toggle button" from "GAIL" with details 0 and 0
AT:83a9c10p----"object:visible-data-changed" for 83b44c0p "ven 16 sep, 21:24" role "toggle button" from "GAIL" with details 0 and 0
AT:83a9c10p----"object:selection-changed" for 82f85f8p "" role "menu bar" from "GAIL" with details 0 and 0The application 'gnopernicus' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
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]