0.84: Crash in file export for special jpg

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
PicTac
Posts: 7
Joined: Tue Jan 31, 2017 8:52 am

0.84: Crash in file export for special jpg

Post by PicTac » Wed Feb 01, 2017 5:03 pm

Hi, this image file is maybe corrupt somehow but I would not expect that the application crashes here.

METHOD
open P1280038_mini2.jpg in XnViewMP
File - Export

RESULT
Crash

EXPECTED
no Crash

ADDITIONAL NOTE
Open and resave the file in XnView Classic and try again the modified result does not Crash XnViewMP anymore.
Other applications like Photoshop has also no Problem to open the file.
Attachments
P1280038_mini2.zip
testfile zipped
(40.84 KiB) Downloaded 28 times

PicTac
Posts: 7
Joined: Tue Jan 31, 2017 8:52 am

Re: crash in file export for special jpg

Post by PicTac » Wed Feb 01, 2017 5:05 pm

Here is also the error message.
Crash happened on Win 7.
Attachments
crash_xnviewMP.PNG
crash error
crash_xnviewMP.PNG (71.07 KiB) Viewed 538 times

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Crash in file export for special jpg

Post by helmut » Wed Feb 01, 2017 9:05 pm

Thank you for your problem report, PicTac. I've downloaded your JPG image file and tried to reproduce the bug, but failed: When opening the file and selecting "File » Export" XnView displays the Export dialog and doesn't crash.

- Could you please reset your XnView settings to default:
  1. Exit XnView
  2. Rename your xnview.ini file to xnview.ini.bak (please do not delete, the settings might be useful later for problem analysis and you might want to use these settings after this short test)
  3. Start XnView
Does the problem persist after resetting the settings?

Could someone please analyse the JPEG file whether there is something special or wrong with it?

User avatar
XnTriq
Moderator & Librarian
Posts: 5407
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 0.84: Crash in file export for special jpg

Post by XnTriq » Wed Feb 01, 2017 11:45 pm

helmut wrote:Could someone please analyse the JPEG file whether there is something special or wrong with it?
I haven't been able to reproduce the bug either.

Code: Select all

JPEGsnoop 1.7.5 by Calvin Hass
  http://www.impulseadventure.com/photo/
  -------------------------------------

  Filename: [X:\P1280038_mini2.jpg]
  Filesize: [42130] Bytes

Start Offset: 0x00000000
*** Marker: SOI (xFFD8) ***
  OFFSET: 0x00000000
 
*** Marker: APP1 (xFFE1) ***
  OFFSET: 0x00000002
  Length          = 100
  Identifier      = [Exif]
  Identifier TIFF = 0x[49492A00 08000000]
  Endian          = Intel (little)
  TAG Mark x002A  = 0x002A

  EXIF IFD0 @ Absolute 0x00000014
    Dir Length = 0x0001
    [Copyright                           ] = ""
    Offset to Next IFD = 0x00000000
 
*** Marker: APP12 (xFFEC) ***
  OFFSET: 0x00000068
  Length          = 17
  Identifier      = [Ducky]
  Photoshop Save For Web Quality = [60]
 
*** Marker: APP1 (xFFE1) ***
  OFFSET: 0x0000007B
  Length          = 813
  Identifier      = [http://ns.adobe.com/xap/1.0/]
    XMP = 
 
*** Marker: APP14 (xFFEE) ***
  OFFSET: 0x000003AA
  Length            = 14
  DCTEncodeVersion  = 100
  APP14Flags0       = 49152
  APP14Flags1       = 0
  ColorTransform    = 1 [YCbCr]
 
*** Marker: DQT (xFFDB) ***
  Define a Quantization Table.
  OFFSET: 0x000003BA
  Table length = 132
  ----
  Precision=8 bits
  Destination ID=0 (Luminance)
    DQT, Row #0:   6   4   4   6   9  11  12  16 
    DQT, Row #1:   4   5   5   6   8  10  12  12 
    DQT, Row #2:   4   5   5   6  10  12  14  19 
    DQT, Row #3:   6   6   6  11  12  15  19  28 
    DQT, Row #4:   9   8  10  12  16  20  27  31 
    DQT, Row #5:  11  10  12  15  20  27  31  31 
    DQT, Row #6:  12  12  14  19  27  31  31  31 
    DQT, Row #7:  16  12  19  28  31  31  31  31 
    Approx quality factor = 85.59 (scaling=28.82 variance=62.09)
  ----
  Precision=8 bits
  Destination ID=1 (Chrominance)
    DQT, Row #0:   7   7  13  24  26  31  31  31 
    DQT, Row #1:   7  12  16  21  31  31  31  31 
    DQT, Row #2:  13  16  17  31  31  31  31  31 
    DQT, Row #3:  24  21  31  31  31  31  31  31 
    DQT, Row #4:  26  31  31  31  31  31  31  31 
    DQT, Row #5:  31  31  31  31  31  31  31  31 
    DQT, Row #6:  31  31  31  31  31  31  31  31 
    DQT, Row #7:  31  31  31  31  31  31  31  31 
    Approx quality factor = 82.89 (scaling=34.23 variance=63.13)
 
*** Marker: SOF0 (Baseline DCT) (xFFC0) ***
  OFFSET: 0x00000440
  Frame header length = 17
  Precision = 8
  Number of Lines = 323
  Samples per Line = 323
  Image Size = 323 x 323
  Raw Image Orientation = Landscape
  Number of Img components = 3
    Component[1]: ID=0x01, Samp Fac=0x11 (Subsamp 1 x 1), Quant Tbl Sel=0x00 (Lum: Y)
    Component[2]: ID=0x02, Samp Fac=0x11 (Subsamp 1 x 1), Quant Tbl Sel=0x01 (Chrom: Cb)
    Component[3]: ID=0x03, Samp Fac=0x11 (Subsamp 1 x 1), Quant Tbl Sel=0x01 (Chrom: Cr)
 
*** Marker: DHT (Define Huffman Table) (xFFC4) ***
  OFFSET: 0x00000453
  Huffman table length = 188
  ----
  Destination ID = 0
  Class = 0 (DC / Lossless Table)
    Codes of length 01 bits (000 total): 
    Codes of length 02 bits (001 total): 05 
    Codes of length 03 bits (004 total): 00 04 06 07 
    Codes of length 04 bits (003 total): 01 02 03 
    Codes of length 05 bits (001 total): 08 
    Codes of length 06 bits (001 total): 09 
    Codes of length 07 bits (000 total): 
    Codes of length 08 bits (000 total): 
    Codes of length 09 bits (000 total): 
    Codes of length 10 bits (000 total): 
    Codes of length 11 bits (000 total): 
    Codes of length 12 bits (000 total): 
    Codes of length 13 bits (000 total): 
    Codes of length 14 bits (000 total): 
    Codes of length 15 bits (000 total): 
    Codes of length 16 bits (000 total): 
    Total number of codes: 010

  Expanded Form of Codes:
    Codes of length 02 bits:
      00 = 05                            (Total Len =  7)
    Codes of length 03 bits:
      010 = 00                           (Total Len =  3)
      011 = 04                           (Total Len =  7)
      100 = 06                           (Total Len =  9)
      101 = 07                           (Total Len = 10)
    Codes of length 04 bits:
      1100 = 01                          (Total Len =  5)
      1101 = 02                          (Total Len =  6)
      1110 = 03                          (Total Len =  7)
    Codes of length 05 bits:
      11110 = 08                         (Total Len = 13)
    Codes of length 06 bits:
      111110 = 09                        (Total Len = 15)

  ----
  Destination ID = 1
  Class = 0 (DC / Lossless Table)
    Codes of length 01 bits (000 total): 
    Codes of length 02 bits (002 total): 00 04 
    Codes of length 03 bits (003 total): 01 02 03 
    Codes of length 04 bits (001 total): 05 
    Codes of length 05 bits (001 total): 06 
    Codes of length 06 bits (001 total): 07 
    Codes of length 07 bits (000 total): 
    Codes of length 08 bits (000 total): 
    Codes of length 09 bits (000 total): 
    Codes of length 10 bits (000 total): 
    Codes of length 11 bits (000 total): 
    Codes of length 12 bits (000 total): 
    Codes of length 13 bits (000 total): 
    Codes of length 14 bits (000 total): 
    Codes of length 15 bits (000 total): 
    Codes of length 16 bits (000 total): 
    Total number of codes: 008

  Expanded Form of Codes:
    Codes of length 02 bits:
      00 = 00                            (Total Len =  2)
      01 = 04                            (Total Len =  6)
    Codes of length 03 bits:
      100 = 01                           (Total Len =  4)
      101 = 02                           (Total Len =  5)
      110 = 03                           (Total Len =  6)
    Codes of length 04 bits:
      1110 = 05                          (Total Len =  9)
    Codes of length 05 bits:
      11110 = 06                         (Total Len = 11)
    Codes of length 06 bits:
      111110 = 07                        (Total Len = 13)

  ----
  Destination ID = 0
  Class = 1 (AC Table)
    Codes of length 01 bits (000 total): 
    Codes of length 02 bits (002 total): 01 02 
    Codes of length 03 bits (001 total): 03 
    Codes of length 04 bits (002 total): 11 04 
    Codes of length 05 bits (004 total): 00 21 12 05 
    Codes of length 06 bits (004 total): 31 41 13 06 
    Codes of length 07 bits (003 total): 51 22 07 
    Codes of length 08 bits (005 total): 61 71 81 32 14 
    Codes of length 09 bits (005 total): 91 42 52 23 15 
    Codes of length 10 bits (005 total): A1 B1 C1 33 08 
    Codes of length 11 bits (004 total): 62 72 82 16 
    Codes of length 12 bits (008 total): D1 E1 92 B2 43 24 34 17 
    Codes of length 13 bits (003 total): F0 A2 25 
    Codes of length 14 bits (006 total): F1 53 44 54 35 18 
    Codes of length 15 bits (007 total): C2 D2 73 83 B3 74 36 
    Codes of length 16 bits (000 total): 
    Total number of codes: 059

  Expanded Form of Codes:
    Codes of length 02 bits:
      00 = 01                            (Total Len =  3)
      01 = 02                            (Total Len =  4)
    Codes of length 03 bits:
      100 = 03                           (Total Len =  6)
    Codes of length 04 bits:
      1010 = 11                          (Total Len =  5)
      1011 = 04                          (Total Len =  8)
    Codes of length 05 bits:
      11000 = 00 (EOB)                   (Total Len =  5)
      11001 = 21                         (Total Len =  6)
      11010 = 12                         (Total Len =  7)
      11011 = 05                         (Total Len = 10)
    Codes of length 06 bits:
      111000 = 31                        (Total Len =  7)
      111001 = 41                        (Total Len =  7)
      111010 = 13                        (Total Len =  9)
      111011 = 06                        (Total Len = 12)
    Codes of length 07 bits:
      1111000 = 51                       (Total Len =  8)
      1111001 = 22                       (Total Len =  9)
      1111010 = 07                       (Total Len = 14)
    Codes of length 08 bits:
      11110110 = 61                      (Total Len =  9)
      11110111 = 71                      (Total Len =  9)
      11111000 = 81                      (Total Len =  9)
      11111001 = 32                      (Total Len = 10)
      11111010 = 14                      (Total Len = 12)
    Codes of length 09 bits:
      111110110 = 91                     (Total Len = 10)
      111110111 = 42                     (Total Len = 11)
      111111000 = 52                     (Total Len = 11)
      111111001 = 23                     (Total Len = 12)
      111111010 = 15                     (Total Len = 14)
    Codes of length 10 bits:
      1111110110 = A1                    (Total Len = 11)
      1111110111 = B1                    (Total Len = 11)
      1111111000 = C1                    (Total Len = 11)
      1111111001 = 33                    (Total Len = 13)
      1111111010 = 08                    (Total Len = 18)
    Codes of length 11 bits:
      11111110110 = 62                   (Total Len = 13)
      11111110111 = 72                   (Total Len = 13)
      11111111000 = 82                   (Total Len = 13)
      11111111001 = 16                   (Total Len = 17)
    Codes of length 12 bits:
      111111110100 = D1                  (Total Len = 13)
      111111110101 = E1                  (Total Len = 13)
      111111110110 = 92                  (Total Len = 14)
      111111110111 = B2                  (Total Len = 14)
      111111111000 = 43                  (Total Len = 15)
      111111111001 = 24                  (Total Len = 16)
      111111111010 = 34                  (Total Len = 16)
      111111111011 = 17                  (Total Len = 19)
    Codes of length 13 bits:
      1111111111000 = F0 (ZRL)           (Total Len = 13)
      1111111111001 = A2                 (Total Len = 15)
      1111111111010 = 25                 (Total Len = 18)
    Codes of length 14 bits:
      11111111110110 = F1                (Total Len = 15)
      11111111110111 = 53                (Total Len = 17)
      11111111111000 = 44                (Total Len = 18)
      11111111111001 = 54                (Total Len = 18)
      11111111111010 = 35                (Total Len = 19)
      11111111111011 = 18                (Total Len = 22)
    Codes of length 15 bits:
      111111111111000 = C2               (Total Len = 17)
      111111111111001 = D2               (Total Len = 17)
      111111111111010 = 73               (Total Len = 18)
      111111111111011 = 83               (Total Len = 18)
      111111111111100 = B3               (Total Len = 18)
      111111111111101 = 74               (Total Len = 19)
      111111111111110 = 36               (Total Len = 21)

  ----
  Destination ID = 1
  Class = 1 (AC Table)
    Codes of length 01 bits (000 total): 
    Codes of length 02 bits (002 total): 00 01 
    Codes of length 03 bits (001 total): 02 
    Codes of length 04 bits (003 total): 11 21 03 
    Codes of length 05 bits (003 total): 31 12 04 
    Codes of length 06 bits (002 total): 41 05 
    Codes of length 07 bits (004 total): 51 61 22 13 
    Codes of length 08 bits (004 total): 71 81 32 14 
    Codes of length 09 bits (003 total): 91 A1 42 
    Codes of length 10 bits (006 total): F0 B1 C1 52 23 06 
    Codes of length 11 bits (005 total): D1 62 82 33 15 
    Codes of length 12 bits (005 total): E1 72 A2 43 34 
    Codes of length 13 bits (000 total): 
    Codes of length 14 bits (003 total): 92 B2 C2 
    Codes of length 15 bits (000 total): 
    Codes of length 16 bits (000 total): 
    Total number of codes: 041

  Expanded Form of Codes:
    Codes of length 02 bits:
      00 = 00 (EOB)                      (Total Len =  2)
      01 = 01                            (Total Len =  3)
    Codes of length 03 bits:
      100 = 02                           (Total Len =  5)
    Codes of length 04 bits:
      1010 = 11                          (Total Len =  5)
      1011 = 21                          (Total Len =  5)
      1100 = 03                          (Total Len =  7)
    Codes of length 05 bits:
      11010 = 31                         (Total Len =  6)
      11011 = 12                         (Total Len =  7)
      11100 = 04                         (Total Len =  9)
    Codes of length 06 bits:
      111010 = 41                        (Total Len =  7)
      111011 = 05                        (Total Len = 11)
    Codes of length 07 bits:
      1111000 = 51                       (Total Len =  8)
      1111001 = 61                       (Total Len =  8)
      1111010 = 22                       (Total Len =  9)
      1111011 = 13                       (Total Len = 10)
    Codes of length 08 bits:
      11111000 = 71                      (Total Len =  9)
      11111001 = 81                      (Total Len =  9)
      11111010 = 32                      (Total Len = 10)
      11111011 = 14                      (Total Len = 12)
    Codes of length 09 bits:
      111111000 = 91                     (Total Len = 10)
      111111001 = A1                     (Total Len = 10)
      111111010 = 42                     (Total Len = 11)
    Codes of length 10 bits:
      1111110110 = F0 (ZRL)              (Total Len = 10)
      1111110111 = B1                    (Total Len = 11)
      1111111000 = C1                    (Total Len = 11)
      1111111001 = 52                    (Total Len = 12)
      1111111010 = 23                    (Total Len = 13)
      1111111011 = 06                    (Total Len = 16)
    Codes of length 11 bits:
      11111111000 = D1                   (Total Len = 12)
      11111111001 = 62                   (Total Len = 13)
      11111111010 = 82                   (Total Len = 13)
      11111111011 = 33                   (Total Len = 14)
      11111111100 = 15                   (Total Len = 16)
    Codes of length 12 bits:
      111111111010 = E1                  (Total Len = 13)
      111111111011 = 72                  (Total Len = 14)
      111111111100 = A2                  (Total Len = 14)
      111111111101 = 43                  (Total Len = 15)
      111111111110 = 34                  (Total Len = 16)
    Codes of length 14 bits:
      11111111111100 = 92                (Total Len = 16)
      11111111111101 = B2                (Total Len = 16)
      11111111111110 = C2                (Total Len = 16)

 
*** Marker: SOS (Start of Scan) (xFFDA) ***
  OFFSET: 0x00000511
  Scan header length = 12
  Number of img components = 3
    Component[1]: selector=0x01, table=0(DC),0(AC)
    Component[2]: selector=0x02, table=1(DC),1(AC)
    Component[3]: selector=0x03, table=1(DC),1(AC)
  Spectral selection = 0 .. 63
  Successive approximation = 0x00

  Scan Data: (after bitstuff removed)
    e9 6d fd 48 77 cc 7f cc 36 b2 8f 13 1d 32 f8 62 df 77 85 fe 9f cc a2 87 98 56 df fa 9b ee 15 a7 
    5f 6d b6 97 dc 5d 71 65 c8 e3 be 92 2b b6 75 d4 27 6b fd 4f 39 04 cf b2 82 07 1d 12 7f a4 62 5e 
    5e 3f 8c 88 f5 20 9d b7 f5 35 b0 3a 83 3e d5 71 1d 7f 0b a1 1f c3 13 b7 0b d2 7f 8a 2d 59 04 ed 
    ff a8 de c6 91 82 cb 15 d4 24 ff 60 37 ee 38 b2 c1 09 2a a9 c4 37 4b aa 0a 41 eb bf a7 33 1a 1b 
    e7 88 f8 3c 6c 3f 75 70 7d b7 f9 a3 f8 83 9b 5d 02 30 fa af e9 d5 cd 29 bb db 8a fe 30 47 ef 18 
    3e c6 7d 12 7f 0a 11 ee 2e a8 7b 17 77 f6 25 c9 06 3d ca c5 c9 e0 4b 20 3f b6 98 ab e0 e4 fe 52 
    37 c3 a9 d3 a3 d9 37 af d4 ad 8c ce 79 86 8c 9f d8 71 2a 19 62 a9 46 15 c6 74 ff 2c 76 c4 a0 f4 
    ed e3 1a 8d 6b 1b 11 9f b2 87 0b 4b 1b ad d7 e4 43 c7 8e 47 36 ec ad 9c c8 5e 37 9e 37 39 12 92 
    1f e2 0e 2a f1 41 eb 14 fe 46 7f 67 8d 8d 7f ed fe dc a5 4a 5c cf 50 da bc e5 1b 3f f6 46 22 7c 
    7c 72 fd 29 19 cb b7 63 66 f2 f6 5a b0 a2 5d 69 f6 94 15 fd 87 0b fd 86 3d 28 55 76 f5 4b 31 85 
    cf 61 ee 4c ea d0 df aa e9 cc 02 1b fd 78 23 db f0 a5 74 47 d8 79 9c e4 ec ad e8 40 23 49 a3 62 
    cd aa 56 66 39 d4 1a d0 11 89 5c 28 a7 67 43 19 76 e7 e2 0b b8 f4 fb 79 72 7c aa 2b 90 01 81 a0 
    1c b8 83 8b ac 32 8b aa 91 45 c0 c8 8e 17 1e 9f ee af 22 99 23 69 32 ac 8c 2a 09 61 c3 30 c7 14 
    6f 2d 1a ad 53 07 c5 c9 e0 45 f7 7f 4b 37 89 77 49 6e dd a5 30 ce ca 5b c8 cc f4 a5 1b 3e 18 e3 
    72 3b 7e 5c ae b4 31 5c 69 27 74 c9 16 c7 b5 1d 8e cb a3 b7 c5 35 b9 07 ac 59 aa c7 a8 45 0b 67 
    c7 e1 8d b8 9c 5c f8 75 06 a6 dd 52 a5 07 72 ee bb e2 c6 93 dd 5e 68 79 15 80 8d 94 6a 0a 45 08 
    d2 07 3f b7 0e 66 e6 4e 2e aa 05 27 9e 4b 57 70 2e f1 7b 15 d6 d5 22 6f 91 ac 3b 7c 76 c6 d1 1d 
    d7 a8 4a 48 b4 aa c6 06 4d 95 43 72 c2 6f 95 39 51 45 55 a2 de fd af 72 b3 bd b9 f4 b3 68 db a5 
    e9 0b 8d e7 72 0a 56 de 1b 90 e1 43 11 45 66 62 40 a0 fd b8 4b ed b9 13 8d 66 d4 63 5f d3 af c0 
    da 1c 86 e3 48 aa 57 ab 26 7b 05 d2 5c 76 ce d3 0c 1a 24 fa 88 92 59 a6 00 52 36 5c d8 29 1f 75 
    WARNING: Dump truncated.


*** Decoding SCAN Data ***
  OFFSET: 0x0000051F
  Scan Decode Mode: Full IDCT (AC + DC)

  Scan Data encountered marker   0xFFD9 @ 0x0000A490.0

*** NOTE: YCC Clipped. MCU=(   0,   0) YCC=(  256,  124,  126) Y Overflow @ Offset 0x0000A48F.5
*** NOTE: YCC Clipped. MCU=(   2,   0) YCC=(  256,  122,  125) Y Overflow @ Offset 0x0000A48F.5
*** NOTE: YCC Clipped. MCU=(   2,   0) YCC=(  256,  122,  126) Y Overflow @ Offset 0x0000A48F.5
*** NOTE: YCC Clipped. MCU=(   2,   0) YCC=(  256,  122,  126) Y Overflow @ Offset 0x0000A48F.5
*** NOTE: YCC Clipped. MCU=(   3,   0) YCC=(  257,  124,  127) Y Overflow @ Offset 0x0000A48F.5
*** NOTE: YCC Clipped. MCU=(   3,   0) YCC=(  256,  125,  127) Y Overflow @ Offset 0x0000A48F.5
*** NOTE: YCC Clipped. MCU=(   6,   0) YCC=(  256,  135,  129) Y Overflow @ Offset 0x0000A48F.5
*** NOTE: YCC Clipped. MCU=(   5,   0) YCC=(  256,  128,  129) Y Overflow @ Offset 0x0000A48F.5
*** NOTE: YCC Clipped. MCU=(   6,   0) YCC=(  256,  127,  129) Y Overflow @ Offset 0x0000A48F.5
*** NOTE: YCC Clipped. MCU=(   6,   0) YCC=(  256,  126,  130) Y Overflow @ Offset 0x0000A48F.5
    Only reported first 10 instances of this message...
  Compression stats:
    Compression Ratio:  7.67:1
    Bits per pixel:     3.13:1

  Huffman code histogram stats:
    Huffman Table: (Dest ID: 0, Class: DC)
      # codes of length 01 bits:        0 (  0%)
      # codes of length 02 bits:      319 ( 19%)
      # codes of length 03 bits:      892 ( 53%)
      # codes of length 04 bits:      421 ( 25%)
      # codes of length 05 bits:       46 (  3%)
      # codes of length 06 bits:        3 (  0%)
      # codes of length 07 bits:        0 (  0%)
      # codes of length 08 bits:        0 (  0%)
      # codes of length 09 bits:        0 (  0%)
      # codes of length 10 bits:        0 (  0%)
      # codes of length 11 bits:        0 (  0%)
      # codes of length 12 bits:        0 (  0%)
      # codes of length 13 bits:        0 (  0%)
      # codes of length 14 bits:        0 (  0%)
      # codes of length 15 bits:        0 (  0%)
      # codes of length 16 bits:        0 (  0%)

    Huffman Table: (Dest ID: 1, Class: DC)
      # codes of length 01 bits:        0 (  0%)
      # codes of length 02 bits:     1158 ( 34%)
      # codes of length 03 bits:     1665 ( 50%)
      # codes of length 04 bits:      378 ( 11%)
      # codes of length 05 bits:      139 (  4%)
      # codes of length 06 bits:       22 (  1%)
      # codes of length 07 bits:        0 (  0%)
      # codes of length 08 bits:        0 (  0%)
      # codes of length 09 bits:        0 (  0%)
      # codes of length 10 bits:        0 (  0%)
      # codes of length 11 bits:        0 (  0%)
      # codes of length 12 bits:        0 (  0%)
      # codes of length 13 bits:        0 (  0%)
      # codes of length 14 bits:        0 (  0%)
      # codes of length 15 bits:        0 (  0%)
      # codes of length 16 bits:        0 (  0%)

    Huffman Table: (Dest ID: 0, Class: AC)
      # codes of length 01 bits:        0 (  0%)
      # codes of length 02 bits:    15597 ( 43%)
      # codes of length 03 bits:     4886 ( 14%)
      # codes of length 04 bits:     5739 ( 16%)
      # codes of length 05 bits:     5639 ( 16%)
      # codes of length 06 bits:     2070 (  6%)
      # codes of length 07 bits:      784 (  2%)
      # codes of length 08 bits:      751 (  2%)
      # codes of length 09 bits:      331 (  1%)
      # codes of length 10 bits:      181 (  1%)
      # codes of length 11 bits:       82 (  0%)
      # codes of length 12 bits:       71 (  0%)
      # codes of length 13 bits:       11 (  0%)
      # codes of length 14 bits:       14 (  0%)
      # codes of length 15 bits:        7 (  0%)
      # codes of length 16 bits:        0 (  0%)

    Huffman Table: (Dest ID: 1, Class: AC)
      # codes of length 01 bits:        0 (  0%)
      # codes of length 02 bits:     8615 ( 45%)
      # codes of length 03 bits:     3149 ( 16%)
      # codes of length 04 bits:     4072 ( 21%)
      # codes of length 05 bits:     1774 (  9%)
      # codes of length 06 bits:      500 (  3%)
      # codes of length 07 bits:      582 (  3%)
      # codes of length 08 bits:      278 (  1%)
      # codes of length 09 bits:      105 (  1%)
      # codes of length 10 bits:      125 (  1%)
      # codes of length 11 bits:       55 (  0%)
      # codes of length 12 bits:       21 (  0%)
      # codes of length 13 bits:        0 (  0%)
      # codes of length 14 bits:        3 (  0%)
      # codes of length 15 bits:        0 (  0%)
      # codes of length 16 bits:        0 (  0%)

  YCC clipping in DC:
    Y  component: [<0=    0] [>255=   10]
    Cb component: [<0=    0] [>255=    0]
    Cr component: [<0=    0] [>255=    0]

  YCC histogram in DC (DCT sums : pre-ranged:
    Y  component histo: [min=-1140 max= 1104 avg= -218.7]
    Cb component histo: [min=-1010 max=  558 avg=  -95.4]
    Cr component histo: [min=-1085 max=  849 avg=  -37.0]

  YCC histogram in DC:
    Y  component histo: [min=  -14 max=  266 avg=  100.2]
    Cb component histo: [min=    0 max=  197 avg=  115.6]
    Cr component histo: [min=   -7 max=  234 avg=  123.0]

  RGB histogram in DC (before clip):
    R  component histo: [min=  -30 max=  283 avg=   92.8]
    G  component histo: [min=  -12 max=  271 avg=  107.6]
    B  component histo: [min=  -37 max=  284 avg=   77.9]

  RGB clipping in DC:
    R  component: [<0=  187] [>255=  815]
    G  component: [<0=  118] [>255= 3075]
    B  component: [<0= 1706] [>255=  905]

  RGB histogram in DC (after clip):
    R  component histo: [min=    0 max=  255 avg=   92.8]
    G  component histo: [min=    0 max=  255 avg=  107.5]
    B  component histo: [min=    0 max=  255 avg=   77.9]

  Average Pixel Luminance (Y):
    Y=[ 99] (range: 0..255)

  Brightest Pixel Search:
    YCC=[ 1104,   55,   54] RGB=[255,248,255] @ MCU[ 37, 25]

  Finished Decoding SCAN Data
    Number of RESTART markers decoded: 0
    Next position in scan buffer: Offset 0x0000A48F.5

 
*** Marker: EOI (End of Image) (xFFD9) ***
  OFFSET: 0x0000A490


*** Searching Compression Signatures ***

  Signature:           01C26040DB5181BA3B5CD7A813FAD209
  Signature (Rotated): 01C26040DB5181BA3B5CD7A813FAD209
  File Offset:         0 bytes
  Chroma subsampling:  1x1
  EXIF Make/Model:     NONE
  EXIF Makernotes:     NONE
  EXIF Software:       NONE

  Searching Compression Signatures: (3347 built-in, 0 user(*) )

          EXIF.Make / Software        EXIF.Model                            Quality           Subsamp Match?
          -------------------------   -----------------------------------   ----------------  --------------
     SW :[Adobe Photoshop          ]                                       [Save For Web 060]                  

  NOTE: Photoshop IRB detected
  Based on the analysis of compression characteristics and EXIF metadata:

  ASSESSMENT: Class 1 - Image is processed/edited
PS: I just found out that MP left a bunch of files (xnview_??????????.jpg) behind in the %TMP% directory of Windows. These were obviously created during my tests.

PPS: 0.83: Delete export image temp files

PicTac
Posts: 7
Joined: Tue Jan 31, 2017 8:52 am

Re: 0.84: Crash in file export for special jpg

Post by PicTac » Sat Feb 04, 2017 3:14 pm

Hi, the crash was not always reproducible it seem to work with a new ini, anyway attached you will find my configs.
The configuration was set to the ini in program files.
Attachments
configuration_ini.zip
(9.72 KiB) Downloaded 24 times

PicTac
Posts: 7
Joined: Tue Jan 31, 2017 8:52 am

Re: 0.84: Crash in file export for special jpg

Post by PicTac » Sat Feb 04, 2017 3:25 pm

I think it has something to do that XnView Classic is my default tool to open the image files.
There are also entries in the ini of XnViewMP open.. invalid. :?

User avatar
xnview
Author of XnView
Posts: 31255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Crash in file export for special jpg

Post by xnview » Mon Feb 06, 2017 3:59 pm

PicTac wrote:Hi, the crash was not always reproducible it seem to work with a new ini, anyway attached you will find my configs.
The configuration was set to the ini in program files.
The second .ini causes the crash?
Pierre.

PicTac
Posts: 7
Joined: Tue Jan 31, 2017 8:52 am

Re: 0.84: Crash in file export for special jpg

Post by PicTac » Tue Feb 07, 2017 8:38 am

Yes, there is still a crash on my Win 7 system only in XnViewMP.
It seems to happen only on JPGs and is not reproducible with PNGs.

Some entries with invalid, for example OpenWith=@Invalid() are also in the ini of another XnViewMP (installed on a different Win 7 system) but the export works there without any crash, so this is maybe not part of the problem.

PicTac
Posts: 7
Joined: Tue Jan 31, 2017 8:52 am

Re: 0.84: Crash in file export for special jpg

Post by PicTac » Tue Feb 07, 2017 10:22 pm

It seems to work now with this new attached ini.
I reduced all not needed Settings.
Maybe a Performance Problem?
Attachments
xnview_ini.zip
working ini
(4.85 KiB) Downloaded 18 times

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Crash in file export for special jpg

Post by helmut » Fri Feb 17, 2017 9:26 pm

PicTac wrote:It seems to work now with this new attached ini.
I reduced all not needed Settings.
Maybe a Performance Problem?
Thank you for your additional info, PicPac. I've just tried to reproduce your problem for a second time by downloading your .ini files and your original image. But again I couldn't reproduce your problem. :|

Could you perhaps try to strip down your .ini file to find out which setting or combination of settings causes problems? Ideal would be a .ini file with few lines only, which still causes the crash when opening the Export dialog.

@Pierre:
- Which settings in the .ini file affect the Export dialog? PicPac's .ini file has a "[Export]" section - what is stored in that this section and its settings? (I've looked in my .ini file but that one doesn't contain the section [Export] at all.)
- What happens if XnView MP reads .ini files of XnView Classic and vice versa? Are the .ini files 100% compatible?

User avatar
xnview
Author of XnView
Posts: 31255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Crash in file export for special jpg

Post by xnview » Mon Feb 27, 2017 10:31 am

helmut wrote: - Which settings in the .ini file affect the Export dialog? PicPac's .ini file has a "[Export]" section - what is stored in that this section and its settings? (I've looked in my .ini file but that one doesn't contain the section [Export] at all.)
only [export] section
- What happens if XnView MP reads .ini files of XnView Classic and vice versa? Are the .ini files 100% compatible?
XnView Classic ini file can't be readed by MP
Pierre.

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Crash in file export for special jpg

Post by helmut » Mon Feb 27, 2017 11:00 am

@Pierre: Thank you for your answers.
xnview wrote:
helmut wrote:- What happens if XnView MP reads .ini files of XnView Classic and vice versa? Are the .ini files 100% compatible?
XnView Classic ini file can't be readed by MP
What does this exactly mean? Is there a message box? Will XnView MP / XnView Classic ignore all settings?

What happens if you choose "User (System)" as path for the .ini files both in XnView Classic and XnView MP? Will they both read / write the same files?

User avatar
xnview
Author of XnView
Posts: 31255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Crash in file export for special jpg

Post by xnview » Mon Feb 27, 2017 12:29 pm

helmut wrote:What does this exactly mean? Is there a message box? Will XnView MP / XnView Classic ignore all settings?
no message, because i don't know from which software comes an .ini, many of settings will be ignored (the label is not the same)
What happens if you choose "User (System)" as path for the .ini files both in XnView Classic and XnView MP? Will they both read / write the same files?
no, the .ini will not be in the same subfolder
Pierre.

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Crash in file export for special jpg

Post by helmut » Tue Mar 14, 2017 3:06 pm

PicTac wrote:... Some entries with invalid, for example OpenWith=@Invalid() are also in the ini of another XnViewMP (installed on a different Win 7 system) but the export works there without any crash, so this is maybe not part of the problem.
I'm wondering what could be done to reproduce and solve this problem. Do I understand previous statement right:
- Computer A crashes when exporting the JPG file
- Computer B does NOT creahs when exporting the same JPG file
- On computer A it does no longer crash with a new .ini file
Correct?

@PicTac: Could you please use your old .ini file which crashes when exporting and step-by-step remove entries so that the problem still occurs? Result should be a .ini file with very few entries which still causes the crash on your computer A.

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Crash in file export for special jpg

Post by helmut » Wed Mar 22, 2017 12:49 pm

No reply from original poster.

:arrow: Closed (Please post here in case the problem should occur, again. Please provide additional to reproduce the problem, then).

Post Reply