Bug 231533 - refreshing phpmyadmin in konqueror when mysql not running crashes konqueror
Summary: refreshing phpmyadmin in konqueror when mysql not running crashes konqueror
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: kjs (show other bugs)
Version: 4.4.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-21 13:14 UTC by 20120808_bugs.kde.org
Modified: 2018-10-31 03:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
valgrind log of konqueror run (324.41 KB, application/octet-stream)
2010-03-21 15:46 UTC, 20120808_bugs.kde.org
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 20120808_bugs.kde.org 2010-03-21 13:14:27 UTC
Application: konqueror (4.4.1 (KDE 4.4.1))
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-20-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
I was viewing tables in phpmyadmin through konqueror. I was attempting to change the charset and collation defaults. Made the changes to mysql then restarted mysqld. Apparently I had typed something wrong because it seemed the server was not running. Nonetheless I refreshed the phpmyadmin page in konqueror. Doing so resulted in a page from pma indicating that the collation type I had entered was wrong and that the server (mysqld) had gone away.
Next konqueror crashed and here I am filling out this drkonqi bug report.

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7864980 (LWP 7622))]

Thread 2 (Thread 0xb3b08b70 (LWP 7623)):
#0  0x00ce9422 in __kernel_vsyscall ()
#1  0x00c3fa71 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x0334ccef in QProcessManager::run (this=0x3486890) at io/qprocess_unix.cpp:245
#3  0x0326e36e in QThreadPrivate::start (arg=0x3486890) at thread/qthread_unix.cpp:248
#4  0x007f380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x00c468de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7864980 (LWP 7622)):
[KCrash Handler]
#6  0x01cb2894 in KJS::Error::create (exec=0xbfe38fa0, errtype=KJS::TypeError, message=..., lineno=-1, sourceId=-1, sourceURL=...) at ../../kjs/object.cpp:635
#7  0x01cb2c19 in KJS::throwError (exec=0xbfe38fa0, type=KJS::TypeError, message=0x1ce618b "Undefined value") at ../../kjs/object.cpp:681
#8  0x01cc3f32 in KJS::JSImmediate::toObject (v=0x7, exec=0xbfe38fa0) at ../../kjs/JSImmediate.cpp:33
#9  0x01ccd020 in KJS::JSValue::toObject (exec=0xbfe38fa0, codeBlock=..., parentExec=0x0) at ../../kjs/value.h:495
#10 KJS::Machine::runBlock (exec=0xbfe38fa0, codeBlock=..., parentExec=0x0) at codes.def:669
#11 0x01c8013a in KJS::FunctionBodyNode::execute (this=0xad3d128, exec=0xbfe38fa0) at ../../kjs/nodes.cpp:927
#12 0x01cb5ee2 in KJS::Interpreter::evaluate (this=0xab27d80, sourceURL=..., startingLineNumber=12, code=0xab08a50, codeLength=468, thisV=0xb2af0100) at ../../kjs/interpreter.cpp:556
#13 0x01cb60d7 in KJS::Interpreter::evaluate (this=0xab27d80, sourceURL=..., startingLineNumber=12, code=..., thisV=0xb2af0100) at ../../kjs/interpreter.cpp:496
#14 0x078d4d8f in KJS::KJSProxyImpl::evaluate (this=0xabf2be0, filename=..., baseLine=12, str=..., n=..., completion=0xbfe391ac) at ../../khtml/ecma/kjs_proxy.cpp:158
#15 0x07658da7 in KHTMLPart::executeScript (this=0xaa55680, filename=..., baseLine=12, n=..., script=...) at ../../khtml/khtml_part.cpp:1330
#16 0x07714ea3 in khtml::HTMLTokenizer::scriptExecution (this=0xaa071c0, str=..., scriptURL=..., baseLine=12) at ../../khtml/html/htmltokenizer.cpp:501
#17 0x07719f5a in khtml::HTMLTokenizer::scriptHandler (this=0xaa071c0) at ../../khtml/html/htmltokenizer.cpp:454
#18 0x0771becd in khtml::HTMLTokenizer::parseSpecial (this=0xaa071c0, src=...) at ../../khtml/html/htmltokenizer.cpp:369
#19 0x0771e6e3 in khtml::HTMLTokenizer::parseTag (this=0xaa071c0, src=...) at ../../khtml/html/htmltokenizer.cpp:1550
#20 0x0771f36b in khtml::HTMLTokenizer::write (this=0xaa071c0, str=..., appendData=true) at ../../khtml/html/htmltokenizer.cpp:1810
#21 0x0765a6e3 in KHTMLPart::write (this=0xaa55680, 
    data=0xc0f6168 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n    \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\" dir=\"lt"..., len=45578) at ../../khtml/khtml_part.cpp:2106
#22 0x07653c2a in KHTMLPart::slotRestoreData (this=0xaa55680, data=...) at ../../khtml/khtml_part.cpp:1811
#23 0x0767fe83 in KHTMLPart::qt_metacall (this=0xaa55680, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0xbfe398d8) at ./khtml_part.moc:279
#24 0x03375e5a in QMetaObject::metacall (object=0xaa55680, cl=30, idx=35, argv=0xbfe398d8) at kernel/qmetaobject.cpp:237
#25 0x033845f5 in QMetaObject::activate (sender=0x9b057d0, m=0x7b65be8, local_signal_index=0, argv=0xbfe398d8) at kernel/qobject.cpp:3293
#26 0x076a7a63 in KHTMLPageCacheDelivery::emitData (this=0x9b057d0, _t1=...) at ./khtml_pagecache.moc:147
#27 0x076a8e8a in KHTMLPageCache::sendData (this=0x9f57ff0) at ../../khtml/khtml_pagecache.cpp:250
#28 0x076a9030 in KHTMLPageCache::qt_metacall (this=0x9f57ff0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfe39a2c) at ./khtml_pagecache.moc:75
#29 0x03375e5a in QMetaObject::metacall (object=0x9f57ff0, cl=30, idx=5, argv=0xbfe39a2c) at kernel/qmetaobject.cpp:237
#30 0x033845f5 in QMetaObject::activate (sender=0xa11bbc8, m=0x3484188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#31 0x0338c177 in QSingleShotTimer::timeout (this=0xa11bbc8) at .moc/release-shared/qtimer.moc:82
#32 0x0338c28c in QSingleShotTimer::timerEvent (this=0xa11bbc8) at kernel/qtimer.cpp:308
#33 0x03381494 in QObject::event (this=0xa11bbc8, e=0x0) at kernel/qobject.cpp:1212
#34 0x06c0c3cc in QApplicationPrivate::notify_helper (this=0x99f3a08, receiver=0xa11bbc8, e=0xbfe39f60) at kernel/qapplication.cpp:4300
#35 0x06c1301e in QApplication::notify (this=0xbfe3a444, receiver=0xa11bbc8, e=0xbfe39f60) at kernel/qapplication.cpp:3704
#36 0x00ee942a in KApplication::notify (this=0xbfe3a444, receiver=0xa11bbc8, event=0xbfe39f60) at ../../kdeui/kernel/kapplication.cpp:302
#37 0x03370beb in QCoreApplication::notifyInternal (this=0xbfe3a444, receiver=0xa11bbc8, event=0xbfe39f60) at kernel/qcoreapplication.cpp:704
#38 0x0339feb6 in QCoreApplication::sendEvent (this=0x99f6a34) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QTimerInfoList::activateTimers (this=0x99f6a34) at kernel/qeventdispatcher_unix.cpp:603
#40 0x0339cb14 in timerSourceDispatch (source=0x99f6a00) at kernel/qeventdispatcher_glib.cpp:184
#41 0x038b0e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x038b4730 in ?? () from /lib/libglib-2.0.so.0
#43 0x038b4863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x0339c805 in QEventDispatcherGlib::processEvents (this=0x99a31d8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#45 0x06ccbb35 in QGuiEventDispatcherGlib::processEvents (this=0x99a31d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x0336f209 in QEventLoop::processEvents (this=0xbfe3a224, flags=) at kernel/qeventloop.cpp:149
#47 0x0336f65a in QEventLoop::exec (this=0xbfe3a224, flags=...) at kernel/qeventloop.cpp:201
#48 0x0337384f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#49 0x06c0c467 in QApplication::exec () at kernel/qapplication.cpp:3579
#50 0x018b867e in kdemain (argc=1, argv=0x9a12018) at ../../../../apps/konqueror/src/konqmain.cpp:271
#51 0x0804dff7 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x99b85a2 "DISPLAY=:0.0", reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x8051405 "0") at ../../kinit/kinit.cpp:717
#52 0x0804ec15 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#53 0x0804f08c in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
#54 0x0804fe2f in main (argc=4, argv=0xbfe3b024, envp=0xbfe3b038) at ../../kinit/kinit.cpp:1841

This bug may be a duplicate of or related to bug 172489.

Possible duplicates by query: bug 203725.

Reported using DrKonqi
Comment 1 20120808_bugs.kde.org 2010-03-21 13:27:04 UTC
sys log viewer showing the issue with my mysql settings



mysqld    100321 13:06:30 [Warning] Aborted connection 73 to db: 'unconnected'
user: 'phpmyadmin' host: 'localhost' (init_connect command failed)

mysqld    100321 13:06:30 [Warning] You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for the right syntax
to use near 'character_set_system=utf8' at line 1



(accidentally pasted to bug 182918)
Comment 3 20120808_bugs.kde.org 2010-03-21 15:46:57 UTC
Created attachment 41804 [details]
valgrind log of konqueror run

attached valgrind log 
but konqueror did not crash


used
$ valgrind --log-file=konqueror-bug231533-b.log --leak-check=full --track-origins=yes --show-reachable=yes konqueror &
Comment 4 Andrew Crouthamel 2018-10-29 22:30:54 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 20120808_bugs.kde.org 2018-10-30 19:19:43 UTC
As far as I can recall, I only ever noticed the crash the time reported here in this ticket. According to the comments, the crash was not even reproduced when attempting to acquire the crash with valgrind on the lookout.
Comment 6 Andrew Crouthamel 2018-10-31 03:39:51 UTC
Thanks for the update!