Hi,
I'm afraid I can reproduce a crash on Geany probably related to new build system. When I have a file called cv_c.tex open and want to look at the PDF created from I push F5 (or use the menu enry for) for the first time the VTE appears with some weird (and different) letters inside. After pushing F5 or the menu item again Geany is crashing with bt I've uploaded to http://nopaste.geany.org/p/m15e5927a as well as attached to this mail with m15e5927a.txt. Also it appears that this is not related to the file name as I was able to reproduce it with the build in LaTeX template of Geany. Or just take this as a minimal example:
\documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \begin{document} Lorem ipsum \end{document}
When starting geany with option to be more verbose I'm getting
(geany:8493): Vte-WARNING **: Error (Invalid or incomplete multibyte or wide character) converting data for child, dropping. inside command line.
I've attached my geany.conf and filetypes.latex file.
Cheers, Frank
On 10.09.2009 20:45, Frank Lanitz wrote:
Hi,
I'm afraid I can reproduce a crash on Geany probably related to new build system. When I have a file called cv_c.tex open and want to look at the PDF created from I push F5 (or use the menu enry for) for the first time the VTE appears with some weird (and different) letters inside. After pushing F5 or the menu item again Geany is crashing with bt I've uploaded to http://nopaste.geany.org/p/m15e5927a as well as attached to this mail with m15e5927a.txt. Also it appears that this is not related to the file name as I was able to reproduce it with the build in LaTeX template of Geany. Or just take this as a minimal example:
\documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \begin{document} Lorem ipsum \end{document}
When starting geany with option to be more verbose I'm getting
(geany:8493): Vte-WARNING **: Error (Invalid or incomplete multibyte or wide character) converting data for child, dropping. inside command line.
I've attached my geany.conf and filetypes.latex file.
Cheers, Frank
I took your test file, and it works for me.
BTW: The default run commands for pdf are stupid :( "%f" should be "%e.pdf" if you do view pdf file.
On Thu, 10 Sep 2009 21:24:12 +0200 Thomas Martitz thomas.martitz@student.HTW-Berlin.de wrote:
BTW: The default run commands for pdf are stupid :( "%f" should be "%e.pdf" if you do view pdf file.
I hope I've improved this a bit with svn r4175.
Cheers, Frank
Hi Frank,
I couldn't duplicate the crash which appears to depend on configuration as well as run-time options.
But I found a problem which could cause a multiple free error. Fixed in r4176, could you test please.
Cheers Lex
2009/9/11 Frank Lanitz frank@frank.uvena.de:
On Thu, 10 Sep 2009 21:24:12 +0200 Thomas Martitz thomas.martitz@student.HTW-Berlin.de wrote:
BTW: The default run commands for pdf are stupid :( "%f" should be "%e.pdf" if you do view pdf file.
I hope I've improved this a bit with svn r4175.
Cheers, Frank -- http://frank.uvena.de/en/
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Fri, 11 Sep 2009 10:11:43 +1000 Lex Trotman elextr@gmail.com wrote:
Hi Frank,
I couldn't duplicate the crash which appears to depend on configuration as well as run-time options.
But I found a problem which could cause a multiple free error. Fixed in r4176, could you test please.
With r4176 its not crashing any more - good ;) But a bit annoying is, that the VTE is getting active.
Thanks, Frank
2009/9/11 Frank Lanitz frank@frank.uvena.de:
On Fri, 11 Sep 2009 10:11:43 +1000 Lex Trotman elextr@gmail.com wrote:
Hi Frank,
I couldn't duplicate the crash which appears to depend on configuration as well as run-time options.
But I found a problem which could cause a multiple free error. Fixed in r4176, could you test please.
With r4176 its not crashing any more - good ;) But a bit annoying is, that the VTE is getting active.
I presume you mean that the command is run in the VTE.
That is because it is an "execute" command which is normally used to execute the results of compiling your program, so it is run in a terminal so you can see any output it might generate.
Cheers Lex
Thanks, Frank -- http://frank.uvena.de/en/
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Fri, 11 Sep 2009 16:34:51 +1000 Lex Trotman elextr@gmail.com wrote:
2009/9/11 Frank Lanitz frank@frank.uvena.de:
On Fri, 11 Sep 2009 10:11:43 +1000 Lex Trotman elextr@gmail.com wrote:
I couldn't duplicate the crash which appears to depend on configuration as well as run-time options.
But I found a problem which could cause a multiple free error. Fixed in r4176, could you test please.
With r4176 its not crashing any more - good ;) But a bit annoying is, that the VTE is getting active.
I presume you mean that the command is run in the VTE.
That is because it is an "execute" command which is normally used to execute the results of compiling your program, so it is run in a terminal so you can see any output it might generate.
It happens in both sitaution, with option turned on / turned off. Maybe I'm getting used to it in future, but I didn't had this behavior in past on my local setup.
Cheers, Frank
2009/9/11 Frank Lanitz frank@frank.uvena.de:
On Fri, 11 Sep 2009 16:34:51 +1000 Lex Trotman elextr@gmail.com wrote:
2009/9/11 Frank Lanitz frank@frank.uvena.de:
On Fri, 11 Sep 2009 10:11:43 +1000 Lex Trotman elextr@gmail.com wrote:
I couldn't duplicate the crash which appears to depend on configuration as well as run-time options.
But I found a problem which could cause a multiple free error. Fixed in r4176, could you test please.
With r4176 its not crashing any more - good ;) But a bit annoying is, that the VTE is getting active.
I presume you mean that the command is run in the VTE.
That is because it is an "execute" command which is normally used to execute the results of compiling your program, so it is run in a terminal so you can see any output it might generate.
It happens in both sitaution, with option turned on / turned off.
I assume you mean skip-run-script option, this just runs the executable directly or via a little script that keeps the execute window open after the command is run, so any messages are visible. Its more useful for running in an external terminal window which will close when done than it is when running in vte.
Maybe
I'm getting used to it in future, but I didn't had this behavior in past on my local setup.
If you mean before the build system update, then there was a lot of special coding just for latex, including the second special run command. I don't have a pre-build-system update version of the code around to see what it did but I suspect from your description that it ran the program without a terminal.
In discussions with Enrico prior to the build-system changes he was happy to remove all the special handling for latex, including the second run command because he didn't think that it was common to use both DVI and PDF at the same time.
In fact originally the build-system update was only going to have one run command in total but I added more because I had a use for them and so was also able to restore both latex view commands, although without the special handling as you are seeing.
The problem is because latex has different semantics for "running" it to other languages (like C). I wonder how many other languages have a *need* for "running" without a terminal? Anyone suggest some.
If there are enough to make it worthwhile then some way of selecting run with/without a terminal may be possible, although it may require special handling on Windows which I can't do.
Cheers Lex
Cheers, Frank -- Frank Lanitz frank@frank.uvena.de _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Thu, 10 Sep 2009 20:45:32 +0200 Frank Lanitz frank@frank.uvena.de wrote:
Hi,
I'm afraid I can reproduce a crash on Geany probably related to new build system. When I have a file called cv_c.tex open and want to look at the PDF created from I push F5 (or use the menu enry for) for the first time the VTE appears with some weird (and different) letters inside. After pushing F5 or the menu item again Geany is crashing with bt I've uploaded to http://nopaste.geany.org/p/m15e5927a as well as attached to this mail with m15e5927a.txt. Also it appears that this is not related to the file name as I was able to reproduce it with the build in LaTeX template of Geany. Or just take this as a minimal example:
\documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \begin{document} Lorem ipsum \end{document}
When starting geany with option to be more verbose I'm getting
(geany:8493): Vte-WARNING **: Error (Invalid or incomplete multibyte or wide character) converting data for child, dropping. inside command line.
I've attached my geany.conf and filetypes.latex file.
I did some further testing and found some connection to option skip_run_script=true. If I set it to skip_run_script=false its working without any issues.
Cheers, Frank