0.92 Crash at startup

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
herb
Posts: 153
Joined: Sat Jul 18, 2009 3:19 pm

0.92 Crash at startup

Post by herb » Sat Sep 22, 2018 5:46 pm

Hello Pierre,

on my Windows 7 64-bit system since a very long time I have very very sporadically problems with XnViewMP (also 64-bit) at startup.
XnViewMP crashes at startup and only at startup. As I said: very very sporadic.

All the time I could not find a specific file or directory that could cause the crash.
And I also could not find a "golden rule" that says "to this ..." and the crash will happen.

Now I did some tests with files that came from the full Exiftool distribution. Each file is very small, because not the image itself is interesting, but the metadata are the point of interest.
Here I found a set of files that causes XnViewMP to crash at startup.
XnViewMP does not crash when I switch from one directory into this specific directory.
Starting XnViewMP - with this directory to open at startup - GUI comes up and XnViewMP starts to read the files and to create the thumbnails for each file. Then suddenly XnViewMP crashes.

Please retry with the attached files. Thanks in advance.

Best regards
Herb
Attachments
CrashXnViewMP.7z
(84.16 KiB) Downloaded 7 times

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

Re: 0.92 Crash at startup

Post by xnview » Sun Sep 23, 2018 12:44 pm

if you open XnView MP on this folder, you have the crash? always?
Pierre.

herb
Posts: 153
Joined: Sat Jul 18, 2009 3:19 pm

Re: 0.92 Crash at startup

Post by herb » Sat Sep 29, 2018 3:22 pm

Hello Pierre,

yes, I have the crash always when I doubleclick XnViewMP to start the application, and XnViewMP will open the directory.

Best regards
Herb

dietmar
Posts: 104
Joined: Fri Oct 25, 2013 4:55 pm

Re: 0.92 Crash at startup

Post by dietmar » Mon Oct 01, 2018 10:19 am

Pierre,

there is a similar problem with the Linux versions. On my Ubuntu 64bit 0.92 also crashes in connection with specific directories. The crash occurs while the Browser window is parsing the files. So it's because of one specific file or because of the magnitude of the files.

Error message is
#15 0x00007f2f1016041d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
XnView crashed with SIGABRT in __malloc_assert()

Regards
Dietmar

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

Re: 0.92 Crash at startup

Post by xnview » Mon Oct 08, 2018 8:32 am

dietmar wrote:
Mon Oct 01, 2018 10:19 am
there is a similar problem with the Linux versions. On my Ubuntu 64bit 0.92 also crashes in connection with specific directories. The crash occurs while the Browser window is parsing the files. So it's because of one specific file or because of the magnitude of the files.
Are you able to find the file?
Pierre.

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

Re: 0.92 Crash at startup

Post by xnview » Mon Oct 08, 2018 8:43 am

herb wrote:
Sat Sep 29, 2018 3:22 pm
yes, I have the crash always when I doubleclick XnViewMP to start the application, and XnViewMP will open the directory.
It takes time but no crash :(
Pierre.

dietmar
Posts: 104
Joined: Fri Oct 25, 2013 4:55 pm

Re: 0.92 Crash at startup

Post by dietmar » Mon Oct 08, 2018 10:34 am

xnview wrote:
Mon Oct 08, 2018 8:32 am
Are you able to find the file?
Trying ...

After copying the whole directory contents to a different location (new folder):
New error:
*** Error in '/opt/XnView/XnView': free(): corrupted unsorted chunks

I then removed the files in groups trying to isolate the file causing the problem. After some time I could identify the attached TIF. It was sent by a colleague so I don't know of the origin of the file.

The same file and every copy thereof also crashes 0.92 on Windows 7. GIMP opens the file just fine on both Linux and Windows.

Let me know what's wrong with it :-)

Dietmar
Attachments
sb_Adlerbrücke_Sonderstempel.TIF
TIFF file crashing 0.92
(249.5 KiB) Downloaded 5 times

herb
Posts: 153
Joined: Sat Jul 18, 2009 3:19 pm

Re: 0.92 Crash at startup

Post by herb » Tue Oct 09, 2018 9:04 am

Hello Pierre,

thanks that you tried to reproduce the error.
So I guess there might be a timing (or similar) problem on my system when I start XnViewMP.

Is there any possibility to collect more and better symptoms?

Best regards
Herb

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

Re: 0.92 Crash at startup

Post by xnview » Tue Oct 09, 2018 9:56 am

dietmar wrote:
Mon Oct 08, 2018 10:34 am
The same file and every copy thereof also crashes 0.92 on Windows 7. GIMP opens the file just fine on both Linux and Windows.
Ok, irght. A problem with EXIF metadata
Pierre.

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

Re: 0.92 Crash at startup

Post by xnview » Tue Oct 09, 2018 9:56 am

herb wrote:
Tue Oct 09, 2018 9:04 am
Is there any possibility to collect more and better symptoms?
Are you able to isolate the file?
Pierre.

dietmar
Posts: 104
Joined: Fri Oct 25, 2013 4:55 pm

Re: 0.92 Crash at startup

Post by dietmar » Tue Oct 09, 2018 10:04 am

xnview wrote:
Tue Oct 09, 2018 9:56 am
A problem with EXIF metadata
A problem inside the file (incorrect data) or a problem inside XnView (bug)?

Dietmar

herb
Posts: 153
Joined: Sat Jul 18, 2009 3:19 pm

Re: 0.92 Crash at startup

Post by herb » Tue Oct 09, 2018 10:30 am

Hello Pierre,
Are you able to isolate the file?
As always said, when I have XnViewMP running and I change to the directory with the "problematic images", no error occurs.
So for me it is not possible to isolate such a specific file.

You are right, there must be a specific problematic file; so I guess, this file and also the conditions of starting XnViewMP cause the error.

Best regards
Herb

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

Re: 0.92 Crash at startup

Post by xnview » Tue Oct 09, 2018 11:10 am

dietmar wrote:
Tue Oct 09, 2018 10:04 am
xnview wrote:
Tue Oct 09, 2018 9:56 am
A problem with EXIF metadata
A problem inside the file (incorrect data) or a problem inside XnView (bug)?
incorrect data
Pierre.

Post Reply