[Bug 1695094] Re: imagemagick readimageblob hang

Yuji 1695094 at bugs.launchpad.net
Tue Jun 6 14:53:42 UTC 2017


** Attachment added: "full_stacktrace.1883"
   https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1695094/+attachment/4890009/+files/full_stacktrace.1883

** Description changed:

- The issue happened on ubuntu 14.04 with imagick 6.7.7. The following
- code hang with a specific imageData input. The input is in the base64
- file in the attachment zip alongside the full stack.
+ The issue happened on ubuntu 14.04 with imagick 6.7.7. The following code hung. The full stack is attached as a file.
+ The issue only happened once. It is not reproduced with the same $imageData.
  
  $im = new Imagick();
  $im->readImageBlob(base64_decode($imageData));
- 
  
  #0  futex_wait (val=1508, addr=0x7f80bc4898d4) at
  ../../../src/libgomp/config/linux/x86/futex.h:44
  
  Thread 8 (Thread 0x7f80bbbb1780 (LWP 1883)):
  #0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
  No locals.
  #1  0x00007f80bae5d649 in _L_lock_909 () from /home/jason/apportRetrace/1883_usr_sbin_apache2.0/sandbox/lib/x86_64-linux-gnu/libpthread.so.0
  No symbol table info available.
  #2  0x00007f80bae5d470 in __GI___pthread_mutex_lock (mutex=0x7f80bc489180) at ../nptl/pthread_mutex_lock.c:79
-         __PRETTY_FUNCTION__ = "__pthread_mutex_lock"
-         type = 4294966784
+         __PRETTY_FUNCTION__ = "__pthread_mutex_lock"
+         type = 4294966784
  #3  0x00007f80ac65bd64 in LockSemaphoreInfo (semaphore_info=0x7f80bc489180) at magick/semaphore.c:297
-         status = <optimized out>
-         __PRETTY_FUNCTION__ = "LockSemaphoreInfo"
-         __func__ = "LockSemaphoreInfo"
+         status = <optimized out>
+         __PRETTY_FUNCTION__ = "LockSemaphoreInfo"
+         __func__ = "LockSemaphoreInfo"
  #4  0x00007f809de65f12 in ReadOnePNGImage (mng_info=mng_info at entry=0x7f80bc84d680, image_info=image_info at entry=0x7f80bd83ba00, exception=exception at entry=0x7f80bdad58b0) at coders/png.c:2161

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to imagemagick in Ubuntu.
https://bugs.launchpad.net/bugs/1695094

Title:
  imagemagick readimageblob hang

Status in imagemagick package in Ubuntu:
  New

Bug description:
  The issue happened on ubuntu 14.04 with imagick 6.7.7. The following code hung. The full stack is attached as a file.
  The issue only happened once. It is not reproduced with the same $imageData.

  $im = new Imagick();
  $im->readImageBlob(base64_decode($imageData));

  #0  futex_wait (val=1508, addr=0x7f80bc4898d4) at
  ../../../src/libgomp/config/linux/x86/futex.h:44

  Thread 8 (Thread 0x7f80bbbb1780 (LWP 1883)):
  #0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
  No locals.
  #1  0x00007f80bae5d649 in _L_lock_909 () from /home/jason/apportRetrace/1883_usr_sbin_apache2.0/sandbox/lib/x86_64-linux-gnu/libpthread.so.0
  No symbol table info available.
  #2  0x00007f80bae5d470 in __GI___pthread_mutex_lock (mutex=0x7f80bc489180) at ../nptl/pthread_mutex_lock.c:79
          __PRETTY_FUNCTION__ = "__pthread_mutex_lock"
          type = 4294966784
  #3  0x00007f80ac65bd64 in LockSemaphoreInfo (semaphore_info=0x7f80bc489180) at magick/semaphore.c:297
          status = <optimized out>
          __PRETTY_FUNCTION__ = "LockSemaphoreInfo"
          __func__ = "LockSemaphoreInfo"
  #4  0x00007f809de65f12 in ReadOnePNGImage (mng_info=mng_info at entry=0x7f80bc84d680, image_info=image_info at entry=0x7f80bd83ba00, exception=exception at entry=0x7f80bdad58b0) at coders/png.c:2161

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1695094/+subscriptions



More information about the foundations-bugs mailing list