Bug#822658: gnome-todo: Segmentation fault

Jason Crain jason at inspiresomeone.us
Mon Oct 10 03:29:55 UTC 2016


Control: forwarded -1 https://bugzilla.gnome.org/show_bug.cgi?id=772672
Control: tags -1 + patch

On Tue, Apr 26, 2016 at 03:40:48PM +0700, Trần Ngọc Quân wrote:
> On 26/04/2016 15:23, Emilio Pozuelo Monfort wrote:
> > Please install libglib2.0-0-dbg and libgtk-3-0-dbg. Also install
> > gnome-todo-dbgsym from
> > http://debug.mirrors.debian.org/debian-debug/pool/main/g/gnome-todo/gnome-todo-dbgsym_3.20.0-1_amd64.deb
> I'm using 32-bit system. I install gnome-todo-dbgsym_3.20.0-1_i386.deb
> > Then get a new backtrace.
> See the attachment.

I managed to reproduce this in a i386 chroot, and the backtrace looks
pretty much like yours.  It probably looks like that because it's in the
middle of a bunch of varargs functions.

The problem is that in a g_object_new call, the "xalign" property is
being passed an int when it should be a float/double.  x86-64 gets away
with it, I think due to alignment, but i386 gets the types and
parameters mismatched and crashes from trying to treat a TRUE as a
string.

Attached patch fixes it.  Forwarded upstream.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pass-xalign-as-float.patch
Type: text/x-diff
Size: 1072 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20161009/1a8295ee/attachment-0001.patch>


More information about the pkg-gnome-maintainers mailing list