Bug 182892 - Okular crashes when launching
Summary: Okular crashes when launching
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Patrick Spendrin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-02 17:46 UTC by Maurus Cuelenaere
Modified: 2009-02-09 12:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Dependency walker output on okular.exe (87.17 KB, text/plain)
2009-02-02 18:25 UTC, Maurus Cuelenaere
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maurus Cuelenaere 2009-02-02 17:46:05 UTC
Version:           onbekend (using 4.2.00 (KDE 4.2.0), MS Visual Studio 2005 SP1)
Compiler:          cl.exe
OS:                Microsoft Windows (i686) release 5.1 (XP Professional)

How to reproduce:
  launch Okular

Expected Behaviour:
  Okular should launch successfully without crashing

Backtraces:
  I'm not sure how to produce backtraces, but I've logged two different errors (and have the call stacks of them) using MS VS2005.

 First one is 'okular.exe has triggered a breakpoint':
  * ntdll.dll!7c90120e()
  * [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
  * ntdll.dll!7c950010()	

 Second one is 'Unhandled exception at 0x781453ea (msvcr80.dll) in okular.exe: 0xC0000005: Access violation reading location 0x02260000.':
  * msvcr80.dll!memmove(unsigned char * dst=0x021c5e9c, unsigned char * src=0x021c5ea0, unsigned long count=4294967292)  Line 188
  * QtCore4.dll!670388b1()
  * [Frames below may be incorrect and/or missing, no symbols loaded for QtCore4.dll]
  * QtCore4.dll!67038af3()
  * okularcore.dll!04305601()
  * okularcore.dll!04306cba()
  * okularcore.dll!04315904()
  * QtCore4.dll!670e5847()
  * kdecore.dll!00e00000()
  * okularpart.dll!041aa532()
  * okularpart.dll!041bce28()
  * QtCore4.dll!670e5847()
  * QtGui4.dll!650045d5()
  * QtGui4.dll!65007606()
  * okularpart.dll!041b8d3a()
  * ntdll.dll!7c911066()
  * ntdll.dll!7c910098()
  * msvcr80.dll!malloc(unsigned int size=35010544)  Line 163 + 0x63 bytes
  * okularpart.dll!041bd1e6()
  * okularpart.dll!04246f2b()
  * kdecore.dll!00f533d4()
  * okular.exe!00406180()
  * okular.exe!00406a86()
  * QtCore4.dll!6709df18()
  * okular.exe!004070ff()
  * okular.exe!00402a3f()
  * okular.exe!0040905d()
  * msvcr80.dll!_ismbblead(unsigned int tst=4194304)  Line 172 + 0xf bytes
  * okular.exe!004083a6()
  * kernel32.dll!7c817067()

I can provide more information if you want.
Comment 1 Patrick Spendrin 2009-02-02 17:58:04 UTC
I am pretty sure this is a dependency problem as I have one computer where it works, and one where it doesn't work.
Can you please restart the kdewin-installer, use the package manager mode and tell me which packages you have installed?
Comment 2 Maurus Cuelenaere 2009-02-02 18:04:30 UTC
(In reply to comment #1)
> I am pretty sure this is a dependency problem as I have one computer where it
> works, and one where it doesn't work.
> Can you please restart the kdewin-installer, use the package manager mode and
> tell me which packages you have installed?
> 

aspell, astyle, boost-msvc, cyrus-sasl, dbus-msvc, diffutils, ebook-tools, exiv2-msvc, expat, fontconfig-msvc, freetype-msvc, gettext, giflib, iconv, jasper, jpeg, kde-l10-nl, kdebase-apps-msvc, kdebase-runtime-msvc, kdebase-workspace-msvc, kdegraphics-msvc, kdelibs-msvc, kdepimlibs-msvc, kdesdk-msvc, kdeutils-msvc, kdewin32-msvc, libbzip2, libical, libpng, libspectre, libxml2, libxslt, libzip, openssl, pcre-msvc, phonon-msvc, popple-msvc, qca-msvc, qimageblitz-msvc, qt-msvc, shared-mime-info, soprano-msvc, strigi-msvc, taglib-msvc, tiff, vcredist, zlib.

PS: Okular in KDE 4.1.3 worked for me, since I've upgraded to 4.2.0 it started crashing
Comment 3 Christian Ehrlicher 2009-02-02 18:18:42 UTC
Please use 'Dependency Walker' to see if okular.exe has all dependencies it needs.
Comment 4 Maurus Cuelenaere 2009-02-02 18:25:19 UTC
Created attachment 30875 [details]
Dependency walker output on okular.exe
Comment 5 Maurus Cuelenaere 2009-02-02 18:26:58 UTC
It looks like the only KDE-specific missing function is kde_plugin_version
Comment 6 Krzysztof Nowicki 2009-02-09 11:48:25 UTC
I had this problem too. Looks like it got fixed with recent update to kdegraphics (commit 923029) - at least it doesn't crash any more.
Comment 7 Patrick Spendrin 2009-02-09 11:58:39 UTC
yes, I found the fix & uploaded a new kdegraphics package (4.2.0-1)