[Thunar-dev] Thunar + Hal
Jannis Pohlmann
info at sten-net.de
Tue Feb 14 13:29:49 CET 2006
Hey Benny,
On Tue, 14 Feb 2006 12:53:53 +0100
Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> wrote:
> Biju Chacko wrote:
> > Hi,
> >
> > Just been trying out Thunar volume management. It seems a little
> > flaky.
> >
> > 1. It only seems to recognise USB storage if it is plugged in while
> > Thunar is running.
> > 2. If you plugin a usb drive before starting Thunar it isn't
> > displayed whether or not you mount it.
> > 3. If you plug in the device while Thunar is running it appears and
> > can be mounted. But if you shut down Thunar and restart it it no
> > longer appears on the sidebar.
>
> I'd like to say that I fixed it. But honestly, I have no clue whats
> going on here. On startup, I used FindDeviceByCapability(volume),
> which should - according to the documentation and my tests - return
> the list of all currently connected volumes, no matter if mounted or
> not. This seems to work just fine here (HAL 0.5.6, two different USB
> drives), but it doesn't seem to work for other systems. I have tried
> to figure out what GNOME does reading gnome-vfs-hal-mounts.c and
> change the startup procedure accordingly. Looks like it still works
> here, can you check it again?
I updated from SVN and when starting Thunar, I get this:
jannis at nebelsee ~/devel/xfce/thunar> gdb thunar
...
(gdb) run
Starting program: /usr/local/bin/thunar
[Thread debugging using libthread_db enabled]
[New Thread -1219656000 (LWP 20005)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219656000 (LWP 20005)]
0xb7727289 in free () from /lib/tls/i686/cmov/libc.so.6
(gdb) backtrace
#0 0xb7727289 in free () from /lib/tls/i686/cmov/libc.so.6
#1 0xb75e2f2b in libhal_free_string_array () from /usr/lib/libhal.so.1
#2 0xb7eb3f29 in thunar_vfs_volume_manager_hal_init
#(manager_hal=0x814bbc8) at thunar-vfs-volume-hal.c:785 3 0xb7902991
#in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 4
#0xb78e9366 in g_object_thaw_notify ()
#from /usr/lib/libgobject-2.0.so.0 5 0xb78e99d7 in g_object_newv ()
#from /usr/lib/libgobject-2.0.so.0 6 0xb78ea569 in g_object_new_valist
#() from /usr/lib/libgobject-2.0.so.0 7 0xb78ea712 in g_object_new ()
#from /usr/lib/libgobject-2.0.so.0 8 0xb7ec938c in
#IA__thunar_vfs_volume_manager_get_default () at
#thunar-vfs-volume.c:754 9 0x08081529 in thunar_shortcuts_model_init
#(model=0x814bd20) at thunar-shortcuts-model.c:260 10 0xb7902991 in
#g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 11
#0xb78e9366 in g_object_thaw_notify ()
#from /usr/lib/libgobject-2.0.so.0 12 0xb78e99d7 in g_object_newv ()
#from /usr/lib/libgobject-2.0.so.0 13 0xb78ea569 in g_object_new_valist
#() from /usr/lib/libgobject-2.0.so.0 14 0xb78ea712 in g_object_new ()
#from /usr/lib/libgobject-2.0.so.0 15 0x080824fc in
#thunar_shortcuts_model_get_default () at thunar-shortcuts-model.c:1221
#16 0x0808564a in thunar_shortcuts_view_new () at
#thunar-shortcuts-view.c:1041 17 0x080831b5 in
#thunar_shortcuts_pane_init (shortcuts_pane=0x8148680) at
#thunar-shortcuts-pane.c:221 18 0xb7902991 in g_type_create_instance ()
#from /usr/lib/libgobject-2.0.so.0 19 0xb78e9366 in
#g_object_thaw_notify () from /usr/lib/libgobject-2.0.so.0 20
#0xb78e99d7 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 21
#0xb78ea569 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#22 0xb78ea712 in g_object_new () from /usr/lib/libgobject-2.0.so.0 23
#0x0808f1a0 in thunar_window_action_side_pane_changed
#(action=0x81131a0, current=0x81131a0, window=0x80fd570) at
#thunar-window.c:1120 24 0x080904ee in thunar_window_init
#(window=0x80fd570) at thunar-window.c:611 25 0xb7902991 in
#g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 26
#0xb78e9366 in g_object_thaw_notify ()
#from /usr/lib/libgobject-2.0.so.0 27 0xb78e99d7 in g_object_newv ()
#from /usr/lib/libgobject-2.0.so.0 28 0xb78ea5d4 in g_object_new_valist
#() from /usr/lib/libgobject-2.0.so.0 29 0xb78ea712 in g_object_new ()
#from /usr/lib/libgobject-2.0.so.0 30 0x0805ae79 in
#thunar_application_open_window (application=0x80ee8e0,
#directory=0x80f1898, screen=0x80dbb50) at thunar-application.c:558 31
#0x080648bb in thunar_file_launch (file=0x80f1898, parent=0x0,
#error=0xbfcfffc8) at thunar-file.c:816 32 0x0805b09c in
#thunar_application_process_filenames (application=0x80ee8e0,
#working_directory=0x80df628 "/home/jannis/devel/xfce/thunar",
filenames=0x80b2af4, screen=0x0, error=0xbfd00028) at
thunar-application.c:647
#33 0x0805a1a7 in main (argc=1, argv=0xbfd000c4) at main.c:149
(gdb)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20060214/c135050e/attachment.pgp>
More information about the Thunar-dev
mailing list