Справаздача пра памылку

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

Crash reports/be
Jump to navigation Jump to search
Other languages:
Важнае
Плагін CrashDumper па змаўчанні стварае малаінфарматыўныя справаздачы, для хутчэйшага выпраўлення памылак і «падзенняў» Міранды неабходна выканаць наступныя дзеянні:

Усталюйце CrashDumper

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

Абновіце плагіны і адладкавыя знакі

Усе вашы плагіны і файлы ядра Міранды павінны быць самай свежай версіі. Важна таксама, каб адладкавыя знакі (.pdb-файлы) былі той жа кампіляцыі, што і плагіны. Таму неабходна абнавіць і адладкавыя знакі (або «ўсталяваць» іх, калі іх няма).

Важнае
Усе паведамленні пра памылкі правяраюцца на транке, таму рэкамендуецца рабіць краш-рэпорты выкарыстоўваючы апошнюю бягучую версію Miranda NG. Калі ж патрабуецца справаздача для стабільнай версіі, то адпаведныя .pdb-файлы для яе неабходна запампаваць уручную.

Аўтаматычны спосаб

PluginUpdater дазваляе абнавіць плагіны і загрузіць адладкавыя знакі аўтаматычна:

  • Адкрыйце Налады → Службы → Абнаўленне плагінаў → «Крыніца абнаўлення».
  • Адзначце опцыю «Версія ў распрацоўцы з адладкавымі знакамі» і націсніце OK.
  • Абярыце «Праверыць абнаўленні» у галоўным меню, націсніце Абнавіць і дачакайцеся пацверджання перазагрузкі праграмы.

Ручны спосаб

  • 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