Bug 279649 - Solid crashes on send pin with Ericsson F5521gw
Summary: Solid crashes on send pin with Ericsson F5521gw
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Network Management
Classification: Miscellaneous
Component: KDED Module (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
: 282009 306010 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-08 11:17 UTC by Francisco Gonzalez
Modified: 2012-08-30 00:04 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Modem manager log (5.30 KB, text/plain)
2011-08-22 01:04 UTC, Francisco Gonzalez
Details
NetworkManager log (23.67 KB, text/x-log)
2011-08-22 01:05 UTC, Francisco Gonzalez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Gonzalez 2011-08-08 11:17:22 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 3.0-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
Starting kde. Solid detects the ericcsson F5521gw card with a required pin.
A dialog is started for insert the pin.
After inserting the pin and press ok the system informs about a crash, and the
dialog is started again.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f70bd186760 (LWP 1316))]

Thread 4 (Thread 0x7f70a6c71700 (LWP 1318)):
#0  0x00007f70ba83fb83 in poll () from /lib/libc.so.6
#1  0x00007f70b788d7d4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f70b788dd09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f70bbe008de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f70bbdd4db2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f70bbdd4fb7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f70bbcec69f in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f70bbdb7d8f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f70bbcef0f5 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f70bba65d60 in start_thread () from /lib/libpthread.so.0
#10 0x00007f70ba847e2d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f70a5d79700 (LWP 1320)):
#0  0x00007f70bba67cb4 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007f70b788d79b in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f70b788dd09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f70bbe008de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f70bbdd4db2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f70bbdd4fb7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f70bbcec69f in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f70bbcef0f5 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f70bba65d60 in start_thread () from /lib/libpthread.so.0
#9  0x00007f70ba847e2d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f70a5578700 (LWP 1325)):
#0  0x00007f70ba83fb83 in poll () from /lib/libc.so.6
#1  0x00007f70b788d7d4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f70b788dd09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f70bbe008de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f70bbdd4db2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f70bbdd4fb7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f70bbcec69f in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f70bbdb7d8f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f70bbcef0f5 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f70bba65d60 in start_thread () from /lib/libpthread.so.0
#10 0x00007f70ba847e2d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f70bd186760 (LWP 1316)):
[KCrash Handler]
#6  0x00007f709e82b6b0 in ?? () from /usr/lib/libsolidcontrol.so.4
#7  0x00007f709e839bd5 in Solid::Control::ModemGsmCardInterface::sendPin(QString const&) const () from /usr/lib/libsolidcontrol.so.4
#8  0x00007f709f0fbf03 in NetworkInterfaceMonitor::requestPin(QString const&) () from /usr/lib/libknmservice.so.4
#9  0x00007f709f0f4a61 in NetworkInterfaceMonitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libknmservice.so.4
#10 0x00007f70bbde87fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x00007f709e8391b5 in Solid::Control::ModemInterface::unlockRequiredChanged(QString const&) () from /usr/lib/libsolidcontrol.so.4
#12 0x00007f709e839351 in Solid::Control::ModemInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsolidcontrol.so.4
#13 0x00007f709e82aad0 in Solid::Control::ModemGsmCardInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsolidcontrol.so.4
#14 0x00007f70bbddcea2 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /usr/lib/libQtCore.so.4
#15 0x00007f70bbddf020 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /usr/lib/libQtCore.so.4
#16 0x00007f709eec0c6b in NMDBusSettingsConnectionProvider::interfaceConnectionActivated() () from /usr/lib/libknm_nm.so
#17 0x00007f709ee821fc in NMDBusSettingsConnectionProvider::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libknm_nm.so
#18 0x00007f70bbde87fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0x00007f709f34ea17 in Knm::Activatable::activate() () from /usr/lib/libknminternals.so.4
#20 0x00007f709f112698 in ?? () from /usr/lib/libknmservice.so.4
#21 0x00007f70b8c4c7c2 in ?? () from /usr/lib/libQtDBus.so.4
#22 0x00007f70b8c4d83b in ?? () from /usr/lib/libQtDBus.so.4
#23 0x00007f70b8c4e1c2 in ?? () from /usr/lib/libQtDBus.so.4
#24 0x00007f70b8c4e298 in ?? () from /usr/lib/libQtDBus.so.4
#25 0x00007f70bbdec39e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007f70baf96174 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x00007f70baf9afe1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007f70bcb70226 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007f70bbdd5bbc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#30 0x00007f70bbdd8f2f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#31 0x00007f70bbe00413 in ?? () from /usr/lib/libQtCore.so.4
#32 0x00007f70b788d29d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x00007f70b788da78 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00007f70b788dd09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0x00007f70bbe00876 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007f70bb0391be in ?? () from /usr/lib/libQtGui.so.4
#37 0x00007f70bbdd4db2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x00007f70bbdd4fb7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0x00007f70bbdd91ab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#40 0x00007f70abbdeca5 in kdemain () from /usr/lib/libkdeinit4_kded4.so
#41 0x0000000000408102 in _start ()

Reported using DrKonqi
Comment 1 Lamarque V. Souza 2011-08-09 00:15:13 UTC
Could you install the debug symbol packages and reproduce this bug again? Your crashlog is missing some important information to debug the problem.
Comment 2 Francisco Gonzalez 2011-08-09 14:41:25 UTC
Unfortunately, arch AFAIK do not provide debug packages for kde. It should be compiled from sources. Anyway I will try.
Comment 3 Francisco Gonzalez 2011-08-18 10:17:33 UTC
Here is a little more complete complete backtrace:

Application: KDE Daemon (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f674311b760 (LWP 1520))]

Thread 3 (Thread 0x7f672cbf7700 (LWP 1526)):
#0  0x00007f67407d8b83 in poll () from /lib/libc.so.6
#1  0x00007f673d8267d4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f673d826d09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f6741d9845e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f6741d6ca62 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f6741d6cc67 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f6741c8467f in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f6741d4fa9f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f6741c870d5 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f67419fdd60 in start_thread () from /lib/libpthread.so.0
#10 0x00007f67407e0e2d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6724168700 (LWP 1571)):
#0  0x00007f67407d8b83 in poll () from /lib/libc.so.6
#1  0x00007f673d8267d4 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f673d826d09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f6741d9845e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f6741d6ca62 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f6741d6cc67 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f6741c8467f in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f6741d4fa9f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f6741c870d5 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f67419fdd60 in start_thread () from /lib/libpthread.so.0
#10 0x00007f67407e0e2d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f674311b760 (LWP 1520)):
[KCrash Handler]
#6  0x00007f6724eaf6b0 in Solid::Control::FrontendObjectPrivate::backendObject() const () from /usr/lib/libsolidcontrol.so.4
#7  0x00007f6724ebdbd5 in Solid::Control::ModemGsmCardInterface::sendPin(QString const&) const () from /usr/lib/libsolidcontrol.so.4
#8  0x00007f672577ff03 in NetworkInterfaceMonitor::requestPin(QString const&) () from /usr/lib/libknmservice.so.4
#9  0x00007f6725778a61 in NetworkInterfaceMonitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libknmservice.so.4
#10 0x00007f6741d803aa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x00007f6724ebd1b5 in Solid::Control::ModemInterface::unlockRequiredChanged(QString const&) () from /usr/lib/libsolidcontrol.so.4
#12 0x00007f6724ebd351 in Solid::Control::ModemInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsolidcontrol.so.4
#13 0x00007f6724eaf180 in Solid::Control::ModemGsmCardInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsolidcontrol.so.4
#14 0x00007f6741d83f4e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007f6740f2f194 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007f6740f34001 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007f6742b07226 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0x00007f6741d6d86c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007f6741d70bdf in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#20 0x00007f6741d97f93 in ?? () from /usr/lib/libQtCore.so.4
#21 0x00007f673d82629d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x00007f673d826a78 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007f673d826d09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x00007f6741d983f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007f6740fd20ae in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f6741d6ca62 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007f6741d6cc67 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007f6741d70e5b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0x00007f6731b75ca5 in kdemain () from /usr/lib/libkdeinit4_kded4.so
#30 0x0000000000408102 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#31 0x000000000040574a in main ()
Comment 4 Lamarque V. Souza 2011-08-19 23:08:08 UTC
Which NetworkManager and ModemManager versions do you use? Also, could send me the NetworkManager and ModemManager logs? Usually the log messages are written to /var/log/messages or /var/log/daemong.log.
Comment 5 Francisco Gonzalez 2011-08-22 01:04:53 UTC
Created attachment 63031 [details]
Modem manager log
Comment 6 Francisco Gonzalez 2011-08-22 01:05:46 UTC
Created attachment 63032 [details]
NetworkManager log
Comment 7 Francisco Gonzalez 2011-08-22 01:20:28 UTC
(In reply to comment #4)
> Which NetworkManager and ModemManager versions do you use? Also, could send me
> the NetworkManager and ModemManager logs? Usually the log messages are written
> to /var/log/messages or /var/log/daemong.log.

I have attached the logs.
The versions are: 
0.5 for ModemManager
0.8.9997 for NetworkManager
The logs are saved during two attempts to send the pin (and two crashes).
Additionaly if I cancel sendpin, and try to connect using kde networkmanagement plasma applet (git20110726), commit=72f48aff1a672af24f66c26dd83b3ac6ee87df5f
(I have defined the pin) then i can connect, sometimes I need try twice, (I suppose it is because the long time to detect a valid apn).
Also i think that with kde 4.6.95 the error did not appear. It begun with an upgrade to kde 4.7.0
Comment 8 Francisco Gonzalez 2011-08-22 01:22:04 UTC
(In reply to comment #4)
> Which NetworkManager and ModemManager versions do you use? Also, could send me
> the NetworkManager and ModemManager logs? Usually the log messages are written
> to /var/log/messages or /var/log/daemong.log.

I have attached the logs.
The versions are: 
0.5 for ModemManager
0.8.9997 for NetworkManager
The logs are saved during two attempts to send the pin (and two crashes).
Additionaly if I cancel sendpin, and try to connect using kde networkmanagement plasma applet (git20110726), commit=72f48aff1a672af24f66c26dd83b3ac6ee87df5f
(I have defined the pin) then i can connect, sometimes I need try twice, (I suppose it is because the long time to detect a valid apn).
Also i think that with kde 4.6.95 the error did not appear. It begun with an upgrade to kde 4.7.0
Comment 9 Lamarque V. Souza 2011-08-22 01:47:18 UTC
I introduced a change in Solid's ModemManager backend from KDE SC 4.7.0 that changes binary compatibility, maybe that is what is causing your problem. But, that would only happen if you use kde-workspace < 4.7.0 with Plasma NM compiled against kde-workspace >= 4.7.0 (or vice-versa), that should not happen unless you are using outdated kde-workspace packages (Solid's MM backend is in kde-workspace repository).

I use 3G on a regular basis and have never had this kind of problem, but I use Gentoo and compile everything from source. Probably this is a problem with packages compiled against non-binary compatible libraries.
Comment 10 Francisco Gonzalez 2011-08-22 13:41:51 UTC
You are completely right Mr. Lamarque.
I have built the kde networkmanagement applet from sources, using Arch ABS.
I have installed the compiled version and now it works like a charm.
It seems that the binary Arch package was built prior to upgrade to kde 4.7.
I will file a bug to Arch.
Sorry for the inconvenience, I suppose this should be closed as not valid bug or so.
Thanks a lot for taking the time of reading the report.
Comment 11 Lamarque V. Souza 2011-08-22 13:50:55 UTC
I will close it as downstream because the real problem is how the packages are compiled. Sorry for this inconvinience, the change in Solid's ModemManager backend is necessary to implement reporting errors when trying to PIN unlock a GSM phone or modem. Without the change it is not possible to report errors and you could end up locking your PIN and needing the PUK to unlock it.
Comment 12 Lamarque V. Souza 2011-09-14 16:44:08 UTC
*** Bug 282009 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2012-08-30 00:04:49 UTC
*** Bug 306010 has been marked as a duplicate of this bug. ***