<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>297507</bug_id>
          
          <creation_ts>2012-04-05 05:42:10 +0000</creation_ts>
          <short_desc>Kopete crashes when setting display picture</short_desc>
          <delta_ts>2013-10-26 12:29:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kopete</product>
          <component>general</component>
          <version>1.1.3</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Thibaut Renaux">kde</reporter>
          <assigned_to name="Kopete Developers">kopete-bugs-null</assigned_to>
          
          
          <cf_commitlink>http://commits.kde.org/kopete/ea10eb75937aba921a46f19cf8d9d8e42e092902</cf_commitlink>
          <cf_versionfixedin>4.12</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1243059</commentid>
    <comment_count>0</comment_count>
    <who name="Thibaut Renaux">kde</who>
    <bug_when>2012-04-05 05:42:10 +0000</bug_when>
    <thetext>Application: kopete (1.1.3)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-17-generic x86_64
Distribution: Linux Mint 12 Lisa

-- Information about the crash:
- What I was doing when the application crashed:
After picking a display picture for a Live Messenger account and choosing which area of the picture to use, Kopete crashed.

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f5331dc2780 (LWP 26412))]

Thread 2 (Thread 0x7f531a367700 (LWP 26438)):
#0  0x00007f5329cd71fd in __pthread_mutex_unlock_usercnt (mutex=&lt;optimized out&gt;, decr=&lt;optimized out&gt;) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x1d7cb78) at pthread_mutex_unlock.c:290
#2  0x00007f53292053f5 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5329205e6a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5329206429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f532f851f3e in QEventDispatcherGlib::processEvents (this=0x1b84b10, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f532f825cf2 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f532f825ef7 in QEventLoop::exec (this=0x7f531a366dd0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f532f73d27f in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:498
#9  0x00007f532f808cbf in QInotifyFileSystemWatcherEngine::run (this=0x1d04280) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f532f73fd05 in QThreadPrivate::start (arg=0x1d04280) at thread/qthread_unix.cpp:331
#11 0x00007f5329cd3efc in start_thread (arg=0x7f531a367700) at pthread_create.c:304
#12 0x00007f532e19c59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5331dc2780 (LWP 26412)):
[KCrash Handler]
#6  Kopete::PropertyContainer::hasProperty (this=0x0, key=...) at ../../../kopete/libkopete/kopetepropertycontainer.cpp:108
#7  0x00007f533149ea31 in Kopete::PropertyContainer::property (this=0x0, key=...) at ../../../kopete/libkopete/kopetepropertycontainer.cpp:113
#8  0x00007f533149ecc8 in Kopete::PropertyContainer::setProperty (this=0x0, tmpl=..., value=...) at ../../../kopete/libkopete/kopetepropertycontainer.cpp:145
#9  0x00007f5330b4eb21 in IdentityStatusWidget::slotPhotoClicked (this=0x19b5c40) at ../../../../kopete/kopete/identity/identitystatuswidget.cpp:349
#10 0x00007f5330b4ed8c in IdentityStatusWidget::qt_metacall (this=0x19b5c40, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x7fff53a03c00) at ./identitystatuswidget.moc:97
#11 0x00007f532f839eba in QMetaObject::activate (sender=0x19d3630, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff53a03c00) at kernel/qobject.cpp:3278
#12 0x00007f532efce642 in QAbstractButton::clicked (this=&lt;optimized out&gt;, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#13 0x00007f532ed141fe in QAbstractButtonPrivate::emitClicked (this=&lt;optimized out&gt;) at widgets/qabstractbutton.cpp:546
#14 0x00007f532ed1553b in QAbstractButtonPrivate::click (this=0x19c8bf0) at widgets/qabstractbutton.cpp:539
#15 0x00007f532ed157ac in QAbstractButton::mouseReleaseEvent (this=0x19d3630, e=0x7fff53a04320) at widgets/qabstractbutton.cpp:1121
#16 0x00007f532edd239a in QToolButton::mouseReleaseEvent (this=&lt;optimized out&gt;, e=&lt;optimized out&gt;) at widgets/qtoolbutton.cpp:721
#17 0x00007f532e9adcea in QWidget::event (this=0x19d3630, event=0x7fff53a04320) at kernel/qwidget.cpp:8295
#18 0x00007f532e95d474 in notify_helper (e=0x7fff53a04320, receiver=0x19d3630, this=0x183d2d0) at kernel/qapplication.cpp:4486
#19 QApplicationPrivate::notify_helper (this=0x183d2d0, receiver=0x19d3630, e=0x7fff53a04320) at kernel/qapplication.cpp:4458
#20 0x00007f532e962cbb in QApplication::notify (this=&lt;optimized out&gt;, receiver=0x19d3630, e=0x7fff53a04320) at kernel/qapplication.cpp:4047
#21 0x00007f533025c466 in KApplication::notify (this=0x7fff53a04f90, receiver=0x19d3630, event=0x7fff53a04320) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f532f826afc in QCoreApplication::notifyInternal (this=0x7fff53a04f90, receiver=0x19d3630, event=0x7fff53a04320) at kernel/qcoreapplication.cpp:787
#23 0x00007f532e95e442 in sendEvent (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QApplicationPrivate::sendMouseEvent (receiver=0x19d3630, event=0x7fff53a04320, alienWidget=0x0, nativeWidget=0x19d3630, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#25 0x00007f532e9dd9d5 in QETWidget::translateMouseEvent (this=0x19d3630, event=&lt;optimized out&gt;) at kernel/qapplication_x11.cpp:4571
#26 0x00007f532e9dc94e in QApplication::x11ProcessEvent (this=0x7fff53a04f90, event=0x7fff53a04b40) at kernel/qapplication_x11.cpp:3693
#27 0x00007f532ea054a2 in x11EventSourceDispatch (s=0x1835bc0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007f5329205a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f5329206258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f5329206429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f532f851ed6 in QEventDispatcherGlib::processEvents (this=0x17f4f40, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#32 0x00007f532ea0510e in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=&lt;optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f532f825cf2 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f532f825ef7 in QEventLoop::exec (this=0x7fff53a04f10, flags=...) at kernel/qeventloop.cpp:201
#35 0x00007f532f82a789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#36 0x00000000004140ef in main (argc=3, argv=0x7fff53a05e18) at ../../../kopete/kopete/main.cpp:105

Possible duplicates by query: bug 208069, bug 204243.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1406485</commentid>
    <comment_count>1</comment_count>
    <who name="Pali Rohár">pali.rohar</who>
    <bug_when>2013-10-26 12:29:22 +0000</bug_when>
    <thetext>Git commit ea10eb75937aba921a46f19cf8d9d8e42e092902 by Pali Rohár.
Committed on 26/10/2013 at 12:16.
Pushed by pali into branch &apos;master&apos;.

Fix dereferencing NULL pointer, d-&gt;identity can be NULL
FIXED-IN: 4.12

M  +4    -1    kopete/identity/identitystatuswidget.cpp

http://commits.kde.org/kopete/ea10eb75937aba921a46f19cf8d9d8e42e092902</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>