touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #24222
[Bug 1368492] Re: crash opening image file
Instead of using try-catch perhaps an interrogation whether the image
provider is already installed should be made. QQmlEngine provides API
for it, don't know why is not used...
This provider has been in and out of UI toolkit, and yes, I agree,
someone should decide where is its place.
Meanwhile I suggest all to check whether an image provider is registered
before registering, and then no try-catch combination would be needed.
And, Jussi, it was you who actually put that try-catch section in the
toolkit ;)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to thumbnailer in Ubuntu.
https://bugs.launchpad.net/bugs/1368492
Title:
crash opening image file
Status in Ubuntu UI Toolkit:
Confirmed
Status in “thumbnailer” package in Ubuntu:
Confirmed
Bug description:
krillin image 25
libthumbailer version 1.2+14.10.20140814-0ubuntu1
- take a picture with the camera
- open the gallery app
- click on the thumbnail of the photo just taken
- boom, crash happens
Here is the stack trace. Core file and picture used are attached
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `./gallery-app'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb5b2201c in std::string::assign(std::string const&) ()
from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
(gdb) bt
#0 0xb5b2201c in std::string::assign(std::string const&) ()
from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#1 0xacebe712 in ?? () from /usr/lib/arm-linux-gnueabihf/libthumbnailer.so.0
#2 0xacebec62 in ?? () from /usr/lib/arm-linux-gnueabihf/libthumbnailer.so.0
#3 0xacebff34 in Thumbnailer::get_thumbnail(std::string const&, ThumbnailSize, ThumbnailPolicy) () from /usr/lib/arm-linux-gnueabihf/libthumbnailer.so.0
#4 0xacec00ae in Thumbnailer::get_thumbnail(std::string const&, ThumbnailSize)
() from /usr/lib/arm-linux-gnueabihf/libthumbnailer.so.0
#5 0xacf7b70e in ThumbnailGenerator::requestImage(QString const&, QSize*, QSize const&) ()
from /usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/libUbuntuComponents.so
#6 0xb640acfa in ?? () from /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1368492/+subscriptions
References