After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 153405 - Terminal crashes often while working with gnopernicus
Terminal crashes often while working with gnopernicus
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.11.x
Other Solaris
: Urgent critical
: ---
Assigned To: VTE Maintainers
VTE Maintainers
AP1 WS
: 150239 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-09-22 10:21 UTC by Chandrashekhar. Korlahalli
Modified: 2005-11-01 17:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (719 bytes, patch)
2004-10-18 07:59 UTC, padraig.obriain
accepted-commit_now Details | Review

Description Chandrashekhar. Korlahalli 2004-09-22 10:21:28 UTC
Installed Cinnabar_18 on intel HP P4 machine.

gnopernicus version is 0.9.10

1.Run Gnopernicus,enable accessibility,logout and login again.
2.Start gnopernicus, wait till you hear the speech output.
3.Open gnome terminal and keep using other applications normally.

Observation: After sometime speech stopped and terminal crashed.This happened 
frequently when I did a 'pstack' on a big core file.

Below is the pstack output of the core that we got after terminal crash
-------------------------------------------------------------------------
core 'core' of 1555:    /usr/lib/at-spi-registryd --oaf-activate-
iid=OAFIID:Accessibility_Regi
 d1c92e3c strlen   (d21f0ae7, 8046ef0, 80469e0, 0) + c
 d1cee5d5 vsnprintf (8046a2c, 1, d21f0ad0, 8046ef0, d27f0818, d1c60018) + 75
 d1f59c96 g_printf_string_upper_bound () + 1a

----> end of pstack output.
Comment 1 padraig.obriain 2004-09-23 07:20:12 UTC
There is not enough information here to evaluate.

Can you provide more precise intructions to reproduce the problem. The stack
trace provided is for at-spi-registryd and I do not think that it is related to
this problem. You can use coreadm to avoid overwriting core files.

This may be the same as bug #152645.
Comment 2 Chandrashekhar. Korlahalli 2004-09-27 10:53:39 UTC


Steps to Reproduce:
I tried the same again on an intel machine and found that it was crashing when 
I did a 'ls' and tried to move the vertical scroll bar. This happened twice.
Following is the stack trace which I found now

core 'core' of 1330:    /usr/bin/gnome-terminal
-----------------  lwp# 1 / thread# 1  --------------------
 d175276b memcpy   (8145fe8, 80be01c, 80be030, 80be044, 216, 8340c1d0) + db
-----------------  lwp# 2 / thread# 2  --------------------
 d17d2615 _read    (1c, ceffdf98, 14) + 15
 d1854710 child_watch_helper_thread (d12b8400) + 1e
 d17d1510 _lwp_start (d12b8400, 0, 0, d18af78c, 0, 1)
Comment 3 padraig.obriain 2004-09-27 12:48:58 UTC
I am unabel to reproduce this on Solaris Sparc.
Comment 4 John Crawley 2004-10-06 12:19:10 UTC
I believe that this is reproducible on Solaris x86 machines.
Comment 5 padraig.obriain 2004-10-18 07:56:03 UTC
Got stack trace below from attaching dbx to the process.

=>[1] _waitid(0x1f67, 0x8046198, 0x0, 0x0), at 0xd17e3035 
  [2] _waitpid(0x1f67, 0x8046198, 0x0), at 0xd1794563 
  [3] waitpid(0x1f67, 0x8046198, 0x0), at 0xd17d720a 
  [4] libgnomeui_segv_handle(0xb, 0x0, 0x8046258, 0xd265c7c2), at 0xd265c871 
  [5] call_user_handler(0xb, 0x0, 0x8046258), at 0xd17d7caf 
  [6] sigacthandler(), at 0xd17d7e3b 
  ---- called from signal handler with signal 11 (SIGSEGV) ------
  [7] _private_memcpy(0x813ea04, 0x80b6e08, 0x80b6e1c), at 0xd176278b 
  [8] vte_terminal_accessible_get_text(), at 0xd2726191 
(dbx)
Comment 6 padraig.obriain 2004-10-18 07:59:37 UTC
Created attachment 32717 [details] [review]
Proposed patch
Comment 7 padraig.obriain 2004-10-18 10:05:41 UTC
*** Bug 150239 has been marked as a duplicate of this bug. ***
Comment 8 Kjartan Maraas 2004-10-18 10:22:57 UTC
Please review. This fixes crashes for our a11y users.
Comment 9 Calum Benson 2004-10-21 16:45:39 UTC
Apologies for spam-- ensuring Sun a11y team are cc'ed on all current a11y bugs.
 Filter on "SUN A11Y SPAM" to ignore.
Comment 10 bill.haneman 2004-10-27 10:21:02 UTC
Padraig: where are the inverted start/end offsets coming from?  From gnopernicus?
Comment 11 padraig.obriain 2004-10-27 10:30:55 UTC
vte_text_get_offset was being called with a start_offset of 1 and an end_offset
of 0. I assume that the call originated in gnopernicus.
Comment 12 Kjartan Maraas 2005-09-30 19:31:46 UTC
Please commit.
Comment 13 bill.haneman 2005-11-01 17:22:08 UTC
Fixed in CVS.  Thanks Kjartan for reviewing!