Crash reports/ru: Difference between revisions

From Miranda NG
Crash reports/ru
Jump to navigation Jump to search
(prepare for migration)
(Updating to match new version of source page)
Line 1: Line 1:
Создание краш-репортов
<languages/>
{{TNT|Important|Reports generated by {{Plugin|CrashDumper}} by default are insufficient and of little use. To create a useful crash report you need to do the following:}}


Так как по умолчанию плагин {{Plugin|CrashDumper}} создает малоинформативные отчеты, для наискорейшего исправления ошибок и «падений» Миранды необходимо выполнить следующие действия:
__TOC__


== Установите CrashDumper ==
== Install CrashDumper ==


Скачайте и установите соответствующую версию плагина {{Plugin|CrashDumper}}. Можно сделать это вручную (см. ссылки в карточке плагина) или автоматически — с помощью {{Plugin|PluginUpdater}}: выберите ''«Компоненты для установки»'' в главном меню, отметьте CrashDumper и нажмите {{Button|Скачать}}.
Install the appropriate version of {{Plugin|CrashDumper}} plugin. You can do this manually (download links are found in the plugin card on its page) or automatically using {{Plugin|PluginUpdater}}: go to {{Menu|Main Menu|Available components list}}, select CrashDumper and click ''Download'' button.


== Обновите плагины и отладочные символы ==
== Update plugins and debug symbols ==


Все ваши плагины и файлы ядра Миранды должны быть самой свежей версии. Важно также, чтобы отладочные символы (.pdb-файлы) были той же компиляции, что и плагины. Поэтому необходимо обновить и отладочные символы (либо «установить» их, если их нет).
All your plugins and Miranda core files must be of the latest version. Also, the debug symbols (PDB files) must be of the same compilation as the plugins, so it is necessary to update them too (or install if you don't have any).
{{TNT|Important|All reported issues are checked and fixed on trunk, that's why creating crash reports using only the latest {{GlossLink|development version}} of Miranda NG makes sense. However, if you want to create a report for the {{GlossLink|stable version}}, you can '''manually''' download PDB files for this release.}}


Все сообщения об ошибках проверяются на транке, поэтому рекомендуется делать краш-репорты, используя последнюю {{GlossLink|Версия в разработке|версию, находящуюся в разработке}}. Если же требуется отчёт для {{GlossLink|Стабильная версия|стабильной версии}}, то соответствующие .pdb-файлы для неё необходимо скачать '''вручную'''.
=== Automatic method ===


=== Автоматический способ ===
If you have {{Plugin|PluginUpdater}} installed you can download the latest development version of plugins and the appropriate debug symbols automatically.
* Go to {{Menu|Options|Services|Plugin Updater|Files source}}
* Select ''Development version with debug symbols'' option and click ''OK''.
* Choose ''Check for updates'' from the Main menu, click ''Update'' and wait till Miranda asks for restart.


{{Plugin|PluginUpdater}} позволяет обновить плагины и загрузить отладочные символы автоматически:
=== Manual method ===
* Откройте {{Menu|Настройки|Службы|Обновление плагинов|«Источник обновления»}}.
* Отметьте опцию ''«Версия в разработке с отладочными символами»'' и нажмите {{Button|OK}}.
* Выберите ''«Проверить обновления»'' в главном меню, нажмите {{Button|Обновить}} и дождитесь подтверждения перезагрузки программы.


=== Ручной способ ===
* Using [[Download]] page update manually {{Strong|all}} the plugins and Miranda core files to the latest version:
** Download the appropriate version of these plugins and core.
** Extract the contents of the archives into the main Miranda NG folder keeping the directory structure.
* From the [[Download#Core|Core]] section download debug symbols archive (miranda-ng-debug-symbols*.7z) of the same version as the plugins.
* Extract .pdb files named identically with your plugins from the archive to main Miranda NG folder. {{Strong|Do not extract anything to Plugins folder.}}{{TNT|Important|Each time you update the plugins you have to re-download the debug symbols.}}


* Пользуясь [[Скачать|страницей закачек]], обновите вручную '''все''' плагины и файлы ядра Миранды:
== Reproduce the crash ==
** Загрузите соответствующие версии ваших плагинов и ядра.
** Распакуйте содержимое скачанных архивов в корневую папку Миранды, сохранив структуру папок.
* В разделе [[Скачать#Ядро|Ядро]] выберите и скачайте архив с отладочными символами (<tt>miranda-ng-debug-symbols*.7z</tt>) соответствующей версии и разрядности.
* Извлеките из архива .pdb-файлы с именами, аналогичными имеющимся плагинам, в '''корень''' Миранды. {{Strong|В папку Plugins ничего класть не нужно!}}


После обновления плагинов отладочные символы '''необходимо''' перекачивать.
Repeat the actions you performed before the crash occurred for the first time.
{{TNT|Note|Sometimes you may find that it is impossible to reproduce the crash. Perhaps the bug that caused it, was fixed in the latest version.}}
If you succeeded and Miranda did crash again, check Profiles\<Profile_name>\CrashLog\<Current_date> folder – crashlog files (.txt and .mdmp) are saved here by default.


== Повторите «падение» Миранды ==
== Example reports ==


Повторите действия, вызвавшие «падение» Миранды.
# Wrong: [http://pastie.org/5456564 http://pastie.org/5456564]. Some debug symbols are missing which is denoted by lines "(filename not available) (0): (function-name not available)" with Miranda core/plugins names (Lines with USER32, ntdll, kernel32, etc. don't matter).
# Right: [http://pastie.org/5456572 http://pastie.org/5456572]. All debug symbols are in place, no lines "(filename not available) (0): (function-name not available)" with Miranda core/plugins names.


Иногда повторить краш на версии, находящейся в разработке, не удаётся. Возможно, ошибку, вызывавшую «падение», уже заметили и исправили.
== Tips and tricks ==


Если ошибку удалось воспроизвести, ищите файлы отчёта (.txt и .mdmp) в папке <tt>Profiles\<Имя_профиля>\CrashLog\<Текущая_дата>.
* Use the attatchments system of the forum/tracker to upload your crash report there.


; Примеры отчётов
== See also ==
* {{Ll|Reporting bugs}}


# Неправильно: [http://pastie.org/5456564 http://pastie.org/5456564]. Не подложены все дебаг-символы, это легко определяется наличием строчек «<tt>(filename not available) (0): (function-name not available)</tt>» с именами ядра/плагинов Миранды (на строчки с <tt>USER32</tt>, <tt>ntdll</tt>, <tt>kernel32</tt> и т. п. можно не обращать внимания).
[[Category:Help{{#translation:}}|{{#getdisplaytitle:{{FULLPAGENAME}}}}]]
# Правильно: [http://pastie.org/5456572 http://pastie.org/5456572]. Дебаг-символы на месте, нет строк «<tt>(filename not available) (0): (function-name not available)</tt>» с именами ядра/плагинов Миранды.
 
== Приёмы работы и советы ==
 
* Краш-репорты лучше всего загружать на сайты, аналогичные [https://pastebin.com pastebin.com] или [http://pastie.org pastie.org].
 
== См. также ==

Revision as of 14:00, 13 June 2018

Other languages:
Важно
Reports generated by CrashDumper by default are insufficient and of little use. To create a useful crash report you need to do the following:

Install CrashDumper

Install the appropriate version of CrashDumper plugin. You can do this manually (download links are found in the plugin card on its page) or automatically using PluginUpdater: go to Main Menu → Available components list, select CrashDumper and click Download button.

Update plugins and debug symbols

All your plugins and Miranda core files must be of the latest version. Also, the debug symbols (PDB files) must be of the same compilation as the plugins, so it is necessary to update them too (or install if you don't have any).

Важно
All reported issues are checked and fixed on trunk, that's why creating crash reports using only the latest development version of Miranda NG makes sense. However, if you want to create a report for the stable version, you can manually download PDB files for this release.

Automatic method

If you have PluginUpdater installed you can download the latest development version of plugins and the appropriate debug symbols automatically.

  • Go to Options → Services → Plugin Updater → Files source
  • Select Development version with debug symbols option and click OK.
  • Choose Check for updates from the Main menu, click Update and wait till Miranda asks for restart.

Manual method

  • Using Download page update manually all the plugins and Miranda core files to the latest version:
    •  Download the appropriate version of these plugins and core.
    •  Extract the contents of the archives into the main Miranda NG folder keeping the directory structure.
  • From the Core section download debug symbols archive (miranda-ng-debug-symbols*.7z) of the same version as the plugins.
  • Extract .pdb files named identically with your plugins from the archive to main Miranda NG folder. Do not extract anything to Plugins folder.
    Важно
    Each time you update the plugins you have to re-download the debug symbols.

Reproduce the crash

Repeat the actions you performed before the crash occurred for the first time.

Примечание
Sometimes you may find that it is impossible to reproduce the crash. Perhaps the bug that caused it, was fixed in the latest version.

If you succeeded and Miranda did crash again, check Profiles\<Profile_name>\CrashLog\<Current_date> folder – crashlog files (.txt and .mdmp) are saved here by default.

Example reports

  1. Wrong: http://pastie.org/5456564. Some debug symbols are missing which is denoted by lines "(filename not available) (0): (function-name not available)" with Miranda core/plugins names (Lines with USER32, ntdll, kernel32, etc. don't matter).
  2. Right: http://pastie.org/5456572. All debug symbols are in place, no lines "(filename not available) (0): (function-name not available)" with Miranda core/plugins names.

Tips and tricks

  • Use the attatchments system of the forum/tracker to upload your crash report there.

See also