Bug#886665: Can not view files inside a commercial audio CD-ROM

2018-07-30 Thread Gilles CHARABOT
Hello everybody and thanks. For me ( Debian buster ) the bug is fixed in gvfs 
1.36.2-1, when a commercial CD-ROM is inside my disc reader, nautilus can open 
a window which displays files and a button which opens directly Rhytmbox. And 
Rhytmbox can play the music.



Bug#886665: Can not view files inside a commercial audio CD-ROM

2018-01-19 Thread Andreas Henriksson
Hello Gilles CHARABOT,

Thanks for the backtrace. I'll start with a few observations:

You're running gvfs 1.34.1-2.

Crash (assertion failure) seems to happen when the volume_mount_cb
function calls into g_proxy_volume_mount_finish which leads us to
g_simple_async_result_propagate_error.

Earlier in the backtrace we're coming from g_task_return_now
so we're definitely mixing g_task with G_simple_async_result
which as smcv already explained it a bad mix.

I'm not sure exactly where the problem is initiated or introduced
but given that there where so GTask changes introduced in
1.33.3 I'd guess this might be where the problem was introduced:
https://git.gnome.org/browse/gvfs/commit/?id=2eae1086656ebfa1b8eb

Further GTask porting has been done in the development releases
after the stable version currently in debian, and the fix is
likely to already be available in them. More exactly I expect this
commit to fix your particular issue:
https://git.gnome.org/browse/gvfs/commit/?id=1f5fcbe8d7b8a2975ef
The above commit together with several other GTask related commits
are part of 1.35.3.

It would be great if you could provide feedback if the newer version
fixes your issue, either once it's available in Debian Experimental
or if you could update the package yourself in the meantime.

HTH.

Regards,
Andreas Henriksson



Bug#886665: Can not view files inside a commercial audio CD-ROM

2018-01-11 Thread Gilles CHARABOT


First : new /etc/apt/sources.list :


# deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 NETINST 
20170722-11:28]/ buster main

#deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 NETINST 
20170722-11:28]/ buster main

deb http://ftp.fr.debian.org/debian/ buster main
deb-src http://ftp.fr.debian.org/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ buster-updates main
deb-src http://ftp.fr.debian.org/debian/ buster-updates main

# les paquets pour débugguer
deb http://debug.mirrors.debian.org/debian-debug/ testing-debug main


Second : # aptitude update

 # aptitude safe-upgrade

Third : installation of debugging packages :

# aptitude  install gvfs-dbgsym libgtk-3-0-dbgsym libglib2.0-0-dbgsym
Les NOUVEAUX paquets suivants vont être installés : 
  gvfs-dbgsym libglib2.0-0-dbgsym libgtk-3-0-dbgsym 
0 paquets mis à jour, 3 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de télécharger 14,9 Mo d'archives. Après dépaquetage, 17,2 Mo 
seront utilisés.
Prendre :  1 http://debug.mirrors.debian.org/debian-debug testing-debug/main 
amd64 gvfs-dbgsym amd64 1.34.1-2 [381 kB]
Prendre :  2 http://debug.mirrors.debian.org/debian-debug testing-debug/main 
amd64 libglib2.0-0-dbgsym amd64 2.54.2-5 [3 590 kB]
Prendre :  3 http://debug.mirrors.debian.org/debian-debug testing-debug/main 
amd64 libgtk-3-0-dbgsym amd64 3.22.26-2 [10,9 MB]
 14,9 Mo téléchargés en 11s (1 350 ko/s)
Récupération des rapports de bogue… Fait
Analyse des informations Trouvé/Corrigé… Fait
Sélection du paquet gvfs-dbgsym:amd64 précédemment désélectionné.
(Lecture de la base de données... 194155 fichiers et répertoires déjà 
installés.)
Préparation du dépaquetage de .../gvfs-dbgsym_1.34.1-2_amd64.deb ...
Dépaquetage de gvfs-dbgsym:amd64 (1.34.1-2) ...
Sélection du paquet libglib2.0-0-dbgsym:amd64 précédemment désélectionné.
Préparation du dépaquetage de .../libglib2.0-0-dbgsym_2.54.2-5_amd64.deb ...
Dépaquetage de libglib2.0-0-dbgsym:amd64 (2.54.2-5) ...
Sélection du paquet libgtk-3-0-dbgsym:amd64 précédemment désélectionné.
Préparation du dépaquetage de .../libgtk-3-0-dbgsym_3.22.26-2_amd64.deb ...
Dépaquetage de libgtk-3-0-dbgsym:amd64 (3.22.26-2) ...
Paramétrage de libglib2.0-0-dbgsym:amd64 (2.54.2-5) ...
Paramétrage de gvfs-dbgsym:amd64 (1.34.1-2) ...
Paramétrage de libgtk-3-0-dbgsym:amd64 (3.22.26-2) ...
Scanning processes...   
Scanning candidates...  
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
User sessions running outdated binaries:
 intervenant100 @ session #2: gnome-session-b[1285], gnome-shell[1312]

Fourth : Restart

Fifthly :

$ export G_DEBUG=fatal-criticals

Seventh :

$ gdb nautilus
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
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:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from nautilus...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/nautilus 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe6f40700 (LWP 2590)]
[New Thread 0x7fffe673f700 (LWP 2591)]
[New Thread 0x7fffe5ec1700 (LWP 2593)]
[New Thread 0x7fffd7fff700 (LWP 2594)]
[New Thread 0x7fffc700 (LWP 2595)]
[New Thread 0x7fffce3f0700 (LWP 2597)]
[Thread 0x7fffce3f0700 (LWP 2597) exited]
[Thread 0x7fffe5ec1700 (LWP 2593) exited]

(nautilus:2586): GLib-GObject-WARNING **: invalid cast from 'GTask' to 
'GSimpleAsyncResult'

(nautilus:2586): GLib-GIO-CRITICAL **: g_simple_async_result_propagate_error: 
assertion 'G_IS_SIMPLE_ASYNC_RESULT (simple)' failed

Thread 1 "nautilus" received signal SIGTRAP, Trace/breakpoint trap.
_g_log_abort (breakpoint=breakpoint@entry=1) at ../../../../glib/gmessages.c:554
554 ../../../../glib/gmessages.c: Aucun fichier ou dossier de ce type.
(gdb) bt
#0  0x7790c951 in _g_log_abort (breakpoint=breakpoint@entry=1) at 

Bug#886665: Can not view files inside a commercial audio CD-ROM

2018-01-10 Thread Simon McVittie
Control: reassign 886665 gvfs 1.34.1-2

On Wed, 10 Jan 2018 at 18:50:42 +0100, Gilles CHARABOT wrote:
> #3  0x75bcbe9a in g_simple_async_result_propagate_error () at 
> /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
> #4  0x7fffd42008e7 in  () at 
> /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
> #5  0x77223fe0 in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
> #6  0x7fffd42003b0 in  () at 
> /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
> #7  0x75bde1a3 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
> #8  0x75bdebc6 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0

Looks like a bug in libgioremote-volume-monitor.so, which is part of gvfs.

Please could you repeat the backtrace with gvfs-dbgsym, libgtk-3-0-dbgsym
and libglib2.0-0-dbgsym installed? See
https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols
if you don't know how to install -dbgsym packages.

smcv



Bug#886665: Can not view files inside a commercial audio CD-ROM

2018-01-10 Thread Gilles CHARABOT
I apologize for the renaming of the subject, I did'nt know.


$ export G_DEBUG=fatal-criticals
intervenant100@tapez-ici-vos-commandes:/dev$ gdb nautilus
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
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:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from nautilus...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/nautilus 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe6f40700 (LWP 4403)]
[New Thread 0x7fffe673f700 (LWP 4404)]
[New Thread 0x7fffe5ec1700 (LWP 4406)]
[New Thread 0x7fffd7fff700 (LWP 4407)]
[New Thread 0x7fffc700 (LWP 4408)]
[New Thread 0x7fffcf5f8700 (LWP 4411)]
[Thread 0x7fffe5ec1700 (LWP 4406) exited]
[Thread 0x7fffc700 (LWP 4408) exited]
[Thread 0x7fffcf5f8700 (LWP 4411) exited]
[New Thread 0x7fffcf5f8700 (LWP 4414)]

(nautilus:4399): GLib-GObject-WARNING **: invalid cast from 'GTask' to 
'GSimpleAsyncResult'

(nautilus:4399): GLib-GIO-CRITICAL **: g_simple_async_result_propagate_error: 
assertion 'G_IS_SIMPLE_ASYNC_RESULT (simple)' failed

Thread 1 "nautilus" received signal SIGTRAP, Trace/breakpoint trap.
0x7790c951 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0  0x7790c951 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x7790dc3b in g_logv () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7790dd8f in g_log () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x75bcbe9a in g_simple_async_result_propagate_error () at 
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x7fffd42008e7 in  () at 
/usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
#5  0x77223fe0 in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#6  0x7fffd42003b0 in  () at 
/usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
#7  0x75bde1a3 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8  0x75bdebc6 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9  0x7fffe7392d85 in  () at 
/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
#10 0x75bde1a3 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x75bdebc6 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x75c1cfc9 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#13 0x75bde1a3 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#14 0x75bdebc6 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#15 0x75c11c39 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#16 0x75bde1a3 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#17 0x75bde1d9 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#18 0x77906e15 in g_main_context_dispatch () at 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x779071e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x7790726c in g_main_context_iteration () at 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x75bf3bed in g_application_run () at 
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#22 0x5559a9ec in main ()
(gdb)