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 779162 - (Week view) Calendar gets Segmentation fault after switching to weekview
(Week view) Calendar gets Segmentation fault after switching to weekview
Status: RESOLVED OBSOLETE
Product: gnome-calendar
Classification: Applications
Component: Views
3.23.x
Other Linux
: Normal critical
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-24 08:12 UTC by Khurshid Alam
Modified: 2017-11-24 22:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Khurshid Alam 2017-02-24 08:12:23 UTC
I reported this bug on launchpad (https://bugs.launchpad.net/ubuntu/+source/gnome-calendar/+bug/1667594)

Summary:

When I click on new week view, Gnome-calendar simply crashes. Other views are working well.

(gdb) run

Starting program: /usr/bin/gnome-calendar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xaf7b6b40 (LWP 2748)]
[New Thread 0xaebffb40 (LWP 2749)]
[New Thread 0xae3feb40 (LWP 2750)]
[New Thread 0xad7ffb40 (LWP 2751)]
[New Thread 0xacffeb40 (LWP 2752)]
[New Thread 0xac7fdb40 (LWP 2753)]
[New Thread 0xabffcb40 (LWP 2754)]
[New Thread 0xab7fbb40 (LWP 2755)]
[New Thread 0xaaffab40 (LWP 2756)]
[New Thread 0xaa7f9b40 (LWP 2757)]
[New Thread 0xa9ff8b40 (LWP 2758)]
[New Thread 0xa97f7b40 (LWP 2759)]
[New Thread 0xa87ffb40 (LWP 2767)]
[New Thread 0xa7ffeb40 (LWP 2768)]
[New Thread 0xa77fdb40 (LWP 2769)]
[Thread 0xa87ffb40 (LWP 2767) exited]
[Thread 0xa7ffeb40 (LWP 2768) exited]
[Thread 0xa77fdb40 (LWP 2769) exited]

Thread 1 "gnome-calendar" received signal SIGSEGV, Segmentation fault.
0xb771988b in gtk_adjustment_set_page_increment ()
   from /usr/lib/i386-linux-gnu/libgtk-3.so.0


If any other information required please tell me.
Comment 1 Georges Basile Stavracas Neto 2017-02-24 12:15:54 UTC
Hi! Thanks for reporting this bug. What version of GNOME Calendar are you running? Are you sure you're running the very latest one?

How can I reproduce this? You mentioned you simply changed the view to Week - are there other steps to do that? I can't reproduce this here.
Comment 2 Khurshid Alam 2017-02-24 13:49:32 UTC
I am using Ubuntu 17.04 (32 bit) . Ubuntu syncs with debian unstable which has 3.23.90. https://launchpad.net/ubuntu/zesty/+source/gnome-calendar

Steps to Reproduce:

1) Open gnome-calendar after install

2) Click on week view and it will crash

3) It won't open again unless you change the default view to month or year view using dconf-editor.


Screencast: https://dl.dropboxusercontent.com/u/12972795/Upload/Vimeo/calender-sgf.webm
Comment 3 Jeremy Bicha 2017-03-03 00:19:48 UTC
gnome-calendar doesn't crash for me either, but here are two more crash reports with 3.23.90:

https://launchpad.net/bugs/1666205
https://launchpad.net/bugs/1666709

Khurshid, there's a new gnome-calendar 3.23.91.1 that's building now for Ubuntu. Once that's available, could you see if you still have the crash?

Khurshi, what are your locale settings?
Comment 4 Khurshid Alam 2017-03-03 15:20:00 UTC
I will try 3.23.91.1 and report back here.
Comment 5 Khurshid Alam 2017-03-05 11:39:44 UTC
Yes, it also happens with 3.23.91.1. (I didn't change any configuration. I simply upgraded it.)

pc-user@ubuntu-dev:~$ locale
LANG=en_IN
LANGUAGE=en_IN:en
LC_CTYPE="en_IN"
LC_NUMERIC="en_IN"
LC_TIME="en_IN"
LC_COLLATE="en_IN"
LC_MONETARY="en_IN"
LC_MESSAGES="en_IN"
LC_PAPER="en_IN"
LC_NAME="en_IN"
LC_ADDRESS="en_IN"
LC_TELEPHONE="en_IN"
LC_MEASUREMENT="en_IN"
LC_IDENTIFICATION="en_IN"
Comment 6 Khurshid Alam 2017-03-10 07:31:36 UTC
I installed dbg-symbols for gnome-calendar and libglib (I didn't find all the symbols). Running "bt full" gave me some sort error at: views/gcal-week-view.c:175

Also I forgot to mention that I have added few webcal (google-calendar) in Evolution. Please add some google calendars (private ical url) as webcal and see if you can reproduce the issue.

## GDB Backtrace
----------------------------------------------------------------

Thread 1 "gnome-calendar" received signal SIGSEGV, Segmentation fault.
0xb771988b in gtk_adjustment_set_page_increment ()
   from /usr/lib/i386-linux-gnu/libgtk-3.so.0
(gdb) bt full
  • #0 gtk_adjustment_set_page_increment
  • #1 update_grid_scroll_position
    at views/gcal-week-view.c line 175
  • #2 g_timeout_dispatch
    at ././glib/gmain.c line 4674
  • #3 g_main_dispatch
    at ././glib/gmain.c line 3203
  • #4 g_main_context_dispatch
    at ././glib/gmain.c line 3856
  • #5 g_main_context_iterate
    at ././glib/gmain.c line 3929
  • #6 g_main_context_iteration
    at ././glib/gmain.c line 3990
  • #7 g_application_run
    at ././gio/gapplication.c line 2381
  • #8 main
    at main.c line 43

        app = 0x80d70c0 [GcalApplication]
        status = <optimized out>
Comment 7 Khurshid Alam 2017-04-01 10:04:09 UTC
I can reproduce it in vm with fresh install, but I think I got a hint what's going on. It may have something to do with window size. 


Steps to reproduce:
-----------------------------------

1. Add few google web-cals in evolution. Web-calendar should have multiple events for current month.

2. Open gnome-calendar in year view.

3. Reduce window size as much as possible.

4. Then select any different date from year view. The moment you click on a different date it automatically changes the window size to 1069x555 (wxh).

5. Now go to week view. It doesn't crash for me at that moment. If I try to go to previous week using back button on headerbar, it again crashes immediately.

6. After restart it again crashes as usal until I performs steps 2->3->4. Weird.

I also noticed that default size automatically changes to 775x600 instead of 768x600 when I restart after re-setting window size to default with dconf-editor.




Machine spec:
------------------
Resolution: 1366x768 (Machine1) 16:9 (32 bit os)
Resolution: 1920×1080 (Machine2) 16:9 (64 bit os)



@Jeremy

Could this be compiz bug?
Comment 8 Georges Basile Stavracas Neto 2017-04-17 18:44:26 UTC
Can you please confirm this is still happening in master and/or gnome-3-24 branch?
Comment 9 Khurshid Alam 2017-04-19 14:48:18 UTC
Sorry for late reply.

And yes it is happening with 3.24. I haven't check master branch. I will compile and report here.
Comment 10 Georges Basile Stavracas Neto 2017-04-28 22:19:39 UTC
(In reply to Khurshid Alam from comment #9)
> Sorry for late reply.
> 
> And yes it is happening with 3.24. I haven't check master branch. I will
> compile and report here.

Which version are you using - 3.24.0 or 3.24.1?
Comment 11 Jeremy Bicha 2017-05-10 19:27:23 UTC
See also bug 782477
Comment 12 Khurshid Alam 2017-05-11 16:48:52 UTC
> Which version are you using - 3.24.0 or 3.24.1?

3.24.1
Comment 13 Khurshid Alam 2017-05-15 14:01:14 UTC
@Jeremy 

Can you reproduce your bug with 3.24.2? I just tried 3.24.2. I can't reproduce the crash. Did it get fixed between 3.24.1 and 3.24.2 ?
Comment 14 Jeremy Bicha 2017-05-15 14:19:29 UTC
Khurshid, bug 782477 has not be reported against 3.24.2 yet. On the other hand, not many people are using the new version in Ubuntu yet. I don't think I personally know how to reproduce the bug. I was just forwarding the error reports Ubuntu received.
Comment 15 Georges Basile Stavracas Neto 2017-11-24 22:13:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-calendar/issues/118.