Version: (using KDE 4.1.2) OS: Linux Installed from: Ubuntu Packages With KDE 3.5.10 you could use kppp -c <name of the connection to use> and you could do programmed connections with it. But now with KDE 4.1.2 I use the same kppp -c <name of the connection to use> and it breaks!! it always says: The application KPPP (kppp) crashed and caused the signal 11 (SIGSEGV). Please help us improve the software you use by filing a report at http://bugs.kde.org. Useful details include how to reproduce the error, documents that were loaded, etc.
Additional information: - Launching kppp and choosing manually the connection account to use --> it works ok. - Trying kppp -c <any word that is not a defined connection> does not break kppp, it behaves like when you try to use an inexistant connection account.
Can you post the backtrace you get in the window "The application KPPP (kppp) crashed and caused the signal 11 (SIGSEGV). " after clicking the "more details"/"get more information" checkbox ?. Thanks :)
Created attachment 29124 [details] backtrace
The backtrace is useless. No debug symbols. Can you install "kdenetwork-dbg" ,"kdebase-runtime-dbg", "kdelibs-dbg", and then reproduce this bug and post again the backtrace in the KCrash window? Thanks :)
> Can you install "kdenetwork-dbg" ,"kdebase-runtime-dbg", "kdelibs-dbg" 340 MB (!), I had to move to another computer to download it Meanwhile, in the other computer, I configured kppp and... kppp -c ... BANGS! So it seems anyone can see it and study it in their computer, you don't need a modem. You just need go to the command line and execute: sudo apt-get install kppp [it only installs a package] kppp and in kppp - go to configure it and: - create a new account called "try", write a fake telephone number. Nothing more. - create a new "modem" called "try", choose "/dev/ttyS0" as the modem device . Nothing more. - in the main window write a fake user name and password. - close kppp In the command line write kppp -c try and BANG! This seems the easiest way I write it for you, thanks.
Created attachment 29206 [details] Backtrace file, with the debug symbols So it seems "kppp -c <existing_account>" crashes on any computer you try it. Anyway, once I've downloaded 340MB just for making a backtrace file, I make it and attach it to this bug.
Pasted backtrace from comment 6: Aplicación: KPPP (kppp), señal SIGSEGV [Thread debugging using libthread_db enabled] [New Thread 0xb5d0b8d0 (LWP 8860)] [KCrash handler] #6 0x0807d74f in DebugWidget::hideEvent (this=0xa239f88) at /build/buildd/kdenetwork-4.1.2/kppp/debug.cpp:84 #7 0xb699d367 in QWidget::event () from /usr/lib/libQtGui.so.4 #8 0xb69458ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #9 0xb694d7fa in QApplication::notify () from /usr/lib/libQtGui.so.4 #10 0xb787972d in KApplication::notify (this=0xbf9c3fb0, receiver=0xa239f88, event=0xbf9c3a30) at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311 #11 0xb73aae61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #12 0xb6997d85 in QWidgetPrivate::hide_helper () from /usr/lib/libQtGui.so.4 #13 0xb69a10a0 in QWidget::setVisible () from /usr/lib/libQtGui.so.4 #14 0xb6db3964 in QDialog::setVisible () from /usr/lib/libQtGui.so.4 #15 0x08065529 in QWidget::hide (this=0xa239f88) at /usr/include/qt4/QtGui/qwidget.h:468 #16 0x0805f7fe in KPPPWidget::beginConnect (this=0xbf9c3ee8) at /build/buildd/kdenetwork-4.1.2/kppp/kpppwidget.cpp:820 #17 0x08063030 in KPPPWidget (this=0xbf9c3ee8, parent=0x0, name=0x0) at /build/buildd/kdenetwork-4.1.2/kppp/kpppwidget.cpp:345 #18 0x0808dcf9 in main (argc=3, argv=0xbf9c41d4) at /build/buildd/kdenetwork-4.1.2/kppp/main.cpp:297 #0 0xb7fc3430 in __kernel_vsyscall ()
@Antonio: I can't reproduce it here, may be it's a problem with your installation/configuration. The backtrace seems to be related to the one in bug 153513 (wrong permissions for pppd). The bug 152216 seems to be related to (but it was fixed a long ago (?), maybe it re-appeared.)
> I can't reproduce it here, may be it's a problem with your > installation/configuration. In the two computers I have tried, the effect is the same. This is puzzling. @Darío Andrés: What is the result when you execute kppp -c <existing_account> ?
If it can help you: I've tried: sudo kppp -c <existing_account> and BANG! but every time I try this, when I try to get the backtrace it says something like: Unable to create a valid backtrace. This backtrace appears to be of no use. This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.
Created attachment 29211 [details] Backtrace file, with the debug symbols, after executing "kppp" with the root user To avoid problems with permissions I've executed sudo su - and so being root, executed kppp and configured it in the simple way it's explained in comment #5 . Executed kppp -c try and it breaks, too, but allowing me later to save the backtrace file, with the debug symbols.
I saw this bug in Kubuntu, in two different machines. Today I tried it with a LiveCD of Mandrake 2009 and... kppp also breaks! The steps I followed were the usual (anyone can try it, you don't need a modem): - Go to Konsole and execute kppp - Click on "Configure" to configure it - In the accounts tab, click on "New", choose the not-automatic configuration. - When it asks you for a connection name, write "try". Click on "add" to add a telephone number and write 900900900. Accept - In the modems tab, click on "new". Write "try" as its name. As a modem device, choose "/dev/ttyS0" as the modem device. Accept. - In the main window write a fake user name and password. - Close kppp - In Konsole write: kppp -c try and it crashes.
Well.. I managed to reproduce the crash using part of the steps described in comment 12 (I had to use the "Wizard" to workaround another KPPP crash) 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 Here is the backtrace: #0 0x00007f0d4fab80c5 in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00007f0d4fab95e3 in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00007f0d4fab10e9 in __assert_fail () from /lib/libc.so.6 No symbol table info available. #3 0x0000000000438b4c in DebugWidget::hideEvent (this=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdenetwork/kppp/debug.cpp:83 __PRETTY_FUNCTION__ = "virtual void DebugWidget::hideEvent(QHideEvent*)" #4 0x00007f0d5076959d in QWidget::event (this=0x1dc7540, event=0x7fff5b978710) at kernel/qwidget.cpp:7364 No locals. #5 0x00007f0d507170ad in QApplicationPrivate::notify_helper (this=0x197eaa0, receiver=0x1dc7540, e=0x7fff5b978710) at kernel/qapplication.cpp:3803 consumed = <value optimized out> #6 0x00007f0d5071e40e in QApplication::notify (this=0x7fff5b979470, receiver=0x1dc7540, e=0x7fff5b978710) at kernel/qapplication.cpp:3768 res = true #7 0x00007f0d5269f55b in KApplication::notify (this=0x7fff5b979470, receiver=0x1dc7540, event=0x7fff5b978710) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 No locals. #8 0x00007f0d5187fd90 in QCoreApplication::notifyInternal (this=0x7fff5b979470, receiver=0x1dc7540, event=0x7fff5b978710) at kernel/qcoreapplication.cpp:583 result = false cbdata = {0x1dc7540, 0x7fff5b978710, 0x7fff5b9786cf} d = (class QObjectPrivate *) 0x1dc79c0 threadData = (QThreadData *) 0x1946a20 deleteWatch = 0 oldDeleteWatch = (int *) 0x0 returnValue = <value optimized out> #9 0x00007f0d507623dc in QWidgetPrivate::hide_helper (this=0x1dc79c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209 q = (QWidget * const) 0x1dc7540 wasVisible = false hideEvent = {<QEvent> = {_vptr.QEvent = 0x7f0d50fd9770, d = 0x0, t = 18, posted = 0, spont = 0, m_accept = 1, reserved = 59}, <No data fields>} #10 0x00007f0d5076ab40 in QWidget::setVisible (this=0x1dc7540, visible=<value optimized out>) at kernel/qwidget.cpp:6615 hideToParentEvent = {_vptr.QEvent = 0x1dc9670, d = 0x1946a20, t = 5744, posted = 1, spont = 0, m_accept = 1, reserved = 59} #11 0x00007f0d50b0d991 in QDialog::setVisible (this=0x1dc7540, visible=<value optimized out>) at dialogs/qdialog.cpp:703 d = (QDialogPrivate * const) 0x1dc79c0 #12 0x000000000041d539 in KPPPWidget::beginConnect (this=0x7fff5b9792e0) at /home/kde-devel/kde/src/KDE/kdenetwork/kppp/kpppwidget.cpp:820 info = {d_ptr = 0x1ddb6e0} args = (KCmdLineArgs *) 0x7fff5b978950 device = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3368}, alloc = 0, size = 0, data = 0x69f77a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 85}, alloc = 0, size = 0, data = 0x7f0d51b4dcba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1ddbcc0, static codecForCStrings = 0x0} info2 = {d_ptr = 0x1ddbdd0} tit = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3368}, alloc = 0, size = 0, data = 0x69f77a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 85}, alloc = 0, size = 0, data = 0x7f0d51b4dcba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1ddc2c0, static codecForCStrings = 0x0} show_debug = false #13 0x0000000000420830 in KPPPWidget (this=0x7fff5b9792e0, parent=<value optimized out>, name=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdenetwork/kppp/kpppwidget.cpp:345 No locals. #14 0x0000000000447796 in main (argc=3, argv=0x7fff5b979b48) at /home/kde-devel/kde/src/KDE/kdenetwork/kppp/main.cpp:297 a = {<QApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x7f0d52a7a6d0, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f0d51908a00 "QObject", data = 0x7f0d51908a80, extradata = 0x0}}, d_ptr = 0x197eaa0, static staticQtMetaObject = { d = {superdata = 0x0, stringdata = 0x7f0d51912340 "Qt", data = 0x7f0d51913fe0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x69f300, stringdata = 0x7f0d519182c0 "QCoreApplication", data = 0x7f0d51918360, extradata = 0x0}}, static self = 0x7fff5b979470}, static staticMetaObject = {d = {superdata = 0x7f0d51b4c520, stringdata = 0x7f0d50c72ec0 "QApplication", data = 0x7f0d50c730a0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f0d50fd92c0, stringdata = 0x7f0d528013a0 "KApplication", data = 0x7f0d52801540, extradata = 0x0}}, static loadedByKdeinit = false, static KApp = 0x7fff5b979470, d = 0x19b1400} terminate_connection = false configFile = {static null = {<No data fields>}, static shared_null = {ref = { _q_value = 3368}, alloc = 0, size = 0, data = 0x69f77a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = { ref = {_q_value = 85}, alloc = 0, size = 0, data = 0x7f0d51b4dcba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1a533d0, static codecForCStrings = 0x0} pid = 0 err_msg = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3368}, alloc = 0, size = 0, data = 0x69f77a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 85}, alloc = 0, size = 0, data = 0x7f0d51b4dcba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1a53ca0, static codecForCStrings = 0x0} ret = <value optimized out> options = {d = 0x197d7f0} args = <value optimized out> kppp = {<QWidget> = {<QObject> = {_vptr.QObject = 0x4809d0, static staticMetaObject = {d = { superdata = 0x0, stringdata = 0x7f0d51908a00 "QObject", data = 0x7f0d51908a80, extradata = 0x0}}, d_ptr = 0x1a53db0, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f0d51912340 "Qt", data = 0x7f0d51913fe0, extradata = 0x0}}}, <QPaintDevice> = {_vptr.QPaintDevice = 0x480b90, painters = 0}, static staticMetaObject = {d = {superdata = 0x69f300, stringdata = 0x7f0d50c76820 "QWidget", data = 0x7f0d50c76cc0, extradata = 0x0}}, data = 0x1a53e48}, static staticMetaObject = {d = { superdata = 0x69f960, stringdata = 0x4803e0 "KPPPWidget", data = 0x480720, extradata = 0x0}}, log = 0x1ab5a00, connected = false, debugwindow = 0x1dc7540, con_speed = { static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3368}, alloc = 0, size = 0, data = 0x69f77a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 85}, alloc = 0, size = 0, data = 0x7f0d51b4dcba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x69f760, static codecForCStrings = 0x0}, con = 0x1dd63d0, con_win = 0x1ce9e80, statdlg = 0x1ce6fe0, acct = 0x0, quit_b = 0x1a52b50, stats = 0x1b50970, ruleset_load_errmsg = { static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3368}, alloc = 0, size = 0, data = 0x69f77a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 85}, alloc = 0, size = 0, data = 0x7f0d51b4dcba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x69f760, static codecForCStrings = 0x0}, l1 = 0x1a54710, help_b = 0x1aa9560, setup_b = 0x1b4a500, fline = 0x1ad0f40, fline1 = 0x7f0d5394f000, connect_b = 0x1acae30, connectto_c = 0x1ad4a80, modem_c = 0x1aad650, ID_Label = 0x1acea70, PW_Label = 0x1ab0420, ID_Edit = 0x1a54740, PW_Edit = 0x1ac3cf0, label1 = 0x1a4a680, label2 = 0x4106dc, label3 = 0xfffeb72f32200000, label4 = 0x0, label5 = 0x69d130, label6 = 0x0, label7 = 0x1acb890, radio_label = 0xfffeb72f27000000, tabWindow = 0x0, accounts = 0x0, general = 0x69d120, modems = 0x0, graph = 0x7f0d53978000, about = 0xfffeb72f27600000, m_strCmdlAccount = { static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3368}, alloc = 0, size = 0, data = 0x69f77a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 85}, alloc = 0, size = 0, data = 0x7f0d51b4dcba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x197ed70, static codecForCStrings = 0x0}, m_strCmdlModem = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 3368}, alloc = 0, size = 0, data = 0x69f77a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 85}, alloc = 0, size = 0, data = 0x7f0d51b4dcba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f0d51b4dca0, static codecForCStrings = 0x0}, m_bQuitOnDisconnect = false, m_bCmdlAccount = true, m_bCmdlModem = false, m_bModemCShown = false, disconnectTimer = 0x0} sockets = {7, 8} aboutData = {d = 0x1951c60} __PRETTY_FUNCTION__ = "int main(int, char**)" The program is running. Exit anyway? (y or n)
SVN commit 929527 by darioandres: Fix the crash on kppp -c <connection name>. It isn't the best fix (strange code) but at least it won't crash BUG: 176028 M +2 -1 debug.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=929527
SVN commit 929530 by darioandres: Backport to 4.2branch of: SVN commit 929527 by darioandres: Fix the crash on kppp -c <connection name>. It isn't the best fix (strange code) but at least it won't crash CCBUG: 176028 M +2 -1 debug.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=929530
*** Bug 153513 has been marked as a duplicate of this bug. ***