Bug report

From GnokiiWiki

(Difference between revisions)
Jump to: navigation, search
(Mention the fake driver; other small changes)
(Suggest using LC_MESSAGE=en_US.UTF8)
Line 10: Line 10:
     debug = on
     debug = on
and attach gzipped output to the email:
and attach gzipped output to the email:
-
     (x)gnokii(d) [parameters] 2>errfile
+
     LC_MESSAGES=en_US.UTF8 (x)gnokii(d) [parameters] 2>errfile
 +
(with <code>LC_MESSAGE=en_US.UTF8</code> the program putput and the error messages will be in English)
It would be good if you name the problem in the subject if possible and
It would be good if you name the problem in the subject if possible and
name if it meets [[gnokii]], [[xgnokii]] or [[gnokiid]] binaries or gnokii as a whole.
name if it meets [[gnokii]], [[xgnokii]] or [[gnokiid]] binaries or gnokii as a whole.
* if you get a SEGFAULT, a backtrace is needed (refer to [[segfault]]).
* if you get a SEGFAULT, a backtrace is needed (refer to [[segfault]]).
-
* if you get encoding errors always use the git version and do your tests also with the [[fake driver]]
+
* if you get encoding errors always use the git version and if you are using a Nokia do your tests also with the [[fake driver]]
Send resulting report to gnokii-users (at) nongnu.org
Send resulting report to gnokii-users (at) nongnu.org

Revision as of 14:27, 4 March 2010

Before reporting a problem with gnokii make sure that the problem still exists with current version.

When you report a problems please attach the following information:

  • phone model and how do you connect (Bluetooth/IrDa/cable with its type)
  • the values of the configuration parameters model, connection and port
  • gnokii version (gnokii --version) along with source for it: git, tarball, binary package
  • edit your gnokiirc and enable debugging, e.g.:
   [logging]
   debug = on

and attach gzipped output to the email:

   LC_MESSAGES=en_US.UTF8 (x)gnokii(d) [parameters] 2>errfile

(with LC_MESSAGE=en_US.UTF8 the program putput and the error messages will be in English) It would be good if you name the problem in the subject if possible and name if it meets gnokii, xgnokii or gnokiid binaries or gnokii as a whole.

  • if you get a SEGFAULT, a backtrace is needed (refer to segfault).
  • if you get encoding errors always use the git version and if you are using a Nokia do your tests also with the fake driver

Send resulting report to gnokii-users (at) nongnu.org

If you want to debug yourself, by default the git version adds -g to CFLAGS when generating makefiles and the defines needed to print debug messages when generating include/config.h then in your gnokiirc set debug=on to see messages about libgnokii or gnokii and xdebug=on to see messages about xgnokii or smsd.
At configure time you may add --disable-shared to build statically linked versions that are easier to deal with.
make clean; make and then you can make install or run the programs from their directory if they are statically linked:

gnokii/gnokii
xgnokii/xgnokii
smsd/smsd
Personal tools