GNOME Bugzilla – Bug 779162
(Week view) Calendar gets Segmentation fault after switching to weekview
Last modified: 2017-11-24 22:13:00 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.
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.
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
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?
I will try 3.23.91.1 and report back here.
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"
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
+ Trace 237240
app = 0x80d70c0 [GcalApplication] status = <optimized out>
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?
Can you please confirm this is still happening in master and/or gnome-3-24 branch?
Sorry for late reply. And yes it is happening with 3.24. I haven't check master branch. I will compile and report here.
(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?
See also bug 782477
> Which version are you using - 3.24.0 or 3.24.1? 3.24.1
@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 ?
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.
-- 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.