Создание краш-репортов

From Miranda NG
Revision as of 14:33, 13 June 2018 by Goraf (talk | contribs) (Imported translation using page migration)

Crash reports/ru
Jump to navigation Jump to search
Other languages:
Важно
Так как по умолчанию плагин CrashDumper создает малоинформативные отчеты, для наискорейшего исправления ошибок и «падений» Миранды необходимо выполнить следующие действия:

Установите CrashDumper

Скачайте и установите соответствующую версию плагина CrashDumper. Можно сделать это вручную (см. ссылки в карточке плагина) или автоматически — с помощью PluginUpdater'а: выберите «Компоненты для установки» в главном меню, отметьте CrashDumper и нажмите Скачать.

Обновите плагины и отладочные символы

Все ваши плагины и файлы ядра Миранды должны быть самой свежей версии. Важно также, чтобы отладочные символы (.pdb-файлы) были той же компиляции, что и плагины. Поэтому необходимо обновить и отладочные символы (либо «установить» их, если их нет).

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

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