Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212938 - app-mobilephone/gammu-1.17.0 crashes with "backup" option
Summary: app-mobilephone/gammu-1.17.0 crashes with "backup" option
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Mobile Phone Developers (INACTIVE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-10 13:29 UTC by Cyberjun
Modified: 2008-06-15 13:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyberjun 2008-03-10 13:29:40 UTC
I use gammu to make a complete backup of my phone (nokia 8310). I connect to it using the irda port. It always crashes at the "GPRS access points". I have also tested with gammu-1.18.0. The result is the same.


Here is the crash produced:
==================================================================
gammu backup phone_backup.txt
Press Ctrl+C to break...
Use Unicode subformat of backup file? (yes/no/ALL/ONLY/NONE) no

Checking phone phonebook
   Backup phone phonebook? (yes/no/ALL/ONLY/NONE) yes
   Reading: 100 percent
Checking SIM phonebook
   Backup SIM phonebook? (yes/no/ALL/ONLY/NONE) no
Checking phone calendar
   Backup phone calendar notes? (yes/no/ALL/ONLY/NONE) yes
Reading              : ********************************
Checking phone ToDo
Checking phone notes
Checking phone caller logos
   Backup phone caller groups and logos? (yes/no/ALL/ONLY/NONE) yes
Reading              : *****
Checking SIM SMS profiles
   Backup SIM SMS profiles? (yes/no/ALL/ONLY/NONE) yes
Reading              : *
Checking phone startup text
   Backup phone startup logo/text? (yes/no/ALL/ONLY/NONE) yes
Checking phone operator logo
Checking phone WAP bookmarks
   Backup phone WAP bookmarks? (yes/no/ALL/ONLY/NONE) yes
Reading              : ******
Checking phone WAP settings
   Backup phone WAP settings? (yes/no/ALL/ONLY/NONE) yes
Reading              : *****
Checking phone MMS settings
Checking phone Chat settings
Checking phone SyncML settings
Checking phone user ringtones
   Backup phone user ringtones? (yes/no/ALL/ONLY/NONE) yes
Reading              : *****
Checking phone profiles
Checking phone FM radio stations
   Backup phone FM radio stations? (yes/no/ALL/ONLY/NONE) yes
Reading              : *********************
Checking phone GPRS access points
   Backup phone GPRS access points? (yes/no/ALL/ONLY/NONE) no
*** glibc detected *** gammu: double free or corruption (!prev): 0x0836b9f8 ***
======= Backtrace: =========
/lib/libc.so.6[0xa7d57a20]
/lib/libc.so.6(cfree+0x89)[0xa7d59709]
/usr/lib/libGammu.so.3[0xa7eaf384]
/usr/lib/libGammu.so.3(SaveBackup+0xe57)[0xa7ebafc7]
/usr/lib/libGammu.so.3(GSM_SaveBackupFile+0x89)[0xa7eaa619]
gammu(DoBackup+0x25f)[0x8071bdf]
gammu(ProcessParameters+0x27c)[0x8081adc]
gammu(main+0x77c)[0x808312c]
/lib/libc.so.6(__libc_start_main+0xdc)[0xa7d07fdc]
gammu[0x8050a11]
======= Memory map: ========
08048000-08095000 r-xp 00000000 08:06 582069     /usr/bin/gammu
08095000-08096000 r--p 0004c000 08:06 582069     /usr/bin/gammu
08096000-08098000 rw-p 0004d000 08:06 582069     /usr/bin/gammu
08098000-0838c000 rw-p 08098000 00:00 0          [heap]
a7800000-a7821000 rw-p a7800000 00:00 0 
a7821000-a7900000 ---p a7821000 00:00 0 
a79f4000-a7cf2000 rw-p a79f4000 00:00 0 
a7cf2000-a7e1c000 r-xp 00000000 08:05 177241     /lib/libc-2.6.1.so
a7e1c000-a7e1e000 r--p 0012a000 08:05 177241     /lib/libc-2.6.1.so
a7e1e000-a7e1f000 rw-p 0012c000 08:05 177241     /lib/libc-2.6.1.so
a7e1f000-a7e22000 rw-p a7e1f000 00:00 0 
a7e22000-a7e46000 r-xp 00000000 08:05 177229     /lib/libm-2.6.1.so
a7e46000-a7e47000 r--p 00023000 08:05 177229     /lib/libm-2.6.1.so
a7e47000-a7e48000 rw-p 00024000 08:05 177229     /lib/libm-2.6.1.so
a7e48000-a7e5b000 r-xp 00000000 08:05 177531     /lib/libpthread-2.6.1.so
a7e5b000-a7e5c000 r--p 00013000 08:05 177531     /lib/libpthread-2.6.1.so
a7e5c000-a7e5d000 rw-p 00014000 08:05 177531     /lib/libpthread-2.6.1.so
a7e5d000-a7e5f000 rw-p a7e5d000 00:00 0 
a7e5f000-a7f3a000 r-xp 00000000 08:06 485320     /usr/lib/libGammu.so.3.1.17.0
a7f3a000-a7f3b000 r--p 000da000 08:06 485320     /usr/lib/libGammu.so.3.1.17.0
a7f3b000-a7f50000 rw-p 000db000 08:06 485320     /usr/lib/libGammu.so.3.1.17.0
a7f50000-a7f5e000 rw-p a7f50000 00:00 0 
a7f5f000-a7f69000 r-xp 00000000 08:06 517282     /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
a7f69000-a7f6a000 r--p 00009000 08:06 517282     /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
a7f6a000-a7f6b000 rw-p 0000a000 08:06 517282     /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
a7f6b000-a7f6e000 rw-p a7f6b000 00:00 0 
a7f6e000-a7f88000 r-xp 00000000 08:05 177543     /lib/ld-2.6.1.so
a7f88000-a7f89000 r--p 00019000 08:05 177543     /lib/ld-2.6.1.so
a7f89000-a7f8a000 rw-p 0001a000 08:05 177543     /lib/ld-2.6.1.so
afb9f000-afbc7000 rw-p affd8000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
Aborted
=======================================================================

Reproducible: Always

Steps to Reproduce:
1. Connect gammu with nokia 8310 phone via irda
2. execute the command "gammu backup phone_backup.txt"
3.

Actual Results:  
gammu crashes producing a trace.

Expected Results:  
The backup process should have been completed successfully.

emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9 i686)
=================================================================
System uname: 2.6.23-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Mon, 10 Mar 2008 09:00:02 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi aiglx alsa berkdb bzip2 cairo cdr cli cracklib crypt cups dbus directfb dri dvd dvdr dvdread emboss encode esd evo fam fbcon firefox gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog jpeg kerberos mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png pppd python qt3support quicktime readline real reflection sdl session spell spl ssl svg tcpd tiff truetype usb vcd vorbis wifi win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2008-06-07 12:57:07 UTC
Check if gammu-1.20.0 fixes the problem. A lot of bugs have been fixed in this version.
Comment 2 Cyberjun 2008-06-15 13:10:48 UTC
(In reply to comment #1)
> Check if gammu-1.20.0 fixes the problem. A lot of bugs have been fixed in this
> version.
> 

Unfortunately it doesn't fix it. I still get the same crash.

Comment 3 Alin Năstac (RETIRED) gentoo-dev 2008-06-15 13:38:46 UTC
Please ask upstream to help you. If your problem gets fixed, reopen the bug and post here the solution.