[Geany-devel] Crash when using splitwindow plugin
enrico.troeger at xxxxx
Fri Feb 27 13:46:00 UTC 2009
On Thu, 26 Feb 2009 14:12:22 +0100, Wolfgang wrote:
>On Thu, 2009-02-26 at 12:40 +0100, Wolfgang Ocker wrote:
>> Sometimes my home built Geany crashes with a segfault when I use the
>> window split function.
>> Build info:
>> Linux Fedora 10, updated, uname -a:
>> Linux goedel.recco.de 22.214.171.124-170.2.24.fc10.x86_64 #1 SMP
>> Wed Feb 11 23:14:31 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
>It might be a 32/64 bits problem. See splitwindow.c:
> scintilla_send_message(sci, SCI_SETDOCPOINTER, 0,
>The usage of GPOINTER_TO_INT() looks strange to me. So I'll apply the
>patch below and test ...
Thanks for reporting and for the patch (will be committed it later).
Just for your interest, I used the type "sptr_t" which is defined in
Scintilla and typically used for the fourth argument of
scintilla_send_message(). But it's simply a typedef for the long type,
so it does the same as your patch.
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Devel