bug-global
[Top][All Lists]
Advanced

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

Re: Re: update using pygments crashed


From: Yoshitaro Makise
Subject: Re: Re: update using pygments crashed
Date: Mon, 24 Nov 2014 16:00:43 +0900

Hi rickenxmas,

Thank you for your report, but still hard to isolate the problem.
Could you try following?

1.
In my experience, gtags seems to have some problems with tags which contains symbolic characters.
Pygments plugin has an option to control how to handle symbolic characters.
Setting environment variable GTAGSPYGMENTSOPTS=strippunctuation directs pygments plugin to strip symbolic characters from tags.
Could you try following and check if gtags still crashes?

$ export GTAGSPYGMENTSOPTS=strippunctuation
$ global -uv --gtagslabel pygments

2.
Though I'm not familiar with Windows, I believe there is a way to have Windows generate crash log.
Investigating the crash log may give us a clue.

Following sites may help to get crash dump:

http://msdn.microsoft.com/library/windows/desktop/bb787181%28v=vs.85%29.aspx/
http://blogs.msdn.com/b/chaun/archive/2013/11/12/steps-to-catch-a-simple-crash-dump-of-a-crashing-process.aspx

BR,


2014-11-22 22:48 GMT+09:00 address@hidden <address@hidden>:
Hi 
Thanks for your reply!

1. gtags -vw --debug --gtagslabel pygments works well

                     

2.global -uv works well

                
3.  I have only one copy of gtags ,I located the files in "glo632wb" under the directory of msys (C:\MinGW\msys\1.0) as they originally are

4. my msys env was installed using "mingw-get",and set no environment variables in my win7;
environment variables in my emacs as below:

PATH:
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\bin;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\bin;C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files (x86)\Microsoft Visual Studio 8\VC\VCPackages;C:\MinGW\msys\1.0\bin;C:\MinGW\bin;C:\PuTTY;D:\emacs\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\EmEditor;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files (x86)\Microsoft Visual Studio\Common\Tools;C:\Program Files (x86)\Microsoft Visual Studio\VC98\bin

exec-path:
("C:\\Python27" "C:\\MinGW\\msys\\1.0\\bin" "C:\\MinGW\\bin" "d:/emacs/bin" "C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common" "C:/Windows/system32" "C:/Windows" "C:/Windows/System32/Wbem" "C:/Windows/System32/WindowsPowerShell/v1.0/" "C:/Program Files/TortoiseSVN/bin" "C:/Program Files (x86)/QuickTime/QTSystem/" "C:/Program Files/EmEditor" "C:/Program Files/Microsoft/Web Platform Installer/" "C:/Program Files (x86)/Microsoft ASP.NET/ASP.NET Web Pages/v1.0/" "C:/Program Files (x86)/Windows Kits/8.0/Windows Performance Toolkit/" "C:/Program Files/Microsoft SQL Server/110/Tools/Binn/" "C:/Program Files (x86)/Microsoft Visual Studio/Common/Tools/WinNT" "C:/Program Files (x86)/Microsoft Visual Studio/Common/MSDev98/Bin" "C:/Program Files (x86)/Microsoft Visual Studio/Common/Tools" "C:/Program Files (x86)/Microsoft Visual Studio/VC98/bin" "d:/emacs/libexec/emacs/24.4/i686-pc-mingw32")

And I found that when I run gtags --gtagslabel pygments in msys ,python.exe was not called at all,it just run gtags.exe(the same run global -u --gtagslabel pygments),
though I'd set python to the path env var.That's why it dosen't crash.

My emacs shell command was bash in msys env.


 
Date: 2014-11-22 20:09
Subject: Re: update using pygments crashed
Hi rickenxmas,

We need to isolate the problem.
Could you check the following?

1. Does gtags still crash if you do full update instead of incremental update?
    $ gtags -vw --debug --gtagslabel pygments

2. Does gtags still crash if you do not add --gtagslabel pygments option?
    $ global -uv

3. Is there any difference between gtags.exe run under emacs and gtags.exe run under msys environment?
    Are they the same binary file or different ones?

4. Is there any difference between emacs environment and msys environment? e.g. environment variables, shell command, etc.. Different environment may cause different behaviour.

Thanks,


2014-11-21 1:05 GMT+09:00 address@hidden <address@hidden>:
my environment: 
python 2.7 
Pygments-2.0.1


 
Date: 2014-11-20 23:59
Subject: update using pygments crashed
As the picture below,when I update my code using global-u --gtagslabel pygments  in emacs ,gtags crashed.
But in msys environment it works well.



PS: my os is win7 x64 ,emacs 24.4 or 24.3 all crashed,gtags 6.3.2


_______________________________________________
Bug-global mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-global


2 attachments
Catch2818(11-21-00-03-55).jpg(138K)
download preview
Catch21E0(11-21-00-03-55).jpg(149K)
download preview


reply via email to

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