[Pkg-running-devel] Bug#816314: [garmin-forerunner-tools] Segmentation fault

Fenix fenixian at gmail.com
Mon Feb 29 19:32:47 UTC 2016


Package: garmin-forerunner-tools
Version: 0.10repacked-7
Severity: important

--- Please enter the report below this line. ---


     Dear maintainer:

     All programs (garmin-get-info, garmin-save-runs) of 
garmin-forerunner-tools packages throws me a Segmentation Fault.

     With old versions it worked fine.


$ garmin-get-info

Violación de segmento

$ garmin-get-info -v

[garmin] libusb_init succeeded
[garmin] found VID 091e, PID 0003[garmin] libusb_open = 0x8079430
[garmin] libusb_set_configuration[1] succeeded
[garmin] libusb_claim_interface[0] succeeded
[garmin] libusb_get_config_descriptor_by_value succeeded
[garmin] intr IN  = 1
[garmin] bulk OUT = 2
[garmin] bulk IN  = 3
<write type="0x00" id="0x0005" size="0"/>
<write type="0x00" id="0x0005" size="0"/>
<write type="0x00" id="0x0005" size="0"/>
<write type="0x14" id="0x00fe" size="0"/>
<garmin_unit id="0">
  <garmin_product id="0" software_version="0.00">
   <product_description>(null)</product_description>
  </garmin_product>
  <garmin_protocols>
   <garmin_physical protocol="P000"/>
   <garmin_link protocol="L000"/>
   <garmin_command protocol="A000"/>
  </garmin_protocols>
</garmin_unit>



$ valgrind garmin-get-info

==2586== Use of uninitialised value of size 4
==2586==    at 0x406B600: garmin_open (in /usr/lib/libgarmintools.so.4.2.0)
==2586==    by 0x40747C1: garmin_init (in /usr/lib/libgarmintools.so.4.2.0)
==2586==    by 0x80485B9: ??? (in /usr/bin/garmin_get_info)
==2586==    by 0x40C870D: (below main) (in 
/lib/i386-linux-gnu/i686/cmov/libc-2.21.so)
==2586==
==2586== Invalid read of size 4
==2586==    at 0x406B603: garmin_open (in /usr/lib/libgarmintools.so.4.2.0)
==2586==    by 0x40747C1: garmin_init (in /usr/lib/libgarmintools.so.4.2.0)
==2586==    by 0x80485B9: ??? (in /usr/bin/garmin_get_info)
==2586==    by 0x40C870D: (below main) (in 
/lib/i386-linux-gnu/i686/cmov/libc-2.21.so)
==2586==  Address 0xc0012 is not stack'd, malloc'd or (recently) free'd
==2586==
==2586==
==2586== Process terminating with default action of signal 11 (SIGSEGV)
==2586==  Access not within mapped region at address 0xC0012
==2586==    at 0x406B603: garmin_open (in /usr/lib/libgarmintools.so.4.2.0)
==2586==    by 0x40747C1: garmin_init (in /usr/lib/libgarmintools.so.4.2.0)
==2586==    by 0x80485B9: ??? (in /usr/bin/garmin_get_info)
==2586==    by 0x40C870D: (below main) (in 
/lib/i386-linux-gnu/i686/cmov/libc-2.21.so)
==2586==  If you believe this happened as a result of a stack
==2586==  overflow in your program's main thread (unlikely but
==2586==  possible), you can try to increase the size of the
==2586==  main thread stack using the --main-stacksize= flag.
==2586==  The main thread stack size used in this run was 8388608.
==2586==
==2586== HEAP SUMMARY:
==2586==     in use at exit: 16,069 bytes in 31 blocks
==2586==   total heap usage: 1,277 allocs, 1,246 frees, 622,195 bytes 
allocated
==2586==
==2586== LEAK SUMMARY:
==2586==    definitely lost: 0 bytes in 0 blocks
==2586==    indirectly lost: 0 bytes in 0 blocks
==2586==      possibly lost: 192 bytes in 4 blocks
==2586==    still reachable: 15,877 bytes in 27 blocks
==2586==         suppressed: 0 bytes in 0 blocks
==2586== Rerun with --leak-check=full to see details of leaked memory
==2586==
==2586== For counts of detected and suppressed errors, rerun with: -v
==2586== Use --track-origins=yes to see where uninitialised values come from
==2586== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)



Thanks.




--- System information. ---
Architecture: i386
Kernel:       Linux 4.3.0-1-686-pae

Debian Release: stretch/sid
   500 testing         www.deb-multimedia.org
   500 testing         security.debian.org
   500 testing         ftp.de.debian.org
   500 stable          dl.google.com

--- Package information. ---
Depends              (Version) | Installed
==============================-+-==============
libc6                 (>= 2.4) | 2.21-9
libusb-0.1-4     (>= 2:0.1.12) | 2:0.1.12-28


Package's Recommends field is empty.

Package's Suggests field is empty.



More information about the Pkg-running-devel mailing list