Bug 281920 - File open dialog: kate crashes on file->open or just the button open
Summary: File open dialog: kate crashes on file->open or just the button open
Status: CLOSED FIXED
Alias: None
Product: kfile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 07:42 UTC by Florian Reinhard
Modified: 2018-03-25 19:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Reinhard 2011-09-13 07:42:30 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                MS Windows

see below...

Reproducible: Always

Steps to Reproduce:
just click file->open

Actual Results:  
immediate crash
note:
* dragging a file from elsewhere into kate works
* the file->open dialog does work for okteta

Expected Results:  
just works (TM) :)

Application: Kate (kate.exe), signal: EXCEPTION_ACCESS_VIOLATION


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7745014d
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x7500339a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ed2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ea5


ntdll.dll!NtDelayExecution() [[unknown] @ -1] at 0x7744fd81
KERNELBASE.dll!Sleep() [[unknown] @ -1] at 0x75b73a8b
ole32.dll!CoGetTreatAsClass() [[unknown] @ -1] at 0x75fed98d
ole32.dll!CoGetTreatAsClass() [[unknown] @ -1] at 0x75fed87a
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x7500339a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ed2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ea5


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7745014d
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x75001a2c
kernel32.dll!WaitForMultipleObjects() [[unknown] @ -1] at 0x75004208
QtCore4.dll!QFSFileEngine::fileTime() [[unknown] @ -1] at 0x67311ba2
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x67250afc
QtCore4.dll!QThread::setTerminationEnabled() [[unknown] @ -1] at 0x672516ed
MSVCR100.dll!__fls_getvalue() [[unknown] @ -1] at 0x6ac410b1
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x7500339a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ed2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ea5


ntdll.dll!ZwWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77451f36
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x7500339a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ed2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ea5


ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7745014d
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x7500339a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ed2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ea5


ntdll.dll!NtRemoveIoCompletion() [[unknown] @ -1] at 0x7744f949
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x7500339a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ed2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ea5


ntdll.dll!ZwWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77451f36
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x7500339a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ed2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ea5


ntdll.dll!ZwWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x77451f36
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x7500339a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ed2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ea5


QtCore4.dll!QVariant::QVariant() [[unknown] @ -1] at 0x67344f83
kio.dll!KUrlComboBox::KUrlComboBoxPrivate::insertUrlItem() [n:\build\kde\kdelibs-20110130-1\work\kdelibs-4.7.0\kio\kfile\kurlcombobox.cpp @ 324] at 0x65c9956a
kio.dll!KUrlComboBox::setMaxItems() [n:\build\kde\kdelibs-20110130-1\work\kdelibs-4.7.0\kio\kfile\kurlcombobox.cpp @ 344] at 0x65c9a334
kfile.dll!KFileWidgetPrivate::readConfig() [n:\build\kde\kdelibs-20110130-1\work\kdelibs-4.7.0\kfile\kfilewidget.cpp @ 1826] at 0x64385ecf
kfile.dll!KFileWidget::KFileWidget() [n:\build\kde\kdelibs-20110130-1\work\kdelibs-4.7.0\kfile\kfilewidget.cpp @ 592] at 0x6438928a
kfilemodule.dll!KFileModule::createFileWidget() [n:\build\kde\kdelibs-20110130-1\work\kdelibs-4.7.0\kfile\kfilemodule.cpp @ 36] at 0x642e12ce
kio.dll!KFileDialog::KFileDialog() [n:\build\kde\kdelibs-20110130-1\work\kdelibs-4.7.0\kio\kfile\kfiledialog.cpp @ 266] at 0x65c58366
kio.dll!KEncodingFileDialog::KEncodingFileDialog() [n:\build\kde\kdelibs-20110130-1\work\kdelibs-4.7.0\kio\kfile\kencodingfiledialog.cpp @ 42] at 0x65c51fb7
kio.dll!KEncodingFileDialog::getOpenUrlsAndEncoding() [n:\build\kde\kdelibs-20110130-1\work\kdelibs-4.7.0\kio\kfile\kencodingfiledialog.cpp @ 158] at 0x65c52d70
kateinterfaces.dll!KateViewManager::slotDocumentOpen() [n:\build\extragear\kate-20110130\work\kate-4.7.0\kate\app\kateviewmanager.cpp @ 214] at 0x64ba4bd5
kateinterfaces.dll!KateViewManager::qt_metacall() [n:\build\extragear\kate-20110130\work\msvc2010-relwithdebinfo-4.7.0\kate\app\kateviewmanager.moc @ 141] at 0x64ba4ea6
QtCore4.dll!QMetaObject::activate() [[unknown] @ -1] at 0x6733c316
QtGui4.dll!QAction::activate() [[unknown] @ -1] at 0x65f81ecf
QtGui4.dll!QAbstractButton::mouseReleaseEvent() [[unknown] @ -1] at 0x66272a05
QtGui4.dll!QAbstractButton::event() [[unknown] @ -1] at 0x6627286a
kdeui.dll!KApplication::notify() [n:\build\kde\kdelibs-20110130-1\work\kdelibs-4.7.0\kdeui\kernel\kapplication.cpp @ 312] at 0x66a077a0
kdeui.dll!getpid() [[unknown] @ -1] at 0x66bb7beb
QtCore4.dll!QCoreApplication::sendSpontaneousEvent() [[unknown] @ -1] at 0x67381c92
QtGui4.dll!QApplication::winMouseButtonUp() [[unknown] @ -1] at 0x65fefc41
QtGui4.dll!QApplication::winFocus() [[unknown] @ -1] at 0x65fec574
USER32.dll!gapfnScSendMessage() [[unknown] @ -1] at 0x759a62fa
USER32.dll!GetThreadDesktop() [[unknown] @ -1] at 0x759a6d3a
USER32.dll!CharPrevW() [[unknown] @ -1] at 0x759a77c4
USER32.dll!DispatchMessageW() [[unknown] @ -1] at 0x759a788a
QtCore4.dll!QEventDispatcherWin32::processEvents() [[unknown] @ -1] at 0x6734c4fa
QtGui4.dll!qt_getRegisteredWndClass() [[unknown] @ -1] at 0x65feb37f
QtCore4.dll!QCoreApplication::exec() [[unknown] @ -1] at 0x6732817c
kate.exe!kdemain() [n:\build\extragear\kate-20110130\work\kate-4.7.0\kate\app\katemain.cpp @ 377] at 0x13c6f3e
kate.exe!WinMain() [[unknown] @ -1] at 0x13c1125
kate.exe!__tmainCRTStartup() [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 547] at 0x13c749a
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x7500339a
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ed2
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x77469ea5
Comment 1 Thomas Friedrichsmeier 2011-11-13 09:10:49 UTC
Git commit bc3bc23cace386d6cd5559336998e674a895deef by Thomas Friedrichsmeier.
Committed on 13/11/2011 at 10:10.
Pushed by tfry into branch 'KDE/4.7'.

Do not crash when setting maximum number of items to something smaller than the number of default items.
BUG: 253284
BUG: 281920

M  +3    -7    kio/kfile/kurlcombobox.cpp

http://commits.kde.org/kdelibs/bc3bc23cace386d6cd5559336998e674a895deef