After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772672 - crash in gtd-panel-scheduled.c
crash in gtd-panel-scheduled.c
Status: RESOLVED FIXED
Product: gnome-todo
Classification: Other
Component: User Interface
3.20.x
Other Linux
: Normal major
: ---
Assigned To: GNOME To Do maintainer(s)
GNOME To Do maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-10-10 03:16 UTC by Jason Crain
Modified: 2016-10-10 14:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pass-xalign-as-float.patch (1.05 KB, patch)
2016-10-10 03:22 UTC, Jason Crain
committed Details | Review

Description Jason Crain 2016-10-10 03:16:08 UTC
After scheduling a task, gnome-todo will crash on i386 machines with the below stack trace.

Thread 1 "gnome-todo" received signal SIGSEGV, Segmentation fault.
__strchr_sse2_bsf () at ../sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S:60
60      ../sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: No such file or directory.
(gdb) bt
  • #0 #1 0xffffffff in #2 0xffffffff in #3 0xffffffff in #4 0x0806c015 in create_label
    at gtd-panel-scheduled.c line 125
  • #5 gtd_panel_scheduled_header_func
    at gtd-panel-scheduled.c line 164
  • #6 internal_header_func
    at gtd-task-list-view.c line 182
  • #7 #8 0xffffffff in #9 0x0806589e in gtd_task_list_view__add_task
    at gtd-task-list-view.c line 556
  • #10 gtd_task_list_view__task_added
    at gtd-task-list-view.c line 676
  • #11 #12 0xffffffff in #13 0xffffffff in #14 0xffffffff in #15 0x0806401d in gtd_task_list_save_task
    at gtd-task-list.c line 451
  • #16 gtd_panel_scheduled_count_tasks
    at gtd-panel-scheduled.c line 334
  • #20 #21 0x08053af8 in gtd_manager__task_list_modified
    at engine/gtd-manager.c line 359
  • #25 #26 0x0806401d in gtd_task_list_save_task
    at gtd-task-list.c line 451
  • #27 gtd_provider_eds_fill_task_list
    at gtd-provider-eds.c line 109
  • #28 #29 0xffffffff in #30 0xffffffff in #31 0xffffffff in #32 0xffffffff in #33 0xffffffff in #34 0xffffffff in #35 0x0805388e in main
    at main.c line 41

Comment 1 Jason Crain 2016-10-10 03:22:24 UTC
Created attachment 337294 [details] [review]
pass-xalign-as-float.patch

This patch fixes it.  The problem is that the "xalign" property is being passed as an int when it should be a float/double.  x86-64 gets away with it, but it crashes on i386.
Comment 2 Georges Basile Stavracas Neto 2016-10-10 14:59:21 UTC
Thanks for the quick fix!