Closed evandrocoan closed 7 years ago
Does it still crash with all the third party plugins disabled?
That will be a hard question to answer and will take time to get a full response. I kinda cannot start working on may daily only with a clean install.
For now we got a half answer, until yesterday I was using almost only half the plugins due I do not know which one was lagging my sublime text. This where the commit I enabled about ~45 not guilty plugins yesterday:
On the major crashing day I got about 50 plugins from 106 enabled. Yesterday I got about 100 enabled so we may assume the ~45 just enabled yesterday was not guilty of the crash. These are not guilty plugins from the commit, NotGuiltyOnes.txt and AllPackages.txt. Removing the not guilty from the list, doing grep -v -x -f NotGuiltyOnes.txt AllPackages.txt
we got 61 doubtful packages DoubtfulPackages.txt.
For starters, I would hold my bets on the amxmodx
package, which already crashes the plugin_host
when the AMXX compiler settings is not pointing to a valid compiler on amxmodx
package load.
"All Autocomplete"
"amxmodx"
"Amxx Pawn"
"ANSIescape"
"ApplySyntax"
"BBCode"
"BetterFindBuffer"
"Boxy Theme"
"C++11"
"Case Conversion"
"ColorHelper"
"ColorSchemeEditor"
"Column Select"
"ConvertToUTF8"
"Copy Filepath With Line Numbers"
"CopyWithLineNumbersReloaded"
"DictionaryAutoComplete"
"DistractionFreeWindow"
"DocBlockr"
"Edit Preferences"
"Extract Text to File"
"File History"
"HighlightWords"
"Hungry Backspace"
"Increment Selection"
"Incrementor"
"LESS"
"Markdown Preview"
"MarkdownLight"
"MaxPane"
"MySQL Snippets"
"Non Text Files"
"Notepad++ Theme"
"Number King"
"Origami"
"Package Control"
"PostScript"
"Random Everything"
"RecentActiveFiles"
"ScopeAlways"
"ScopeHunter"
"Side-by-Side Settings"
"SideBarEnhancements"
"SQLExec"
"SQLTools"
"Sublime Tutor"
"sublime-text-2-buildview"
"SublimeREPL"
"Swift"
"Sync View Scroll"
"SyncedSideBar"
"Syntax Highlighting for Sass"
"TabsExtra"
"Terminal"
"Text Pastry"
"Theme - Soda"
"Theme - SoDaReloaded"
"Toolbar"
"Trimmer"
"WordHighlight"
"zz File Icons"
Themes can theme the tooltip that appears when you hover over a tab's filename, so it might be worth disabling Theme - Soda
, Theme - SoDaReloaded
and Boxy Theme
and checking if it still crashes.
Thanks @keith-hall, I gonna try it out.
The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Dump Summary
------------
Dump File: 2bc87a1d-c173-4aa6-8245-18b201a027eb.dmp : D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\2bc87a1d-c173-4aa6-8245-18b201a027eb.dmp
Last Write Time: 21/11/2016 23:00:46
Process Name: sublime_text.exe : D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\sublime_text.exe
Process Architecture: x86
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information: Not Present
Modules
-------
Module Name Module Path Module Version
----------- ----------- --------------
sublime_text.exe D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\sublime_text.exe 1.0.0.1
I disabled everything adding them to the ignored list:
ignored_packages: ["Anaconda", "ApplySyntax", "ColorHelper", "DictionaryAutoComplete", "FileManager", "Git", "SublimeCodeIntel", "Theme - Soda", "Vintage", "WordHighlight", "Add Folder To Project", "AdvancedNewFile", "Alignment", "AlignTab", "All Autocomplete", "Anaconda", "ApplySyntax", "Auto Refresh", "AutoFileName", "Better CoffeeScript", "BetterFindBuffer", "BracketHighlighter", "C++ Completions", "C++ Snippets", "C++ Starting Kit", "C++11", "Case Conversion", "Clickable URLs", "Color Highlighter", "ColorHelper", "ColorSchemeEditor", "Column Select", "Compare Side-By-Side", "ConvertToUTF8", "Copy Filepath With Line Numbers", "CopyWithLineNumbersReloaded", "Delete Current File", "DictionaryAutoComplete", "DistractionFreeWindow", "DocBlockr", "DuplicateSelections", "Markdown to BB Code Converter", "Clear Cursors-Carets", "Clipboard Scope Copy", "Default Syntax", "Fix Project Switch-Restart Bug", "Fixed Selections Clear", "Force Rewrite Sublime Settings", "Markdown to BB Code Converter", "Select All Spelling Errors", "SQL Keyword Uppercase", "View Settings Freely", "Edit Preferences", "Emmet", "ExportHtml", "ExtendedTabSwitcher", "Extract Text to File", "File History", "File Rename", "FileDiffs", "FileManager", "Find++", "FindKeyConflicts", "FuzzyFileNav", "Gist", "Git", "GitGutter", "GitHub Markdown Snippets", "Google Spell Check", "GotoLastEditEnhanced", "Highlight Build Errors", "HighlightWords", "Hungry Backspace", "Increment Selection", "Incrementor", "Invert Selection", "LESS", "Line Endings Unify", "Local History", "Markdown Preview", "MarkdownLight", "Matlab Completions", "MatlabFilenameAutoComplete", "MaxPane", "MySQL Snippets", "Non Text Files", "Number King", "Origami", "Package Control", "PackageDev", "PackageResourceViewer", "Path Translator", "PostScript", "Project Specific Syntax Settings", "Qt Completions for C++", "Random Everything", "RecentActiveFiles", "ReIndent", "ScopeAlways", "ScopeHunter", "SQLExec", "SQLTools", "StickySearch", "Sublime Tutor", "sublime-text-2-buildview", "SublimeCodeIntel", "Swift", "Sync View Scroll", "SyncedSideBar", "Syntax Highlighting for Sass", "SyntaxManager", "TabsExtra", "Terminal", "Text Pastry", "Theme - Soda", "Trimmer", "Whitespace", "WordHighlight", "zz File Icons", "amxmodx", "ANSIescape", "BBCode", "Boxy Theme", "BufferScroll", "Package Control", "Preferences Editor", "Side-by-Side Settings", "SideBarEnhancements", "SublimeCodeIntel", "SublimeREPL", "SyncedSideBar", "Theme - Soda", "Theme - SoDaReloaded", "Toolbar"]
And used only the default theme and Sublime Text just crashed again within the same error also know as segmentation fault:
sublime_text.exe: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Dump file:
This are all the loaded plugins I just have enabled on the crash moment.:
DPI scale: 1
startup, version: 3126 windows x32 channel: stable
executable: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/sublime_text.exe
working dir: /C/ProgramData/Microsoft/Windows/Start Menu/Atalhos
packages path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Packages
state path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Local
zip path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Packages
zip path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Installed Packages
ignored_packages: ... see above.
pre session restore time: 1.63004
loading dictionary Packages/MultiLingual Dictionary/EN_PT.dic
startup time: 3.85404
first paint time: 3.85704
first paint time: 3.85904
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.01-pygments
reloading plugin 0_package_control_loader.50-backrefs
reloading plugin 0_package_control_loader.50-markupsafe
reloading plugin 0_package_control_loader.50-python-markdown
reloading plugin 0_package_control_loader.50-pyyaml
reloading plugin 0_package_control_loader.51-python-jinja2
reloading plugin 0_package_control_loader.55-mdpopups
reloading plugin Default.SyncedSideBarCommand
plugins loaded
I am suspecting these guys:
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.01-pygments
reloading plugin 0_package_control_loader.50-backrefs
reloading plugin 0_package_control_loader.50-markupsafe
reloading plugin 0_package_control_loader.50-python-markdown
reloading plugin 0_package_control_loader.50-pyyaml
reloading plugin 0_package_control_loader.51-python-jinja2
reloading plugin 0_package_control_loader.55-mdpopups
Especially:
reloading plugin 0_package_control_loader.55-mdpopups
Or may be it is my dictionary file fuzzing around with Hunspell. Note the there are currently crashes associated to the spelling engine:
Also, I never ever close Sublime Text. It is always open, as I do not shutdown my computer, Sublime Text should stays open for days and days. This time was on the exactly moment I was gonna switch a tab. Yesterday crashed while I was moving the mouse over the text near the tabs bar, but not touching it.
I am posting the recent dump file mentioned on the Sublime Text forum $24705:7:
Originally posted on: https://forum.sublimetext.com/t/debug-symbols-for-sublime-text-build-3126-to-figure-out-from-where-crash-is-coming/24705/11
The crash seems to be is present on both Sublime Text Build 3126 x86 and x64.
When the Sublime Text 3126 crashes, the error always is:
sublime_text.exe: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
And of course, running it as Administrator mode does not crash because while running in kernel mode Sublime Text can access the whole computer's memory. This way it will never get segmentation fault, except a bus fault, if Sublime Text tries to access a memory address beyond 2^64 - 1.
It probably has to do with the new GUI features introduced from the build 3114 until 3126. As stated Sublime Text implements its own GUI framework and this way overloading the Sublime Text team developers. Now anychanges to its GUI can potencially make the system crash.
Currently Sublime Text can crash anywhere, anytime, boy it don't fight fair. A day in their shoes is a day with full fear. Probably related, if not almost the same problem as ST3 crashes frequently since Build 3124, except here it seems to be also crashing while using both x86 and x64 versions of Sublime Text.
I also noticed before a crash a really weird behavior on the output panel, it just does not showed any output while I was building the program, but it clearly was building as my post build windows was opening.
While using this same build 3126 x86 and settings, themes, color schemes, keybinds on Linux Mint 18 x86, for some weeks I did not remember about any crashes.
However now after one full day and a half of use, Sublime Text 3114 is using about 15GB of RAM's memory. I did not opened big files, etc, the biggest file I opened was 500KB.
On the last day, while Sublime Text gathered 15GB, I wrote some syntax files, builds files, and color schemes, but mostly what I did working within this environment:
After I hit the close button, this is Sublime Text closing. Here after hitting 5GB, it freed all at once and closed for good:
This is how it got within 15GB of RAM's memory use:
I was programming (writing and saving code) all this time, so every second the memory use was growing. But when Sublime Text is just open without doing nothing, the memory halt growing.
I disabled all the packages and let my Sublime Text start up clean like showed bellow, only containing my settings, keybinds and my Notepad++ Color Scheme.
After 6 hours working with Sublime Text (6 hours and 21 minutes), it grow up from 54 MB to 211 MB.
This is much less than it would have grow if all my packages were enabled. If all my packages have being enabled, it would have been grow about from 125 MB on start up, to ~5GB after 5 hours.
DPI scale: 1
startup, version: 3114 windows x64 channel: stable
executable: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/sublime_text.exe
working dir: /C/ProgramData/Microsoft/Windows/Start Menu/Atalhos
packages path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Packages
state path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Local
zip path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Packages
zip path: /D/User/Dropbox/Applications/SoftwareVersioning/SublimeText/Data/Installed Packages
ignored_packages: ["Anaconda", "ApplySyntax", "ColorHelper", "DictionaryAutoComplete", "FileManager", "Git", "SublimeCodeIntel", "Theme - Soda", "Vintage", "WordHighlight", "Add Folder To Project", "AdvancedNewFile", "Alignment", "AlignTab", "All Autocomplete", "Anaconda", "ApplySyntax", "Auto Refresh", "AutoFileName", "Better CoffeeScript", "BetterFindBuffer", "BracketHighlighter", "C++ Completions", "C++ Snippets", "C++ Starting Kit", "C++11", "Case Conversion", "Clickable URLs", "Color Highlighter", "ColorHelper", "ColorSchemeEditor", "Column Select", "Compare Side-By-Side", "ConvertToUTF8", "Copy Filepath With Line Numbers", "CopyWithLineNumbersReloaded", "Delete Current File", "DictionaryAutoComplete", "DistractionFreeWindow", "DocBlockr", "DuplicateSelections", "Markdown to BB Code Converter", "Clear Cursors-Carets", "Clipboard Scope Copy", "Default Syntax", "Fix Project Switch-Restart Bug", "Fixed Selections Clear", "Force Rewrite Sublime Settings", "Markdown to BB Code Converter", "Select All Spelling Errors", "SQL Keyword Uppercase", "View Settings Freely", "Edit Preferences", "Emmet", "ExportHtml", "ExtendedTabSwitcher", "Extract Text to File", "File History", "File Rename", "FileDiffs", "FileManager", "Find++", "FindKeyConflicts", "FuzzyFileNav", "Gist", "Git", "GitGutter", "GitHub Markdown Snippets", "Google Spell Check", "GotoLastEditEnhanced", "Highlight Build Errors", "HighlightWords", "Hungry Backspace", "Increment Selection", "Incrementor", "Invert Selection", "LESS", "Line Endings Unify", "Local History", "Markdown Preview", "MarkdownLight", "Matlab Completions", "MatlabFilenameAutoComplete", "MaxPane", "MySQL Snippets", "Non Text Files", "Number King", "Origami", "Package Control", "PackageDev", "PackageResourceViewer", "Path Translator", "PostScript", "Project Specific Syntax Settings", "Qt Completions for C++", "Random Everything", "RecentActiveFiles", "ReIndent", "ScopeAlways", "ScopeHunter", "SQLExec", "SQLTools", "StickySearch", "Sublime Tutor", "sublime-text-2-buildview", "SublimeCodeIntel", "Swift", "Sync View Scroll", "SyncedSideBar", "Syntax Highlighting for Sass", "SyntaxManager", "TabsExtra", "Terminal", "Text Pastry", "Theme - Soda", "Trimmer", "Whitespace", "WordHighlight", "zz File Icons", "amxmodx", "ANSIescape", "BBCode", "Boxy Theme", "BufferScroll", "Package Control", "Preferences Editor", "Side-by-Side Settings", "SideBarEnhancements", "SublimeCodeIntel", "SublimeREPL", "SyncedSideBar", "Theme - Soda", "Theme - SoDaReloaded", "Toolbar", "CSS", "Diff", "HTML", "0_package_control_loader", "Default.SyncedSideBarCommand"]
pre session restore time: 1.69864
loading dictionary Packages/Language - English/en_US.dic
startup time: 2.47864
first paint time: 2.51564
first paint time: 2.51864
Error loading scope:text.html.basic: Unable to find syntax file for scope text.html.basic in Packages/BBCode/BBCode.sublime-syntax
Error loading scope:source.css: Unable to find syntax file for scope source.css in Packages/BBCode/BBCode.sublime-syntax
Error loading scope:source.postscript: Unable to find syntax file for scope source.postscript in Packages/BBCode/BBCode.sublime-syntax
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_file_settings
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
plugins loaded
I wonder if the updated theme engine in 3129 could have fixed this
I installed today build 3131. Until now I was using build 3114 for almost 6 months with no crashes, except for yesterday I enabled about 100 packages. But I disabled the ones looked most heaviest, as Javatar, BracketHighlighter and not more crashes with build 3114.
Now let see how this new build 3131 behaves.
I just crashed again, now on build 3131.
It was as the first time it crashed, I was going to hover a tab and it crashed:
Dump Summary
------------
Dump File: 1a76f0fd-00e2-4872-9149-c4f94f90cba0.dmp : D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\1a76f0fd-00e2-4872-9149-c4f94f90cba0.dmp
Last Write Time: 19/05/2017 13:20:59
Process Name: sublime_text.exe : D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\sublime_text.exe
Process Architecture: x86
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information: Not Present
I have pdbs for 3133. Can you provide a dmp file if you get a crash with that version?
Absolutely. But no crashes so far 👍
@wbond, it just crashed. On build 3134. This is the dump file:
This is the Dump Summary header:
Dump Summary
------------
Dump File: fac5dd6a-014f-432d-9d57-c215ef30412d.dmp : D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\fac5dd6a-014f-432d-9d57-c215ef30412d.dmp
Last Write Time: 11-Jun-17 14:28:08
Process Name: sublime_text.exe : D:\User\Dropbox\Applications\SoftwareVersioning\SublimeText\sublime_text.exe
Process Architecture: x86
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information: Not Present
System Information
------------------
OS Version: 10.0.15063
CLR Version(s):
It crashed when I switched to a file which had reload from the disk. Do you had the pdbs
for the build 3134?
If not I can downgrade to build 3133 and wait for a crash.
Sublime Text had been open since a day and 15 hours ago (23:24:48 09-Jun-17)
:
And had eat 1GB of memory, but I only had some small files open right now:
The crash reporter had run:
SublimeText\crash_reporter.exe
"sublime_text/windows/x32/3134" ".\fac5dd6a-014f-432d-9d57-c215ef30412d.dmp"
But is does not seem to do nothing useful. Is it sending the dump file do the development team?
This should hopefully be fixed in 3135
Thanks for looking into it!
I installed Sublime Text build 3135 this morning. I am going to monitor its RAM usage for some days and see how it behaves. Until now it is like this:
Seems to be fixed. Then lets see how it behave on the next days.
No crashes until now, but its memory usage is bigger since this morning:
Thanks @wbond! There is a week passed since the fix and no crashes. This original issue seems fixed.
These reference commits just above is because I removed a big file from my repository, then I rewrote my repository history recreating all commits, therefore every commit mentioning this was recreated triggering github api to refer to this again. I am going to report it to them and see if is a desired behavior.
Crash while hovering a File Name on the Tab Bar
On the first day I noticed this behavior, I was highly working with several files, and in on that day I got like 3 or 5 crashes.
That day I did not have to time to write a bug report (busy), but today I got more free time and it just crashed while working with 3 files and going to switch between them by mouse.
I am now looking for a way to disable the hover on the tabs, to see whether those crashes can be stopped with it.
Steps to reproduce
Dump files generated
There are 8 dumps files from 4 November to 19 November:
misspelled_words.txt
Environment
Sublime Text Packages installed:
Start up log start_up_log.txt.
Continue discussions:
sublime-syntax
modificationsCrash for build 3154: