Benedikt Meurer wrote:
> 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?

Oh crap. Now it crashes on startup with the following output:

rincewind: thunar
*** glibc detected *** thunar: free(): invalid pointer: 0x00a16618 ***
======= Backtrace: =========
/lib/libc.so.6[0x67f424]
/lib/libc.so.6(__libc_free+0x77)[0x67f95f]
/usr/lib/libhal.so.1(libhal_free_string_array+0x2b)[0x112f6b]
/opt/xfce4/lib/libthunar-vfs-1.so.0[0x997cb5]
/usr/lib/libgobject-2.0.so.0(g_type_create_instance+0x4d2)[0xb5aea7]
/usr/lib/libgobject-2.0.so.0[0xb41830]
/usr/lib/libgobject-2.0.so.0(g_object_newv+0x1d6)[0xb42489]
/usr/lib/libgobject-2.0.so.0(g_object_new_valist+0x22b)[0xb43034]
/usr/lib/libgobject-2.0.so.0(g_object_new+0x3c)[0xb431dc]
/opt/xfce4/lib/libthunar-vfs-1.so.0(thunar_vfs_volume_manager_get_default+0x4c)[0x9abb74]
thunar[0x807d7dd]
/usr/lib/libgobject-2.0.so.0(g_type_create_instance+0x4d2)[0xb5aea7]
/usr/lib/libgobject-2.0.so.0[0xb41830]
/usr/lib/libgobject-2.0.so.0(g_object_newv+0x1d6)[0xb42489]
/usr/lib/libgobject-2.0.so.0(g_object_new_valist+0x22b)[0xb43034]
/usr/lib/libgobject-2.0.so.0(g_object_new+0x3c)[0xb431dc]
thunar[0x807e6b8]
thunar[0x80814e6]
thunar[0x807f2b8]
/usr/lib/libgobject-2.0.so.0(g_type_create_instance+0x4d2)[0xb5aea7]
/usr/lib/libgobject-2.0.so.0[0xb41830]
/usr/lib/libgobject-2.0.so.0(g_object_newv+0x1d6)[0xb42489]
/usr/lib/libgobject-2.0.so.0(g_object_new_valist+0x22b)[0xb43034]
/usr/lib/libgobject-2.0.so.0(g_object_new+0x3c)[0xb431dc]
thunar[0x808a41b]
thunar[0x808b6a7]
/usr/lib/libgobject-2.0.so.0(g_type_create_instance+0x4d2)[0xb5aea7]
/usr/lib/libgobject-2.0.so.0[0xb41830]
/usr/lib/libgobject-2.0.so.0(g_object_newv+0x1d6)[0xb42489]
/usr/lib/libgobject-2.0.so.0(g_object_new_valist+0x2da)[0xb430e3]
/usr/lib/libgobject-2.0.so.0(g_object_new+0x3c)[0xb431dc]
thunar[0x80599a5]
thunar[0x80629c6]
thunar[0x8059b8a]
thunar[0x8058e39]
/lib/libc.so.6(__libc_start_main+0xc6)[0x630de6]
thunar(thunar_vfs_mime_info_unref+0x41)[0x8058a39]
======= Memory map: ========
00111000-00119000 r-xp 00000000 08:02 1884867    /usr/lib/libhal.so.1.0.0
00119000-0011a000 rwxp 00007000 08:02 1884867    /usr/lib/libhal.so.1.0.0
0011a000-0019e000 r-xp 00000000 08:02 1875254 
/usr/lib/libglib-2.0.so.0.600.40019e000-001a3000 rwxp 00084000 08:02 
1875254    /usr/lib/libglib-2.0.so.0.600.4001a3000-00273000 r-xp 
00000000 08:02 1874154    /usr/X11R6/lib/libX11.so.6.2
00273000-00277000 rwxp 000cf000 08:02 1874154 
/usr/X11R6/lib/libX11.so.6.2
00277000-00280000 r-xp 00000000 08:02 426037     /lib/libnss_files-2.3.5.so
00280000-00281000 r-xp 00008000 08:02 426037     /lib/libnss_files-2.3.5.so
00281000-00282000 rwxp 00009000 08:02 426037     /lib/libnss_files-2.3.5.so
00282000-0028b000 r-xp 00000000 08:02 427158 
/lib/libgcc_s-4.0.0-20050520.so.1
0028b000-0028c000 rwxp 00009000 08:02 427158 
/lib/libgcc_s-4.0.0-20050520.so.1
00375000-0037b000 r-xp 00000000 08:02 1876639 
/usr/lib/libgamin-1.so.0.1.0
0037b000-0037c000 rwxp 00006000 08:02 1876639 
/usr/lib/libgamin-1.so.0.1.0
003d6000-003ed000 r-xp 00000000 08:02 1872390 
/usr/X11R6/lib/libICE.so.6.3
003ed000-003ee000 rwxp 00016000 08:02 1872390 
/usr/X11R6/lib/libICE.so.6.3
003ee000-003f0000 rwxp 003ee000 00:00 0
00448000-0044e000 r-xp 00000000 08:02 70769 
/opt/xfce4/lib/libthunarx-1.so.0.1.0
0044e000-0044f000 rwxp 00005000 08:02 70769 
/opt/xfce4/lib/libthunarx-1.so.0.1.0
00470000-00485000 r-xp 00000000 08:02 70631 
/opt/xfce4/lib/libxfce4util.so.2.0.0
00485000-00486000 rwxp 00014000 08:02 70631 
/opt/xfce4/lib/libxfce4util.so.2.0.0
00486000-00487000 rwxp 00486000 00:00 0
004a3000-004b3000 r-xp 00000000 08:02 2069018 
/usr/lib/gtk-2.0/2.4.0/engines/libclearlooks.so
004b3000-004b4000 rwxp 0000f000 08:02 2069018 
/usr/lib/gtk-2.0/2.4.0/engines/libclearlooks.so
00508000-0052b000 r-xp 00000000 08:02 1877054 
/usr/lib/libpng12.so.0.1.2.8
0052b000-0052c000 rwxp 00023000 08:02 1877054 
/usr/lib/libpng12.so.0.1.2.8
0058c000-0059e000 r-xp 00000000 08:02 427165     /lib/libnsl-2.3.5.so
0059e000-0059f000 r-xp 00011000 08:02 427165     /lib/libnsl-2.3.5.so
0059f000-005a0000 rwxp 00012000 08:02 427165     /lib/libnsl-2.3.5.so
005a0000-005a2000 rwxp 005a0000 00:00 0
005fe000-00618000 r-xp 00000000 08:02 427153     /lib/ld-2.3.5.so
00618000-00619000 r-xp 00019000 08:02 427153     /lib/ld-2.3.5.so
00619000-0061a000 rwxp 0001a000 08:02 427153     /lib/ld-2.3.5.so
0061c000-00740000 r-xp 00000000 08:02 427154     /lib/libc-2.3.5.so
00740000-00742000 r-xp 00124000 08:02 427154     /lib/libc-2.3.5.so
00742000-00744000 rwxp 00126000 08:02 427154     /lib/libc-2.3.5.so
00744000-00746000 rwxp 00744000 00:00 0
00748000-0076a000 r-xp 00000000 08:02 427155     /lib/libm-2.3.5.so
0076a000-0076b000 r-xp 00021000 08:02 427155     /lib/libm-2.3.5.so
0076b000-0076c000 rwxp 00022000 08:02 427155     /lib/libm-2.3.5.so
0076e000-00770000 r-xp 00000000 08:02 427156     /lib/libdl-2.3.5.so
00770000-00771000 r-xp 00001000 08:02 427156     /lib/libdl-2.3.5.so
00771000-00772000 rwxp 00002000 08:02 427156     /lib/libdl-2.3.5.so
00774000-00786000 r-xp 00000000 08:02 1884813    /usr/lib/libz.so.1.2.2.2
00786000-00787000 rwxp 00011000 08:02 1884813    /usr/lib/libz.so.1.2.2.2
00789000-00790000 r-xp 00000000 08:02 1874960 
/usr/lib/libhal-storage.so.1.0.0
00790000-00791000 rwxp 00006000 08:02 1874960 
/usr/lib/libhal-storage.so.1.0.0
0085f000-0086d000 r-xp 00000000 08:02 427157     /lib/libpthread-2.3.5.so
0086d000-0086e000 r-xp 0000d000 08:02 427157     /lib/libpthread-2.3.5.so
0086e000-0086f000 rwxp 0000e000 08:02 427157     /lib/libpthread-2.3.5.so
0086f000-00871000 rwxp 0086f000 00:00 0
00873000-00881000 r-xp 00000000 08:02 1875183 
/usr/X11R6/lib/libXext.so.6.4
00881000-00882000 rwxp 0000e000 08:02 1875183 
/usr/X11R6/lib/libXext.so.6.4
00884000-008e5000 r-xp 00000000 08:02 1884822 
/usr/lib/libfreetype.so.6.3.7
008e5000-008ec000 rwxp 00061000 08:02 1884822 
/usr/lib/libfreetype.so.6.3.7
008ee000-0090b000 r-xp 00000000 08:02 1884823    /usr/lib/libexpat.so.0.5.0
0090b000-0090d000 rwxp 0001c000 08:02 1884823    /usr/lib/libexpat.so.0.5.0
0090f000-00935000 r-xp 00000000 08:02 1884824 
/usr/lib/libfontconfig.so.1.0.400935000-00938000 rwxp 00026000 08:02 
1884824    /usr/lib/libfontconfig.so.1.0.400938000-00939000 rwxp 
00938000 00:00 0
0093b000-0093d000 r-xp 00000000 08:02 1877129 
/usr/X11R6/lib/libXinerama.so.1.0
0093d000-0093e000 rwxp 00001000 08:02 1877129 
/usr/X11R6/lib/libXinerama.so.1.0
00941000-00948000 r-xp 00000000 08:02 1875291 
/usr/X11R6/lib/libXrender.so.1.2.2
00948000-00949000 rwxp 00007000 08:02 1875291 
/usr/X11R6/lib/libXrender.so.1.2.2
0094b000-00954000 r-xp 00000000 08:02 1880147 
/usr/X11R6/lib/libXcursor.so.1.0.2
00954000-00955000 rwxp 00008000 08:02 1880147 
/usr/X11R6/lib/libXcursor.so.1.0.2
00971000-00974000 r-xp 00000000 08:02 1876600 
/usr/X11R6/lib/libXrandr.so.2.000974000-00975000 rwxp 00002000 08:02 
1876600    /usr/X11R6/lib/libXrandr.so.2.000977000-00981000 r-xp 
00000000 08:02 1881848    /usr/lib/libpangox-1.0.so.0.800.1
00981000-00982000 rwxp 00009000 08:02 1881848 
/usr/lib/libpangox-1.0.so.0.800.1
00984000-00985000 r-xp 00000000 08:02 1933500    /usr/lib/gconv/ISO8859-1.so
00985000-00987000 rwxp 00000000 08:02 1933500    /usr/lib/gconv/ISO8859-1.so
0098d000-009b1000 r-xp 00000000 08:02 70776 
/opt/xfce4/lib/libthunar-vfs-1.so.0.1.0
009b1000-009b4000 rwxp 00023000 08:02 70776 
/opt/xfce4/lib/libthunar-vfs-1.so.0.1.0
00a11000-00a20000 r-xp 00000000 08:02 1878908 
/usr/lib/libdbus-glib-1.so.1.0.0
00a20000-00a21000 rwxp 0000f000 08:02 1878908 
/usr/lib/libdbus-glib-1.so.1.0.0
00b08000-00b1a000 r-xp 00000000 08:02 1877356 
/usr/X11R6/lib/libXft.so.2.1.2
00b1a000-00b1b000 rwxp 00012000 08:02 1877356 
/usr/X11R6/lib/libXft.so.2.1.2
00b1d000-00b25000 r-xp 00000000 08:02 1878448    /usr/X11R6/lib/libSM.so.6.0
00b25000-00b26000 rwxp 00007000 08:02 1878448    /usr/X11R6/lib/libSM.so.6.0
00b28000-00b2c000 r-xp 00000000 08:02 1877401 
/usr/X11R6/lib/libXfixes.so.3.000b2c000-00b2d000 rwxp 00003000 08:02 
1877401    /usr/X11R6/lib/libXfixes.so.3.000b2f000-00b32000 r-xp 
00000000 08:02 1878440    /usr/lib/libgmodule-2.0.so.0.600.4
00b32000-00b33000 rwxp 00002000 08:02 1878440 
/usr/lib/libgmodule-2.0.so.0.600.4
00b35000-00b6d000 r-xp 00000000 08:02 1884842 
/usr/lib/libgobject-2.0.so.0.600.4
00b6d000-00b71000 rwxp 00037000 08:02 1884842 
/usr/lib/libgobject-2.0.so.0.600.4
00b73000-00b91000 r-xp 00000000 08:02 1884814    /usr/lib/libjpeg.so.62.0.0
00b91000-00b92000 rwxp 0001d000 08:02 1884814    /usr/lib/libjpeg.so.62.0.0
00bac000-00bcf000 r-xp 00000000 08:02 1884848 
/usr/lib/libpangoft2-1.0.so.0.800.1
00bcf000-00bd1000 rwxp 00022000 08:02 1884848 
/usr/lib/libpangoft2-1.0.so.0.800.1
00bd8000-00c08000 r-xp 00000000 08:02 1884847 
/usr/lib/libpango-1.0.so.0.800.1
00c08000-00c0e000 rwxp 00030000 08:02 1884847 
/usr/lib/libpango-1.0.so.0.800.1
00c89000-00c8e000 r-xp 00000000 08:02 1881487 
/usr/lib/libpangoxft-1.0.so.0.800.1
00c8e000-00c8f000 rwxp 00005000 08:02 1881487 
/usr/lib/libpangoxft-1.0.so.0.800.1
00c96000-00caa000 r-xp 00000000 08:02 1884844 
/usr/lib/libgdk_pixbuf-2.0.so.0.600.7
00caa000-00cac000 rwxp 00013000 08:02 1884844 
/usr/lib/libgdk_pixbuf-2.0.so.0.600.7
00cd4000-00cdb000 r-xp 00000000 08:02 1876805    /usr/X11R6/lib/libXi.so.6.0
00cdb000-00cdc000 rwxp 00006000 08:02 1876805    /usr/X11R6/lib/libXi.so.6.0
00cde000-00d5a000 r-xp 00000000 08:02 1881886 
/usr/lib/libgdk-x11-2.0.so.0.600.7
00d5a000-00d61000 rwxp 0007c000 08:02 1881886 
/usr/lib/libgdk-x11-2.0.so.0.600.7
00d63000-00d6a000 r-xp 00000000 08:02 1876971 
/usr/lib/libstartup-notification-1.so.0.0.0
00d6a000-00d6b000 rwxp 00006000 08:02 1876971 
/usr/lib/libstartup-notification-1.so.0.0.0
00d72000-00d86000 r-xp 00000000 08:02 1884852 
/usr/lib/libatk-1.0.so.0.901.0
00d86000-00d89000 rwxp 00014000 08:02 1884852 
/usr/lib/libatk-1.0.so.0.901.0
00dde000-00de5000 r-xp 00000000 08:02 1878873    /usr/lib/libpopt.so.0.0.0
00de5000-00de6000 rwxp 00006000 08:02 1878873    /usr/lib/libpopt.so.0.0.0
00dee000-00df2000 r-xp 00000000 08:02 1884869 
/usr/lib/libgthread-2.0.so.0.600.4
00df2000-00df3000 rwxp 00003000 08:02 1884869 
/usr/lib/libgthread-2.0.so.0.600.4
00e79000-00e7a000 r-xp 00e79000 00:00 0          [vdso]
00f1e000-00f4d000 r-xp 00000000 08:02 70759 
/opt/xfce4/lib/libexo-0.3.so.0.1.0
00f4d000-00f50000 rwxp 0002f000 08:02 70759 
/opt/xfce4/lib/libexo-0.3.so.0.1.0
00fc5000-00fc6000 r-xp 00000000 08:02 2034507 
/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
00fc6000-00fc7000 rwxp 00000000 08:02 2034507 
/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
03ff2000-0403d000 r-xp 00000000 08:02 1884870 
/usr/lib/libORBit-2.so.0.0.0
0403d000-0404a000 rwxp 0004a000 08:02 1884870 
/usr/lib/libORBit-2.so.0.0.0
0404c000-0407c000 r-xp 00000000 08:02 1884871 
/usr/lib/libgconf-2.so.4.1.0
0407c000-04081000 rwxp 0002f000 08:02 1884871 
/usr/lib/libgconf-2.so.4.1.0
0440f000-04478000 r-xp 00000000 08:02 1875287    /usr/lib/libdbus-1.so.1.0.0
04478000-0447d000 rwxp 00069000 08:02 1875287    /usr/lib/libdbus-1.so.1.0.0
07999000-07c65000 r-xp 00000000 08:02 1881892 
/usr/lib/libgtk-x11-2.0.so.0.600.7
07c65000-07c8c000 rwxp 002cc000 08:02 1881892 
/usr/lib/libgtk-x11-2.0.so.0.600.7
07c8c000-07c8f000 rwxp 07c8c000 00:00 0
08048000-080a8000 r-xp 00000000 08:02 102421     /opt/xfce4/bin/Thunar
080a8000-080ad000 rw-p 00060000 08:02 102421     /opt/xfce4/bin/Thunar
09c69000-09d0d000 rw-p 09c69000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d22000-b7f22000 r--p 00000000 08:02 1870809 
/usr/lib/locale/locale-archive
b7f22000-b7f2d000 rw-p b7f22000 00:00 0
b7f3e000-b7f44000 r--s 00000000 08:02 1933575 
/usr/lib/gconv/gconv-modules.cache
b7f44000-b7f45000 rw-p b7f44000 00:00 0
bfc2f000-bfc45000 rw-p bfc2f000 00:00 0          [stack]
Aborted

>>PS: Thunar seems to be depending on pmount which is not shipped with Fedora.
> 
> 
> Which replacement for pmount is provided on Fedora (btw. looking at the
> source, there doesn't seem to be anything that prevents it from running
> on Fedora)?

It works fine after I installed it. However on stock fedora I usually 
just use 'mount' (as a user) to mount removable disks.

-- b
_______________________________________________
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev

Reply via email to