Bug report

From GnokiiWiki

(Difference between revisions)
Jump to: navigation, search
m (s/cvs/git/)
(Mention the fake driver; other small changes)
Line 3: Line 3:
When you report a problems please attach the following information:
When you report a problems please attach the following information:
-
* phone model
+
* phone model and how do you connect (Bluetooth/IrDa/cable with its type)
-
* connection type (Bluetooth/IrDa/cable with its type)
+
* the values of the configuration parameters <code>model</code>, <code>connection</code> and <code>port</code>
* gnokii version (<code>gnokii --version</code>) along with source for it: git, tarball, binary package
* gnokii version (<code>gnokii --version</code>) along with source for it: git, tarball, binary package
-
* edit you <code>gnokiirc</code> and enable debugging, e.g.:
+
* edit your <code>gnokiirc</code> and enable debugging, e.g.:
     [logging]
     [logging]
     debug = on
     debug = on
and attach gzipped output to the email:
and attach gzipped output to the email:
     (x)gnokii(d) [parameters] 2>errfile
     (x)gnokii(d) [parameters] 2>errfile
-
* if you get a SEGFAULT, a backtrace is needed (refer to [[segfault]]).
 
-
 
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]]).
-
(from Pawel Kot's mailing to gnokii mailing list).
+
* if you get encoding errors always use the git version and 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
-
If you want to debug yourself, by default the CVS version adds -g to CFLAGS
+
If you want to debug yourself, by default the git version adds -g to CFLAGS
-
when generating Makefile.global and the defines needed to print debug
+
when generating makefiles and the defines needed to print debug
messages when generating <code>include/config.h</code> then in your <code>gnokiirc</code> set <code>debug=on</code>
messages when generating <code>include/config.h</code> then in your <code>gnokiirc</code> set <code>debug=on</code>
to see messages about libgnokii or gnokii and <code>xdebug=on</code> to see messages
to see messages about libgnokii or gnokii and <code>xdebug=on</code> to see messages

Revision as of 09:54, 25 February 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:

   (x)gnokii(d) [parameters] 2>errfile

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