Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 8th July 2011, 09:35 AM
ravindrapankaj Offline
Registered User
 
Join Date: Oct 2009
Posts: 46
linuxfedorafirefox
gnuplot freezes after first plot

i'm using 64-bit fedora 14 on my desktop. i was using gnuplot, but there was some power failure and my computer got shut down. now whenever i plot anything it freezes after first plot i have to force quit it
Reply With Quote
  #2  
Old 9th July 2011, 06:34 AM
ravindrapankaj Offline
Registered User
 
Join Date: Oct 2009
Posts: 46
linuxfedorafirefox
Re: gnuplot freezes after first plot

Quote:
Originally Posted by ravindrapankaj View Post
i'm using 64-bit fedora 14 on my desktop. i was using gnuplot, but there was some power failure and my computer got shut down. now whenever i plot anything it freezes after first plot i have to force quit it
this happens only for wxt terminal.
Reply With Quote
  #3  
Old 9th July 2011, 08:29 AM
RupertPupkin's Avatar
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 4,613
linuxfedorafirefox
Re: gnuplot freezes after first plot

If you had gnuplot open when the power failure occurred, then it's possible that one of the gnuplot files got corrupted. If you want to get an idea of where the problem is (and if you have strace installed), do this
Code:
strace -o gnuplot.debug gnuplot
After gnuplot dies or is closed, open the file gnuplot.debug in a text editor. You may be able to sift through the messages (especially near the end of the file) to see what's causing the freeze.

It's very likely that re-installing gnuplot would all fix this, so you could just try that.
__________________
OS: Fedora 18 x86_64 | CPU: AMD64 3700+ 2.2GHz | RAM: 2GB PC3200 DDR | Disk: 160GB PATA | Video: ATI Radeon 7500 AGP 64MB | Sound: Turtle Beach Santa Cruz CS4630 | Ethernet: Realtek 8110SC
Reply With Quote
  #4  
Old 9th July 2011, 09:58 AM
ravindrapankaj Offline
Registered User
 
Join Date: Oct 2009
Posts: 46
linuxfedorafirefox
Re: gnuplot freezes after first plot

Quote:
If you had gnuplot open when the power failure occurred, then it's possible that one of the gnuplot files got corrupted. If you want to get an idea of where the problem is (and if you have strace installed), do this
Code:
strace -o gnuplot.debug gnuplot
After gnuplot dies or is closed, open the file gnuplot.debug in a text editor. You may be able to sift through the messages (especially near the end of the file) to see what's causing the freeze.

It's very likely that re-installing gnuplot would all fix this, so you could just try that.
dear friend thanks for the reply. I have reinstalled gnuplot several time but the problem persists. i have run strace, i could not understand what is going wrong there. the end output is here

Quote:
Originally Posted by RupertPupkin View Post
execve("/usrrt_sigaction(SIGINT, {0x4e2250, [INT], SA_RESTORER|SA_RESTART, 0x37d0433140}, {0x462bc0, [INT], SA_RESTORER|SA_RESTART, 0x37d0433140}, 8) = 0
brk(0) = 0x24c6000
brk(0x2507000) = 0x2507000
brk(0) = 0x2507000
brk(0x258e000) = 0x258e000
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"6\30\2\0m\0@\t5\30\4\0\224\0@\t\3\0@\t\200\2\200 \0017\0\5\0\225\0@\t"..., 168}, {NULL, 0}, {"", 0}], 3) = 168
poll([{fd=5, events=POLLIN}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\2\372\2\0\0\0\0p\0@\t\0\0\0\0\0\0\0\0\0\0\0\0\ 0\0\0\0\0\0\0\0", 4096) = 32
read(5, 0x23ec264, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"\214\3\n\0\224\0@\t\225\0@\t\0\6@\0\0\0\0\0\0\1@ \0\0\0@\0\30\2\0\t"..., 244}, {NULL, 0}, {"", 0}], 3) = 244
poll([{fd=5, events=POLLIN}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\2\1\3\0\0\0\0p\0@\t\0\0\0\0\0\0\0\0\0\0\0\0\0\ 0\0\0\0\0\0\0", 4096) = 32
read(5, 0x23ec264, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x23ec264, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"\214\3\n\0\224\0@\t\225\0@\t\0\6@\0\0\0\0\0\0\1@ \0\0\0\300\0\30\2\0\t"..., 244}, {NULL, 0}, {"", 0}], 3) = 244
poll([{fd=5, events=POLLIN}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
read(5, "\1\2\10\3\0\0\0\0p\0@\t\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0", 4096) = 32
read(5, 0x23ec264, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x23ec264, 4096) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x2478a30, FUTEX_WAKE_PRIVATE, 1) = 1
write(4, "A", 1) = 1
futex(0x2478a30, FUTEX_WAKE_PRIVATE, 1) = 1
write(14, "\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 ", 24) = 24
rt_sigaction(SIGINT, {0x462bc0, [INT], SA_RESTORER|SA_RESTART, 0x37d0433140}, {0x4e2250, [INT], SA_RESTORER|SA_RESTART, 0x37d0433140}, 8) = 0
rt_sigaction(SIGINT, {0x4e2250, [INT], SA_RESTORER|SA_RESTART, 0x37d0433140}, {0x462bc0, [INT], SA_RESTORER|SA_RESTART, 0x37d0433140}, 8) = 0
write(4, "A", 1) = 1
rt_sigaction(SIGINT, {0x462bc0, [INT], SA_RESTORER|SA_RESTART, 0x37d0433140}, {0x4e2250, [INT], SA_RESTORER|SA_RESTART, 0x37d0433140}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
ioctl(0, TIOCGWINSZ, {ws_row=24, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, SNDRV_TIMER_IOCTL_STATUS or TIOCSWINSZ, {ws_row=24, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT QUIT ALRM TERM TSTP TTIN TTOU], [], 8) = 0
rt_sigaction(SIGINT, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, {0x462bc0, [INT], SA_RESTORER|SA_RESTART, 0x37d0433140}, 8) = 0
rt_sigaction(SIGTERM, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGQUIT, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGALRM, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGTSTP, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGTTOU, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGTTIN, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGWINCH, {0x37d7c27710, [], SA_RESTORER|SA_RESTART, 0x37d0c0eeb0}, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
write(1, "gnuplot> ", 9) = 9
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
select(14, [0 13], NULL, NULL, NULL) = 1 (in [13])
read(13, "\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 ", 24) = 24
select(14, [0 13], NULL, NULL, NULL) = 1 (in [0])
read(0, "\33", 1) = 1
select(14, [0 13], NULL, NULL, NULL) = 1 (in [0])
read(0, "[", 1) = 1
select(14, [0 13], NULL, NULL, NULL) = 1 (in [0])
read(0, "A", 1) = 1
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
write(1, "p sin(x)", 8) = 8
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
select(14, [0 13], NULL, NULL, NULL) = 1 (in [0])
read(0, "\33", 1) = 1
select(14, [0 13], NULL, NULL, NULL) = 1 (in [0])
read(0, "[", 1) = 1
select(14, [0 13], NULL, NULL, NULL) = 1 (in [0])
read(0, "B", 1) = 1
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
write(1, "\10\10\10\10\10\10\10\10\33[K", 11) = 11
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
select(14, [0 13], NULL, NULL, NULL) = 1 (in [0])
read(0, "q", 1) = 1
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
write(1, "q", 1) = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
select(14, [0 13], NULL, NULL, NULL) = 1 (in [0])
read(0, "\r", 1) = 1
write(1, "\n", 1) = 1
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {0x462bc0, [INT], SA_RESTORER|SA_RESTART, 0x37d0c0eeb0}, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGTSTP, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGTTOU, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGTTIN, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, {0x37d7c27830, [], SA_RESTORER, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGWINCH, {SIG_DFL, [], SA_RESTORER, 0x37d0c0eeb0}, {0x37d7c27710, [], SA_RESTORER|SA_RESTART, 0x37d0c0eeb0}, 8) = 0
rt_sigaction(SIGINT, {0x4e2250, [INT], SA_RESTORER|SA_RESTART, 0x37d0433140}, {0x462bc0, [INT], SA_RESTORER|SA_RESTART, 0x37d0c0eeb0}, 8) = 0
futex(0x2478a30, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
+++ killed by SIGKILL +++
Reply With Quote
  #5  
Old 9th July 2011, 11:02 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,298
linuxfedorafirefox
Re: gnuplot freezes after first plot

Ther is something broken or missing here ....
Quote:
execve("/usrrt_sigaction(SIGINT, {
you should have ...
execve("/usr[... lots of missing stuff]
rt_sigaction(SIGINT, {....

You should probably try
strace -f -o gnuplot.debug gnuplot

Look through the output for failed "open" calls and signal calls ... or post the whole thing.

Also delete
~/.gnuplot_history
and any other ~/.gnuplot* you find.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #6  
Old 9th July 2011, 11:49 AM
ravindrapankaj Offline
Registered User
 
Join Date: Oct 2009
Posts: 46
linuxfedorafirefox
Re: gnuplot freezes after first plot

sorry i did not post full output of the command . i have attached it here the output of strace -o gnuplot.debug gnuplot
Attached Files
File Type: tar gnuplot_debug.tar (280.0 KB, 20 views)
Reply With Quote
  #7  
Old 9th July 2011, 11:52 AM
ravindrapankaj Offline
Registered User
 
Join Date: Oct 2009
Posts: 46
linuxfedorafirefox
Re: gnuplot freezes after first plot

the output of strace -f -o gnuplot.debug gnuplot is in the file attached
Attached Files
File Type: tar gnuplot_Debug.tar (730.0 KB, 22 views)
Reply With Quote
  #8  
Old 9th July 2011, 11:59 AM
ravindrapankaj Offline
Registered User
 
Join Date: Oct 2009
Posts: 46
linuxfedorafirefox
Re: gnuplot freezes after first plot

Quote:
Originally Posted by ravindrapankaj View Post
the output of strace -f -o gnuplot.debug gnuplot is in the file attached
and output on the terminal was:
gnuplot> p sin(x)
gnuplot> PANIC: handle_group_exit: 4569 leader 4568
PANIC: handle_group_exit: 4570 leader 4568
Killed
Reply With Quote
Reply

Tags
freezes, gnuplot, plot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GNU Plot question joe.pelayo Programming & Packaging 2 9th December 2009 02:13 AM
Need Unix plot Dinesh Sharma Using Fedora 3 26th September 2009 05:02 AM
how to run plot digitizer eegala Using Fedora 0 14th June 2009 07:48 AM
installing plot digitizer eegala Installation and Live Media 0 12th June 2009 11:19 AM
The plot thickens glennzo Using Fedora 15 12th December 2008 01:51 AM


Current GMT-time: 03:06 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat