Re: ImageMagick is crashing

2017-05-31 Thread Marco Atzeri

On 31/05/2017 08:56, Axel Heinrici wrote:

Hello,

strace doesn't seem to work either.

$ strace convert z06.png  z06.jpg
  0 [main] strace 8996 C:\cygwin64\bin\strace.exe: *** fatal error - 
Internal error: TP_NUM_W_BUFS too small: 50.
   1341 [main] strace 8996 cygwin_exception::open_stackdumpfile: Dumping stack 
trace to strace.exe.stackdump

And even more surprising
$ strace.exe ls
  0 [main] strace 1916 C:\cygwin64\bin\strace.exe: *** fatal error - 
Internal error: TP_NUM_W_BUFS too small: 50.
   1231 [main] strace 1916 cygwin_exception::open_stackdumpfile: Dumping stack 
trace to strace.exe.stackdump

Best regards,
Axel



Axel,
on this mailing list we use bottom posting.

I know that "Text Over, Full-quote Under"
https://cygwin.com/acronyms/#TOFU
is the typical usage in most companies, but here is deprecated.


If strace is segfaulting, I assume the Antivirus is the most
likely culprit of your problems.
Can you, or ask your IT, to make an experiment with the AV
disabled, or better removed ?

Regards
Marco




--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: ImageMagick is crashing

2017-05-31 Thread Axel Heinrici
Hello,
 
this is a company computer, on which I don't have admin privileges. Though 
possible, I have to be frugal with provident reinstallations. I need a little 
higher level of certainty on the cause of these problems to ask the 
IT-department for another reinstallation.

> comparing with mine I see that some of your dlls are not matching
> as timing.
> I don't know if that the reason, as I built ImageMagick last December,
> but can you please update to latest package versions ?
> ...
> - 203k 2016/05/31 C:\cygwin64\bin\cygcroco-0.6-3.dll - os=4.0 img=0.0
> sys=5.2
> - "cygcroco-0.6-3.dll" v0.0 ts=2016-05-31 18:31
> + 203k 2017/04/25 C:\cygwin64\bin\cygcroco-0.6-3.dll - os=4.0 img=0.0
> sys=5.2
> + "cygcroco-0.6-3.dll" v0.0 ts=2017-04-25 17:03
> ...


Best regards,
Axel

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: ImageMagick is crashing

2017-05-31 Thread Axel Heinrici
Hello,
 
strace doesn't seem to work either.

$ strace convert z06.png  z06.jpg
  0 [main] strace 8996 C:\cygwin64\bin\strace.exe: *** fatal error - 
Internal error: TP_NUM_W_BUFS too small: 50.
   1341 [main] strace 8996 cygwin_exception::open_stackdumpfile: Dumping stack 
trace to strace.exe.stackdump

And even more surprising
$ strace.exe ls
  0 [main] strace 1916 C:\cygwin64\bin\strace.exe: *** fatal error - 
Internal error: TP_NUM_W_BUFS too small: 50.
   1231 [main] strace 1916 cygwin_exception::open_stackdumpfile: Dumping stack 
trace to strace.exe.stackdump

Best regards,
Axel
 

Gesendet: Mittwoch, 31. Mai 2017 um 06:59 Uhr
Von: "Marco Atzeri" <marco.atz...@gmail.com>
An: "Axel Heinrici" <dera...@gmx.de>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Betreff: Re: ImageMagick is crashing
On 30/05/2017 15:26, Axel Heinrici wrote:
> Hello,
>
> the question remains, what is going wrong on my machine.
>
> Best regards,
> Axel
>

I have no idea.
Can you try to run with strace to see where is segfaulting ?

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: ImageMagick is crashing

2017-05-30 Thread Marco Atzeri

On 30/05/2017 11:36, Axel Heinrici wrote:

Hello,


Gesendet: Dienstag, 30. Mai 2017 um 10:21 Uhr
Von: "Marco Atzeri"
[...]

Please also send on the mailing list as attachment your cygcheck.out
as mentioned on 
https://cygwin.com/problems.html[https://cygwin.com/problems.html]


Is attached now.

Best regards,
Axel Heinrici




comparing with mine I see that some of your dlls are not matching
as timing.
I don't know if that the reason, as I built ImageMagick last December, 
but can you please update to latest package versions ?



-  203k 2016/05/31 C:\cygwin64\bin\cygcroco-0.6-3.dll - os=4.0 img=0.0 
sys=5.2

-  "cygcroco-0.6-3.dll" v0.0 ts=2016-05-31 18:31
+  203k 2017/04/25 C:\cygwin64\bin\cygcroco-0.6-3.dll - os=4.0 img=0.0 
sys=5.2

+  "cygcroco-0.6-3.dll" v0.0 ts=2017-04-25 17:03

-  122k 2017/04/04 C:\cygwin64\bin\cygEGL-1.dll - os=4.0 img=0.0 sys=5.2
-  "cygEGL-1.dll" v0.0 ts=2017-04-04 19:29
+  122k 2017/05/14 C:\cygwin64\bin\cygEGL-1.dll - os=4.0 img=0.0 sys=5.2
+  "cygEGL-1.dll" v0.0 ts=2017-05-14 08:38

-  138k 2017/03/05 C:\cygwin64\bin\cyggdk_pixbuf-2.0-0.dll - os=4.0 
img=0.0 sys=5.2

-  "cyggdk_pixbuf-2.0-0.dll" v0.0 ts=2017-03-05 08:28
+  138k 2017/05/04 C:\cygwin64\bin\cyggdk_pixbuf-2.0-0.dll - os=4.0 
img=0.0 sys=5.2

+  "cyggdk_pixbuf-2.0-0.dll" v0.0 ts=2017-05-04 06:22

-  455k 2017/04/04 C:\cygwin64\bin\cygGL-1.dll - os=4.0 img=0.0 sys=5.2
-  "cygGL-1.dll" v0.0 ts=2017-04-04 19:29
-  289k 2017/04/04 C:\cygwin64\bin\cygglapi-0.dll - os=4.0 img=0.0 sys=5.2
-  "cygglapi-0.dll" v0.0 ts=2017-04-04 19:14
+  455k 2017/05/14 C:\cygwin64\bin\cygGL-1.dll - os=4.0 img=0.0 sys=5.2
+  "cygGL-1.dll" v0.0 ts=2017-05-14 08:37
+  289k 2017/05/14 C:\cygwin64\bin\cygglapi-0.dll - os=4.0 img=0.0 sys=5.2
+  "cygglapi-0.dll" v0.0 ts=2017-05-14 08:13

-  455k 2017/04/04 C:\cygwin64\bin\cygGL-1.dll - os=4.0 img=0.0 sys=5.2
-  "cygGL-1.dll" v0.0 ts=2017-04-04 19:29
-  289k 2017/04/04 C:\cygwin64\bin\cygglapi-0.dll - os=4.0 img=0.0 sys=5.2
-  "cygglapi-0.dll" v0.0 ts=2017-04-04 19:14
+  455k 2017/05/14 C:\cygwin64\bin\cygGL-1.dll - os=4.0 img=0.0 sys=5.2
+  "cygGL-1.dll" v0.0 ts=2017-05-14 08:37
+  289k 2017/05/14 C:\cygwin64\bin\cygglapi-0.dll - os=4.0 img=0.0 sys=5.2
+  "cygglapi-0.dll" v0.0 ts=2017-05-14 08:13

-  196k 2014/12/06 C:\cygwin64\bin\cygidn-11.dll - os=4.0 img=0.0 sys=5.2
-  "cygidn-11.dll" v0.0 ts=2014-12-06 13:17
+  197k 2017/05/02 C:\cygwin64\bin\cygidn-11.dll - os=4.0 img=0.0 sys=5.2
+  "cygidn-11.dll" v0.0 ts=2017-05-02 01:18

-  139k 2015/11/09 C:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
-  "cyglzma-5.dll" v0.0 ts=2015-11-09 06:12
+  139k 2017/05/10 C:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
+  "cyglzma-5.dll" v0.0 ts=2017-05-10 01:17

-  260k 2017/03/05 C:\cygwin64\bin\cygpango-1.0-0.dll - os=4.0 img=0.0 
sys=5.2

-  "cygpango-1.0-0.dll" v0.0 ts=2017-03-05 08:37
-   43k 2017/03/05 C:\cygwin64\bin\cygpangocairo-1.0-0.dll - os=4.0 
img=0.0 sys=5.2

-  "cygpangocairo-1.0-0.dll" v0.0 ts=2017-03-05 08:37
-   70k 2017/03/05 C:\cygwin64\bin\cygpangoft2-1.0-0.dll - os=4.0 
img=0.0 sys=5.2

-  "cygpangoft2-1.0-0.dll" v0.0 ts=2017-03-05 08:37
+  260k 2017/05/08 C:\cygwin64\bin\cygpango-1.0-0.dll - os=4.0 img=0.0 
sys=5.2

+  "cygpango-1.0-0.dll" v0.0 ts=2017-05-08 05:23
+   43k 2017/05/08 C:\cygwin64\bin\cygpangocairo-1.0-0.dll - os=4.0 
img=0.0 sys=5.2

+  "cygpangocairo-1.0-0.dll" v0.0 ts=2017-05-08 05:23
+   70k 2017/05/08 C:\cygwin64\bin\cygpangoft2-1.0-0.dll - os=4.0 
img=0.0 sys=5.2

+  "cygpangoft2-1.0-0.dll" v0.0 ts=2017-05-08 05:23

-  202k 2017/03/05 C:\cygwin64\bin\cygrsvg-2-2.dll - os=4.0 img=0.0 sys=5.2
-  "cygrsvg-2-2.dll" v0.0 ts=2017-03-05 20:16
+  202k 2017/05/08 C:\cygwin64\bin\cygrsvg-2-2.dll - os=4.0 img=0.0 sys=5.2
+  "cygrsvg-2-2.dll" v0.0 ts=2017-05-08 04:52










--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: ImageMagick is crashing

2017-05-30 Thread Marco Atzeri

On 30/05/2017 15:26, Axel Heinrici wrote:

Hello,

the question remains, what is going wrong on my machine.

Best regards,
Axel



I have no idea.
Can you try to run with strace to see where is segfaulting ?



Gesendet: Dienstag, 30. Mai 2017 um 13:17 Uhr
Von: "Marco Atzeri"
An: "Axel Heinrici"
Betreff: Re: ImageMagick is crashing
On 30/05/2017 11:33, Axel Heinrici wrote:

Hello,

here is the file.
It is an image of a laser spot with some unwanted reflections in the
setup. So you won't see anything meaningful.
The picture is coming from a 12 bit camera with the actual image
information in the highest 12 bit of a 16 available bits.

Best regards,
Axel



it works fine for me
See conversion from

convert -debug All z06.png -crop 500x500+200+200 z06.jpg

Regards
Marco



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: ImageMagick is crashing

2017-05-30 Thread Axel Heinrici
Hello, 
 

Gesendet: Dienstag, 30. Mai 2017 um 10:21 Uhr
Von: "Marco Atzeri" 
[...]
> Please also send on the mailing list as attachment your cygcheck.out
> as mentioned on 
> https://cygwin.com/problems.html[https://cygwin.com/problems.html]

Is attached now.

Best regards,
Axel Heinrici




cygcheck.out
Description: Binary data

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple

Re: ImageMagick is crashing

2017-05-30 Thread Marco Atzeri

On 30/05/2017 09:39, Axel Heinrici wrote:

Hello,

I have a problem using ImageMagick in Cygwin.
Whenever I use a "-crop" in ImageMagick, it is hanging up. It is not generating 
an error, no output file is created.

The command looks like this:
convert z06.png -crop 500x500+200+200 test.jpg, where z06.png is a 16 bit black 
and white image.
This line is working with the windows installation of image magick. The file is 
not corrupt. I did work with older versions of cygwins ImageMagick.

Some relevant lines from the shell:

$ identify z06.png
z06.png PNG 1280x1024 1280x1024+0+0 16-bit sRGB 681KB 0.000u 0:00.004

$ convert -version
Version: ImageMagick 6.9.5-7 Q16 x86_64 2016-12-23 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC OpenMP
Delegates (built-in): autotrace bzlib cairo fftw fontconfig fpx freetype gslib 
jbig jng jp2 jpeg lcms lzma pangocairo png ps rsvg tiff webp x xml zlib

$ uname -a
CYGWIN_NT-6.1 HY-RD-16-002L 2.8.0(0.309/5/3) 2017-04-01 20:47 x86_64 Cygwin

$ convert -debug All z06.png -crop 500x500+200+200 test.jpg 2|tail
2017-05-30T08:31:54+02:00 0:00.020 0.000u 6.9.5 Configure convert[9380]: 
utility.c/ExpandFilenames/940/Configure
  Command line: convert {-debug} {All} {z06.png} {-crop} {500x500+200+200} 
{test.jpg} {2}
[.loads of output.]
2017-05-30T08:32:06+02:00 0:00.118 0.109u 6.9.5 Resource convert[10072]: 
resource.c/AcquireMagickResource/313/Resource
  Memory: 2MB/11.91MiB/15.424GiB
2017-05-30T08:32:06+02:00 0:00.118 0.109u 6.9.5 Cache convert[10072]: 
cache.c/OpenPixelCache/3870/Cache
  open z06.png[0] (Heap Memory, 500x500 1.907MiB)

There is absolutely no further output, no error after the open z06.png...

Best regards,
 Axel Heinrici



Hi Alex,

I have no issue on similar size image

 $ identify prova.png
prova.png PNG 1200x900 1200x900+0+0 8-bit sRGB 13.3KB 0.000u 0:00.001

$  convert -debug All prova.png -crop 500x500+200+200 prova.jpg
2017-05-30T10:06:54+02:00 0:00.003 0.000u 6.9.5 Configure 
convert[11244]: utility.c/ExpandFilenames/940/Configure
  Command line: convert {-debug} {All} {prova.png} {-crop} 
{500x500+200+200} {prova.jpg}

[very long cut.]
  Memory: 1.5KB/1.907MiB/7.6863GiB
2017-05-30T10:06:54+02:00 0:00.124 0.125u 6.9.5 Cache convert[11244]: 
cache.c/DestroyPixelCache/1121/Cache

  destroy prova.png[0]
2017-05-30T10:06:54+02:00 0:00.124 0.125u 6.9.5 Resource convert[11244]: 
resource.c/RelinquishMagickResource/1005/Resource

  Memory: 2MB/0B/7.6863GiB

$ identify prova.jpg
prova.jpg JPEG 500x500 500x500+0+0 8-bit sRGB 15.3KB 0.000u 0:00.001


can you send me, not on the mailing list, a copy of the file z06.png ?
Please also send on the mailing list as attachment your cygcheck.out
as mentioned on https://cygwin.com/problems.html

Regards
Marco





--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



ImageMagick is crashing

2017-05-30 Thread Axel Heinrici
Hello,

I have a problem using ImageMagick in Cygwin.
Whenever I use a "-crop" in ImageMagick, it is hanging up. It is not generating 
an error, no output file is created. 

The command looks like this:
convert z06.png -crop 500x500+200+200 test.jpg, where z06.png is a 16 bit black 
and white image.
This line is working with the windows installation of image magick. The file is 
not corrupt. I did work with older versions of cygwins ImageMagick.

Some relevant lines from the shell:

$ identify z06.png
z06.png PNG 1280x1024 1280x1024+0+0 16-bit sRGB 681KB 0.000u 0:00.004

$ convert -version
Version: ImageMagick 6.9.5-7 Q16 x86_64 2016-12-23 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC OpenMP
Delegates (built-in): autotrace bzlib cairo fftw fontconfig fpx freetype gslib 
jbig jng jp2 jpeg lcms lzma pangocairo png ps rsvg tiff webp x xml zlib

$ uname -a
CYGWIN_NT-6.1 HY-RD-16-002L 2.8.0(0.309/5/3) 2017-04-01 20:47 x86_64 Cygwin

$ convert -debug All z06.png -crop 500x500+200+200 test.jpg 2|tail
2017-05-30T08:31:54+02:00 0:00.020 0.000u 6.9.5 Configure convert[9380]: 
utility.c/ExpandFilenames/940/Configure
  Command line: convert {-debug} {All} {z06.png} {-crop} {500x500+200+200} 
{test.jpg} {2} 
[.loads of output.]
2017-05-30T08:32:06+02:00 0:00.118 0.109u 6.9.5 Resource convert[10072]: 
resource.c/AcquireMagickResource/313/Resource
  Memory: 2MB/11.91MiB/15.424GiB
2017-05-30T08:32:06+02:00 0:00.118 0.109u 6.9.5 Cache convert[10072]: 
cache.c/OpenPixelCache/3870/Cache
  open z06.png[0] (Heap Memory, 500x500 1.907MiB)

There is absolutely no further output, no error after the open z06.png...

Best regards,
 Axel Heinrici

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple