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

[ns] [bug] xgraph crashes when output is to a file




[Bug Report]

-----------------------------
Category:  Other
Package:   other xgraph 12.1
OS:        Linux 2.2.14-5.0
Environment Variables:
LD_LIBRARY_PATH=/usr/lib-elf:/opt/RH5.2/lib:/usr/local/src/ns-allinone-2.1b8
/otcl-1.0a7:/usr/local/src/ns-allinone-2.1b8/lib
TCL_LIBRARY=/usr/local/src/ns-allinone-2.1b8/tcl8.3.2/library
TK_LIBRARY=


-----------------------------
Description:

Description of Problem:

xgraph crashes for all output types (ps, tgif,..)
when file output option is used. If output is saved to a file
from GUI, everything is fine.

How Easily Reproducible:
(e.g. every time, intermittent, once only, etc.)

every time

Steps to Reproduce:
(describe the minimal set of steps necessary to trigger the bug)
1. xgraph -device ps -o tmp.ps rcv.xgr
2.
3.


Actual Results:
(describe what the application did after performing the above steps)

Segmentation fault (core dumped)
tmp.ps has PS funtions, but no actual data

Expected Results:
(describe what the application should have done, were the bug not present)

Saved output in tmp.ps

Additional Information:
(e.g. URLs to your script, detailed output files, packet trace, etc. if they
are big files.)

Core was generated by `xgraph -device ps -o tmp.ps rcv.xgr'
0x40053e44 in XFlush () from /usr/X11R6/lib/libX11.so.6