Crash reports/pl: Difference between revisions

From Miranda NG
Crash reports/pl
Jump to navigation Jump to search
(prepare for migration)
(Updating to match new version of source page)
Line 1: Line 1:
Do utworzenia raportu o błędach potrzebna jest wtyczka {{Plugin|CrashDumper}}. Jednak raporty domyślnie tworzone przez wtyczkę nie posiadają pełni informacji koniecznych do zlokalizowania błędu. W celu stworzenia kompletnego raportu wykonaj następujące kroki:
<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:}}


== Zainstaluj CrashDumper ==
__TOC__


Zainstaluj odpowiednią wersję wtyczki {{Plugin|CrashDumper}}. Możesz to zrobić ręcznie lub z poziomu samej Mirandy.
== Install CrashDumper ==
: ''Zobacz: [[Instalacja i aktualizacja#Instalowanie wtyczek|Instalowanie wtyczek]]''


== Zaktualizuj wtyczki i symbole debugowania ==
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.


Wszystkie używane przez Ciebie wtyczki oraz pliki rdzenia Mirandy muszą być w aktualnej (najnowszej) wersji. To samo tyczy się symboli debugowania (pliki <tt>PDB</tt>), które muszą być także w tej samej wersji co wtyczki.
== Update plugins and debug symbols ==


Raport powinien być tworzony dla ostatniej {{GlossLink|Wersja rozwojowa|wersji rozwojowej}}, gdyż w niej są wprowadzane wszystkie poprawki i tylko raport w tej wersji jest użyteczny dla osób naprawiających problemy. Natomiast jeżeli chcesz stworzyć raport dla wersji stabilnej możesz ręcznie pobrać pliki dla tej wersji.
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.}}


=== Metoda automatyczna ===
=== Automatic method ===


Jeżeli masz zainstalowaną wtyczkę {{Plugin|PluginUpdater}} możesz pobrać ostatnią wersję rozwojową używanych wtyczek i skojarzonych z nimi symbolami debugowania za jednym zamachem.
If you have {{Plugin|PluginUpdater}} installed you can download the latest development version of plugins and the appropriate debug symbols automatically.
* Przejdź do: {{Menu|Opcje|Usługi|Aktualizacje|Źródło plików}}.
* Go to {{Menu|Options|Services|Plugin Updater|Files source}}
* Wybierz opcję: ''Wersja rozwojowa z symbolami debugowania'', i wciśnij ''OK''.
* Select ''Development version with debug symbols'' option and click ''OK''.
* Z ''Menu głównego'' wybierz ''Sprawdź aktualizacje''.
* Choose ''Check for updates'' from the Main menu, click ''Update'' and wait till Miranda asks for restart.
* Zaznacz wszystkie wtyczki i wciśnij ''Aktualizacja''.


=== Metoda ręczna ===
=== Manual method ===


* Korzystając ze strony [[Pobierz]] zaktualizuj ręcznie wszystkie używane przez Ciebie wtyczki oraz rdzeń Mirandy do najnowszej wersji. W tym celu:
* Using [[Download]] page update manually {{Strong|all}} the plugins and Miranda core files to the latest version:
** Pobierz archiwa tych wtyczek/rdzenia w odpowiedniej {{GlossLink|Wersja rozwojowa|wersji rozwojowej}}.
** Download the appropriate version of these plugins and core.
** Wypakuj te archiwa do folderu Mirandy z zachowaniem struktury katalogów.
** Extract the contents of the archives into the main Miranda NG folder keeping the directory structure.
* Pobierz z sekcji [[Pobierz#Główne pliki Mirandy|Główne pliki Mirandy]] archiwum z symbolami debugowania (miranda-ng-debug-symbols*.7z), pamiętając o tym, żeby pobrać je w takiej wersji, w jakiej zostały pobrane wtyczki.
* From the [[Download#Core|Core]] section download debug symbols archive (miranda-ng-debug-symbols*.7z) of the same version as the plugins.
* Wypakuj z pobranego archiwum, do głównego folderu Mirandy NG, pliki o nazwach takich jak wtyczki, których używasz. Pliki te mają rozszerzenie .pdb. Najprościej i najszybciej jest wypakować całe archiwum. {{Strong|Nie wypakowuj nic do folderu 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.}}


Po każdej aktualizacji wtyczek/Mirandy, symbole debugowania trzeba pobrać na nowo.
== Reproduce the crash ==


== Odtwórz błąd ==
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.


Spróbuj odtworzyć błąd. W tym celu postaraj się wykonać takie same czynności jak przed poprzednim jego wystąpieniem.
== Example reports ==


Czasami może się okazać, że nie udaje Ci się odtworzyć awarii. Być może w pobranych przez Ciebie aktualnych wersjach wtyczek, błąd, który ją powodował, został już naprawiony.
# 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.


Jeżeli powyższe kroki zostały wykonane i przebiegły poprawnie, to w folderze CrashLog (w katalogu z Twoim profilem) znajdziesz kompletny raport, czyli taki, w którym wszystkie wymagane symbole debugowania zostały zawarte. Zobacz w poniższych przykładach.
== Tips and tricks ==


== Przykładowe raporty ==
* Use the attatchments system of the forum/tracker to upload your crash report there.


#Zły (niekompletny): [http://pastie.org/5456564 http://pastie.org/5456564]. Brakuje pewnych symboli debugowania, co pokazują wpisy "<tt>(filename not available) (0): (function-name not available)</tt>" przy nazwach wtyczek i funkcji jądra Mirandy. (Wpisy z USER32, ntdll, kernel32, itd. są nieistotne).
== See also ==
# Dobry (kompletny): [http://pastie.org/5456572 http://pastie.org/5456572]. Wszystkie potrzebne symbole debugowania są obecne. Brak wpisów "<tt>(filename not available) (0): (function-name not available)</tt>" (wpisy z USER32, ntdll, kernel32, itd. są nieistotne). Na ich miejsce zsotały wstawione ścieżki do plików i nazwy funkcji.
* {{Ll|Reporting bugs}}


== Porady i wskazówki ==
[[Category:Help{{#translation:}}|{{#getdisplaytitle:{{FULLPAGENAME}}}}]]
 
* Raporty można załadować do serwisów typu [https://pastebin.com pastebin.com] czy [http://pastie.org pastie.org].
 
== Zobacz także ==

Revision as of 13:59, 13 June 2018

Ważne
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).

Ważne
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.
    Ważne
    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.

Informacja
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