Re: sawfish 1.3.2 segfault
- From: Tom Hughes <tom compton nu>
- To: sawfish-list gnome org
- Subject: Re: sawfish 1.3.2 segfault
- Date: Wed, 23 Jan 2008 15:02:09 +0000
In message <20080121233100 25a6b452 szpak>
Janek Kozicki <cosurgi gmail com> wrote:
> would be nice if you will send further replies to this mailing list.
>
> What an "open a file" operation does? I tried from xterm:
>
> gqview wierd_utf8_name.png
>
> and it worked - more precisely: what is your "crashing" command?
>
> What does 'locale' command print in your xterm, before you lanuch this
> "crashing" command?
I suspect that he has the same problem as me - there are now calls
to g_locale_to_utf8 in both events.c and windows.c but neither
includes glib.h so there is no prototype for it.
As a result on 64 bit platforms the returned pointer is truncated
to a 32 bit (as the default return type is int when no prototype
has been seen) and when it is then dereferenced a crash ensues.
Those calls also introduce a dependency on glib when I don't think
was present before (at least not unconditionally).
Tom
--
Tom Hughes (tom compton nu)
http://www.compton.nu/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]