Package: lesstif2
Version: 1:0.95.2-1.1
Severity: important

Dear Maintainer,

Xmgrace still crashes when I press Esc on a local menu.
This bug must be related to old bug #356017, which is basically lesstif2's
bug, not xmgrace itself.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356017


System: Debian 7 (Wheezy stable) on x86-64 laptop.

Package versions from dpkg -l:

||/ Name             Version         Architecture    Description
+++-================-===============-===============-=================================================
ii  lesstif2:amd64   1:0.95.2-1.1    amd64           OSF/Motif 2.1
implementation released under LGPL
ii  grace            1:5.1.22-13     amd64           XY graphing and plotting
tool


How to reproduce the bug?
-------------------------

 * Open up xmgrace from terminal (to ease the debugging).
 * On the empty plot, double click--the "Set Appearance" dialog box will
   appear.
 * On the box captioned "Select set:", right-click the mouse; a local menu
   will appear.
 * Press Esc here, it will NOT crash.

 * Now create a new dataset:
   - On the empty plot, double click--the "Set Appearance" dialog box will
     appear.
   - On the box captioned "Select set:", right-click the mouse; a local menu
     will appear.
   - Click "Create New" -> "In Spreadsheet"
   - Put in a few data points and click "Accept"

   For your convenience I attached a sample that has one dataset
   (sample-crash.agr)--it will cause the crash when the action in the
   next point is invoked::

 * Now right click again on the box captioned "Select set:", then press Esc
   key.

The error message will appear on the terminal console:

    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)

On my system the gdb traceback is like this:

    (gdb) where
    #0  0x00007f5d89a8b475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
    #1  0x00007f5d89a8e6f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
    #2  0x00000000004173f6 in ?? ()
    #3  <signal handler called>
    #4  0x00007f5d8b8d7604 in _XmMenuEscape () from /usr/lib/x86_64-linux-
gnu/libXm.so.2
    #5  0x00007f5d8b3e348d in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
    #6  0x00007f5d8b3e38e1 in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
    #7  0x00007f5d8b3e467d in _XtTranslateEvent () from /usr/lib/x86_64-linux-
gnu/libXt.so.6
    #8  0x00007f5d8b3bcb1b in XtDispatchEventToWidget () from /usr/lib/x86_64
-linux-gnu/libXt.so.6
    #9  0x00007f5d8b3bd26e in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
    #10 0x00007f5d8b3bd334 in XtDispatchEvent () from /usr/lib/x86_64-linux-
gnu/libXt.so.6
    #11 0x00007f5d8b3c9049 in XtAppProcessEvent () from /usr/lib/x86_64-linux-
gnu/libXt.so.6
    #12 0x00007f5d8b3bd7ad in XtAppMainLoop () from /usr/lib/x86_64-linux-
gnu/libXt.so.6
    #13 0x000000000048c279 in ?? ()
    #14 0x000000000040a905 in ?? ()
    #15 0x00007f5d89a77ead in __libc_start_main () from /lib/x86_64-linux-
gnu/libc.so.6
    #16 0x000000000040bc05 in ?? ()
    #17 0x00007fffb49de6d8 in ?? ()
    #18 0x000000000000001c in ?? ()
    #19 0x0000000000000002 in ?? ()
    #20 0x00007fffb49df3a4 in ?? ()
    #21 0x00007fffb49df3ac in ?? ()
    #22 0x0000000000000000 in ?? ()
    (gdb)

and the location of crash in _XmMenuEscape is very much like what I
reported in

    https://bugs.launchpad.net/ubuntu/+source/lesstif2/+bug/124573 ,

which corresponds to Debian bug #356017:

    (gdb) disas 0x00007f5d8b8d7604
    ...
    ---Type <return> to continue, or q <return> to quit---
       0x00007f5d8b8d75da <+746>:       nopw   0x0(%rax,%rax,1)
       0x00007f5d8b8d75e0 <+752>:       movzbl 0x1d9(%rbp),%eax
       0x00007f5d8b8d75e7 <+759>:       jmp    0x7f5d8b8d75a8
<_XmMenuEscape+696>
       0x00007f5d8b8d75e9 <+761>:       nopl   0x0(%rax)
       0x00007f5d8b8d75f0 <+768>:       mov    0x148(%rbp),%rsi
       0x00007f5d8b8d75f7 <+775>:       lea    0xf(%rsp),%rcx
       0x00007f5d8b8d75fc <+780>:       mov    %rbx,%rdx
       0x00007f5d8b8d75ff <+783>:       mov    $0xd,%edi
       0x00007f5d8b8d7604 <+788>:       mov    0x10(%rsi),%rax
<<<<< LOCATION OF CRASH
       0x00007f5d8b8d7608 <+792>:       mov    0x8(%rax),%r8
       0x00007f5d8b8d760c <+796>:       xor    %eax,%eax
       0x00007f5d8b8d760e <+798>:       callq  *0x170(%r8)
       0x00007f5d8b8d7615 <+805>:       jmpq   0x7f5d8b8d73af
<_XmMenuEscape+191>
       0x00007f5d8b8d761a <+810>:       mov    0x10(%rbp),%rsi
       0x00007f5d8b8d761e <+814>:       jmpq   0x7f5d8b8d7524
<_XmMenuEscape+564>




-- System Information:
Debian Release: 7.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (50, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-0.bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lesstif2 depends on:
ii  libc6              2.13-38
ii  libfreetype6       2.4.9-1.1
ii  libice6            2:1.0.8-2
ii  libsm6             2:1.2.1-2
ii  libx11-6           2:1.5.0-1+deb7u1
ii  libxext6           2:1.3.1-2+deb7u1
ii  libxp6             1:1.0.1-2+deb7u1
ii  libxt6             1:1.1.3-1+deb7u1
ii  multiarch-support  2.13-38
ii  zlib1g             1:1.2.7.dfsg-13

lesstif2 recommends no packages.

lesstif2 suggests no packages.
# Grace project file
#
@version 50122
@page size 792, 612
@page scroll 5%
@page inout 5%
@link page off
@map font 8 to "Courier", "Courier"
@map font 10 to "Courier-Bold", "Courier-Bold"
@map font 11 to "Courier-BoldOblique", "Courier-BoldOblique"
@map font 9 to "Courier-Oblique", "Courier-Oblique"
@map font 4 to "Helvetica", "Helvetica"
@map font 6 to "Helvetica-Bold", "Helvetica-Bold"
@map font 7 to "Helvetica-BoldOblique", "Helvetica-BoldOblique"
@map font 5 to "Helvetica-Oblique", "Helvetica-Oblique"
@map font 14 to "NimbusMonoL-BoldOblique", "NimbusMonoL-BoldOblique"
@map font 15 to "NimbusMonoL-Regular", "NimbusMonoL-Regular"
@map font 16 to "NimbusMonoL-RegularOblique", "NimbusMonoL-RegularOblique"
@map font 17 to "NimbusRomanNo9L-Medium", "NimbusRomanNo9L-Medium"
@map font 18 to "NimbusRomanNo9L-MediumItalic", "NimbusRomanNo9L-MediumItalic"
@map font 19 to "NimbusRomanNo9L-Regular", "NimbusRomanNo9L-Regular"
@map font 20 to "NimbusRomanNo9L-RegularItalic", "NimbusRomanNo9L-RegularItalic"
@map font 21 to "NimbusSansL-Bold", "NimbusSansL-Bold"
@map font 22 to "NimbusSansL-BoldCondensed", "NimbusSansL-BoldCondensed"
@map font 23 to "NimbusSansL-BoldCondensedItalic", 
"NimbusSansL-BoldCondensedItalic"
@map font 24 to "NimbusSansL-BoldItalic", "NimbusSansL-BoldItalic"
@map font 25 to "NimbusSansL-Regular", "NimbusSansL-Regular"
@map font 26 to "NimbusSansL-RegularCondensed", "NimbusSansL-RegularCondensed"
@map font 27 to "NimbusSansL-RegularCondensedItalic", 
"NimbusSansL-RegularCondensedItalic"
@map font 28 to "NimbusSansL-RegularItalic", "NimbusSansL-RegularItalic"
@map font 29 to "StandardSymbolsL-Regular", "StandardSymbolsL-Regular"
@map font 12 to "Symbol", "Symbol"
@map font 31 to "Symbol-Regular", "Symbol-Regular"
@map font 2 to "Times-Bold", "Times-Bold"
@map font 3 to "Times-BoldItalic", "Times-BoldItalic"
@map font 1 to "Times-Italic", "Times-Italic"
@map font 0 to "Times-Roman", "Times-Roman"
@map font 36 to "URWBookmanL-DemiBold", "URWBookmanL-DemiBold"
@map font 37 to "URWBookmanL-DemiBoldItalic", "URWBookmanL-DemiBoldItalic"
@map font 38 to "URWBookmanL-Light", "URWBookmanL-Light"
@map font 39 to "URWBookmanL-LightItalic", "URWBookmanL-LightItalic"
@map font 40 to "URWChanceryL-MediumItalic", "URWChanceryL-MediumItalic"
@map font 41 to "URWGothicL-Book", "URWGothicL-Book"
@map font 42 to "URWGothicL-BookOblique", "URWGothicL-BookOblique"
@map font 43 to "URWGothicL-Demi", "URWGothicL-Demi"
@map font 44 to "URWGothicL-DemiOblique", "URWGothicL-DemiOblique"
@map font 45 to "URWPalladioL-Bold", "URWPalladioL-Bold"
@map font 46 to "URWPalladioL-BoldItalic", "URWPalladioL-BoldItalic"
@map font 47 to "URWPalladioL-Italic", "URWPalladioL-Italic"
@map font 48 to "URWPalladioL-Roman", "URWPalladioL-Roman"
@map font 13 to "ZapfDingbats", "ZapfDingbats"
@map color 0 to (255, 255, 255), "white"
@map color 1 to (0, 0, 0), "black"
@map color 2 to (255, 0, 0), "red"
@map color 3 to (0, 255, 0), "green"
@map color 4 to (0, 0, 255), "blue"
@map color 5 to (255, 255, 0), "yellow"
@map color 6 to (188, 143, 143), "brown"
@map color 7 to (220, 220, 220), "grey"
@map color 8 to (148, 0, 211), "violet"
@map color 9 to (0, 255, 255), "cyan"
@map color 10 to (255, 0, 255), "magenta"
@map color 11 to (255, 165, 0), "orange"
@map color 12 to (114, 33, 188), "indigo"
@map color 13 to (103, 7, 72), "maroon"
@map color 14 to (64, 224, 208), "turquoise"
@map color 15 to (0, 139, 0), "green4"
@reference date 0
@date wrap off
@date wrap year 1950
@default linewidth 1.0
@default linestyle 1
@default color 1
@default pattern 1
@default font 0
@default char size 1.000000
@default symbol size 1.000000
@default sformat "%.8g"
@background color 0
@page background fill on
@timestamp off
@timestamp 0.03, 0.03
@timestamp color 1
@timestamp rot 0
@timestamp font 0
@timestamp char size 1.000000
@timestamp def "Tue Nov  5 13:46:12 2013"
@r0 off
@link r0 to g0
@r0 type above
@r0 linestyle 1
@r0 linewidth 1.0
@r0 color 1
@r0 line 0, 0, 0, 0
@r1 off
@link r1 to g0
@r1 type above
@r1 linestyle 1
@r1 linewidth 1.0
@r1 color 1
@r1 line 0, 0, 0, 0
@r2 off
@link r2 to g0
@r2 type above
@r2 linestyle 1
@r2 linewidth 1.0
@r2 color 1
@r2 line 0, 0, 0, 0
@r3 off
@link r3 to g0
@r3 type above
@r3 linestyle 1
@r3 linewidth 1.0
@r3 color 1
@r3 line 0, 0, 0, 0
@r4 off
@link r4 to g0
@r4 type above
@r4 linestyle 1
@r4 linewidth 1.0
@r4 color 1
@r4 line 0, 0, 0, 0
@g0 on
@g0 hidden false
@g0 type XY
@g0 stacked false
@g0 bar hgap 0.000000
@g0 fixedpoint off
@g0 fixedpoint type 0
@g0 fixedpoint xy 0.000000, 0.000000
@g0 fixedpoint format general general
@g0 fixedpoint prec 6, 6
@with g0
@    world 1, 0, 5, 3
@    stack world 0, 0, 0, 0
@    znorm 1
@    view 0.150000, 0.150000, 1.150000, 0.850000
@    title ""
@    title font 0
@    title size 1.500000
@    title color 1
@    subtitle ""
@    subtitle font 0
@    subtitle size 1.000000
@    subtitle color 1
@    xaxes scale Normal
@    yaxes scale Normal
@    xaxes invert off
@    yaxes invert off
@    xaxis  on
@    xaxis  type zero false
@    xaxis  offset 0.000000 , 0.000000
@    xaxis  bar on
@    xaxis  bar color 1
@    xaxis  bar linestyle 1
@    xaxis  bar linewidth 1.0
@    xaxis  label ""
@    xaxis  label layout para
@    xaxis  label place auto
@    xaxis  label char size 1.000000
@    xaxis  label font 0
@    xaxis  label color 1
@    xaxis  label place normal
@    xaxis  tick on
@    xaxis  tick major 1
@    xaxis  tick minor ticks 1
@    xaxis  tick default 6
@    xaxis  tick place rounded true
@    xaxis  tick in
@    xaxis  tick major size 1.000000
@    xaxis  tick major color 1
@    xaxis  tick major linewidth 1.0
@    xaxis  tick major linestyle 1
@    xaxis  tick major grid off
@    xaxis  tick minor color 1
@    xaxis  tick minor linewidth 1.0
@    xaxis  tick minor linestyle 1
@    xaxis  tick minor grid off
@    xaxis  tick minor size 0.500000
@    xaxis  ticklabel on
@    xaxis  ticklabel format general
@    xaxis  ticklabel prec 5
@    xaxis  ticklabel formula ""
@    xaxis  ticklabel append ""
@    xaxis  ticklabel prepend ""
@    xaxis  ticklabel angle 0
@    xaxis  ticklabel skip 0
@    xaxis  ticklabel stagger 0
@    xaxis  ticklabel place normal
@    xaxis  ticklabel offset auto
@    xaxis  ticklabel offset 0.000000 , 0.010000
@    xaxis  ticklabel start type auto
@    xaxis  ticklabel start 0.000000
@    xaxis  ticklabel stop type auto
@    xaxis  ticklabel stop 0.000000
@    xaxis  ticklabel char size 1.000000
@    xaxis  ticklabel font 0
@    xaxis  ticklabel color 1
@    xaxis  tick place both
@    xaxis  tick spec type none
@    yaxis  on
@    yaxis  type zero false
@    yaxis  offset 0.000000 , 0.000000
@    yaxis  bar on
@    yaxis  bar color 1
@    yaxis  bar linestyle 1
@    yaxis  bar linewidth 1.0
@    yaxis  label ""
@    yaxis  label layout para
@    yaxis  label place auto
@    yaxis  label char size 1.000000
@    yaxis  label font 0
@    yaxis  label color 1
@    yaxis  label place normal
@    yaxis  tick on
@    yaxis  tick major 0.5
@    yaxis  tick minor ticks 1
@    yaxis  tick default 6
@    yaxis  tick place rounded true
@    yaxis  tick in
@    yaxis  tick major size 1.000000
@    yaxis  tick major color 1
@    yaxis  tick major linewidth 1.0
@    yaxis  tick major linestyle 1
@    yaxis  tick major grid off
@    yaxis  tick minor color 1
@    yaxis  tick minor linewidth 1.0
@    yaxis  tick minor linestyle 1
@    yaxis  tick minor grid off
@    yaxis  tick minor size 0.500000
@    yaxis  ticklabel on
@    yaxis  ticklabel format general
@    yaxis  ticklabel prec 5
@    yaxis  ticklabel formula ""
@    yaxis  ticklabel append ""
@    yaxis  ticklabel prepend ""
@    yaxis  ticklabel angle 0
@    yaxis  ticklabel skip 0
@    yaxis  ticklabel stagger 0
@    yaxis  ticklabel place normal
@    yaxis  ticklabel offset auto
@    yaxis  ticklabel offset 0.000000 , 0.010000
@    yaxis  ticklabel start type auto
@    yaxis  ticklabel start 0.000000
@    yaxis  ticklabel stop type auto
@    yaxis  ticklabel stop 0.000000
@    yaxis  ticklabel char size 1.000000
@    yaxis  ticklabel font 0
@    yaxis  ticklabel color 1
@    yaxis  tick place both
@    yaxis  tick spec type none
@    altxaxis  off
@    altyaxis  off
@    legend on
@    legend loctype view
@    legend 0.85, 0.8
@    legend box color 1
@    legend box pattern 1
@    legend box linewidth 1.0
@    legend box linestyle 1
@    legend box fill color 0
@    legend box fill pattern 1
@    legend font 0
@    legend char size 1.000000
@    legend color 1
@    legend length 4
@    legend vgap 1
@    legend hgap 1
@    legend invert false
@    frame type 0
@    frame linestyle 1
@    frame linewidth 1.0
@    frame color 1
@    frame pattern 1
@    frame background color 0
@    frame background pattern 0
@    s0 hidden false
@    s0 type xy
@    s0 symbol 0
@    s0 symbol size 1.000000
@    s0 symbol color 1
@    s0 symbol pattern 1
@    s0 symbol fill color 1
@    s0 symbol fill pattern 0
@    s0 symbol linewidth 1.0
@    s0 symbol linestyle 1
@    s0 symbol char 65
@    s0 symbol char font 0
@    s0 symbol skip 0
@    s0 line type 1
@    s0 line linestyle 1
@    s0 line linewidth 1.0
@    s0 line color 1
@    s0 line pattern 1
@    s0 baseline type 0
@    s0 baseline off
@    s0 dropline off
@    s0 fill type 0
@    s0 fill rule 0
@    s0 fill color 1
@    s0 fill pattern 1
@    s0 avalue off
@    s0 avalue type 2
@    s0 avalue char size 1.000000
@    s0 avalue font 0
@    s0 avalue color 1
@    s0 avalue rot 0
@    s0 avalue format general
@    s0 avalue prec 3
@    s0 avalue prepend ""
@    s0 avalue append ""
@    s0 avalue offset 0.000000 , 0.000000
@    s0 errorbar on
@    s0 errorbar place both
@    s0 errorbar color 1
@    s0 errorbar pattern 1
@    s0 errorbar size 1.000000
@    s0 errorbar linewidth 1.0
@    s0 errorbar linestyle 1
@    s0 errorbar riser linewidth 1.0
@    s0 errorbar riser linestyle 1
@    s0 errorbar riser clip off
@    s0 errorbar riser clip length 0.100000
@    s0 comment "Editor"
@    s0 legend  ""
@target G0.S0
@type xy
1 0
3 3
4 2
5 3
&

Reply via email to