[Thunar-dev] ThunarVfsInfo: Bug in thunar_vfs_info_new_for_path?

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Wed Feb 1 17:18:42 CET 2006


Benedikt Meurer wrote:
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f370
>>Path name (before info): XmlIniFile.html
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f370
>>thunar-vfs-info.c, 116: XmlIniFile.html
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f370
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f358
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x80782e8
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x80782d8
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f370
>>thunar-vfs-info.c, 685: XmlIniFile.html
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f370
>>thunar-vfs-info.c, 704: XmlIniFile.html
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f370
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f370
>>thunar-vfs-info.c, 773: XmlIniFile.html
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f370
>>thunar-vfs-info.c, 893: XmlIniFile.html
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f370
>>thunar-vfs-info.c, 894: XmlIniFile.html
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f370
>>main.c, 27: XmlIniFile.html
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x8088a80
>>main.c, 28:
>>../thunar-vfs/thunar-vfs-path.h, 156: 0x808f370
> 
> Hm, looks like the compiler picks the wrong address (0x8088a80), really
> weird. That should crash Thunar right away.
> 
> Edit thunar-vfs-info.h and remove the bit sizes from type, mode and
> flags, recompile thunar-vfs and your program, and try again.

AHHH! Forget it. I know whats up. You're using Linux/glibc. :-)

Edit thunar-vfs-types.h and replace ino_t with gint64, rebuild
thunar-vfs and your program.

Benedikt



More information about the Thunar-dev mailing list