From: Peter J. <pet...@gm...> - 2011-03-23 11:48:28
|
Dear list, I've downloaded the latest gnuplot 4.5 CVS build from Tatsuro Matsuoka's site ( http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/ ). The console executable gnuplot.exe displays a strange behavior: instead on exiting, it hangs. If I start it from the console then type "exit", it doesn't return to the command line. Even worse, it also hangs when I invoke it as "gnuplot.exe -V". (That's how I noticed this: one of my applications that uses gnuplot checks for its presence and up-to-date-ness with gnuplot -V, and because of this, it appeared to hang on startup. And I spent a few confused minutes trying to debug my application before realizing that gnuplot's at fault.) Péter Juhász |
From: Bastian M. <bma...@we...> - 2011-03-23 13:39:38
|
Tatsuro Matsuoka also noticed that console gnuplot has problems executing plotstyles.gnu (creating files). I don't see any of those problems here on my system - but then again my build is without libgd, pango/cairo etc. and my computers are running XP and Vista. I cannot test his executables here since my virus scanner claims to find a trojan - but 41 scanners at virustotal.com disagree and don't find anything. Have you, by any chance, tested his previous version (18th March)? Bastian Am 23.03.2011 12:48, schrieb Peter Juhasz: > Dear list, > > I've downloaded the latest gnuplot 4.5 CVS build from Tatsuro > Matsuoka's site ( http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/ > ). > > The console executable gnuplot.exe displays a strange behavior: > instead on exiting, it hangs. > If I start it from the console then type "exit", it doesn't return to > the command line. > Even worse, it also hangs when I invoke it as "gnuplot.exe -V". > (That's how I noticed this: one of my applications that uses gnuplot > checks for its presence and up-to-date-ness with gnuplot -V, and > because of this, it appeared to hang on startup. And I spent a few > confused minutes trying to debug my application before realizing that > gnuplot's at fault.) > > Péter Juhász |
From: Juhász P. <pet...@gm...> - 2011-03-23 18:39:28
|
I didn't test with his previous build (I don't know where to get it). However, I did test the current (03/23) build on a Vista system and it didn't exhibit this problem (it exited normally). It starts slowly, though: there is a 5-10 second delay at startup. Péter Juhász On Wed, 2011-03-23 at 14:39 +0100, Bastian Märkisch wrote: > Tatsuro Matsuoka also noticed that console gnuplot has problems > executing plotstyles.gnu (creating files). I don't see any of those > problems here on my system - but then again my build is without libgd, > pango/cairo etc. and my computers are running XP and Vista. > > I cannot test his executables here since my virus scanner claims to find > a trojan - but 41 scanners at virustotal.com disagree and don't find > anything. > > Have you, by any chance, tested his previous version (18th March)? > > Bastian > > Am 23.03.2011 12:48, schrieb Peter Juhasz: > > Dear list, > > > > I've downloaded the latest gnuplot 4.5 CVS build from Tatsuro > > Matsuoka's site ( http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/ > > ). > > > > The console executable gnuplot.exe displays a strange behavior: > > instead on exiting, it hangs. > > If I start it from the console then type "exit", it doesn't return to > > the command line. > > Even worse, it also hangs when I invoke it as "gnuplot.exe -V". > > (That's how I noticed this: one of my applications that uses gnuplot > > checks for its presence and up-to-date-ness with gnuplot -V, and > > because of this, it appeared to hang on startup. And I spent a few > > confused minutes trying to debug my application before realizing that > > gnuplot's at fault.) > > > > Péter Juhász |
From: Ethan M. <merritt@u.washington.edu> - 2011-03-23 19:23:26
|
On Wednesday, March 23, 2011 11:37:09 am Juhász Péter wrote: > I didn't test with his previous build (I don't know where to get it). > > However, I did test the current (03/23) build on a Vista system and it > didn't exhibit this problem (it exited normally). It starts slowly, > though: there is a 5-10 second delay at startup. > > Péter Juhász For what it's worth, I can no longer run the current Windows build under linux+wine. gnuplot.exe hangs on entry, after printing gnuplot changed the codepage of this console to 437 to match the graph window. Some characters might only display correctly if you change the font to a non-raster type. I am dubious that setting the codepage to 437 is the right thing to do under linux+wine (earlier builds seemed happy to accept input from my UTF-8 environment), but I can't really test this because it is hung. wgnuplot.exe gives me a text window to type in, but if I try to plot anything it exits with an error message "This version of GLib requires NT-based Windows" This message comes from libglib-2.0-0.dll Ethan > On Wed, 2011-03-23 at 14:39 +0100, Bastian Märkisch wrote: > > Tatsuro Matsuoka also noticed that console gnuplot has problems > > executing plotstyles.gnu (creating files). I don't see any of those > > problems here on my system - but then again my build is without libgd, > > pango/cairo etc. and my computers are running XP and Vista. > > > > I cannot test his executables here since my virus scanner claims to find > > a trojan - but 41 scanners at virustotal.com disagree and don't find > > anything. > > > > Have you, by any chance, tested his previous version (18th March)? > > > > Bastian > > > > Am 23.03.2011 12:48, schrieb Peter Juhasz: > > > Dear list, > > > > > > I've downloaded the latest gnuplot 4.5 CVS build from Tatsuro > > > Matsuoka's site ( http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/ > > > ). > > > > > > The console executable gnuplot.exe displays a strange behavior: > > > instead on exiting, it hangs. > > > If I start it from the console then type "exit", it doesn't return to > > > the command line. > > > Even worse, it also hangs when I invoke it as "gnuplot.exe -V". > > > (That's how I noticed this: one of my applications that uses gnuplot > > > checks for its presence and up-to-date-ness with gnuplot -V, and > > > because of this, it appeared to hang on startup. And I spent a few > > > confused minutes trying to debug my application before realizing that > > > gnuplot's at fault.) > > > > > > Péter Juhász > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt Biomolecular Structure Center, K-428 Health Sciences Bldg University of Washington, Seattle 98195-7742 |
From: Juhász P. <pet...@gm...> - 2011-03-23 20:14:14
|
On Wed, 2011-03-23 at 12:22 -0700, Ethan Merritt wrote: > On Wednesday, March 23, 2011 11:37:09 am Juhász Péter wrote: > > I didn't test with his previous build (I don't know where to get it). > > > > However, I did test the current (03/23) build on a Vista system and it > > didn't exhibit this problem (it exited normally). It starts slowly, > > though: there is a 5-10 second delay at startup. > > > > Péter Juhász > > For what it's worth, I can no longer run the current Windows build > under linux+wine. > > gnuplot.exe hangs on entry, after printing > gnuplot changed the codepage of this console to 437 to match > the graph window. Some characters might only display correctly > if you change the font to a non-raster type. > I am dubious that setting the codepage to 437 is the right thing > to do under linux+wine (earlier builds seemed happy to accept > input from my UTF-8 environment), but I can't really test this > because it is hung. > > wgnuplot.exe gives me a text window to type in, but if I try to plot > anything it exits with an error message > "This version of GLib requires NT-based Windows" > This message comes from libglib-2.0-0.dll > > Ethan To add a further data point: gnuplot.exe with linux+wine prints the gnuplot> prompt for me, and allows to type in one command, but hangs after that. I don't know if this is the same as you get. wgnuplot.exe works (plotting is possible with wxt and windows terminals, very little delay on startup and clean exit). Péter Juhász |
From: Tatsuro M. <tma...@ya...> - 2011-03-24 00:23:30
|
Hello Confirmed. Thank you for your report. I have re-made windows binaries using the source at 2011-03-17 as a temporal treatment. I will see what is wrong for gnuplot.exe with the changes on 2011-03-18. Regards Tatsuro --- Peter Juhasz wrote: > Dear list, > > I've downloaded the latest gnuplot 4.5 CVS build from Tatsuro > Matsuoka's site ( http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/ > ). > > The console executable gnuplot.exe displays a strange behavior: > instead on exiting, it hangs. > If I start it from the console then type "exit", it doesn't return to > the command line. > Even worse, it also hangs when I invoke it as "gnuplot.exe -V". > (That's how I noticed this: one of my applications that uses gnuplot > checks for its presence and up-to-date-ness with gnuplot -V, and > because of this, it appeared to hang on startup. And I spent a few > confused minutes trying to debug my application before realizing that > gnuplot's at fault.) > > P将アter Juh将。sz > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
From: Ethan A M. <sf...@us...> - 2011-03-24 00:32:08
|
On Wednesday, March 23, 2011 01:14:05 pm Juhász Péter wrote: > On Wed, 2011-03-23 at 12:22 -0700, Ethan Merritt wrote: > > On Wednesday, March 23, 2011 11:37:09 am Juhász Péter wrote: > > > I didn't test with his previous build (I don't know where to get it). > > > > > > However, I did test the current (03/23) build on a Vista system and it > > > didn't exhibit this problem (it exited normally). It starts slowly, > > > though: there is a 5-10 second delay at startup. > > > > > > Péter Juhász > > > > For what it's worth, I can no longer run the current Windows build > > under linux+wine. > > > > gnuplot.exe hangs on entry, after printing > > gnuplot changed the codepage of this console to 437 to match > > the graph window. Some characters might only display correctly > > if you change the font to a non-raster type. > > I am dubious that setting the codepage to 437 is the right thing > > to do under linux+wine (earlier builds seemed happy to accept > > input from my UTF-8 environment), but I can't really test this > > because it is hung. > > > > wgnuplot.exe gives me a text window to type in, but if I try to plot > > anything it exits with an error message > > "This version of GLib requires NT-based Windows" > > This message comes from libglib-2.0-0.dll > > > > Ethan > > To add a further data point: > > gnuplot.exe with linux+wine prints the gnuplot> prompt for me, and > allows to type in one command, but hangs after that. I don't know if > this is the same as you get. Yes. Same thing. It does accept and executes commands in non-interactive mode, e.g. wine gnuplot.exe -e "plot sin(x)" -persist > wgnuplot.exe works (plotting is possible with wxt and windows terminals, > very little delay on startup and clean exit). Now works for me also, using a different installation of wine. |
From: Bastian M. <bma...@we...> - 2011-03-24 19:22:25
|
Now that Tatsuro has provided a built of the CVS state as of March 17th, could somebody please confirm that the problems go away with that version? As I can't reproduce anything here, it's like fishing in murky waters... As the codepage switching is the only thing that specifically changed the behaviour of the console, I am going to remove that from CVS again. On Wednesday, March 23, 2011 01:14:05 pm Juhász Péter wrote: >> On Wed, 2011-03-23 at 12:22 -0700, Ethan Merritt wrote: >> > On Wednesday, March 23, 2011 11:37:09 am Juhász Péter wrote: >> > > I didn't test with his previous build (I don't know where to get it). >> > > >> > > However, I did test the current (03/23) build on a Vista system and it >> > > didn't exhibit this problem (it exited normally). It starts slowly, >> > > though: there is a 5-10 second delay at startup. This slow start up may be related to the windows help system or fontconfig. Does it also start slowly if you try to start it a second time? Bastian |
From: Ethan A M. <sf...@us...> - 2011-03-24 19:51:50
|
"Bastian Märkisch" <bma...@we...> wrote> > Now that Tatsuro has provided a built of the CVS state as of March 17th, > could somebody please confirm that the problems go away with > that version? As I can't reproduce anything here, it's like fishing in > murky waters... The executable in gp45-winbin.zip downloaded from http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/ on 24 March still contains the codepage-switching and still hangs after the first carriage return on input. So I don't think the executable that I found is the one from 17 March that Tatsuro refers to. It would be helpful if the windows build script would do something equivalent to head -1 ChangeLog | sed 's/ .*$//' > PATCHLEVEL So that the date of the most recent entry in ChangeLog appears in "show version". I have that in my build script for linux, but I don't know if that command works on windows. Ethan |
From: Juhász P. <pet...@gm...> - 2011-03-24 20:36:35
|
On Thu, 2011-03-24 at 20:22 +0100, =?UTF-8?Q? Bastian_M=C3=A4rkisch ?= wrote: > Now that Tatsuro has provided a built of the CVS state as of March 17th, > could somebody please confirm that the problems go away with > that version? As I can't reproduce anything here, it's like fishing in > murky waters... > > As the codepage switching is the only thing that specifically changed > the behaviour of the console, I am going to remove that from CVS > again. > - Windows Vista: gnuplot.exe starts with a delay (always, not just the first time), but then it executes commands and exits normally. - Linux + wine: gnuplot.exe starts with a slight delay (less than one second, but noticeable), it accepts one command then hangs. Non-interactive mode works (e.g. wine gnuplot.exe 'plot x' or wine gnuplot.exe -V) - Windows 7: This is where it gets interesting! If I start gnuplot.exe interactively, plot something, then exit, then it exits normally. However, if I don't plot anything, just do "sh var" or "exit", it hangs! Non-interactively, 'gnuplot.exe -e "plot x"' works and exits but 'gnuplot -V' doesn't. This is all with Tatsuro's latest binary package which does have 2011/03/17 as its last Changelog entry. > On Wednesday, March 23, 2011 01:14:05 pm Juhász Péter wrote: > >> On Wed, 2011-03-23 at 12:22 -0700, Ethan Merritt wrote: > >> > On Wednesday, March 23, 2011 11:37:09 am Juhász Péter wrote: > >> > > I didn't test with his previous build (I don't know where to get it). > >> > > > >> > > However, I did test the current (03/23) build on a Vista system and it > >> > > didn't exhibit this problem (it exited normally). It starts slowly, > >> > > though: there is a 5-10 second delay at startup. > > This slow start up may be related to the windows help system or fontconfig. > Does it also start slowly if you try to start it a second time? > Yes, there is a delay at every startup. > Bastian > Péter Juhász |
From: Petr M. <mi...@ph...> - 2011-03-25 09:06:49
|
> - Linux + wine: > gnuplot.exe starts with a slight delay (less than one second, but > noticeable), it accepts one command then hangs. > Non-interactive mode works (e.g. wine gnuplot.exe 'plot x' or wine > gnuplot.exe -V) You have to run gnuplot.exe through "wineconsole" instead of "wine", see http://old.nabble.com/gnuplot.exe-in-wine-td29878883.html The "wineconsole cmd" is much more DOS box-like environment than "wine cmd" in an xterm. (Oh yes, it has taken me a long time to figure this out.) Petr |
From: Juhász P. <pet...@gm...> - 2011-03-24 20:45:23
|
On Thu, 2011-03-24 at 12:50 -0700, Ethan A Merritt wrote: > "Bastian Märkisch" <bma...@we...> wrote> > > > Now that Tatsuro has provided a built of the CVS state as of March 17th, > > could somebody please confirm that the problems go away with > > that version? As I can't reproduce anything here, it's like fishing in > > murky waters... > > The executable in gp45-winbin.zip downloaded from > http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/ > on 24 March still contains the codepage-switching and still > hangs after the first carriage return on input. > > So I don't think the executable that I found is the one from 17 March > that Tatsuro refers to. > > It would be helpful if the windows build script would do something > equivalent to > head -1 ChangeLog | sed 's/ .*$//' > PATCHLEVEL > > So that the date of the most recent entry in ChangeLog appears > in "show version". I have that in my build script for linux, > but I don't know if that command works on windows. > > Ethan I think the build script should write the date of the last Changelog entry right into gnuplot_date[] in version.c, regardless of the platform. (It still says "September 2010", by the way...) Péter Juhász |
From: Tatsuro M. <tma...@ya...> - 2011-03-24 23:19:33
|
Hello I have tested cvs binaries for windows provided by Prof. Kakuto http://www.ring.gr.jp/pub/text/TeX/ptex-win32/w32/ gnuplot-45pl0w32.zip The binaries are built by the MSVC complier. The latest ChangeLog date is 2011-03-22. Using this binary, exit problem seems not to occur for gnuplot.exe. At the moment, I do not find the reason why the difference occur between mine and Kakuto's binaries. Regards Tatsuro |
From: Bastian M. <bma...@we...> - 2011-03-25 19:00:24
|
Hello, To exclude build problems with MinGW, I have done and uploaded a build of the current CVS version to http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip It is built with a fresh install of current MinGW and current stable releases of wxWidgets/cairo/pango. It's not a full release build, though, as most of the support files and the lua and gd terminals are missing. Also, plotstyles.gnu will fail with this version since libgd is missing. gnuplot-switch.exe is compiled with -DCONSOLE_SWITCH_CP, gnuplot.exe without. Again, on my XP system, I see none of the behaviour described earlier: immediate startup and exit and console gnuplot (both versions) works as expected (started with msys, cmd, "-V", w/ and without plots ...). I will try later on with Vista. On thing, though: closing gnuplot*.exe via the "close"-button of the console seems to cause it to hang or crash. That is not the case for Tatsuro Matsuoka's build. Bastian Am 25.03.2011 00:19, schrieb Tatsuro MATSUOKA: > Hello > > I have tested cvs binaries for windows provided by Prof. Kakuto > > http://www.ring.gr.jp/pub/text/TeX/ptex-win32/w32/ > gnuplot-45pl0w32.zip > > The binaries are built by the MSVC complier. The latest ChangeLog date is 2011-03-22. > Using this binary, exit problem seems not to occur for gnuplot.exe. > > At the moment, I do not find the reason why the difference occur between mine and Kakuto's binaries. > > Regards > > Tatsuro > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
From: Tatsuro M. <tma...@ya...> - 2011-03-27 22:46:25
|
Hello I have built the binaries with the cvs source on 2011-03-26 on my win 7 PC. (Windows 7 64 bit Home Premium sp1.) ../src/gnuplot.exe -e "winhelp=1" ../docs/plotstyles.gnu set output out . 'figure_lines' . ext ^ cannot open file; output not changed "../docs/plotstyles.gnu", line 21: util.c: No such file or directory make hangs at this stage. As pointed out by Juh将。sz P将アter, If I start gnuplot.exe interactively, plot something, then exit, then it exits normally. However, if I don't plot anything, just do "sh var" or "exit", it hangs! I have tested http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip The situation is the same as that I have built today. The gnuplot.exe and gnuplot-switch.exe caused the same behaviors. Hmmm? Thus codepage modification is not origin of exit fail on win 7 64 bit. Regards Tatsuro --- Bastian M将」rkisch wrote: > Hello, > > To exclude build problems with MinGW, I have done and uploaded a build > of the current CVS version to > http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip > > > It is built with a fresh install of current MinGW and current stable > releases of wxWidgets/cairo/pango. It's not a full release build, > though, as most of the support files and the lua and gd terminals are > missing. Also, plotstyles.gnu will fail with this version since libgd is > missing. gnuplot-switch.exe is compiled with -DCONSOLE_SWITCH_CP, > gnuplot.exe without. > > Again, on my XP system, I see none of the behaviour described earlier: > immediate startup and exit and console gnuplot (both versions) works as > expected (started with msys, cmd, "-V", w/ and without plots ...). I > will try later on with Vista. > > On thing, though: closing gnuplot*.exe via the "close"-button of the > console seems to cause it to hang or crash. That is not the case for > Tatsuro Matsuoka's build. > > Bastian > > > Am 25.03.2011 00:19, schrieb Tatsuro MATSUOKA: > > Hello > > > > I have tested cvs binaries for windows provided by Prof. Kakuto > > > > http://www.ring.gr.jp/pub/text/TeX/ptex-win32/w32/ > > gnuplot-45pl0w32.zip > > > > The binaries are built by the MSVC complier. The latest ChangeLog date is 2011-03-22. > > Using this binary, exit problem seems not to occur for gnuplot.exe. > > > > At the moment, I do not find the reason why the difference occur between mine and Kakuto's > binaries. > > > > Regards > > > > Tatsuro > > > > ------------------------------------------------------------------------------ > > Enable your software for Intel(R) Active Management Technology to meet the > > growing manageability and security demands of your customers. Businesses > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > > _______________________________________________ > > gnuplot-beta mailing list > > gnu...@li... > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
From: Tatsuro M. <tma...@ya...> - 2011-03-27 22:58:35
|
Hello The exit fail also occurred at windows 7 starter 32 bit. (netbook) Thus this problem seem to be specific windows 7. I do not have any idea on this fail. Regards Tatsuro --- Tatsuro MATSUOKA wrote: > Hello > > > I have built the binaries with the cvs source on 2011-03-26 on my win 7 PC. > (Windows 7 64 bit Home Premium sp1.) > > ../src/gnuplot.exe -e "winhelp=1" ../docs/plotstyles.gnu > > set output out . 'figure_lines' . ext > ^ > cannot open file; output not changed > "../docs/plotstyles.gnu", line 21: util.c: No such file or directory > > make hangs at this stage. > > As pointed out by Juh将。sz P将アter, > If I start gnuplot.exe interactively, plot something, then exit, then it > exits normally. However, if I don't plot anything, just do "sh var" or > "exit", it hangs! > > I have tested > http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip > > The situation is the same as that I have built today. > The gnuplot.exe and gnuplot-switch.exe caused the same behaviors. > > > Hmmm? Thus codepage modification is not origin of exit fail on win 7 64 bit. > > Regards > > Tatsuro > --- Bastian M将」rkisch wrote: > > > Hello, > > > > To exclude build problems with MinGW, I have done and uploaded a build > > of the current CVS version to > > http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip > > > > > > It is built with a fresh install of current MinGW and current stable > > releases of wxWidgets/cairo/pango. It's not a full release build, > > though, as most of the support files and the lua and gd terminals are > > missing. Also, plotstyles.gnu will fail with this version since libgd is > > missing. gnuplot-switch.exe is compiled with -DCONSOLE_SWITCH_CP, > > gnuplot.exe without. > > > > Again, on my XP system, I see none of the behaviour described earlier: > > immediate startup and exit and console gnuplot (both versions) works as > > expected (started with msys, cmd, "-V", w/ and without plots ...). I > > will try later on with Vista. > > > > On thing, though: closing gnuplot*.exe via the "close"-button of the > > console seems to cause it to hang or crash. That is not the case for > > Tatsuro Matsuoka's build. > > > > Bastian > > > > > > Am 25.03.2011 00:19, schrieb Tatsuro MATSUOKA: > > > Hello > > > > > > I have tested cvs binaries for windows provided by Prof. Kakuto > > > > > > http://www.ring.gr.jp/pub/text/TeX/ptex-win32/w32/ > > > gnuplot-45pl0w32.zip > > > > > > The binaries are built by the MSVC complier. The latest ChangeLog date is 2011-03-22. > > > Using this binary, exit problem seems not to occur for gnuplot.exe. > > > > > > At the moment, I do not find the reason why the difference occur between mine and Kakuto's > > binaries. > > > > > > Regards > > > > > > Tatsuro > > > > > > ------------------------------------------------------------------------------ > > > Enable your software for Intel(R) Active Management Technology to meet the > > > growing manageability and security demands of your customers. Businesses > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > _______________________________________________ > > > gnuplot-beta mailing list > > > gnu...@li... > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > ------------------------------------------------------------------------------ > > Enable your software for Intel(R) Active Management Technology to meet the > > growing manageability and security demands of your customers. Businesses > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > > _______________________________________________ > > gnuplot-beta mailing list > > gnu...@li... > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
From: Tatsuro M. <tma...@ya...> - 2011-03-28 06:07:36
|
Hello When I have checked out by cvs update -D '2011-03-21' 2011-03-20 Bastian Maerkisch <bma...@we...> * src/win/wmenu.c (LoadMacros), src/win/wgnuplot.mnu ([Button]): Add icons to the text-window toolbar. * docs/windows/doc2html.c (process_line): Don't include '=' items in index. This avoids duplicate entries which caused wgnuplot to stall when an e.g. 'set term png; help "png"' was issued. the above were included and no error happened on windows 7. When I have checked out by cvs update -D '2011-03-22' 2011-03-20 Ethan A Merritt <merritt@u.washington.edu> * src/util.c (equals): Test here for token index in range, rather than trusting all callers to get it right. * src/command.c src/parse.c: Token index range test is now redundant. * docs/gnuplot.doc: Document that ^D from an empty line acts as EOF. the above were included and caused error on windows 7. I will see in more details. Regards Tatsuro --- Tatsuro MATSUOKA wrote: > Hello > > The exit fail also occurred at windows 7 starter 32 bit. (netbook) > Thus this problem seem to be specific windows 7. > > I do not have any idea on this fail. > > Regards > > Tatsuro > > > --- Tatsuro MATSUOKA wrote: > > > Hello > > > > > > I have built the binaries with the cvs source on 2011-03-26 on my win 7 PC. > > (Windows 7 64 bit Home Premium sp1.) > > > > ../src/gnuplot.exe -e "winhelp=1" ../docs/plotstyles.gnu > > > > set output out . 'figure_lines' . ext > > ^ > > cannot open file; output not changed > > "../docs/plotstyles.gnu", line 21: util.c: No such file or directory > > > > make hangs at this stage. > > > > As pointed out by Juh将。sz P将アter, > > If I start gnuplot.exe interactively, plot something, then exit, then it > > exits normally. However, if I don't plot anything, just do "sh var" or > > "exit", it hangs! > > > > I have tested > > http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip > > > > The situation is the same as that I have built today. > > The gnuplot.exe and gnuplot-switch.exe caused the same behaviors. > > > > > > Hmmm? Thus codepage modification is not origin of exit fail on win 7 64 bit. > > > > Regards > > > > Tatsuro > > --- Bastian M将」rkisch wrote: > > > > > Hello, > > > > > > To exclude build problems with MinGW, I have done and uploaded a build > > > of the current CVS version to > > > http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip > > > > > > > > > It is built with a fresh install of current MinGW and current stable > > > releases of wxWidgets/cairo/pango. It's not a full release build, > > > though, as most of the support files and the lua and gd terminals are > > > missing. Also, plotstyles.gnu will fail with this version since libgd is > > > missing. gnuplot-switch.exe is compiled with -DCONSOLE_SWITCH_CP, > > > gnuplot.exe without. > > > > > > Again, on my XP system, I see none of the behaviour described earlier: > > > immediate startup and exit and console gnuplot (both versions) works as > > > expected (started with msys, cmd, "-V", w/ and without plots ...). I > > > will try later on with Vista. > > > > > > On thing, though: closing gnuplot*.exe via the "close"-button of the > > > console seems to cause it to hang or crash. That is not the case for > > > Tatsuro Matsuoka's build. > > > > > > Bastian > > > > > > > > > Am 25.03.2011 00:19, schrieb Tatsuro MATSUOKA: > > > > Hello > > > > > > > > I have tested cvs binaries for windows provided by Prof. Kakuto > > > > > > > > http://www.ring.gr.jp/pub/text/TeX/ptex-win32/w32/ > > > > gnuplot-45pl0w32.zip > > > > > > > > The binaries are built by the MSVC complier. The latest ChangeLog date is 2011-03-22. > > > > Using this binary, exit problem seems not to occur for gnuplot.exe. > > > > > > > > At the moment, I do not find the reason why the difference occur between mine and Kakuto's > > > binaries. > > > > > > > > Regards > > > > > > > > Tatsuro > > > > > > > > ------------------------------------------------------------------------------ > > > > Enable your software for Intel(R) Active Management Technology to meet the > > > > growing manageability and security demands of your customers. Businesses > > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > > _______________________________________________ > > > > gnuplot-beta mailing list > > > > gnu...@li... > > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > > ------------------------------------------------------------------------------ > > > Enable your software for Intel(R) Active Management Technology to meet the > > > growing manageability and security demands of your customers. Businesses > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > _______________________________________________ > > > gnuplot-beta mailing list > > > gnu...@li... > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > > > > > ------------------------------------------------------------------------------ > > Enable your software for Intel(R) Active Management Technology to meet the > > growing manageability and security demands of your customers. Businesses > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > > _______________________________________________ > > gnuplot-beta mailing list > > gnu...@li... > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > |
From: Tatsuro M. <tma...@ya...> - 2011-03-28 06:50:16
|
Hello Hmmmm I cannot figure out what is happening I have checked out the source by cvs update -D '2011-03-22' and I have copied the src/util.c, src/command.c and src/parse.c before change from the cvs repository. I have tried to build. The build error occur and exit command make failure on gnuplot.exe on windows 7. ??????????????????????????? I cannot find the reason at the moment :-( . However, at least codepage change is not origin of the error. Regards Tatsuro --- Tatsuro MATSUOKA wrote: > Hello > > When I have checked out by > cvs update -D '2011-03-21' > > 2011-03-20 Bastian Maerkisch <bma...@we...> > > * src/win/wmenu.c (LoadMacros), src/win/wgnuplot.mnu ([Button]): Add > icons to the text-window toolbar. > > * docs/windows/doc2html.c (process_line): Don't include '=' items in > index. This avoids duplicate entries which caused wgnuplot to stall > when an e.g. 'set term png; help "png"' was issued. > > the above were included and no error happened on windows 7. > > When I have checked out by > cvs update -D '2011-03-22' > > 2011-03-20 Ethan A Merritt <merritt@u.washington.edu> > > * src/util.c (equals): Test here for token index in range, rather than > trusting all callers to get it right. > > * src/command.c src/parse.c: Token index range test is now redundant. > > * docs/gnuplot.doc: Document that ^D from an empty line acts as EOF. > > the above were included and caused error on windows 7. > > I will see in more details. > > Regards > > Tatsuro > > --- Tatsuro MATSUOKA wrote: > > > Hello > > > > The exit fail also occurred at windows 7 starter 32 bit. (netbook) > > Thus this problem seem to be specific windows 7. > > > > I do not have any idea on this fail. > > > > Regards > > > > Tatsuro > > > > > > --- Tatsuro MATSUOKA wrote: > > > > > Hello > > > > > > > > > I have built the binaries with the cvs source on 2011-03-26 on my win 7 PC. > > > (Windows 7 64 bit Home Premium sp1.) > > > > > > ../src/gnuplot.exe -e "winhelp=1" ../docs/plotstyles.gnu > > > > > > set output out . 'figure_lines' . ext > > > ^ > > > cannot open file; output not changed > > > "../docs/plotstyles.gnu", line 21: util.c: No such file or directory > > > > > > make hangs at this stage. > > > > > > As pointed out by Juh将。sz P将アter, > > > If I start gnuplot.exe interactively, plot something, then exit, then it > > > exits normally. However, if I don't plot anything, just do "sh var" or > > > "exit", it hangs! > > > > > > I have tested > > > http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip > > > > > > The situation is the same as that I have built today. > > > The gnuplot.exe and gnuplot-switch.exe caused the same behaviors. > > > > > > > > > Hmmm? Thus codepage modification is not origin of exit fail on win 7 64 bit. > > > > > > Regards > > > > > > Tatsuro > > > --- Bastian M将」rkisch wrote: > > > > > > > Hello, > > > > > > > > To exclude build problems with MinGW, I have done and uploaded a build > > > > of the current CVS version to > > > > http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip > > > > > > > > > > > > It is built with a fresh install of current MinGW and current stable > > > > releases of wxWidgets/cairo/pango. It's not a full release build, > > > > though, as most of the support files and the lua and gd terminals are > > > > missing. Also, plotstyles.gnu will fail with this version since libgd is > > > > missing. gnuplot-switch.exe is compiled with -DCONSOLE_SWITCH_CP, > > > > gnuplot.exe without. > > > > > > > > Again, on my XP system, I see none of the behaviour described earlier: > > > > immediate startup and exit and console gnuplot (both versions) works as > > > > expected (started with msys, cmd, "-V", w/ and without plots ...). I > > > > will try later on with Vista. > > > > > > > > On thing, though: closing gnuplot*.exe via the "close"-button of the > > > > console seems to cause it to hang or crash. That is not the case for > > > > Tatsuro Matsuoka's build. > > > > > > > > Bastian > > > > > > > > > > > > Am 25.03.2011 00:19, schrieb Tatsuro MATSUOKA: > > > > > Hello > > > > > > > > > > I have tested cvs binaries for windows provided by Prof. Kakuto > > > > > > > > > > http://www.ring.gr.jp/pub/text/TeX/ptex-win32/w32/ > > > > > gnuplot-45pl0w32.zip > > > > > > > > > > The binaries are built by the MSVC complier. The latest ChangeLog date is 2011-03-22. > > > > > Using this binary, exit problem seems not to occur for gnuplot.exe. > > > > > > > > > > At the moment, I do not find the reason why the difference occur between mine and > Kakuto's > > > > binaries. > > > > > > > > > > Regards > > > > > > > > > > Tatsuro > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Enable your software for Intel(R) Active Management Technology to meet the > > > > > growing manageability and security demands of your customers. Businesses > > > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > > > _______________________________________________ > > > > > gnuplot-beta mailing list > > > > > gnu...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > > > > ------------------------------------------------------------------------------ > > > > Enable your software for Intel(R) Active Management Technology to meet the > > > > growing manageability and security demands of your customers. Businesses > > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > > _______________________________________________ > > > > gnuplot-beta mailing list > > > > gnu...@li... > > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Enable your software for Intel(R) Active Management Technology to meet the > > > growing manageability and security demands of your customers. Businesses > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > _______________________________________________ > > > gnuplot-beta mailing list > > > gnu...@li... > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > > > > > |
From: Tatsuro M. <tma...@ya...> - 2011-03-29 03:43:45
|
Hello I have met unbelievable behaviors for the cvs source. After I have checked out the cvs source cvs update -D '2011-03-21'. And I have replaced the src/util.c, src/command.c, src/parse.c (and docs/gnuplot.doc) by the change > 2011-03-20 Ethan A Merritt <merritt@u.washington.edu> > > * src/util.c (equals): Test here for token index in range, rather than > trusting all callers to get it right. > > * src/command.c src/parse.c: Token index range test is now redundant. > > * docs/gnuplot.doc: Document that ^D from an empty line acts as EOF. downloaded from http://gnuplot.cvs.sourceforge.net/viewvc/gnuplot/gnuplot/src/ Exit error did not happen. Thus code change the above itself is not origin of exit error of gnuplot.exe on win 7. Regards Tatsuro --- Tatsuro MATSUOKA wrote: > Hello > > When I have checked out by > cvs update -D '2011-03-21' > > 2011-03-20 Bastian Maerkisch <bma...@we...> > > * src/win/wmenu.c (LoadMacros), src/win/wgnuplot.mnu ([Button]): Add > icons to the text-window toolbar. > > * docs/windows/doc2html.c (process_line): Don't include '=' items in > index. This avoids duplicate entries which caused wgnuplot to stall > when an e.g. 'set term png; help "png"' was issued. > > the above were included and no error happened on windows 7. > > When I have checked out by > cvs update -D '2011-03-22' > > 2011-03-20 Ethan A Merritt <merritt@u.washington.edu> > > * src/util.c (equals): Test here for token index in range, rather than > trusting all callers to get it right. > > * src/command.c src/parse.c: Token index range test is now redundant. > > * docs/gnuplot.doc: Document that ^D from an empty line acts as EOF. > > the above were included and caused error on windows 7. > > I will see in more details. > > Regards > > Tatsuro > > --- Tatsuro MATSUOKA wrote: > > > Hello > > > > The exit fail also occurred at windows 7 starter 32 bit. (netbook) > > Thus this problem seem to be specific windows 7. > > > > I do not have any idea on this fail. > > > > Regards > > > > Tatsuro > > > > > > --- Tatsuro MATSUOKA wrote: > > > > > Hello > > > > > > > > > I have built the binaries with the cvs source on 2011-03-26 on my win 7 PC. > > > (Windows 7 64 bit Home Premium sp1.) > > > > > > ../src/gnuplot.exe -e "winhelp=1" ../docs/plotstyles.gnu > > > > > > set output out . 'figure_lines' . ext > > > ^ > > > cannot open file; output not changed > > > "../docs/plotstyles.gnu", line 21: util.c: No such file or directory > > > > > > make hangs at this stage. > > > > > > As pointed out by Juh将。sz P将アter, > > > If I start gnuplot.exe interactively, plot something, then exit, then it > > > exits normally. However, if I don't plot anything, just do "sh var" or > > > "exit", it hangs! > > > > > > I have tested > > > http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip > > > > > > The situation is the same as that I have built today. > > > The gnuplot.exe and gnuplot-switch.exe caused the same behaviors. > > > > > > > > > Hmmm? Thus codepage modification is not origin of exit fail on win 7 64 bit. > > > > > > Regards > > > > > > Tatsuro > > > --- Bastian M将」rkisch wrote: > > > > > > > Hello, > > > > > > > > To exclude build problems with MinGW, I have done and uploaded a build > > > > of the current CVS version to > > > > http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip > > > > > > > > > > > > It is built with a fresh install of current MinGW and current stable > > > > releases of wxWidgets/cairo/pango. It's not a full release build, > > > > though, as most of the support files and the lua and gd terminals are > > > > missing. Also, plotstyles.gnu will fail with this version since libgd is > > > > missing. gnuplot-switch.exe is compiled with -DCONSOLE_SWITCH_CP, > > > > gnuplot.exe without. > > > > > > > > Again, on my XP system, I see none of the behaviour described earlier: > > > > immediate startup and exit and console gnuplot (both versions) works as > > > > expected (started with msys, cmd, "-V", w/ and without plots ...). I > > > > will try later on with Vista. > > > > > > > > On thing, though: closing gnuplot*.exe via the "close"-button of the > > > > console seems to cause it to hang or crash. That is not the case for > > > > Tatsuro Matsuoka's build. > > > > > > > > Bastian > > > > > > > > > > > > Am 25.03.2011 00:19, schrieb Tatsuro MATSUOKA: > > > > > Hello > > > > > > > > > > I have tested cvs binaries for windows provided by Prof. Kakuto > > > > > > > > > > http://www.ring.gr.jp/pub/text/TeX/ptex-win32/w32/ > > > > > gnuplot-45pl0w32.zip > > > > > > > > > > The binaries are built by the MSVC complier. The latest ChangeLog date is 2011-03-22. > > > > > Using this binary, exit problem seems not to occur for gnuplot.exe. > > > > > > > > > > At the moment, I do not find the reason why the difference occur between mine and > Kakuto's > > > > binaries. > > > > > > > > > > Regards > > > > > > > > > > Tatsuro > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Enable your software for Intel(R) Active Management Technology to meet the > > > > > growing manageability and security demands of your customers. Businesses > > > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > > > _______________________________________________ > > > > > gnuplot-beta mailing list > > > > > gnu...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > > > > ------------------------------------------------------------------------------ > > > > Enable your software for Intel(R) Active Management Technology to meet the > > > > growing manageability and security demands of your customers. Businesses > > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > > _______________________________________________ > > > > gnuplot-beta mailing list > > > > gnu...@li... > > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Enable your software for Intel(R) Active Management Technology to meet the > > > growing manageability and security demands of your customers. Businesses > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > _______________________________________________ > > > gnuplot-beta mailing list > > > gnu...@li... > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > > > > > |
From: Tatsuro M. <tma...@ya...> - 2011-03-29 05:11:35
Attachments:
change.src_win.diff.zip
|
Hello The cvs source of between that checked out by cvs update -D '2011-03-21' and that checked out cvs update -D '2011-03-22' the following are change in addition to src/util.c, src/command.c, src/parse.c. src/win/ wgnuplib.c wgraph.c winmain.c wmenu.c wpause.c wtext.c The diff between two are attached If the cvs source checked out at cvs update -D '2011-03-22', the above replaced those obtained by the cvs update -D '2011-03-21', the exit error disappeared. Regards Tatsuro > Hello > > > I have met unbelievable behaviors for the cvs source. > After I have checked out the cvs source cvs update -D '2011-03-21'. > > And I have replaced the src/util.c, src/command.c, src/parse.c > (and docs/gnuplot.doc) by the change > > > 2011-03-20 Ethan A Merritt <merritt@u.washington.edu> > > > > * src/util.c (equals): Test here for token index in range, rather than > > trusting all callers to get it right. > > > > * src/command.c src/parse.c: Token index range test is now redundant. > > > > * docs/gnuplot.doc: Document that ^D from an empty line acts as EOF. > > downloaded from > http://gnuplot.cvs.sourceforge.net/viewvc/gnuplot/gnuplot/src/ > > Exit error did not happen. > > Thus code change the above itself is not origin of exit error of gnuplot.exe on win 7. > > Regards > > Tatsuro > --- Tatsuro MATSUOKA wrote: > > > Hello > > > > When I have checked out by > > cvs update -D '2011-03-21' > > > > 2011-03-20 Bastian Maerkisch <bma...@we...> > > > > * src/win/wmenu.c (LoadMacros), src/win/wgnuplot.mnu ([Button]): Add > > icons to the text-window toolbar. > > > > * docs/windows/doc2html.c (process_line): Don't include '=' items in > > index. This avoids duplicate entries which caused wgnuplot to stall > > when an e.g. 'set term png; help "png"' was issued. > > > > the above were included and no error happened on windows 7. > > > > When I have checked out by > > cvs update -D '2011-03-22' > > > > 2011-03-20 Ethan A Merritt <merritt@u.washington.edu> > > > > * src/util.c (equals): Test here for token index in range, rather than > > trusting all callers to get it right. > > > > * src/command.c src/parse.c: Token index range test is now redundant. > > > > * docs/gnuplot.doc: Document that ^D from an empty line acts as EOF. > > > > the above were included and caused error on windows 7. > > > > I will see in more details. > > > > Regards > > > > Tatsuro > > > > --- Tatsuro MATSUOKA wrote: > > > > > Hello > > > > > > The exit fail also occurred at windows 7 starter 32 bit. (netbook) > > > Thus this problem seem to be specific windows 7. > > > > > > I do not have any idea on this fail. > > > > > > Regards > > > > > > Tatsuro > > > > > > > > > --- Tatsuro MATSUOKA wrote: > > > > > > > Hello > > > > > > > > > > > > I have built the binaries with the cvs source on 2011-03-26 on my win 7 PC. > > > > (Windows 7 64 bit Home Premium sp1.) > > > > > > > > ../src/gnuplot.exe -e "winhelp=1" ../docs/plotstyles.gnu > > > > > > > > set output out . 'figure_lines' . ext > > > > ^ > > > > cannot open file; output not changed > > > > "../docs/plotstyles.gnu", line 21: util.c: No such file or directory > > > > > > > > make hangs at this stage. > > > > > > > > As pointed out by Juh将。sz P将アter, > > > > If I start gnuplot.exe interactively, plot something, then exit, then it > > > > exits normally. However, if I don't plot anything, just do "sh var" or > > > > "exit", it hangs! > > > > > > > > I have tested > > > > http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip > > > > > > > > The situation is the same as that I have built today. > > > > The gnuplot.exe and gnuplot-switch.exe caused the same behaviors. > > > > > > > > > > > > Hmmm? Thus codepage modification is not origin of exit fail on win 7 64 bit. > > > > > > > > Regards > > > > > > > > Tatsuro > > > > --- Bastian M将」rkisch wrote: > > > > > > > > > Hello, > > > > > > > > > > To exclude build problems with MinGW, I have done and uploaded a build > > > > > of the current CVS version to > > > > > http://www.gnuplot.info/development/binaries/gp45-Mar25_2011-winbin-test.zip > > > > > > > > > > > > > > > It is built with a fresh install of current MinGW and current stable > > > > > releases of wxWidgets/cairo/pango. It's not a full release build, > > > > > though, as most of the support files and the lua and gd terminals are > > > > > missing. Also, plotstyles.gnu will fail with this version since libgd is > > > > > missing. gnuplot-switch.exe is compiled with -DCONSOLE_SWITCH_CP, > > > > > gnuplot.exe without. > > > > > > > > > > Again, on my XP system, I see none of the behaviour described earlier: > > > > > immediate startup and exit and console gnuplot (both versions) works as > > > > > expected (started with msys, cmd, "-V", w/ and without plots ...). I > > > > > will try later on with Vista. > > > > > > > > > > On thing, though: closing gnuplot*.exe via the "close"-button of the > > > > > console seems to cause it to hang or crash. That is not the case for > > > > > Tatsuro Matsuoka's build. > > > > > > > > > > Bastian > > > > > > > > > > > > > > > Am 25.03.2011 00:19, schrieb Tatsuro MATSUOKA: > > > > > > Hello > > > > > > > > > > > > I have tested cvs binaries for windows provided by Prof. Kakuto > > > > > > > > > > > > http://www.ring.gr.jp/pub/text/TeX/ptex-win32/w32/ > > > > > > gnuplot-45pl0w32.zip > > > > > > > > > > > > The binaries are built by the MSVC complier. The latest ChangeLog date is 2011-03-22. > > > > > > Using this binary, exit problem seems not to occur for gnuplot.exe. > > > > > > > > > > > > At the moment, I do not find the reason why the difference occur between mine and > > Kakuto's > > > > > binaries. > > > > > > > > > > > > Regards > > > > > > > > > > > > Tatsuro > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Enable your software for Intel(R) Active Management Technology to meet the > > > > > > growing manageability and security demands of your customers. Businesses > > > > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > > > > _______________________________________________ > > > > > > gnuplot-beta mailing list > > > > > > gnu...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Enable your software for Intel(R) Active Management Technology to meet the > > > > > growing manageability and security demands of your customers. Businesses > > > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > > > _______________________________________________ > > > > > gnuplot-beta mailing list > > > > > gnu...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Enable your software for Intel(R) Active Management Technology to meet the > > > > growing manageability and security demands of your customers. Businesses > > > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > > > be a part of the solution? Download the Intel(R) Manageability Checker > > > > today! http://p.sf.net/sfu/intel-dev2devmar > > > > _______________________________________________ > > > > gnuplot-beta mailing list > > > > gnu...@li... > > > > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > > > > > > > > > > > > > > > === 以下のメッセージは省略されました === |
From: Bastian M. <bma...@we...> - 2011-03-29 06:26:58
|
>The cvs source of between that checked out by cvs update -D '2011-03-21' and that checked out cvs >update -D '2011-03-22' the following are change in addition to src/util.c, src/command.c, >src/parse.c. > >src/win/ >wgnuplib.c >wgraph.c >winmain.c >wmenu.c >wpause.c >wtext.c > >The diff between two are attached These changes correspond these entries in ChangeLog: 2011-03-20 Bastian Maerkisch <bma...@we...> * src/win/wgnuplib.c|h, src/win/wgraph.c, src/win/winmain.c, src/win/wmenu.c, src/win/wpause.c, src/win/wtext.c: FAR pointers are no longer required. * src/win/winmain.c (WinExit): Explicitly close help window on exit. Fixes hangs of gnuplot when it is closed via the Windows taskbar and help window and graph window open. The later might be the reason for hangs or crashes on exit - but not after issuing a command. I also don't see why the changes should influence opening files. Going over the diff and the source again, I see no obvious suspect. Removing FAR should be innocent - it should be define'd empty anyway. (And so is "far" in syscfg.h btw). One thing which could be different between "cvs checkout" and downloading via "viewcvs" are line endings. We should check that none of my commits mixed Unix (LF) and Windows (CR/LF) line endings. Bastian 842011-03-20 Bastian Maerkisch <bma...@we...> 85 86* src/win/wgnuplib.c|h, src/win/wgraph.c, src/win/winmain.c, 87src/win/wmenu.c, src/win/wpause.c, src/win/wtext.c: FAR pointers are 88no longer required. 89 90* src/win/winmain.c (WinExit): Explicitly close help window on exit. 91Fixes hangs of gnuplot when it is closed via the Windows taskbar 92and help window and graph window open. |
From: Tatsuro M. <tma...@ya...> - 2011-03-29 07:31:13
|
Hello --- Bastian M将」rkisch wrote: > > 2011-03-20 Bastian Maerkisch <bma...@we...> > > * src/win/wgnuplib.c|h, src/win/wgraph.c, src/win/winmain.c, > src/win/wmenu.c, src/win/wpause.c, src/win/wtext.c: FAR pointers are > no longer required. > > * src/win/winmain.c (WinExit): Explicitly close help window on exit. > Fixes hangs of gnuplot when it is closed via the Windows taskbar > and help window and graph window open. > > The later might be the reason for hangs or crashes on exit - but not after > issuing a command. I also don't see why the changes should influence > opening files. Going over the diff and the source again, I see no obvious > suspect. > > Removing FAR should be innocent - it should be define'd empty anyway. > (And so is "far" in syscfg.h btw). Indeed. If I comment out like below, #ifdef WITH_HTML_HELP // HtmlHelp(NULL, NULL, HH_CLOSE_ALL, (DWORD_PTR)NULL); #else the exit error did not occur on windows 7. Maybe for windows 7, newer version HTML HELP workshop is required. http://msdn.microsoft.com/en-us/library/dd940316(v=vs.85).aspx Regards Tatsuro |
From: Tatsuro M. <tma...@ya...> - 2011-03-30 00:43:10
|
Hello --- Bastian M将」rkisch wrote: > Hhhm. It shouldn't be. MSDN says: > > "While Microsoft develops future Help technologies, we encourage Help authors > to continue using HTML Help 1.4. HTML Help 1.4 is included in Windows篠7." > I have downloaded windows sdk for windows 7. I found the htmlhelp.h and Htmlhelp.Lib in C:\Program Files\Microsoft SDKs\Windows\v7.1\Include and C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib, respectively. I have tried to use htmlhelp.h and Htmlhelp.Lib in C:\Program Files\Microsoft SDKs\Windows\v7.1 but they cannot be used as they are for current gnuplot cvs code on mingw. As a reference I show the diff of htmlhelp.h between in the html help workshop and sdk : ******************************* --- htmlhelp.orig.h 1999-07-14 05:02:22 +0900 +++ htmlhelp.sdk.h 2010-04-19 20:44:16 +0900 @@ -17,10 +17,12 @@ extern "C" { #endif // __cplusplus +#if _MSC_VER < 1200 // Defines for Win64 #ifndef _WIN64 #define DWORD_PTR DWORD #endif +#endif // Commands to pass to HtmlHelp() @@ -53,8 +55,10 @@ #define HH_SET_EXCLUSIVE_FILTER 0x0019 // set exclusive filtering method for untyped topics to be excluded from display #define HH_INITIALIZE 0x001C // Initializes the help system. #define HH_UNINITIALIZE 0x001D // Uninitializes the help system. +#define HH_SET_QUERYSERVICE 0x001E // Set the Host IQueryService interface #define HH_PRETRANSLATEMESSAGE 0x00fd // Pumps messages. (NULL, NULL, MSG*). #define HH_SET_GLOBAL_PROPERTY 0x00fc // Set a global property. (NULL, NULL, HH_GPROP) +#define HH_SAFE_DISPLAY_TOPIC 0x0020 // private addition to the interface for InternetExplorer. #define HHWIN_PROP_TAB_AUTOHIDESHOW (1 << 0) // Automatically hide/show tri-pane window #define HHWIN_PROP_ONTOP (1 << 1) // Top-most window @@ -364,19 +368,19 @@ HWND WINAPI HtmlHelpA( - HWND hwndCaller, - LPCSTR pszFile, - UINT uCommand, - DWORD_PTR dwData + __in_opt HWND hwndCaller, + __in LPCSTR pszFile, + __in UINT uCommand, + __in DWORD_PTR dwData ); HWND WINAPI HtmlHelpW( - HWND hwndCaller, - LPCWSTR pszFile, - UINT uCommand, - DWORD_PTR dwData + __in_opt HWND hwndCaller, + __in LPCWSTR pszFile, + __in UINT uCommand, + __in DWORD_PTR dwData ); #ifdef UNICODE #define HtmlHelp HtmlHelpW @@ -424,3 +428,4 @@ #endif // __cplusplus #endif // __HTMLHELP_H__ + **************************************** Regards Tatsuro |
From: Tatsuro M. <tma...@ya...> - 2011-03-30 00:57:44
|
Hello Sorry I have overlooked the below >And we are using version 1.4 and the new Vista help system is not supported on XP or lower. Regards Tatsuro --- Tatsuro MATSUOKA wrote: > > Hello > --- Bastian M将」rkisch wrote: > > > Hhhm. It shouldn't be. MSDN says: > > > > "While Microsoft develops future Help technologies, we encourage Help authors > > to continue using HTML Help 1.4. HTML Help 1.4 is included in Windows篠7." > > > > I have downloaded windows sdk for windows 7. I found the htmlhelp.h and Htmlhelp.Lib in > C:\Program > Files\Microsoft SDKs\Windows\v7.1\Include and C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib, > respectively. > > I have tried to use htmlhelp.h and Htmlhelp.Lib in C:\Program Files\Microsoft SDKs\Windows\v7.1 > but > they cannot be used as they are for current gnuplot cvs code on mingw. > > As a reference I show the diff of htmlhelp.h between in the html help workshop and sdk : > > ******************************* > --- htmlhelp.orig.h 1999-07-14 05:02:22 +0900 > +++ htmlhelp.sdk.h 2010-04-19 20:44:16 +0900 > @@ -17,10 +17,12 @@ > extern "C" { > #endif // __cplusplus > > +#if _MSC_VER < 1200 > // Defines for Win64 > #ifndef _WIN64 > #define DWORD_PTR DWORD > #endif > +#endif > > // Commands to pass to HtmlHelp() > > @@ -53,8 +55,10 @@ > #define HH_SET_EXCLUSIVE_FILTER 0x0019 // set exclusive filtering method for untyped topics to > be > excluded from display > #define HH_INITIALIZE 0x001C // Initializes the help system. > #define HH_UNINITIALIZE 0x001D // Uninitializes the help system. > +#define HH_SET_QUERYSERVICE 0x001E // Set the Host IQueryService interface > #define HH_PRETRANSLATEMESSAGE 0x00fd // Pumps messages. (NULL, NULL, MSG*). > #define HH_SET_GLOBAL_PROPERTY 0x00fc // Set a global property. (NULL, NULL, HH_GPROP) > +#define HH_SAFE_DISPLAY_TOPIC 0x0020 // private addition to the interface for > InternetExplorer. > > #define HHWIN_PROP_TAB_AUTOHIDESHOW (1 << 0) // Automatically hide/show tri-pane window > #define HHWIN_PROP_ONTOP (1 << 1) // Top-most window > @@ -364,19 +368,19 @@ > HWND > WINAPI > HtmlHelpA( > - HWND hwndCaller, > - LPCSTR pszFile, > - UINT uCommand, > - DWORD_PTR dwData > + __in_opt HWND hwndCaller, > + __in LPCSTR pszFile, > + __in UINT uCommand, > + __in DWORD_PTR dwData > ); > > HWND > WINAPI > HtmlHelpW( > - HWND hwndCaller, > - LPCWSTR pszFile, > - UINT uCommand, > - DWORD_PTR dwData > + __in_opt HWND hwndCaller, > + __in LPCWSTR pszFile, > + __in UINT uCommand, > + __in DWORD_PTR dwData > ); > #ifdef UNICODE > #define HtmlHelp HtmlHelpW > @@ -424,3 +428,4 @@ > #endif // __cplusplus > > #endif // __HTMLHELP_H__ > + > **************************************** > > Regards > > Tatsuro > |
From: Tatsuro M. <tma...@ya...> - 2011-03-30 02:30:06
|
Hello I have carried out gdb trace. #****************************** $ gdb src/gnuplot GNU gdb (GDB) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "mingw32". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from e:\usr\Tatsu\mingwhome\gnuplotcvs\gnuplot/src/gnuplot.exe...done. (gdb) break WinExit Breakpoint 1 at 0x532aa9: file win/winmain.c, line 157. (gdb) run Starting program: e:\usr\Tatsu\mingwhome\gnuplotcvs\gnuplot/src/gnuplot.exe [New Thread 1284.0x1228] G N U P L O T Version 4.5 patchlevel 0 last modified March 2011 System: MS-Windows 32 bit Copyright (C) 1986-1993, 1998, 2004, 2007-2010 Thomas Williams, Colin Kelley and many others gnuplot home: http://www.gnuplot.info mailing list: gnu...@li... faq, bugs, etc: type "help seeking-assistance" immediate help: type "help" plot window: hit 'h' Terminal type set to 'wxt' gnuplot> exit Breakpoint 1, WinExit () at win/winmain.c:157 157 term_reset(); (gdb) step term_reset () at term.c:859 859 paused_for_mouse = 0; (gdb) step 862 if (!term_initialised) (gdb) step 863 return; (gdb) step 882 } (gdb) step WinExit () at win/winmain.c:162 162 if (graphwin.hWndGraph && IsWindow(graphwin.hWndGraph)) (gdb) step 168 HtmlHelp(NULL, NULL, HH_CLOSE_ALL, (DWORD_PTR)NULL); (gdb) step [New Thread 1284.0x113c] (HtmlHelp seems to hang here) ****************************** However At the initial prompt I carried out plot and close graph windows gnuplot> plot sin(x) [New Thread 2124.0x1038] After that gnuplot> exit Breakpoint 1, WinExit () at win/winmain.c:157 157 term_reset(); (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) n Program not restarted. (gdb) step term_reset () at term.c:859 859 paused_for_mouse = 0; (gdb) step 862 if (!term_initialised) (gdb) step 863 return; (gdb) step 882 } (gdb) step WinExit () at win/winmain.c:162 162 if (graphwin.hWndGraph && IsWindow(graphwin.hWndGraph)) (gdb) step 168 HtmlHelp(NULL, NULL, HH_CLOSE_ALL, (DWORD_PTR)NULL); (gdb) step [New Thread 2124.0xe78] [New Thread 2124.0x5d4] [New Thread 2124.0xe6c] [New Thread 2124.0xbec] 185 } This time HtmlHelp seemed to work correctly. Perhaps something is wrong with initialization gnuplot.exe + HtmlHelp on windows 7. A dummy plot? routine may avoid this fault as a temporal treatment. (It is of course curious method. ) Regards Tatsuro --- Tatsuro MATSUOKA wrote: > > Hello > --- Bastian M将」rkisch wrote: > > > Hhhm. It shouldn't be. MSDN says: > > > > "While Microsoft develops future Help technologies, we encourage Help authors > > to continue using HTML Help 1.4. HTML Help 1.4 is included in Windows篠7." > > > > I have downloaded windows sdk for windows 7. I found the htmlhelp.h and Htmlhelp.Lib in > C:\Program > Files\Microsoft SDKs\Windows\v7.1\Include and C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib, > respectively. > > I have tried to use htmlhelp.h and Htmlhelp.Lib in C:\Program Files\Microsoft SDKs\Windows\v7.1 > but > they cannot be used as they are for current gnuplot cvs code on mingw. > > As a reference I show the diff of htmlhelp.h between in the html help workshop and sdk : > > ******************************* > --- htmlhelp.orig.h 1999-07-14 05:02:22 +0900 > +++ htmlhelp.sdk.h 2010-04-19 20:44:16 +0900 > @@ -17,10 +17,12 @@ > extern "C" { > #endif // __cplusplus > > +#if _MSC_VER < 1200 > // Defines for Win64 > #ifndef _WIN64 > #define DWORD_PTR DWORD > #endif > +#endif > > // Commands to pass to HtmlHelp() > > @@ -53,8 +55,10 @@ > #define HH_SET_EXCLUSIVE_FILTER 0x0019 // set exclusive filtering method for untyped topics to > be > excluded from display > #define HH_INITIALIZE 0x001C // Initializes the help system. > #define HH_UNINITIALIZE 0x001D // Uninitializes the help system. > +#define HH_SET_QUERYSERVICE 0x001E // Set the Host IQueryService interface > #define HH_PRETRANSLATEMESSAGE 0x00fd // Pumps messages. (NULL, NULL, MSG*). > #define HH_SET_GLOBAL_PROPERTY 0x00fc // Set a global property. (NULL, NULL, HH_GPROP) > +#define HH_SAFE_DISPLAY_TOPIC 0x0020 // private addition to the interface for > InternetExplorer. > > #define HHWIN_PROP_TAB_AUTOHIDESHOW (1 << 0) // Automatically hide/show tri-pane window > #define HHWIN_PROP_ONTOP (1 << 1) // Top-most window > @@ -364,19 +368,19 @@ > HWND > WINAPI > HtmlHelpA( > - HWND hwndCaller, > - LPCSTR pszFile, > - UINT uCommand, > - DWORD_PTR dwData > + __in_opt HWND hwndCaller, > + __in LPCSTR pszFile, > + __in UINT uCommand, > + __in DWORD_PTR dwData > ); > > HWND > WINAPI > HtmlHelpW( > - HWND hwndCaller, > - LPCWSTR pszFile, > - UINT uCommand, > - DWORD_PTR dwData > + __in_opt HWND hwndCaller, > + __in LPCWSTR pszFile, > + __in UINT uCommand, > + __in DWORD_PTR dwData > ); > #ifdef UNICODE > #define HtmlHelp HtmlHelpW > @@ -424,3 +428,4 @@ > #endif // __cplusplus > > #endif // __HTMLHELP_H__ > + > **************************************** > > Regards > > Tatsuro > |