[Thunar-dev] ThunarVfsInfo: Bug in thunar_vfs_info_new_for_path?

Jannis Pohlmann info at sten-net.de
Wed Feb 1 17:21:57 CET 2006


Benedikt Meurer schrieb:
> 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.

HORRAY! No idea how you found out that *this* caused the problem.
Impressive, really.

- Jannis



More information about the Thunar-dev mailing list