Application: konqueror (4.4.00 (KDE 4.4.0)) KDE Platform Version: 4.4.00 (KDE 4.4.0) (Compiled from sources) Qt Version: 4.6.2 Operating System: Linux 2.6.32-gentoo x86_64 Distribution (Platform): Gentoo Packages -- Information about the crash: when I try to upload an attachment into an (webmail-) email konqueror crashes after clicking on "send file" -button. Always. The crash can be reproduced every time. -- Backtrace: Application: Konqueror (kdeinit4), signal: Segmentation fault [KCrash Handler] #5 0x00007fb3d5099961 in QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) () from /usr/lib64/qt4/libQtGui.so.4 #6 0x00007fb3d50e807a in QWidgetPrivate::hide_helper() () from /usr/lib64/qt4/libQtGui.so.4 #7 0x00007fb3d50f0b70 in QWidget::setVisible(bool) () from /usr/lib64/qt4/libQtGui.so.4 #8 0x00007fb3d553a590 in QDialog::setVisible(bool) () from /usr/lib64/qt4/libQtGui.so.4 #9 0x00007fb3d55398e4 in QDialog::done(int) () from /usr/lib64/qt4/libQtGui.so.4 #10 0x00007fb3d74576dc in KFileDialog::accept() () from /usr/lib64/libkio.so.5 #11 0x00007fb3d7456061 in KFileDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5 #12 0x00007fb3d613630f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #13 0x00007fb3cf2ad0f0 in KFileWidget::slotOk() () from /usr/lib64/libkfile.so.4 #14 0x00007fb3cf2a2b12 in ?? () from /usr/lib64/libkfile.so.4 #15 0x00007fb3cf2abd4c in KFileWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkfile.so.4 #16 0x00007fb3d613630f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #17 0x00007fb3cf2850b5 in KDirOperator::fileSelected(KFileItem const&) () from /usr/lib64/libkfile.so.4 #18 0x00007fb3cf285b84 in KDirOperator::Private::_k_slotActivated(QModelIndex const&) () from /usr/lib64/libkfile.so.4 #19 0x00007fb3cf290bed in KDirOperator::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkfile.so.4 #20 0x00007fb3d613630f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #21 0x00007fb3d558c0e5 in QAbstractItemView::activated(QModelIndex const&) () from /usr/lib64/qt4/libQtGui.so.4 #22 0x00007fb3d5599155 in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #23 0x00007fb3d55aef7e in QListView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #24 0x00007fb3d50e9761 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #25 0x00007fb3d546d216 in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #26 0x00007fb3d559c00b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #27 0x00007fb3d6122a56 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #28 0x00007fb3d509363c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #29 0x00007fb3d509a49b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #30 0x00007fb3d68d8ac6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #31 0x00007fb3d612361b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #32 0x00007fb3d50995c2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4 #33 0x00007fb3d5119234 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #34 0x00007fb3d5117f5a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #35 0x00007fb3d5141cb2 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #36 0x00007fb3d16f44cd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #37 0x00007fb3d16f7e88 in ?? () from /usr/lib/libglib-2.0.so.0 #38 0x00007fb3d16f7fb0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #39 0x00007fb3d614c9d3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #40 0x00007fb3d51418ae in ?? () from /usr/lib64/qt4/libQtGui.so.4 #41 0x00007fb3d6121f72 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #42 0x00007fb3d6122344 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #43 0x00007fb3d5539a4e in QDialog::exec() () from /usr/lib64/qt4/libQtGui.so.4 #44 0x00007fb3d7497f34 in KUrlRequester::KUrlRequesterPrivate::_k_slotOpenDialog() () from /usr/lib64/libkio.so.5 #45 0x00007fb3d74985d9 in KUrlRequester::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5 #46 0x00007fb3d613630f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #47 0x00007fb3d57097e2 in QAbstractButton::clicked(bool) () from /usr/lib64/qt4/libQtGui.so.4 #48 0x00007fb3d54258cb in ?? () from /usr/lib64/qt4/libQtGui.so.4 #49 0x00007fb3d542676b in ?? () from /usr/lib64/qt4/libQtGui.so.4 #50 0x00007fb3d54269dc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #51 0x00007fb3c4090885 in ?? () from /usr/lib64/libkhtml.so.5 #52 0x00007fb3c400f178 in ?? () from /usr/lib64/libkhtml.so.5 #53 0x00007fb3c401edc2 in ?? () from /usr/lib64/libkhtml.so.5 #54 0x00007fb3c3fa8e14 in ?? () from /usr/lib64/libkhtml.so.5 #55 0x00007fb3c3fa900e in ?? () from /usr/lib64/libkhtml.so.5 #56 0x00007fb3c3f174e9 in KHTMLView::dispatchMouseEvent(int, DOM::NodeImpl*, DOM::NodeImpl*, bool, int, QMouseEvent*, bool, int, int) () from /usr/lib64/libkhtml.so.5 #57 0x00007fb3c3f24c91 in KHTMLView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkhtml.so.5 #58 0x00007fb3d50e9761 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #59 0x00007fb3d546d216 in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #60 0x00007fb3c3f226dd in KHTMLView::widgetEvent(QEvent*) () from /usr/lib64/libkhtml.so.5 #61 0x00007fb3c3f22a0f in KHTMLView::eventFilter(QObject*, QEvent*) () from /usr/lib64/libkhtml.so.5 #62 0x00007fb3d6122a56 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #63 0x00007fb3d509363c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #64 0x00007fb3d509a49b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #65 0x00007fb3d68d8ac6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #66 0x00007fb3d612361b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #67 0x00007fb3d50995c2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4 #68 0x00007fb3d5119234 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #69 0x00007fb3d5117f5a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #70 0x00007fb3d5141cb2 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #71 0x00007fb3d16f44cd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #72 0x00007fb3d16f7e88 in ?? () from /usr/lib/libglib-2.0.so.0 #73 0x00007fb3d16f7fb0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #74 0x00007fb3d614c9d3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #75 0x00007fb3d51418ae in ?? () from /usr/lib64/qt4/libQtGui.so.4 #76 0x00007fb3d6121f72 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #77 0x00007fb3d6122344 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #78 0x00007fb3d612602b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #79 0x00007fb3c95de181 in kdemain () from /usr/lib64/libkdeinit4_konqueror.so #80 0x0000000000407396 in _start () Possible duplicates by query: bug 210634, bug 208987, bug 207724, bug 206410, bug 206375. Reported using DrKonqi
Looks like some kind of problem with the FileDialog or the Qt library. - Could you try this on other websites containing an upload field? It could be useful to have a complete backtrace (if you could at least recompile kdelibs with debuginformation enabled) Regards
seems like the error is combined with felamimail in egroupware, works in firefox and the upload thing in konqueror works with other websites, can't find another one causing the same problem, tried four. I'm just upgrading to kde sc 4.4.1 and will try again
konqueror 4.4.1 doesn't change the situation, but we've found some trouble with a java-script function in felamimail/egroupware: extract from relevant js file: ... function fm_compose_addFile() { document.getElementById('statusMessage').innerHTML = 'Sending file to server ...'; document.getElementById('fileSelectorDIV1').style.display = 'none'; //konqueror crashes here! It's not at form.submit()! document.getElementById('fileSelectorDIV2').style.display = 'inline'; document.fileUploadForm.submit(); } ... extract from relevant html site: <div id="fileSelectorDIV1" style="height:80px; border:0px solid red; background-color:white; padding:0px; margin:0px;"> <script type="text/javascript" src="/egroupware/felamimail/js/jscode/composeMessage.js?1248272883"></script> <form method="post" enctype="multipart/form-data" name="fileUploadForm" action="/egroupware/index.php?menuaction=felamimail.uicompose.fileSelector&composeid=1fe788a3797bd75325d6e391f4b123d0"> <table style="width:99%;"> <tr> <td style="text-align:center;"> <span id="statusMessage"> </span> </td> </tr> <tr> <td style="text-align:center;"> <input id="addFileName" name="addFileName" size="50" style="width:450px;" type="file" onchange="fm_compose_addFile()"/> </td> </tr> <tr> <td style="text-align:center;"> maximal DateigröÃe: 32M </td> </tr> </table> </form> <div id="fileSelectorDIV2" style="position:absolute; display:none; heigh
add to former comment: //konqueror crashes here! It's not at form.submit()! means the line above itself, which says: document.getElementById('fileSelectorDIV1').style.display = 'none';
That line is likely destroying the file selector widget; and presumably that happens while onchange is being dispatched. Can probably be fixed by a ref/deref pair in RenderFileButton::handleFocusOut, though I would really prefer to know exactly what's happening. If you have a nice and fast machine, it would be appreciated if you could get a valgrind trace of this bug as described here: http://techbase.kde.org/Contribute/Bugsquad/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_Valgrind but also passing in --num-callers=50 to valgrind.
#valgrind --num-callers=50 --log-file=/home/macl/projects/konqueror konqueror quits with "Illegal instruction" creating following log-file: ==11243== Memcheck, a memory error detector ==11243== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==11243== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==11243== Command: konqueror ==11243== Parent PID: 6413 ==11243== vex amd64->IR: unhandled instruction bytes: 0xF3 0x48 0xF 0xBD 0xFF 0xB0 ==11243== valgrind: Unrecognised instruction at address 0xbbe332a. ==11243== Your program just tried to execute an instruction that Valgrind ==11243== did not recognise. There are two possible reasons for this. ==11243== 1. Your program has a bug and erroneously jumped to a non-code ==11243== location. If you are running Memcheck and you just saw a ==11243== warning about a bad jump, it's probably your program's fault. ==11243== 2. The instruction is legitimate but Valgrind doesn't handle it, ==11243== i.e. it's Valgrind's fault. If you think this is the case or ==11243== you are not sure, please let us know and we'll try to fix it. ==11243== Either way, Valgrind will now raise a SIGILL signal which will ==11243== probably kill your program. ==11243== ==11243== Process terminating with default action of signal 4 (SIGILL) ==11243== Illegal opcode at address 0xBBE332A ==11243== at 0xBBE332A: ??? (in /usr/lib64/libglib-2.0.so.0.2200.4) ==11243== by 0xBBE33E4: ??? (in /usr/lib64/libglib-2.0.so.0.2200.4) ==11243== by 0xBBE4482: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.2200.4) ==11243== by 0xBBA17DC: g_array_sized_new (in /usr/lib64/libglib-2.0.so.0.2200.4) ==11243== by 0xBBEF988: g_static_private_set (in /usr/lib64/libglib-2.0.so.0.2200.4) ==11243== by 0xBBAF2CA: g_get_filename_charsets (in /usr/lib64/libglib-2.0.so.0.2200.4) ==11243== by 0xBBAF34D: ??? (in /usr/lib64/libglib-2.0.so.0.2200.4) ==11243== by 0xBBEFBF9: g_thread_init_glib (in /usr/lib64/libglib-2.0.so.0.2200.4) ==11243== by 0x7344C2E: QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (in /usr/lib64/qt4/libQtCore.so.4.6.2) ==11243== by 0x7D2EA6E: ??? (in /usr/lib64/qt4/libQtGui.so.4.6.2) ==11243== by 0x7D2EB5E: ??? (in /usr/lib64/qt4/libQtGui.so.4.6.2) ==11243== by 0x7CF9130: QApplicationPrivate::createEventDispatcher() (in /usr/lib64/qt4/libQtGui.so.4.6.2) ==11243== by 0x731D9B9: QCoreApplication::init() (in /usr/lib64/qt4/libQtCore.so.4.6.2) ==11243== by 0x731DAA4: QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) (in /usr/lib64/qt4/libQtCore.so.4.6.2) ==11243== by 0x7C88EA8: QApplication::QApplication(int&, char**, bool, int) (in /usr/lib64/qt4/libQtGui.so.4.6.2) ==11243== by 0x6698676: KApplication::KApplication(bool) (in /usr/lib64/libkdeui.so.5.4.0) ==11243== by 0x4E67A79: KonquerorApplication::KonquerorApplication() (in /usr/lib64/libkdeinit4_konqueror.so) ==11243== by 0x4EF08B4: kdemain (in /usr/lib64/libkdeinit4_konqueror.so) ==11243== by 0xA0B7BBC: (below main) (in /lib64/libc-2.11.so) ==11243== ==11243== HEAP SUMMARY: ==11243== in use at exit: 99,764 bytes in 970 blocks ==11243== total heap usage: 1,416 allocs, 446 frees, 126,148 bytes allocated ==11243== ==11243== LEAK SUMMARY: ==11243== definitely lost: 0 bytes in 0 blocks ==11243== indirectly lost: 0 bytes in 0 blocks ==11243== possibly lost: 11,734 bytes in 230 blocks ==11243== still reachable: 88,030 bytes in 740 blocks ==11243== suppressed: 0 bytes in 0 blocks ==11243== Rerun with --leak-check=full to see details of leaked memory ==11243== ==11243== For counts of detected and suppressed errors, rerun with: -v ==11243== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4) ####################################### do I have to rebuild all corresponding packages with debug-features enabled, for now it's just glibc, kdelibs and konqueror # valgrind -v --num-callers=50 --leak-check=full --log-file=/home/macl/projects/konqueror konqueror gives pretty much questionmarks
please del comment #7, is identical to #6 and was my fault, sorry
Looks like a valgrind bug: https://bugs.kde.org/show_bug.cgi?id=180217 Will probably be easiest to give you a patch to try, but my tree is currently a mess (in the middle of integrating some stuff...)
works now with konqueror-4.4.2