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 150239 - Gnopernicus crashes gnome-terminal
Gnopernicus crashes gnome-terminal
Status: RESOLVED DUPLICATE of bug 153405
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other Solaris
: High critical
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-08-16 09:43 UTC by David McCleary
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David McCleary 2004-08-16 09:43:53 UTC
Using Gnopernicus 0.9.8 and gnome-terminal 2.6.1. If you type ls -lrtFa.
Gnome-terminal will crash.  

The following is the result of a pstack on the core file

core 'core' of 7247:    /usr/bin/gnome-terminal
-----------------  lwp# 1 / thread# 1  --------------------
 d1782574 memcpy   (8141f98, 80ba10c, 80ba120, 80ba134, 5b8, 338001) +
14
-----------------  lwp# 2 / thread# 2  --------------------
 d1801c5c _read    (1c, d017df98, 14) + c
 d1884710 child_watch_helper_thread (d12e8400) + 1e
 d1800cb0 _lwp_start (d12e8400, 0, 0, d18df78c, 0, 1)

If gnopernicus is not running ls -lrtFa doesn't crash gnome-terminal
Comment 1 bill.haneman 2004-08-16 09:50:38 UTC
check bug 141194 to see if this might be a dup...
Comment 2 Dana Ormenisan 2004-08-16 10:10:58 UTC
I am not able to reproduce this bug on Linux, using Gnopernicus 0.9.8 and
gnome-terminal 2.6.1. Both applications (gnopernicus and gnome-terminal) keep
running after 'ls -lrtFa'.

(Why the summary of this bug is 'Gnopernicus crashes braille monitor'? I believe
it should be something like 'Gnopernicus crashes gnome-terminal'...)
Comment 3 Dana Ormenisan 2004-08-16 14:55:14 UTC
Anyway, I believe this is not a gnopernicus bug. The problem is in gnome-terminal.
Comment 4 padraig.obriain 2004-08-16 15:21:00 UTC
I agree that this is most likely a gnome-terminal bug. I will investigate.
Comment 5 David McCleary 2004-08-16 15:43:03 UTC
After further testing I have found that you have to have braille monitor running
to recreate this bug.
Comment 6 remus draica 2004-08-17 09:56:35 UTC
How are you starting gnopernicus? Is it started in background (gnopernicus &) in
_same_ _gnome-terminal_ (where you launched ls -lrtFa)? This may be relevant in
this case.

Please try to run gnopernicus with output redirected to a file (gnopernicus
2>log). Also try to start gnopernicus from a xterm. Is bug present in these cases?

Gnopernicus sends datas to braille monitor in a XML format using an udp
connection. For such kind of conection, packages may be lost. In this case, the
 SAX parser will emmit same warning messages .

ls -al... is a command which generates a lot of output. If a package is lost
then a warning will be displayed. This will generate some events which will be
also reported by gnopernicus. Again, warning messages may be generated byy
parser, and those will be also reported, and so on.

So, I suspect a "avalanche" of events, an event will generate output, the output
will generate other events, and so on.

This is _not_ gnopernicus bug. The crash is another process. Transfering to
gnome-terminal.

Comment 7 David McCleary 2004-08-17 10:34:54 UTC
It doesn't matter how I start gnopernicus the crash always occurs. Although if
you run gnopernicus from a gnome-terminal using gnopernicus & and run ls -lrtFa
from the same gnome-terminal you have to run the command again to get
gnome-terminal to crash.

If I run gnopernicus with the output directed to a log file (using
gnopernicus>log) the crash still occurs and it generates an empty log file. 

If I run xterm from a gnome-terminal (using xterm &) and launch gnopernicus from
the xterm using (gnopernicus &) and run ls-lrtFa from the xterm the crash will
not occur.  However if I run ls -lrtFa from the same gnome-terminal that I
lauched the xterm from gnome-terminal will crash.  If I use a new gnome-terminal
window to run ls -lrtFa sometimes gnome-terminal will crash.
Comment 8 padraig.obriain 2004-08-17 12:48:30 UTC
David has reproduced this on Solaris x86. I have tried to reproduce it on
Solaris sparc but have not seen a crash.

I have seen the following warning messages from brlmonitor:

(brlmonitor:4420): gnopernicus-CRITICAL **: file brlmonui.c: line 796: assertion
`pos >= FIRST_POSITION && pos < panel_size' failed

(brlmonitor:4420): gnopernicus-CRITICAL **: file brlmonui.c: line 796: assertion
`pos >= FIRST_POSITION && pos < panel_size' failed

(brlmonitor:4420): gnopernicus-CRITICAL **: file brlmonui.c: line 796: assertion
`pos >= FIRST_POSITION && pos < panel_size' failed

(brlmonitor:4420): gnopernicus-CRITICAL **: file brlmonui.c: line 796: assertion
`pos >= FIRST_POSITION && pos < panel_size' failed

(brlmonitor:4420): gnopernicus-CRITICAL **: file brlmonui.c: line 796: assertion
`pos >= FIRST_POSITION && pos < panel_size' failed

(brlmonitor:4420): gnopernicus-CRITICAL **: file brlmonui.c: line 796: assertion
`pos >= FIRST_POSITION && pos < panel_size' failed

(brlmonitor:4420): gnopernicus-CRITICAL **: file brlmonui.c: line 796: assertion
`pos >= FIRST_POSITION && pos < panel_size' failed

Comment 9 remus draica 2004-08-17 14:17:05 UTC
From Padraig comment, in some cases gnopernicus generates an output. The output
generates events. Gnopernicus reacts to them, and generates other output. This
is the main cause of this bug.
Comment 10 Kjartan Maraas 2004-09-04 07:19:21 UTC
Is this really worthy of Priority: Immediate?
Comment 11 bill.haneman 2004-09-06 14:28:34 UTC
not based on comment #5.
Comment 12 Narayana Pattipati 2004-10-18 09:02:08 UTC
Stack trace shows that this can be a duplicate of bug#153405. Padraig just gave
a patch to the other bug.
Comment 13 padraig.obriain 2004-10-18 10:05:39 UTC

*** This bug has been marked as a duplicate of 153405 ***