gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gcmd-dev] Mysterious Gnome-Commander crash on FreeBSD-6.2-STABLE/amd64


From: Jens Rehsack
Subject: [gcmd-dev] Mysterious Gnome-Commander crash on FreeBSD-6.2-STABLE/amd64
Date: Wed, 22 Aug 2007 00:36:51 +0200

Hi developers,

I use gnome-commander since I consequently use FreeBSD as primary desktop. With 
the last update yesterday (Aug 20 2007) FreeBSD gnome-commander crashes always 
at startup.

When started in terminal, the output is:
--- BEGIN
$ gnome-commander

GLib-ERROR **: gmem.c:135: failed to allocate 18446744073709551615 bytes
aborting...

warning: Unable to get location for thread creation breakpoint: generic error
LibGTop-Server: pid 26527 received eof.
--- END

Because I understand a little of c & c++ I tried to debug, but there is no 
chance.

So I compiled it manually and detected some output like:
owner.cc: In function `uid_t OWNER_get_uid_by_name(const gchar*)':
owner.cc:373: warning: converting of negative value `-0x00000000000000001' to 
`uid_t'
owner.cc: In function `gid_t OWNER_get_gid_by_name(const gchar*)':
owner.cc:382: warning: converting of negative value `-0x00000000000000001' to 
`gid_t'

and
bm_chartype.c: In function `bch_set_value':
bm_chartype.c:49: warning: cast to pointer from integer of different size
bm_chartype.c:49: warning: cast to pointer from integer of different size

and more.

So I tried to patch it a little (patches attached), and recompiled. The crash 
remains when it's installed.
But - gnome-commander won't crash when executed from it's build directory.

While looking for the real types behind the glib-types and gnome-vfs-types I've 
seen, that gnome-vfs uses in it's file info struct UID/GID-types which are 
guint (means 64 bit int), but OS provides uid_t in unistd.h which is 32 bit 
width.
Because of gnome-commander is the only application which crashes, I don't 
assume the bug is there - but by the way, it's not sane.

Maybe someone can help to get a real fix.

Thanks in advance,
Jens

Attachment: patch-src
Description: Binary data

Attachment: patch-libgviewer
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]