1.91.1 crash in multi processors
Posted: Sat Jul 28, 2007 10:42 am
hey, some month ago I had reported an bug "1.90.3 crashes with read memory violation."
http://newsgroup.xnview.com/viewtopic.php?t=12611
because the codes still hang in an worker thread in 1.91/1.91.1, I suppose its an treads sync problem.
today I have my core 2 duo switch to core 2 solo (/NUMPROC=1) for some tests, when I open xnview and navigated mass count (more than 2k) of pictures, it keeps long than a hour alive, then hang with other kind of bug at last.
when I switch back to smp mode, xnview get crash 1~2 minuts later with 10~20 pic view or just do nothing but eat some piece of my cookie.
I have some directionary with 5~10 thousand pictures, it get xnview hang much quickly in smp mode. if I close an cpu for xnview in taskmanager, it's can hold off crash much more, too.
Now I can consider its must be an synchronization problem between threads, I hope you can reproduced this crash for fix.
OS: windows server 2003 std chs, windows 2000 std, windows server codename longhorn std eng
cpu: e6300@1.86
RAM: 1G DDR2 667 * 2
xnview: 1.90.3, 1.91, 1.91.1
PS: you can generate lots of pictures to test in an directionay via select all -> ctrl+drag drop -> select all in windows explorer.
http://newsgroup.xnview.com/viewtopic.php?t=12611
because the codes still hang in an worker thread in 1.91/1.91.1, I suppose its an treads sync problem.
today I have my core 2 duo switch to core 2 solo (/NUMPROC=1) for some tests, when I open xnview and navigated mass count (more than 2k) of pictures, it keeps long than a hour alive, then hang with other kind of bug at last.
when I switch back to smp mode, xnview get crash 1~2 minuts later with 10~20 pic view or just do nothing but eat some piece of my cookie.
I have some directionary with 5~10 thousand pictures, it get xnview hang much quickly in smp mode. if I close an cpu for xnview in taskmanager, it's can hold off crash much more, too.
Now I can consider its must be an synchronization problem between threads, I hope you can reproduced this crash for fix.
OS: windows server 2003 std chs, windows 2000 std, windows server codename longhorn std eng
cpu: e6300@1.86
RAM: 1G DDR2 667 * 2
xnview: 1.90.3, 1.91, 1.91.1
PS: you can generate lots of pictures to test in an directionay via select all -> ctrl+drag drop -> select all in windows explorer.