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 646555 - empathy crashed with SIGSEGV in event_manager_add
empathy crashed with SIGSEGV in event_manager_add
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: Contact List
2.33.x
Other Linux
: High major
: ---
Assigned To: empathy-maint
: 646549 646599 646600 653044 655289 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-04-02 18:56 UTC by Brian Curtis
Modified: 2011-08-29 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backtrace from crash (4.68 KB, text/plain)
2011-04-02 18:56 UTC, Brian Curtis
  Details
event_manager_add: don't crash if approval is NULL (#646555) (1.05 KB, patch)
2011-04-04 08:26 UTC, Guillaume Desmottes
none Details | Review

Description Brian Curtis 2011-04-02 18:56:55 UTC
Created attachment 184962 [details]
backtrace from crash

https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/748535

(gdb) run
Starting program: /usr/bin/empathy
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe393b700 (LWP 7000)]
[New Thread 0x7fffe313a700 (LWP 7001)]
[New Thread 0x7fffe2522700 (LWP 7002)]
[New Thread 0x7fffd9df9700 (LWP 7004)]
[New Thread 0x7fffd95f8700 (LWP 7005)]
[New Thread 0x7fffd8df7700 (LWP 7006)]
[New Thread 0x7fffd3fff700 (LWP 7007)]

Program received signal SIGSEGV, Segmentation fault.
event_manager_add (manager=0x8a2720, account=0x0, contact=0xb3f4c0,
    type=EMPATHY_EVENT_TYPE_SUBSCRIPTION,
    icon_name=0x4e2dd3 "gtk-dialog-question",
    header=0xaef570 "bcurtiswx@hotmail.com would like permission to see when you are online", message=0x0, approval=0x0,
    func=0x43e8a0 <event_pending_subscribe_func>, user_data=0x0)
    at empathy-event-manager.c:240
240	empathy-event-manager.c: No such file or directory.
 in empathy-event-manager.c

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: empathy 2.34.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
Architecture: amd64
Date: Sat Apr 2 14:46:01 2011
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: empathy
UpgradeStatus: No upgrade log present (probably fresh install)
Comment 1 Brian Curtis 2011-04-03 13:30:17 UTC
Steps to reproduce:
1) Create a MSN account
2) Have someone add you to their friends (on MSN)
3) Empathy Crashes
4) Empathy keeps crashing until friend request accepted (by other means)
Comment 2 Guillaume Desmottes 2011-04-04 08:17:25 UTC
Thanks for the bug report. I can reproduce it.
Comment 3 Guillaume Desmottes 2011-04-04 08:26:48 UTC
Created attachment 185089 [details] [review]
event_manager_add: don't crash if approval is NULL (#646555)

When adding a "subscription request" event there is no EventManagerApproval
associated with the event.
Comment 4 Guillaume Desmottes 2011-04-04 08:27:04 UTC
This bug doesn't affect master.
Comment 5 Guillaume Desmottes 2011-04-04 08:35:50 UTC
*** Bug 646549 has been marked as a duplicate of this bug. ***
Comment 6 Guillaume Desmottes 2011-04-04 08:37:14 UTC
*** Bug 646599 has been marked as a duplicate of this bug. ***
Comment 7 Guillaume Desmottes 2011-04-04 08:37:22 UTC
*** Bug 646600 has been marked as a duplicate of this bug. ***
Comment 8 Guillaume Desmottes 2011-04-04 08:44:53 UTC
Merged to 2.34.

commit 73d8a18c6def748d78e91f0dda1145771c620b53
Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date:   Mon Apr 4 10:23:53 2011 +0200

    event_manager_add: don't crash if approval is NULL (#646555)
    
    When adding a "subscription request" event there is no EventManagerApproval
    associated with the event.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 9 Arun Raghavan 2011-04-06 04:17:46 UTC
Is a released planned any time soon? At least for me, this makes Empathy unusable (because of bug #646884).
Comment 10 Guillaume Desmottes 2011-04-06 08:39:02 UTC
Ubuntu backported the fix to their package. Are you using 2.34.0 with another distro?
Comment 11 Arun Raghavan 2011-04-06 08:41:53 UTC
I am. I asked so that I could decide if I should include this patch in Gentoo or wait for a release.
Comment 12 Guillaume Desmottes 2011-04-06 11:33:08 UTC
I'd say to patch for now. I'll eventually make another 2.34 release at some point but none is planned for the short term.
Comment 13 Guillaume Desmottes 2011-06-22 10:01:31 UTC
*** Bug 653044 has been marked as a duplicate of this bug. ***
Comment 14 Guillaume Desmottes 2011-06-30 08:51:11 UTC
(In reply to comment #8)
> Merged to 2.34.


For some reason I didn't merge this patch to master; this is now done.
Comment 15 Guillaume Desmottes 2011-08-01 08:30:25 UTC
*** Bug 655289 has been marked as a duplicate of this bug. ***