Package: gmtp
Version: 1.3.10-1
Severity: important

Dear Maintainer,


   * What led up to the situation?

I wanted to use gmtp to transfer some files from my phone.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I set my phone to "MTP" and then started gmtp. Then I pressed the
'Connect' button. On the bottom, it says "no device detected", but on
the console, it says

** (gmtp:5587): WARNING **: Couldn't register with accessibility bus: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply timeout 
expired, or the network connection was broken.
Device 0 (VID=1004 and PID=633e) is a LG Electronics Inc. LG G Flex 2.
Android device detected, assigning default bug flags


(aside: It only says so after I manually changed the permissions
on the socket to g+rw).

   * What was the outcome of this action?

At this point, the application hangs.

   * What outcome did you expect instead?

I expected the application to show me the dialogue for
selecting a storage, then let me transfer files.

*** End of the template - remove these template lines ***


I waited for about 15 minutes without any progress. Under Jessie, it
would usually at some point time out and then proceed to the storage
selection dialogue. I then changed the phone's settings to 'PTP', at
which point the storage selection dialogue appears immediately. When I
press OK on that dialogue, the application crashes after spewing a ton
of

Error 7: Found a bad handle, trying to ignore it.

followed by

Error 2: PTP Layer error 02ff: get_handles_recursively(): could not get object 
handles.
Error 2: Error 02ff: PTP I/O Error
ERROR: Could not close session!
inep: usb_get_endpoint_status(): No such device
outep: usb_get_endpoint_status(): No such device
Rescan: How did I get called?
zsh: segmentation fault (core dumped)  gmtp

The last message is of course not from gmtp. Using GDB, I find:

$ gdb /usr/bin/gmtp core 
GNU gdb (Debian 7.11.1-2+b1) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/gmtp...(no debugging symbols found)...done.
[New LWP 5587]
[New LWP 5588]
[New LWP 5589]
[New LWP 5590]
[New LWP 5667]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `gmtp'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000040b20d in ?? ()
[Current thread is 1 (Thread 0x7f6e92275a80 (LWP 5587))]
(gdb) bt
#0  0x000000000040b20d in ?? ()
#1  0x00007f6e91036f75 in g_closure_invoke () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2  0x00007f6e91048f82 in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007f6e91051bcc in g_signal_emit_valist () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007f6e9105245b in g_signal_emit_by_name () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007f6e910371a4 in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x00007f6e910518bd in g_signal_emit_valist () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007f6e91051faf in g_signal_emit () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007f6e9195ecfd in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#9  0x00007f6e9195ed65 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#10 0x00007f6e910371a4 in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007f6e910518bd in g_signal_emit_valist () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007f6e91051faf in g_signal_emit () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007f6e9195d160 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#14 0x00007f6e8bdfc038 in ffi_call_unix64 () from 
/usr/lib/x86_64-linux-gnu/libffi.so.6
#15 0x00007f6e8bdfba9a in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#16 0x00007f6e91037c8a in g_cclosure_marshal_generic_va () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007f6e910371a4 in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007f6e910518bd in g_signal_emit_valist () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007f6e91051faf in g_signal_emit () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007f6e91a18a91 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#21 0x00007f6e91039d27 in g_cclosure_marshal_VOID__BOXEDv () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007f6e910371a4 in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007f6e910518bd in g_signal_emit_valist () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007f6e91051faf in g_signal_emit () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007f6e91a15d5e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#26 0x00007f6e91a1738b in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#27 0x00007f6e91a1a00d in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#28 0x00007f6e919e749e in gtk_event_controller_handle_event () from 
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#29 0x00007f6e91bac13b in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007f6e91a61b11 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007f6e910371a4 in ?? () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007f6e91051391 in g_signal_emit_valist () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007f6e91051faf in g_signal_emit () from 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007f6e91bae3dc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#35 0x00007f6e91a5eace in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#36 0x00007f6e91a60b5e in gtk_main_do_event () from 
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#37 0x00007f6e8fb8ebf5 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#38 0x00007f6e8fbbfbe2 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#39 0x00007f6e90d5d7f7 in g_main_context_dispatch () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f6e90d5da60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f6e90d5dd82 in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f6e91a5fcc5 in gtk_main () from 
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#43 0x0000000000409cbb in ?? ()
#44 0x00007f6e8fe6f2b1 in __libc_start_main () from 
/lib/x86_64-linux-gnu/libc.so.6
#45 0x0000000000409d09 in ?? ()
(gdb) 


I hoped to give more information, but could not find a package like
'libgtk-3-0-dbg', only libgtk2.0-0-dbg.

I hope this is still useful information.


Cheers,
--Toni++



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gmtp depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-2
ii  libc6                                        2.24-8
ii  libflac8                                     1.3.1-4
ii  libgdk-pixbuf2.0-0                           2.36.0-1
ii  libglib2.0-0                                 2.50.2-2
ii  libgtk-3-0                                   3.22.5-1
ii  libid3tag0                                   0.15.1b-12
ii  libmtp9                                      1.1.12-1
ii  libvorbisfile3                               1.3.5-3

gmtp recommends no packages.

gmtp suggests no packages.

-- no debconf information

Reply via email to