Bugs:Stock answers

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)? Please try to make sure that you are using the latest available release (see https://wiki.maemo.org/Updating_the_tablet_firmware for general information about updating).

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.

Memory issues

Please install sp-memusage package from the tools repository according to the instructions here and provide a log:

 http://maemo.org/development/tools/

The mem-monitor-smaps script can be used to report device free memory and process memory usage accurately enough. Data about shared memory segments (and other system resource) usage changes can be logged with the tools&scripts in the sp-endurance package.

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)

Unfortunately, without more information, as requested in one of the last comments, we are unable to do anything more about this report for the time being. Until more information is forthcoming, I'm resolving the report as "Invalid".

Please feel free to reopen this bug if you can provide the information asked for, or 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.

Potential Product specific answers

Application manager / Installing

Hopefully some information will be in "Tools > Log" in the Application manager. If you are familiar with apt you can also get a detailed error message by trying to install any package using "apt-get install" in the terminal window.

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

Modest getting stuck (strace)

Is Modest using any CPU? What is the output if you strace it?

 strace -p $(pidof modest|cut -d' ' -f1)

See http://maemo.org/development/tools/ and http://maemo.org/development/tools/doc/diablo/strace/ for more information.

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? A packet capture could help to clarify what causes the problem. tcpdump can be used on the Nokia device (Wireshark/Ethereal could be used from another host. Please take a look at http://maemo.org/development/documentation/man_pages/tcpdump.html for more information. 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/

RSS Feed Reader

  • Can you please attach the contents of your device "/home/user/.osso_rss_feed_reader/" directory.
  • Can you please install "strace" according to instructions here at http://maemo.org/development/tools/ . Check with that what RSS feed reader does when/after it gets stuck and provide the output here: strace -p $(pidof osso_rss_feed_reader|cut -d' ' -f1)

SIP/rtcom/Internet Call

  • Do you use NAT?
  • If it's a SIP account, what are the account parameters? Is transport set to UDP in the Advanced settings of your SIP account?
  • A packet capture could help to clarify what causes the problem. tcpdump can be used on the Nokia device (Wireshark/Ethereal could be used from other hosts). Please take a look at http://maemo.org/development/documentation/man_pages/tcpdump.html for more information.
  • Could you also provide a syslog? To do so, start a terminal window. Now export TPORT_LOG=1 and export SOFIASIP_DEBUG=all in the environment (e.g. by editing /etc/osso-af-init/af-defines.sh) for telepathy-sofiasip. Exporting SOFIASIP_PERSIST=1 also prevents telepathy-sofiasip from exiting due to no connections being requested. Now SIP traffic logs get dumped into syslog. Also see http://maemo.org/development/tools/doc/diablo/syslog/ .

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?