bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

graph (2.4.1) gets SIGFPE on Alpha; -mieee fixes it


From: Mike Coleman
Subject: graph (2.4.1) gets SIGFPE on Alpha; -mieee fixes it
Date: Fri, 26 Apr 2002 01:15:07 GMT

Package: plotutils
Version: 2.4.1-7

On an alpha box, graph gets a SIGFPE on some input.  The data file used below
contains most of the whole numbers from 0 to 12000, one per line (some
missing).  I remade this package with the '-mieee' flag, and that seemed to
stop the SIGFPE.

--Mike




Current directory is /usr/local/src/plotutils-2.4.1/graph/.libs/
GNU gdb 5.0.90-cvs (MI_OUT)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha-linux"...
(gdb) run -a < /tmp/data
Starting program: /usr/local/src/plotutils-2.4.1/graph/.libs/graph -a < 
/tmp/data
#PLOT 1

Program received signal SIGFPE, Arithmetic exception.
set_graph_parameters (multigrapher=0x120025890, frame_line_width=-0.001, 
    frame_color=0x120012b6a "black", title=0x0, title_font_name=0x0, 
    title_font_size=0.070000000000000007, tick_size=0.02, 
    grid_spec=AXES_AND_BOX, x_min=0, x_max=8735, x_spacing=0, y_min=2, 
    y_max=10253, y_spacing=0, spec_x_spacing=false, spec_y_spacing=false, 
    width=0.59999999999999998, height=0.59999999999999998, 
    up=0.20000000000000001, right=0.20000000000000001, x_font_name=0x0, 
    x_font_size=0.052499999999999998, x_label=0x0, y_font_name=0x0, 
    y_font_size=0.052499999999999998, y_label=0x0, no_rotate_y_label=false, 
    log_axis=0, round_to_next_tick=3, switch_axis_end=0, omit_ticks=0, 
    clip_mode=1, blankout_fraction=1.3, transpose_axes=false) at plotter.c:1041
(gdb) bt
#0  set_graph_parameters (multigrapher=0x120025890, frame_line_width=-0.001, 
    frame_color=0x120012b6a "black", title=0x0, title_font_name=0x0, 
    title_font_size=0.070000000000000007, tick_size=0.02, 
    grid_spec=AXES_AND_BOX, x_min=0, x_max=8735, x_spacing=0, y_min=2, 
    y_max=10253, y_spacing=0, spec_x_spacing=false, spec_y_spacing=false, 
    width=0.59999999999999998, height=0.59999999999999998, 
    up=0.20000000000000001, right=0.20000000000000001, x_font_name=0x0, 
    x_font_size=0.052499999999999998, x_label=0x0, y_font_name=0x0, 
    y_font_size=0.052499999999999998, y_label=0x0, no_rotate_y_label=false, 
    log_axis=0, round_to_next_tick=3, switch_axis_end=0, omit_ticks=0, 
    clip_mode=1, blankout_fraction=1.3, transpose_axes=false) at plotter.c:1041
#1  0x1200047ec in main (argc=2, argv=0x11ffffbd8) at graph.c:1448
#2  0x2000062f00c in __libc_start_main () from /lib/libc.so.6.1
(gdb) 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]