https://bugs.kde.org/show_bug.cgi?id=465615

            Bug ID: 465615
           Summary: Gwenview crashed when opening a truly huge file.
    Classification: Applications
           Product: gwenview
           Version: 22.12.2
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: chip...@comcast.net
  Target Milestone: ---

Application: gwenview (22.12.2)

Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.10-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
I created a very, very large .png file.
Then used Gwenview to open it. 
Then put Gwenview in the background while I worked on other things. 
Gwenview crashed, almost definitely due to lack of memory.
This is probably not best behavior -- it should shut down nicely when given too
large of a file -- but it's not unexpected.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  0x00007f71170a08ec in  () at /usr/lib/libc.so.6
#7  0x00007f7117051ea8 in raise () at /usr/lib/libc.so.6
#8  0x00007f711703b53d in abort () at /usr/lib/libc.so.6
#9  0x00007f711769fede in qt_assert(char const*, char const*, int) () at
/usr/lib/libQt5Core.so.5
#10 0x00007f71176a16da in  () at /usr/lib/libQt5Core.so.5
#11 0x00007f71199d5d2e in Gwenview::ThumbnailGenerator::~ThumbnailGenerator()
(this=0x7f7104003670, this=<optimized out>) at
/usr/src/debug/gwenview/build/lib/gwenviewlib_autogen/6D5CK4GEXA/../../../../gwenview-22.12.2/lib/thumbnailprovider/thumbnailgenerator.h:47
#12 Gwenview::ThumbnailGenerator::~ThumbnailGenerator() (this=0x7f7104003670,
this=<optimized out>) at
/usr/src/debug/gwenview/build/lib/gwenviewlib_autogen/6D5CK4GEXA/../../../../gwenview-22.12.2/lib/thumbnailprovider/thumbnailgenerator.h:47
#13 0x00007f71178b19da in QObject::event(QEvent*) () at
/usr/lib/libQt5Core.so.5
#14 0x00007f7118578b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x7f7104003670, e=0x7f70fc0023e0) at
kernel/qapplication.cpp:3640
#15 0x00007f711788df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#16 0x00007f711788ea53 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f71178d4e88 in  () at /usr/lib/libQt5Core.so.5
#18 0x00007f711571682b in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#19 0x00007f711576dcc9 in  () at /usr/lib/libglib-2.0.so.0
#20 0x00007f71157150e2 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#21 0x00007f71178d8c6c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#22 0x00007f71178866ec in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#23 0x00007f7117891219 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#24 0x00007f7117d39fe2 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#25 0x00007f7118576f2a in QApplication::exec() () at
kernel/qapplication.cpp:2832
#26 0x00005619d0485a39 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/gwenview/gwenview-22.12.2/app/main.cpp:213
[Inferior 1 (process 3079) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to