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 Updating the tablet firmware for general information about updating).

Software hangs with 100% CPU

Can you please:

  • Either install "strace" from the tools repository[1] and "strace" the CPU consuming process, or
  • install 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.
  • do "kill -6 <PID>" for the process that takes the CPU, and
  • attach the resulting .rcore.lzo file from the core-dumps directory to here?

[1] http://maemo.org/development/tools/

Need a crash 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 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. For advanced users: Also see http://wiki.maemo.org/Using_Valgrind_and_gdb_in_Scratchbox for how to find memory leaks using the Scratchbox environment.

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 Root access for instructions.

Untidy patch provided

Thanks for the patch. Can you please clean it up and reattach it? See http://wiki.maemo.org/The_Good_Patch for more information.

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 and car sets (only in Fremantle)

There are two different logs that would be useful. The first is bluetoothd debug logs and the second is a HCI-level trace.

For the first you'd need to:

1. install the klogd and sysklogd debian packages (and probably reboot the device afterwards)
2. after booting and before doing anything with bluetooth do "killall -USR2 bluetoothd" (as root) to enable bluetoothd debug logs
3. after reproducing the issue "grep bluetoothd /var/log/syslog > bluetoothd-log.txt" and attach the file here.

For a HCI trace do:

1. install the bluez-hcidump debian package
2. (as root) run "hcidump -B -w hci-trace.log while reproducing the issue
3. attach the hci-trace.log (or whatever filename you chose) here

See http://wiki.maemo.org/Documentation/devtools/maemo5 for more information on how to install the requested packages.

Bluetooth DUN issues (Diablo only)

Is there any error message displayed? Could you provide a syslog and a hcidump (package "bluez-hcidump", also see http://maemo.org/development/tools/doc/diablo/bluez-hcidump/ , manual download at http://repository.maemo.org/pool/diablo/free/b/bluez-hcidump/ )? For general information: http://www.cellular-store.com/categorybluetooth.aspx provides a list of Bluetooth Compatible Cell Phones Models.

Bluetooth DUN issues (Fremantle only)

This is not officially supported - see http://wiki.maemo.org/Fremantle_Unsupported_Bluetooth_profiles for more information.

Bluetooth OBEX (File transfer) issues (only in Diablo)

Are you sure that the cell phone supports OBEX File Transfer and not e.g. only OBEX Object Push? Can you e.g. discover it by doing "sdptool search --bdaddr <bt address of phone> FTP"?

Browser

Chinook only

  • Can you please tell us which browser type this is (Opera vs MicroB) by providing the output of "cat /home/user/.browser"?

Diablo only

  • 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)?

GPRS/3G issues

  • Do you see this with any other operator's SIM?
  • Do you see this if you force the device to 2G? (Phone settings - you need to

wait until the dialog lets you to save the setting)

  • Do you see this when tethering (Bluetooth DUN or USB cable) from a laptop, with a similar network usage pattern (web browsing, etc.)?
  • Have you contacted the operator in question, whether they have any known

issues or any restrictions in place? (Like, traffic shaping of some sort)

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

Mail

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 > /home/user/MyDocs/.documents/log 2>&1

to start the email application. Then try to connect to the mailserver. Attach the logfile named "log" here which will be in your Home directory (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?

Mail for Exchange / Synchronization

Can you please:
1) Install syslog (see http://wiki.maemo.org/Documentation/devtools/maemo5/syslog ) and reboot
2) Open X Terminal
[optional steps begin]
2A. sudo gainroot (if you have "rootfs" installed before)
2B. cat /dev/null > /var/log/syslog
[optional steps end]
3) Provide the output the following commands:
   gconftool-2 -s --type=int /apps/activesync/AsDaemon/Syslog/MinLogLevel 0
   gconftool-2 -s --type=int /apps/activesync/modest/Syslog/MinLogLevel 0
   gconftool-2 -s --type=int /apps/activesync/AsProvider/Syslog/MinLogLevel 0
   gconftool-2 -s --type=int /apps/activesync/AsBackup/Syslog/MinLogLevel 0
   gconftool-2 -s --type=int /apps/activesync/asapplet/Syslog/MinLogLevel 0
   gconftool-2 -s --type=int /apps/activesync/AsStatusApplet/Syslog/MinLogLevel 0
4) Attach the file /var/log/syslog from the device to this bug (if needed, copy it first to the section that is visible in the File Manager: cp /var/log/syslog /home/user/MyDocs/.documents/  )

Menu issues

Please check http://wiki.maemo.org/Troubleshooting_menu_issues and report back.

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.

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://wiki.maemo.org/Troubleshooting_boot_issues

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)" if it is already running, or "strace -f maemo-summoner /usr/bin/osso_rss_feed_reader.launch" to start it in strace.

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/ for Maemo4 or http://wiki.maemo.org/Documentation/devtools/maemo5/syslog for Maemo5.

Skype

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

Tracker

Please provide a log by setting the config verbosity (in $HOME/.config/tracker/*.cfg) or setting the verbosity when running commands with -v {0|1|2|3} The logs are stored in $HOME/.local/share/tracker/ .

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 setting Power Saving to "Off" help? (Settings > Internet Connections > Connections > Edit > Next > Next > Next > Advanced > Other > Power saving)
  • AP settings:
    • What's the beacon interval?
    • What's the DTIM period?