Debian Bug report logs - #742442
garmin-ant-downloader: Segfaults on amd64

version graph

Package: garmin-ant-downloader; Maintainer for garmin-ant-downloader is (unknown);

Reported by: Christian Perrier <bubulle@debian.org>

Date: Sun, 23 Mar 2014 19:03:01 UTC

Severity: serious

Found in version 20110626-1

Fixed in version 0:20110626-1+rm

Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian running development group <pkg-running-devel@lists.alioth.debian.org>:
Bug#742442; Package garmin-ant-downloader. (Sun, 23 Mar 2014 19:03:06 GMT) (full text, mbox, link).


Acknowledgement sent to Christian Perrier <bubulle@debian.org>:
New Bug report received and forwarded. Copy sent to Debian running development group <pkg-running-devel@lists.alioth.debian.org>. (Sun, 23 Mar 2014 19:03:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: garmin-ant-downloader: Segfaults on amd64
Date: Sun, 23 Mar 2014 19:25:38 +0100
Package: garmin-ant-downloader
Version: 20110626-1
Severity: serious

g-a-t seems unusable on amd64. Apparently, as soon as it is launched
AND an ANT+ stick is present, it then segfaults:


$ ./gant
Erreur de segmentation


I somehow suspect this might be related to the following warning
during compilation:

cperrier@mykerinos:~/src/debian/running/garmin-ant-downloader(master)
$ make
cc -g -Wall xml2-config --cflags   -c -o gant.o gant.c
gant.c: In function ‘dump_data’:
gant.c:268:7: warning: format ‘%x’ expects argument of type ‘unsigned
int’, but argument 3 has type ‘size_t’ [-Wformat=]
       fprintf(out, "0x%04x:", offset + i);
              ^
	      gant.c: In function ‘chevent’:
	      gant.c:821:9: warning: variable ‘newdata’ set but not
used [-Wunused-but-set-variable]
    uint newdata;
             ^
	     cc -g -Wall xml2-config --cflags   -c -o antlib.o antlib.c
	     cc   gant.o antlib.o  -lpthread -lm xml2-config --libs -o gant
	     cperrier@mykerinos:~/src/debian/running/garmin-ant-downloader(master)

Sadly, my skills end here and I really need help debugging this...:-|


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages garmin-ant-downloader depends on:
ii  libc6    2.18-4
ii  libxml2  2.9.1+dfsg1-3

garmin-ant-downloader recommends no packages.

garmin-ant-downloader suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian running development group <pkg-running-devel@lists.alioth.debian.org>:
Bug#742442; Package garmin-ant-downloader. (Mon, 24 Mar 2014 06:03:10 GMT) (full text, mbox, link).


Acknowledgement sent to Christian PERRIER <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian running development group <pkg-running-devel@lists.alioth.debian.org>. (Mon, 24 Mar 2014 06:03:10 GMT) (full text, mbox, link).


Message #10 received at 742442@bugs.debian.org (full text, mbox, reply):

From: Christian PERRIER <bubulle@debian.org>
To: 742442@bugs.debian.org
Subject: Re: [Pkg-running-devel] Bug#742442: garmin-ant-downloader: Segfaults on amd64
Date: Mon, 24 Mar 2014 06:51:08 +0100
[Message part 1 (text/plain, inline)]
Quoting Christian Perrier (bubulle@debian.org):
> Package: garmin-ant-downloader
> Version: 20110626-1
> Severity: serious
> 
> g-a-t seems unusable on amd64. Apparently, as soon as it is launched
> AND an ANT+ stick is present, it then segfaults:
> 
> 
> $ ./gant
> Erreur de segmentation


Just to be clear. The above is showing a run of a locally compiled
"gant" executable....but the same happens with the binary provided by
the package (/usr/bin/garmin-ant-downloader)

I was actually trying to see if that problem could have been something
induced by builds on autobuilders but apparently not.


[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian running development group <pkg-running-devel@lists.alioth.debian.org>:
Bug#742442; Package garmin-ant-downloader. (Wed, 26 Mar 2014 09:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Kristof Ralovich <kristof.ralovich@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian running development group <pkg-running-devel@lists.alioth.debian.org>. (Wed, 26 Mar 2014 09:24:05 GMT) (full text, mbox, link).


Message #15 received at 742442@bugs.debian.org (full text, mbox, reply):

From: Kristof Ralovich <kristof.ralovich@gmail.com>
To: Christian PERRIER <bubulle@debian.org>, 742442@bugs.debian.org
Subject: Re: [Pkg-running-devel] Bug#742442: Bug#742442: garmin-ant-downloader: Segfaults on amd64
Date: Wed, 26 Mar 2014 10:21:37 +0100
On 03/24/2014 06:51 AM, Christian PERRIER wrote:
> Quoting Christian Perrier (bubulle@debian.org):
>> Package: garmin-ant-downloader
>> Version: 20110626-1
>> Severity: serious
>>
>> g-a-t seems unusable on amd64. Apparently, as soon as it is launched
>> AND an ANT+ stick is present, it then segfaults:
>>
>>
>> $ ./gant
>> Erreur de segmentation
> 
> 
> Just to be clear. The above is showing a run of a locally compiled
> "gant" executable....but the same happens with the binary provided by
> the package (/usr/bin/garmin-ant-downloader)
> 
> I was actually trying to see if that problem could have been something
> induced by builds on autobuilders but apparently not.
> 

We are trying to rewrite "gant" within "antpm". Did you try to run the
"gant" executable from antpm package, or built from upstream antpm
sources? A few warnings were fixed in this part of the code since it was
merged into "antpm".

Also try building with -g3 -ggdb3 flags, and attach a gdb backtrace to
the bug report so we can see where it crashes!

Thanks,
Kristof




Reply sent to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility. (Fri, 02 May 2014 17:42:13 GMT) (full text, mbox, link).


Notification sent to Christian Perrier <bubulle@debian.org>:
Bug acknowledged by developer. (Fri, 02 May 2014 17:42:13 GMT) (full text, mbox, link).


Message #20 received at 742442-done@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 690068-done@bugs.debian.org,742442-done@bugs.debian.org,
Cc: garmin-ant-downloader@packages.debian.org, garmin-ant-downloader@packages.qa.debian.org
Subject: Bug#746676: Removed package(s) from unstable
Date: Fri, 02 May 2014 17:40:22 +0000
Version: 0:20110626-1+rm

Dear submitter,

as the package garmin-ant-downloader has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/746676

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 31 May 2014 07:39:08 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 15:22:36 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.