LatteDock/HowToReportCrashes: Difference between revisions

From KDE UserBase Wiki
m (fix formatting for translations)
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
[[LatteDock|←Latte Dock]]
[[LatteDock|←Latte Dock]]


<!--T:2-->
First try to clean your qt cache, [https://github.com/psifidotos/Latte-Dock/issues/788 #788], [https://bugs.launchpad.net/kubuntu-ppa/+bug/1736765 kubuntu bug 1736765]:
First try to clean your qt cache, [https://github.com/psifidotos/Latte-Dock/issues/788 #788], [https://bugs.launchpad.net/kubuntu-ppa/+bug/1736765 kubuntu bug 1736765]:


<!--T:3-->
# Close Latte
# Close Latte
# In folder {{Path|1=~/.cache/lattedock/qmlcache/}} remove everything
# In folder {{Path|1=~/.cache/lattedock/qmlcache/}} remove everything
# Start Latte again
# Start Latte again


<!--T:4-->
Use the following guidelines:
Use the following guidelines:


<!--T:5-->
* Install ''ddd''
* Install ''ddd''


<!--T:6-->
* <code>ddd latte-dock</code>
* <code>ddd latte-dock</code>


<!--T:7-->
* In ddd window write and execute, <code>run</code>
* In ddd window write and execute, <code>run</code>


<!--T:8-->
* 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>


<!--T:9-->
* 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...


<!--T:10-->
If the crash is from QML you should try the following:
If the crash is from QML you should try the following:


<!--T:11-->
* Run command: {{Input|1=env QV4_FORCE_INTERPRETER=1 latte-dock -d}}
* Run command: {{Input|1=env QV4_FORCE_INTERPRETER=1 latte-dock -d}}


<!--T:12-->
* 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


<!--T:13-->
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:


<!--T:14-->
# Use Latte only with default Layout (does it crash?)
# Use Latte only with default Layout (does it crash?)
# If it doesnt crash start adding one by one your plasmoids to check their behavior and if they crash Latte...
# If it doesnt crash start adding one by one your plasmoids to check their behavior and if they crash Latte...
--------
--------


<!--T:15-->
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...
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...


<!--T:16-->
[[Category:Desktop]]
[[Category:Desktop]]
[[Category:Plasma]]
[[Category:Plasma]]
</translate>
</translate>

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...