-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
4.8.x
-
None
-
Mandriva Linux, Cooker. No ICD or Network Manager.
The bearer plugin crashes.
To reproduce: launch bearermonitor. That's all.
Backtrace:
#0 0xb6f7fa47 in QMutex::lock (this=0xc) at /home/tmacieir/src/troll/qt-main/src/corelib/thread/qmutex.cpp:150 #1 0xb7277ae7 in QMutex::lockInline (this=0xc) at ../../include/QtCore/../../../../../src/troll/qt-main/src/corelib/thread/qmutex.h:198 #2 0xb7277a30 in QMutexLocker::QMutexLocker (this=0xbfffe1b4, m=0xc) at ../../include/QtCore/../../../../../src/troll/qt-main/src/corelib/thread/qmutex.h:109 #3 0xb72ae308 in QNetworkConfigurationManagerPrivate::allConfigurations (this=0x81eb2f0, filter=...) at /home/tmacieir/src/troll/qt-main/src/network/bearer/qnetworkconfigmanager_p.cpp:210 #4 0xb72ab6f7 in QNetworkConfigurationManager::allConfigurations (this=0xbfffe414, filter=...) at /home/tmacieir/src/troll/qt-main/src/network/bearer/qnetworkconfigmanager.cpp:284 #5 0x0804d88e in BearerMonitor::updateConfigurations (this=0xbfffe350) at /home/tmacieir/src/troll/qt-main/examples/network/bearermonitor/bearermonitor.cpp:233 #6 0x0804c7c7 in BearerMonitor::BearerMonitor (this=0xbfffe350, parent=0x0) at /home/tmacieir/src/troll/qt-main/examples/network/bearermonitor/bearermonitor.cpp:69 #7 0x0804c623 in main (argc=1, argv=0xbfffe504) at /home/tmacieir/src/troll/qt-main/examples/network/bearermonitor/main.cpp:52
Valgrind trace:
==25382== Invalid read of size 4 ==25382== at 0x4E58A47: QMutex::lock() (qmutex.cpp:150) ==25382== by 0x4CE8AE6: QMutex::lockInline() (qmutex.h:198) ==25382== by 0x4CE8A2F: QMutexLocker::QMutexLocker(QMutex*) (qmutex.h:109) ==25382== by 0x4D1F307: QNetworkConfigurationManagerPrivate::allConfigurations(QFlags<QNetworkConfiguration::StateFlag>) const (qnetworkconfigmanager_p.cpp:210) ==25382== by 0x4D1C6F6: QNetworkConfigurationManager::allConfigurations(QFlags<QNetworkConfiguration::StateFlag>) const (qnetworkconfigmanager.cpp:284) ==25382== by 0x804D88D: BearerMonitor::updateConfigurations() (bearermonitor.cpp:233) ==25382== by 0x804C7C6: BearerMonitor::BearerMonitor(QWidget*) (bearermonitor.cpp:69) ==25382== by 0x804C622: main (main.cpp:52) ==25382== Address 0xc is not stack'd, malloc'd or (recently) free'd ==25382== ==25382== ==25382== Process terminating with default action of signal 11 (SIGSEGV) ==25382== Access not within mapped region at address 0xC ==25382== at 0x4E58A47: QMutex::lock() (qmutex.cpp:150) ==25382== by 0x4CE8AE6: QMutex::lockInline() (qmutex.h:198) ==25382== by 0x4CE8A2F: QMutexLocker::QMutexLocker(QMutex*) (qmutex.h:109) ==25382== by 0x4D1F307: QNetworkConfigurationManagerPrivate::allConfigurations(QFlags<QNetworkConfiguration::StateFlag>) const (qnetworkconfigmanager_p.cpp:210) ==25382== by 0x4D1C6F6: QNetworkConfigurationManager::allConfigurations(QFlags<QNetworkConfiguration::StateFlag>) const (qnetworkconfigmanager.cpp:284) ==25382== by 0x804D88D: BearerMonitor::updateConfigurations() (bearermonitor.cpp:233) ==25382== by 0x804C7C6: BearerMonitor::BearerMonitor(QWidget*) (bearermonitor.cpp:69) ==25382== by 0x804C622: main (main.cpp:52)