[Okular-devel] [Bug 268816] Crash closing okular
Ron Willhoite
ronwilhoite at gmail.com
Sun Mar 20 00:22:59 CET 2011
https://bugs.kde.org/show_bug.cgi?id=268816
--- Comment #2 from Ron Willhoite <ronwilhoite gmail com> 2011-03-20 00:22:56 ---
(In reply to comment #1)
> Can you please try running okular in valgrind, e.g.
>
> valgrind okular path/to/my/file.pdf
>
> And attaching the output?
I found one of the pdfs that will consistently crash Okular, but this only
happens when the pdf is opened in Okular via Firefox.
I downloaded the pdf to run the valgrind command, and Okular does not crash
when I close it.
I ran 'valgrind firefox', opened the pdf from the site, and Okular crashed.
Sorry I can't give a link to the site because it requires a login. Other pdfs
on that site open, and close without crashing okular.
Here is the valgrind output:
==23643== Memcheck, a memory error detector
==23643== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==23643== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==23643== Command: /usr/bin/firefox
==23643==
==23652== Warning: invalid file descriptor -1 in syscall close()
==23652==
==23652== HEAP SUMMARY:
==23652== in use at exit: 3,834 bytes in 76 blocks
==23652== total heap usage: 93 allocs, 17 frees, 6,594 bytes allocated
==23652==
==23652== LEAK SUMMARY:
==23652== definitely lost: 0 bytes in 0 blocks
==23652== indirectly lost: 0 bytes in 0 blocks
==23652== possibly lost: 508 bytes in 1 blocks
==23652== still reachable: 3,326 bytes in 75 blocks
==23652== suppressed: 0 bytes in 0 blocks
==23652== Rerun with --leak-check=full to see details of leaked memory
==23652==
==23652== For counts of detected and suppressed errors, rerun with: -v
==23652== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 13 from 8)
ABP timeline: Entered Bootstrap.startup() (first event)
ABP timeline: * done registering URL components (1)
ABP timeline: * started initializing default modules (0)
ABP timeline: * Entered Prefs.startup() (3)
ABP timeline: * * done loading initial values (3)
ABP timeline: * * registering observers (0)
ABP timeline: * Prefs.startup() done (1)
ABP timeline: * Entered FilterListener.startup() (44)
ABP timeline: * * Entered ElemHide.init() (0)
ABP timeline: * * * done adding prefs listener (1)
ABP timeline: * * * done determining stylesheet URL (0)
ABP timeline: * * * registering component (0)
ABP timeline: * * ElemHide.init() done (0)
ABP timeline: * * Loading cache file (1)
ABP timeline: * * Done loading cache file (38)
ABP timeline: * * Entered ElemHide.apply() (1)
ABP timeline: * * * ElemHide.unapply() finished (0)
ABP timeline: * * * start inserting stylesheet (0)
ABP timeline: * * ElemHide.apply() done (469)
ABP timeline: * * done initializing data structures (1)
ABP timeline: * * done adding observers (0)
ABP timeline: * FilterListener.startup() done (0)
ABP timeline: * Entered ContentPolicy.startup() (0)
ABP timeline: * * done initializing types (28)
ABP timeline: * * registering global stylesheet (1)
ABP timeline: * * done registering stylesheet (0)
ABP timeline: * * registering component (0)
ABP timeline: * ContentPolicy.startup() done (1)
ABP timeline: * Entered Synchronizer.startup() (7)
ABP timeline: * Synchronizer.startup() done (0)
ABP timeline: * initializing additional modules (0)
ABP timeline: Bootstrap.startup() done (0)
ABP timeline: Total time elapsed: 600
ABP timeline: Entered delayed FilterStorage init (first event)
ABP timeline: * Entered FilterStorage.loadFromDisk() (0)
ABP timeline: * * done locating patterns.ini file (1)
ABP timeline: * * done parsing file (490)
ABP timeline: * * load complete, calling observers (0)
ABP timeline: * FilterStorage.loadFromDisk() done (0)
ABP timeline: * done loading file (0)
ABP timeline: Delayed FilterStorage init done (0)
ABP timeline: Total time elapsed: 491
Running global cleanup code from study base classes.
Annotation Widget not supported.
Annotation Widget not supported.
[snipped several dozen of these lines]
Annotation Widget not supported.
Annotation Widget not supported.
okular(23703)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory!
KCrash: Application 'okular' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/ronw/.kde/socket-ronmac/kdeinit4__0
ABP timeline: Entered Bootstrap.shutdown() (first event)
ABP timeline: * Entered Prefs.shutdown() (0)
ABP timeline: * Prefs.shutdown() done (0)
ABP timeline: * Entered FilterListener.shutdown() (0)
ABP timeline: * * Entered FilterStorage.saveToDisk() (0)
ABP timeline: * * * created temp file (33)
ABP timeline: * * * saved filter data (47)
ABP timeline: * * * saved subscription data (30)
ABP timeline: * * * finalized file write (165)
ABP timeline: * * * created backups and renamed temp file (1)
ABP timeline: * * FilterStorage.saveToDisk() done (0)
ABP timeline: * FilterListener.shutdown() done (1)
ABP timeline: Bootstrap.shutdown() done (0)
ABP timeline: Total time elapsed: 277
NOTE: child process received `Goodbye', closing down
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Okular-devel
mailing list