Bug 218725 - Crash program and others problems
Summary: Crash program and others problems
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-14 23:06 UTC by Reuel Ramos Ribeiro
Modified: 2010-07-11 17:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reuel Ramos Ribeiro 2009-12-14 23:06:58 UTC
Application that crashed: okular
Version of the application: 0.9.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
not open the files correctly, it displays content and closes for no apparent reason,


 -- Backtrace:
Application: Okular (okular), signal: Aborted
[Current thread is 1 (Thread 0xb78a6700 (LWP 3441))]

Thread 2 (Thread 0xb4a72b70 (LWP 4245)):
[KCrash Handler]
#6  0x00704422 in __kernel_vsyscall ()
#7  0x065574d1 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x0655a932 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x0658dee5 in ?? () from /lib/tls/i686/cmov/libc.so.6
#10 0x06597ff1 in ?? () from /lib/tls/i686/cmov/libc.so.6
#11 0x06599a89 in ?? () from /lib/tls/i686/cmov/libc.so.6
#12 0x0659c79d in free () from /lib/tls/i686/cmov/libc.so.6
#13 0x01f4a4b4 in allocator_memfree (chunk_size=<value optimized out>, mem=0xb4a71ccc) at gslice.c:1176
#14 slab_allocator_free_chunk (chunk_size=<value optimized out>, mem=0xb4a71ccc) at gslice.c:1108
#15 0x01f4a8f6 in private_thread_memory_cleanup (data=0x99f8378) at gslice.c:720
#16 0x044662ef in __nptl_deallocate_tsd () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x0446681c in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x065f97ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb78a6700 (LWP 3441)):
#0  0x00704422 in __kernel_vsyscall ()
#1  0x06606ae3 in ?? () from /lib/tls/i686/cmov/libc.so.6
#2  0x0659df07 in ?? () from /lib/tls/i686/cmov/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Reported using DrKonqi
Comment 1 Albert Astals Cid 2009-12-14 23:30:19 UTC
Do all files cause the same problem or just a specific one?
Comment 2 Reuel Ramos Ribeiro 2009-12-15 00:36:45 UTC
Yes, all the documents and the types of documents are causing this problem.
And there is no apparent reason, it seems that nothing came out of the problem.
Comment 3 Albert Astals Cid 2009-12-15 00:46:29 UTC
Can you run it though valgrind:
 valgrind okular
in a shell? what does it say?
Comment 4 Reuel Ramos Ribeiro 2009-12-15 02:02:12 UTC
reuel@ubuntu:~$ valgrind okular                                                      
==12191== Memcheck, a memory error detector                                          
==12191== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.            
==12191== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for copyright info   
==12191== Command: okular                                                            
==12191==                                                                            

==12191== Conditional jump or move depends on uninitialised value(s)
==12191==    at 0x4E76C00: ??? (in /usr/lib/libQtGui.so.4.5.2)      
==12191==    by 0x4E82E32: ??? (in /usr/lib/libQtGui.so.4.5.2)      
==12191==    by 0x4DCEEE3: ??? (in /usr/lib/libQtGui.so.4.5.2)      
==12191==    by 0x4DCEFAB: ??? (in /usr/lib/libQtGui.so.4.5.2)      
==12191==    by 0x4DDAD5E: QPainter::drawEllipse(QRect const&) (in /usr/lib/libQtGui.so.4.5.2)
==12191==    by 0x663D39D: ??? (in /usr/lib/kde4/plugins/styles/oxygen.so)                    
==12191==    by 0x664506F: ??? (in /usr/lib/kde4/plugins/styles/oxygen.so)                    
==12191==    by 0x665287B: ??? (in /usr/lib/kde4/plugins/styles/oxygen.so)                    
==12191==    by 0x44F4DAA: KStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const (in /usr/lib/libkdeui.so.5.3.0)                                        
==12191==    by 0x4F94ED5: QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const (in /usr/lib/libQtGui.so.4.5.2)                                      
==12191==    by 0x44ECCFB: KStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const (in /usr/lib/libkdeui.so.5.3.0)                                            
==12191==    by 0x6645A1A: ??? (in /usr/lib/kde4/plugins/styles/oxygen.so)                          
==12191==                                                                                           
==12191== Thread 2:                                                                                 
==12191== Invalid write of size 4                                                                   
==12191==    at 0xB433F0F: SplashOutputDev::SplashOutputDev(SplashColorMode, int, int, unsigned char*, int, int) (SplashOutputDev.cc:858)                                                               
==12191==    by 0xB3891AE: Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const (in /usr/lib/libpoppler-qt4.so.3.2.0)                                        
==12191==    by 0x8009B14: ??? (in /usr/lib/kde4/okularGenerator_poppler.so)                        
==12191==    by 0x49A1E31: ??? (in /usr/lib/libQtCore.so.4.5.2)                                     
==12191==    by 0x5CEA80D: start_thread (pthread_create.c:300)                                      
==12191==    by 0x56E37ED: clone (clone.S:130)                                                      
==12191==  Address 0x66c5e4c is 0 bytes after a block of size 252 alloc'd                           
==12191==    at 0x4025390: operator new(unsigned int) (vg_replace_malloc.c:214)                     
==12191==    by 0xB38916F: Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const (in /usr/lib/libpoppler-qt4.so.3.2.0)                                        
==12191==    by 0x8009B14: ??? (in /usr/lib/kde4/okularGenerator_poppler.so)                        
==12191==    by 0x49A1E31: ??? (in /usr/lib/libQtCore.so.4.5.2)                                     
==12191==    by 0x5CEA80D: start_thread (pthread_create.c:300)                                      
==12191==    by 0x56E37ED: clone (clone.S:130)                                                      
==12191==                                                                                           
==12191== Thread 1:                                                                                 
==12191== Conditional jump or move depends on uninitialised value(s)                                
==12191==    at 0x78E202F: ??? (in /usr/lib/kde4/okularpart.so)                                     
==12191==    by 0x4CFBE0B: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)                  
==12191==    by 0x50AB632: QFrame::event(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)                   
==12191==    by 0x514A493: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/libQtGui.so.4.5.2)                                                                                                  
==12191==    by 0x514CA94: ??? (in /usr/lib/libQtGui.so.4.5.2)                                      
==12191==    by 0x4A91839: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)                                                                   
==12191==    by 0x4CA6F2B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)                                                                                        
==12191==    by 0x4CAE5C9: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.2)  
==12191==    by 0x44D9BF9: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.3.0)  
==12191==    by 0x4A926CA: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.2)                                                                                         
==12191==    by 0x4D3BCB0: QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) (in /usr/lib/libQtGui.so.4.5.2)
==12191==    by 0x4CFB06F: QWidget::setGeometry(QRect const&) (in /usr/lib/libQtGui.so.4.5.2)
==12191==

==12191==
==12191== HEAP SUMMARY:
==12191==     in use at exit: 982,251 bytes in 5,760 blocks
==12191==   total heap usage: 851,344 allocs, 845,584 frees, 238,096,596 bytes allocated
==12191==
==12191== LEAK SUMMARY:
==12191==    definitely lost: 1,288 bytes in 9 blocks
==12191==    indirectly lost: 682,967 bytes in 1,143 blocks
==12191==      possibly lost: 124,288 bytes in 250 blocks
==12191==    still reachable: 173,708 bytes in 4,358 blocks
==12191==         suppressed: 0 bytes in 0 blocks
==12191== Rerun with --leak-check=full to see details of leaked memory
==12191==
==12191== For counts of detected and suppressed errors, rerun with: -v
==12191== Use --track-origins=yes to see where uninitialised values come from
==12191== ERROR SUMMARY: 6 errors from 3 contexts (suppressed: 422 from 17)


====================================================================================

Well, this time not closed, but did not show the contents of the document, everything was blank as if there were nothing but reported the number of pages correctly

Translated with Google Translate
Comment 5 Albert Astals Cid 2009-12-17 00:27:42 UTC
Do you have your system updated?
Which poppler version do use?
Comment 6 Albert Astals Cid 2010-07-11 17:36:56 UTC
No answer from the user in six months, please if you can still reproduce the problem reopen the bug.

Thanks for using Okular