LatteDock/HowToReportCrashes: Difference between revisions

From KDE UserBase Wiki
m (Fix typo)
m (fix formatting for translations)
Line 13: Line 13:


* Install ''ddd''
* Install ''ddd''
* <code>ddd latte-dock</code>
* <code>ddd latte-dock</code>
* In ddd window write and execute, <code>run</code>
* In ddd window write and execute, <code>run</code>
* When it crashes, click <menuchoice>Status</menuchoice> from the menu, <menuchoice>Backtrace</menuchoice>
* When it crashes, click <menuchoice>Status</menuchoice> from the menu, <menuchoice>Backtrace</menuchoice>
* This will show you a window with numbered lines that could be helpful for us...
* This will show you a window with numbered lines that could be helpful for us...


If the crash is from QML you should try the following:
If the crash is from QML you should try the following:


- Run command: {{Input|1=env QV4_FORCE_INTERPRETER=1 latte-dock -d}}
* Run command: {{Input|1=env QV4_FORCE_INTERPRETER=1 latte-dock -d}}
- If the above does not provide enough info you could try: {{Input|1=env QV4_FORCE_INTERPRETER=1 ddd --debugger /bin/gdb latte-dock}} that should provide more information if the debug packages are installed
 
* If the above does not provide enough info you could try: {{Input|1=env QV4_FORCE_INTERPRETER=1 ddd --debugger /bin/gdb latte-dock}} that should provide more information if the debug packages are installed


If nothing from the above succeeds you could try to check if the crash is related to specific plasmoid:
If nothing from the above succeeds you could try to check if the crash is related to specific plasmoid:

Revision as of 17:10, 10 March 2019

Other languages:

←Latte Dock

First try to clean your qt cache, #788, kubuntu bug 1736765:

  1. Close Latte
  2. In folder ~/.cache/lattedock/qmlcache/ remove everything
  3. Start Latte again

Use the following guidelines:

  • Install ddd
  • ddd latte-dock
  • In ddd window write and execute, run
  • When it crashes, click Status from the menu, Backtrace
  • This will show you a window with numbered lines that could be helpful for us...

If the crash is from QML you should try the following:

  • Run command:
    env QV4_FORCE_INTERPRETER=1 latte-dock -d
  • If the above does not provide enough info you could try:
    env QV4_FORCE_INTERPRETER=1 ddd --debugger /bin/gdb latte-dock
    that should provide more information if the debug packages are installed

If nothing from the above succeeds you could try to check if the crash is related to specific plasmoid:

  1. Use Latte only with default Layout (does it crash?)
  2. If it doesnt crash start adding one by one your plasmoids to check their behavior and if they crash Latte...

If anyone knows that during the day Latte will crash, he can use the previous suggestions to give us a meaningful backtrace... For 95% of the cases that backtrace can help us identify if the crash is in our side...