Bugs:Stock answers

m (Old Software version)
(Modest)
Line 97: Line 97:
   /usr/bin/maemo-summoner /usr/bin/modest.launch showui
   /usr/bin/maemo-summoner /usr/bin/modest.launch showui
provide some output?
provide some output?
 +
====Debugging the connection to the mail server====
 +
Can you please start an X Terminal window and enter
 +
    export "CAMEL_DEBUG"="all"
 +
to enable the debug mode of the mail library, and after that
 +
    /usr/bin/maemo-summoner /usr/bin/modest.launch showui > log 2>&1
 +
to start the email application. Then try to connect to the mailserver.
 +
Attach the logfile named "log" here (please check for confidential data before attached).
 +
 +
====Modest not exiting but eating CPU====
====Modest not exiting but eating CPU====
I assume you waited for 10 minutes to make sure that this wasn't any time taking resource freeing? Does this also happen if you are not using SSL?
I assume you waited for 10 minutes to make sure that this wasn't any time taking resource freeing? Does this also happen if you are not using SSL?

Revision as of 18:50, 18 August 2008

Contents

Bugzilla stock answers

A quick collection for anybody triaging bug reports in Maemo Bugzilla. These stock answers are meant to be copied and pasted to bug reports that could be more useful. Please keep the product specific ones alphabetically sorted, and feel free to edit/enhance! -User:Andre

General

too vague and generally bad report

Thanks for reporting this. This bug report isn't very useful because it doesn't describe the bug well. If you have time and can still reproduce the bug, please read https://bugs.maemo.org/page.cgi?id=bug-writing.html and add a more useful description to this bug.

version number

Thanks for reporting this. Can you please tell us exactly which version you are using (Control Panel > General > About product)? Does the crash give you any sort of error message? Was anything else running at the time?

Need a stacktrace (for Notes)

Is there any error message when it crashes? Can you please run Notes in a terminal window (Applications Menu -> Utilities > X Terminal, then enter the command "maemo-summoner /usr/bin/osso_notes.launch > log 2>&1" and hit the Enter key) and attach the resulting "log" file here after it has crashed?

Having a core dump could be even more useful. It requires installing the "sp-rich-core" package from the tools repository[1] and creating a "core-dumps" directory to the memory card with at least few megabytes of free space. You can get core dumps also without the rich-core package, but they are much less useful (and without it pre-installed applications core dumps are then named maemo-launcher-*).

[1] http://maemo.org/development/tools/\ (also features information about valgrind and strace)

Old Software version

Thanks for reporting this. Can you please test this again running the latest available release? Also see https://wiki.maemo.org/Upgrading_tablet_OS for more information on how to flash your tablet.

Duplicate

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

Incomplete (after moreinfo keyword set)

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for/if you can still reproduce this. Thanks!

Become root

To do this, you have to become root first. Please see http://wiki.maemo.org/Root_access for instructions.

Packet capture for SIP issues

A packet capture could help to clarify which party causes the problem. tcpdump can be used on the Nokia device, and Wireshark/Ethereal from another host (you would probably have to rig your network for the latter). I'm not sure if the users can enable syslog; if yes, exporting TPORT_LOG=1 in the environment (e.g. by editing /etc/osso-af-init/af-defines.sh) for telepathy-sofiasip is a way to get SIP traffic logs dumped into syslog. Also, /usr/lib/telepathy/telepathy-sofiasip can be launched standalone in a terminal.

Potential Product specific answers

Applets (debugging)

The easiest way to debug your applets is to run the hildon-desktop on scratchbox currently: run-standalone.sh /usr/bin/hildon-desktop From console you can see then the printouts. Debugging on the device is a bit harder. For Python applets you might want to check pyphantom.

With Valgrind on x86-scratchbox one can debug applet problems (e.g. memory leaks):

 af-sb-init.sh start

<wait until desktop starts>

 kill $(pidof maemo_af_desktop)
 export G_SLICE="always-malloc"
 run-standalone.sh valgrind --tool=memcheck --num-callers=60 --leak-check=yes /usr/bin/maemo-summoner /usr/bin/maemo_af_desktop.launch

Bluetooth DUN issues

Is there any error message displayed? Could you maybe provide a syslog and a hcidump (package "bluez-hcidump", also see http://maemo.org/development/documentation/man_pages/hcidump.html ) of the situation? Which exact osso-ic version are you using (osso-ic does not exist in Diablo anymore)? For your interest, there is also http://maemo.org/community/wiki/BluetoothDUN/ listing devices that are expected to work.

Browser

  • Can you please tell us which browser type this is (Opera vs MicroB) by providing the output of "cat /home/user/.browser"?
  • Can you please create a browser logfile? Enter about:config?prefname=browser.consolelogfile&prefvalue=/tmp/browserlog in the browser location bar, set that preference, reproduce the browser problem and post the content of the file /tmp/browserlog here (you can for example start the terminal application, run "more /tmp/browserlog" and copy the output to this bug report).

Busybox

Do you have some 3rd party version of Busybox installed?

Charger issues

Does the reboot loop stops when you disconnect the charger? Are you using the original N800 charger or something else? If you have another compatible charger, does the problem occur also with that? Does the crash/reboot happen only if you boot with charger, or if you plug the charger in when the device is already running?

Flasher

Windows: What are current versions (Control Panel/Add or Remove Programs) of WinFlasher+ (Nokia Internet Tablet Update Wizard) and Nokia Connectivity Cable Driver? What OS (XP, Windows 2000)? What is the exact error message you get? Is .NET 2.0 framework installed (Control Panel -> Add or Remove Programs)?

Internet Tablet Video Converter

AVI is just a container format, what matters is the codec. Can you please find out which codec your camera uses? You might want to check the camera manual. Thanks! Are there any error messages when the crash happens? Did the application install cleanly with no problems? Could you try to uninstall and reinstall again from a clean download please?

Input Methods

http://maemo.org/development/documentation/how-tos/4-x/extending_hildon_input_methods.html

MMC/SD card related (Product "System software/mmc-and-usb")

Has this happened with any other card? What is your card manufacturer, model and size?

Could you check whether your card is corrupted (on device you can use "dosfsck -n" command, or you can plug USB cable and use your PC disk check utility) and save the information about the card configuration? Would it also be possible for you to copy all the data from the card to safety[1], reformat the card using the device Filemanager (or if you do that from the PC, mention it) and try whether it still causes the lockup? If not, copy the files back to the card to see whether it now causes lockup. So we can see whether lockup is caused by card itself, its formatting, the data on it, or corrupted file system. [1] if you know Linux and don't mind some extra effort, it would be preferable to "dd" the whole mounted USB storage device content to an image file so that you get a disk image that can be copied directly back, otherwise you can use normal copy.

Modest

Does starting

 /usr/bin/maemo-summoner /usr/bin/modest.launch showui

provide some output?

Debugging the connection to the mail server

Can you please start an X Terminal window and enter

   export "CAMEL_DEBUG"="all"

to enable the debug mode of the mail library, and after that

   /usr/bin/maemo-summoner /usr/bin/modest.launch showui > log 2>&1

to start the email application. Then try to connect to the mailserver. Attach the logfile named "log" here (please check for confidential data before attached).


Modest not exiting but eating CPU

I assume you waited for 10 minutes to make sure that this wasn't any time taking resource freeing? Does this also happen if you are not using SSL? Can you provide us a wireshark or pcap log? Can you maybe strace on the hanging process and post the information here? Can you kill the hanging process with signal=11 to provide us with a core dump?

Power management

https://maemo.org/community/wiki/poweranddevicemanagement/

Battery drain can have many potential reasons:

- bad 3rd party applet/application not idling when not used
- buggy WLAN access point (not implementing power management properly)
 - setting device to offline mode when not in use helps
- Keeping device in RD mode
- Corrupted memory card
- Metalayer crawler related bugs (only currently known is about gstreamer/WMA)
- etc.

Reboot related

http://maemo.org/community/wiki/ReportingRebootIssues/

Skype

Please file Skype bugs against https://developer.skype.com/jira instead.

Wifi/WLAN related

Does running "/etc/init.d/networking restart" update the list of wifis?

Asking for more information:

  • What AP you have?
    • Make and model?
    • Firmware version?
    • Hardware revision?
    • What are the encryption settings? (open/WEP/WPA-PSK/WPA-EAP)
  • What's the distance to the AP?
  • How many APs do you have?

PSM problems:

  • Does disabling Power Save Mode (PSM) in N800/N810 help?
  • AP settings:
    • What's the beacon interval?
    • What's the DTIM period?