← Back to team overview

touch-packages team mailing list archive

[Bug 1368492] Re: crash opening image file

 

>>A side effect of this fix is that when you tap on a picture in the gallery app to 
>>bring it full screen, pinch-to-zoom no longer works and there is other weirdness 
>>(sometimes the image goes fully black). (As an aside, why is gallery even using the thumbnailer for this? 
>> You need the entire image for proper zooming so why not just open it directly?)

You are correct. Ineed the gallery-app and camera-app are both using the
thumbnail when opening the picture instead of using the picture
directly. This is being tracked in this bug https://bugs.launchpad.net
/gallery-app/+bug/1376767 and an MR already been submitted for camera-
app.

** Changed in: ubuntu-ui-toolkit
     Assignee: (unassigned) => Zoltan Balogh (bzoltan)

-- 
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