Bug 176645 - [backtrace] kppp crashes when manually adding new phone number
Summary: [backtrace] kppp crashes when manually adding new phone number
Status: RESOLVED FIXED
Alias: None
Product: kppp
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Harri Porten
URL:
Keywords:
: 180086 185469 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-01 20:08 UTC by mccope
Modified: 2009-03-06 14:18 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Backtrace included in comment above (3.34 KB, text/plain)
2008-12-01 20:10 UTC, mccope
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mccope 2008-12-01 20:08:58 UTC
Version:            (using Devel)
Compiler:          g++ (Debian 4.3.2-1) 4.3.2 
OS:                Linux
Installed from:    Compiled sources

kppp crashes when trying to add a new phone number when manually creating a new account.

Steps to reproduce: start kppp and click 'configure...' > 'New...' > 'Manual Setup' > Phone number 'Add...'
Add some text into the line edit, click 'Ok' and kppp crashes with the following backtrace:

Application: KPPP (kppp), signal SIGSEGV

Thread 1 (Thread 0xb5d176c0 (LWP 5949)):
[KCrash Handler]
#6  0xb7c00b22 in QBasicAtomicInt::ref (this=0x0) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:116
#7  0xb689a8a4 in QString (this=0xbf8ff958, other=@0xb72e510c) at ../../include/QtCore/../../src/corelib/tools/qstring.h:671
#8  0xb6c7364f in QLineEdit::text (this=0xb72e2138) at widgets/qlineedit.cpp:379
#9  0x0807cf34 in PhoneNumberDialog::phoneNumber (this=0xbf8ff9b8) at /home/kde-devel/kde/src/KDE/kdenetwork/kppp/edit.cpp:1257
#10 0x08086288 in DialWidget::addNumber (this=0x872cec8) at /home/kde-devel/kde/src/KDE/kdenetwork/kppp/edit.cpp:275
#11 0x080865e0 in DialWidget::qt_metacall (this=0x872cec8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf8ffafc) at /home/kde-devel/kde/build/KDE/kdenetwork/kppp/edit.moc:82
#12 0xb724a0ca in QMetaObject::activate (sender=0x872fe30, from_signal_index=29, to_signal_index=30, argv=0xbf8ffafc) at kernel/qobject.cpp:3028
#13 0xb724a2e2 in QMetaObject::activate (sender=0x872fe30, m=0xb6f91e04, from_local_signal_index=2, to_local_signal_index=3, argv=0xbf8ffafc) at kernel/qobject.cpp:3121
#14 0xb6eb0eec in QAbstractButton::clicked (this=0x872fe30, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185
#15 0xb6c102fa in QAbstractButtonPrivate::emitClicked (this=0x872fea0) at widgets/qabstractbutton.cpp:538
#16 0xb6c1158a in QAbstractButtonPrivate::click (this=0x872fea0) at widgets/qabstractbutton.cpp:531
#17 0xb6c11836 in QAbstractButton::mouseReleaseEvent (this=0x872fe30, e=0xbf900294) at widgets/qabstractbutton.cpp:1110
#18 0xb68f91c4 in QWidget::event (this=0x872fe30, event=0xbf900294) at kernel/qwidget.cpp:7163
#19 0xb6c10295 in QAbstractButton::event (this=0x872fe30, e=0xbf900294) at widgets/qabstractbutton.cpp:1072
#20 0xb6cbfd25 in QPushButton::event (this=0x872fe30, e=0xbf900294) at widgets/qpushbutton.cpp:652
#21 0xb689d479 in QApplicationPrivate::notify_helper (this=0x848c7d8, receiver=0x872fe30, e=0xbf900294) at kernel/qapplication.cpp:3803
#22 0xb689dff7 in QApplication::notify (this=0xbf902d20, receiver=0x872fe30, e=0xbf900294) at kernel/qapplication.cpp:3528
#23 0xb7759bbf in KApplication::notify (this=0xbf902d20, receiver=0x872fe30, event=0xbf900294) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#24 0xb7235a1b in QCoreApplication::notifyInternal (this=0xbf902d20, receiver=0x872fe30, event=0xbf900294) at kernel/qcoreapplication.cpp:583
#25 0xb7c2f26b in QCoreApplication::sendSpontaneousEvent (receiver=0x872fe30, event=0xbf900294) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#26 0xb68a1e4e in QApplicationPrivate::sendMouseEvent (receiver=0x872fe30, event=0xbf900294, alienWidget=0x872fe30, nativeWidget=0x8710ea0, buttonDown=0xb6f9f4a0, lastMouseReceiver=@0xb6f9f4a4)
    at kernel/qapplication.cpp:2793
#27 0xb691861e in QETWidget::translateMouseEvent (this=0x8710ea0, event=0xbf900770) at kernel/qapplication_x11.cpp:4044
#28 0xb691930f in QApplication::x11ProcessEvent (this=0xbf902d20, event=0xbf900770) at kernel/qapplication_x11.cpp:3040
#29 0xb6942a56 in x11EventSourceDispatch (s=0x848f5d8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#30 0xb610a1b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0xb610d853 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x0848e898 in ?? ()
#33 0x00000000 in ?? ()
Comment 1 mccope 2008-12-01 20:10:37 UTC
Created attachment 28988 [details]
Backtrace included in comment above
Comment 2 Artur Souza (MoRpHeUz) 2008-12-22 02:50:43 UTC
I have the same bug here, _exactly_ the same bt. Using devel version (trunk) with Slackware 12.2 and gcc 4.2.4.
Comment 3 Dario Andres 2009-01-04 22:44:17 UTC
Same here using:

Qt: 4.4.3 + qt-copy-patches-889120 
KDE: 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101)) 
kdelibs svn rev. 905636 / kdebase svn rev. 905636 
kdenetwork svn rev. 905586 
on ArchLinux x86_64 - Kernel 2.6.27.10 
Comment 4 Dario Andres 2009-01-09 12:10:47 UTC
*** Bug 180086 has been marked as a duplicate of this bug. ***
Comment 5 Sergiu Bivol 2009-02-02 17:49:32 UTC
Confirming. 

Kubuntu x86_64, kernel 2.6.27-11-generic, Conexant HSF softmodem.
KDE 4.2.0, KPPP 2.4.0.
Comment 6 Dario Andres 2009-02-02 22:28:56 UTC
SVN commit 920415 by darioandres:

Fix crash (it was creating a function-scope object instead of initializing the class one)
BUG: 176645



 M  +1 -1      edit.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=920415
Comment 7 Dario Andres 2009-02-02 22:32:30 UTC
SVN commit 920417 by darioandres:

Backport of SVN commit 920415 to 4.2branch
Fix crash (it was creating a function-scope object instead of initializing the class one)
BUG: 176645



 M  +1 -1      edit.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=920417
Comment 8 Dario Andres 2009-02-24 23:00:52 UTC
*** Bug 185469 has been marked as a duplicate of this bug. ***