xmgrace with LessTif crashes when Esc key is pressed on menu

Bug #124573 reported by Wirawan Purwanto
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lesstif
New
Unknown
lesstif2 (Debian)
Fix Released
Undecided
Unassigned
lesstif2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: lesstif2

I am using Ubuntu 7.04 . The LessTif package that I used was: lesstif2 version 0.94.4-2 . The xmgrace version was 5.1.20-1, although I could reproduce the same bug exactly with 5.1.21-1 also.

How to reproduce:

Try bringing up the xmgrace program, then play around with menu with keyboard. Say, press Alt+F , then Right or Left . The menu will be stuck (would not navigate anymore with keyboard). That's bug #1.

So, you are desperate, right? Try pressing Esc now. If it did not do anything, try it again. BOOOM! The program will crash and xmgrace will print the following in the stdout/stderr:

[quote]
Oops! Got SIGSYS

Please use "Help/Comments" to report the bug.
NB. This version of Grace was compiled with LessTif.
    Make sure to read the FAQ carefully prior to
    reporting the bug, ESPECIALLY is the problem might
    be related to the graphical interface.
Aborted (core dumped)
[/quote]

An easier way to reproduce the bug is this:
1. bring up xmgrace
2. press Alt+E
3. press Esc , and BOOM!!

I would note that I recompiled the same grace package with OpenMotif 2.3.0, and these problem disappear altogether. So, whose fault is this? I would say, but not definitely, LessTif.

Revision history for this message
Wirawan Purwanto (wirawan0) wrote :

This might give you a hint of what's the problem is:

The items listed on the menu bar are: File, Edit, Data, Plot, View, Window, and Help. The crash abovementioned happens when you press any of the Alt+key to access the menu items and Esc afterward, with the exception of Alt+F (File menu). I tried many times, and the program did not crash at all. So it may be something related to the internal representation of the menu list, or what.

Wirawan

Revision history for this message
Mayckol Morales (mayckol) wrote :

I could reproduce this bug in three different machine using Ubuntu 8.10 with Gnome and KDE as desktop environment and without desktop environment.

Changed in lesstif2:
status: New → Confirmed
Revision history for this message
Mayckol Morales (mayckol) wrote :

I can confirm this bug

I'm using Ubuntu 8.10, and i could reproduce this error in three different machines. With 32 and 64 bits kernels distributions.

I could reproduce the bug just like Wirawan Purwanto described.

Revision history for this message
Fabián Rodríguez (magicfab) wrote :

I can reproduce this in Intrepid too.

magicfab@magicfab-laptop:~$ xmgrace

Oops! Got SIGSYS

Please use "Help/Comments" to report the bug.
NB. This version of Grace was compiled with LessTif.
    Make sure to read the FAQ carefully prior to
    reporting the bug, ESPECIALLY is the problem might
    be related to the graphical interface.
Aborted

When I go to Help/Comments, i check the FAQ and found this:

Grace crashes with "Oops Got SIGSEV" (on GNU/Linux)
http://plasma-gate.weizmann.ac.il/Grace/doc/FAQ.html#ss5.3

I don't have time to investigate more, but that FAQ seems to have pointers.

Changed in lesstif2:
status: Confirmed → Incomplete
assignee: nobody → magicfab
Revision history for this message
Mayckol Morales (mayckol) wrote :

This is the output of the command "grace -v" on my machines is:
[quote]
Grace-5.1.22

GUI toolkit: @(#)GNU/LessTif Version 2.1 Release 0.95.0
Xbae version: 4007
T1lib: 5.1.2
FFT: FFTW
NetCDF support: on
libpng: 1.2.27
libjpeg: 62
Built: Thu Jul 24 08:04:03 2008 on Linux #1 SMP Thu Apr 10 13:15:38 UTC 2008 2.6.24-16-server x86_64
Compiler flags: cc -g -O2 -g -Wall -O2 -I.. -I. -I../Xbae -Wl,-Bsymbolic-functions -lXmHTML ../Xbae/Xbae/libXbae.a -lXm -lXpm -lXp -lXmu -lXt -lXext -lX11 -lSM -lICE ../cephes/libcephes.a -lnetcdf -lfftw3 -lm -lt1 -ljpeg -lpng -lz -lm -ldl

Registered devices:
Dummy PostScript EPS MIF SVG PNM JPEG PNG Metafile

(C) Copyright 1991-1995 Paul J Turner
(C) Copyright 1996-2008 Grace Development Team
[/quote]

There is a workaroud in:
http://ubuntuforums.org/showthread.php?t=494795&

Changed in lesstif2:
status: Unknown → New
Changed in lesstif:
importance: Undecided → Unknown
status: New → Unknown
Changed in lesstif:
status: Unknown → New
Revision history for this message
Paul Gevers (paul-climbing) wrote :

Possible patch (from upstreams tracker)

Beware, it just reverses an upstream patch from 4.5 years ago. May need some tweaking to still apply the old patch

Changed in lesstif2:
status: New → Confirmed
Revision history for this message
Paul Gevers (paul-climbing) wrote :

The bug has been fixed in Debian. You can watch bug 369383 for the progress on sync to Ubuntu.

Changed in lesstif2 (Ubuntu):
assignee: Fabián Rodríguez (magicfab) → nobody
status: Incomplete → In Progress
Revision history for this message
Paul Gevers (paul-climbing) wrote :

lesstif2 version 1:0.95.0-2.3 has entered karmic (Ubuntu 9.10) and fixed this bug.

Please reopen this bug if you think is it not fixed properly.

Changed in lesstif2 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Paul Gevers (paul-climbing) wrote :

Launchpad couldn't import bug #356017 from Debian Bug tracker.

I filled a bug against Launchpad [1] but I want to close the debian bug.

[1] https://bugs.launchpad.net/bugs/380362

Changed in lesstif2 (Debian):
importance: Unknown → Undecided
status: Confirmed → New
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.