Crash When open Tag with special file name

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

Moderator: Dreamer

Post Reply
Roumano
Posts: 115
Joined: Sun Oct 10, 2010 6:20 pm

Crash When open Tag with special file name

Post by Roumano » Sun Oct 10, 2010 6:43 pm

Hi,
I have tagged lot of photo with XnViewMp on my Linux machine

Now, the soft crash when i open a CategoryNode (just one, seem's to be related to filename with special caractere --> '

~/bin/XnViewMP-026/xnview.sh

.init


########### BrowserWindow :: BrowserWindow

MENU install : a282d08
Object::connect: No such signal MyThumbThread::thumbUpdated(int)
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
Object::connect: No such signal MyThumbView::thumbUpdated(int, const QImage&)
Object::connect: No such signal MyThumbView::thumbUpdated(int, const QImage&)
########### BrowserWindow :: ok create (640 480)
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
## MyTabWidget :: resizeEvent : 1912 978
## RESIZE: 866 361
## RESIZE: 1912 978
#### onCategoryDockVisible (1)
CategoryNode::CategoryNode : 0xa45da70 Cat�gories
CategoryNode::CategoryNode : 0xa315cb0 Autre
CategoryNode::add : 0xa315cb0 to 0xa45da70
CategoryNode::CategoryNode : 0xa462db0 Photographies
CategoryNode::add : 0xa462db0 to 0xa45da70
CategoryNode::CategoryNode : 0xa315318 Amis
CategoryNode::add : 0xa315318 to 0xa462db0
CategoryNode::CategoryNode : 0xa2d3ed0 Animaux
CategoryNode::add : 0xa2d3ed0 to 0xa462db0
CategoryNode::CategoryNode : 0xa2fea88 Evenement
...
...
CategoryNode::CategoryNode : 0xa4dc248 Tout
CategoryNode::add : 0xa4dc248 to 0xa4dc1c0
### BrowserWindow :: onStart
BrowserWindow :: onStart 2
setPathname </home/roumano/Images/>
## OPEN FOLDER
## OPEN FOLDER ok
## updateLabels
## updateLabels ok
Object::disconnect: Unexpected null parameter
QObject::connect: Cannot connect (null)::currentChanged(int) to PreviewInfo::onTabCurrentChanged(int)
QFileSystemWatcher: failed to add paths: /home/roumano/Images/
BrowserWindow :: updateMenu()
########### BrowserWindow :: restoreState (1912 978)
#### onFavoriteDockVisible (0)
### MyBitmapView (a3ae560) :: resizeEvent 100 75
### MyBitmapView (a3ae560) :: resizeEvent 763 432
BrowserWindow :: updateMenu()
MyDirModelThread :: run
###### onChildrenChecked 21 <Webcam>
###### onChildrenChecked 19 <Photo Nature>
###### onChildrenChecked 17 <lost+found>
###### onChildrenChecked 15 <Galerie>
###### onChildrenChecked 14 <explosion pont>
###### onChildrenChecked 12 <Dinoutoo>
###### onChildrenChecked 10 <a_trier>
###### onChildrenChecked 1 <1985 1995 Chateauroux>
###### onChildrenChecked 14 <Public>
###### onChildrenChecked 13 <Podcasts>
###### onChildrenChecked 10 <Mod�les>
###### onChildrenChecked 8 <Jeux>
###### onChildrenChecked 4 <Downloads>
###### onChildrenChecked 2 <Contact>
CategoryThread :: run



CategoryView :: mousePressEvent
CategoryView :: mouseReleaseEvent
CategoryView :: mousePressEvent
onSelectionChanged ==> 1 0 CUR(10)
MyThumbThread :: stop()
MyThumbThread :: stop()2
MyThumbThread :: stop(): ok
MyThumbThread :: stop()
MyThumbThread :: stop()2
LOAD BITMAP </home/roumano/Images/2008 05 Perou/2008-05-04--11.15.10 - Collique - Bidonville de Lima - Casada Morada : L''école Maternelle.jpg>
GFF :: LoadThumbnail : 3
MyThumbThread :: stop(): ok
CategoryView :: mouseReleaseEvent
LOAD BITMAP </home/roumano/Images/2008 05 Perou/2008-05-04--11.15.21 - Collique - Bidonville de Lima - Casada Morada : L''école Maternelle.jpg>
GFF :: LoadThumbnail : 3
LOAD BITMAP </home/roumano/Images/2008 05 Perou/2008-05-04--11.18.27 - Collique - Bidonville de Lima - Casada Morada : L''école Maternelle.jpg>
GFF :: LoadThumbnail : 3
LOAD BITMAP </home/roumano/Images/2008 05 Perou/2008-05-04--11.23.08 - Collique - Bidonville de Lima - Casada Morada : L''école Maternelle.jpg>
GFF :: LoadThumbnail : 3
LOAD BITMAP </home/roumano/Images/2008 05 Perou/2008-05-04--11.23.19 - Collique - Bidonville de Lima - Casada Morada : L''école Maternelle.jpg>
GFF :: LoadThumbnail : 3
LOAD BITMAP </home/roumano/Images/2008 05 Perou/2008-05-04--11.23.35 - Collique - Bidonville de Lima - Casada Morada : L''école Maternelle.jpg>
GFF :: LoadThumbnail : 3
...
...
LOAD BITMAP </home/roumano/Images/2001 2009 Grenoble/2010 06 Voyage en Turquie/2010-06-19--13.24.05 - La cascade d''Antalya.jpg>
GFF :: LoadThumbnail : 3
LOAD BITMAP </home/roumano/Images/2001 2009 Grenoble/2010 06 Voyage en Turquie/2010-06-19--13.24.13 - La cascade d''Antalya.jpg>
GFF :: LoadThumbnail : 3
##BUG## : updateItem(212)
BrowserWindow :: updateMenu()
/home/roumano/bin/XnViewMP-026/xnview.sh: line 7: 11558 Erreur de segmentation (core dumped) $dirname/xnview "$@"


I can make some test if you want & you can respond to me in french/english.

Regards

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

Re: Crash When open Tag with special file name

Post by xnview » Mon Oct 11, 2010 12:07 pm

Do you have crash if you have only 1 file in a category (with ')?
Pierre.

Roumano
Posts: 115
Joined: Sun Oct 10, 2010 6:20 pm

Re: Crash When open Tag with special file name

Post by Roumano » Mon Oct 11, 2010 9:41 pm

Hi,

I have play with this bug :
I can't reproduce this exactly as XnviewMP is no more crashing.

But, we can always reproduce this :

1) On the explorer view, select one (or more photo) which is contain the caractere '
As my first screenshot. Add a categories (i have tested it with a empty categorie)
1.jpg
Step 1) On the explorer view, select one (or more photo) which is contain the caractere '
Add a categories
1.jpg (63 KiB) Viewed 1142 times
2) Open the Categorie view, open this new categories (normaly contain only this photo) :
You will found on the categorie, a 'random' photo ! as my second screenshot
2.jpg
Step 2) Open the Categorie view, open this new categories
You will found on the categorie, a 'random' photo
2.jpg (226.8 KiB) Viewed 1142 times
3) To play again with this bug on the database : go on the explorer view and found the 'random' photo :
- The thumbail and categories of the file is appartening of the image which is contain the caractere '
as my last screenshot
3.jpg
Step 3) Go on the explorer view and found the 'random' photo
The thumbail and categories of the file is appartening of the image which is contain the caractere '
3.jpg (178.96 KiB) Viewed 1142 times

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

Re: Crash When open Tag with special file name

Post by xnview » Tue Oct 12, 2010 1:33 pm

Ok, there is a problem with one ' in filename...
Pierre.

User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Re: Crash When open Tag with special file name

Post by Clo » Tue Oct 12, 2010 4:15 pm

:arrow: Roumano

:) Hello ! Bonsoir,

• As a test, you could try to rename a faulty file and replace the ' from the keyboard with a curly “neuter” one
(Alt {held}+0146)…
- Just a thought :wink:

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice

Roumano
Posts: 115
Joined: Sun Oct 10, 2010 6:20 pm

Re: Crash When open Tag with special file name

Post by Roumano » Tue Oct 12, 2010 4:49 pm

Hi,

I will speak in french, but if you want, i can translate it.

Concernant le bug avec le caractère '

Si les images non plus le caractère ' , plus de bug, CQFD
il semble que le bug apparait seulement si je tag les images depuis le mode Dossiers et pas depuis le mode Catégories, ca comprendre Charles !

- Par contre, dans ma base de données d'Xnview, c'est un peut le bordel dans le sens, où il marque qu'il y a 2 images dans une catégories, alors qu'il n'en affiche pas.
- Peut-on, et comment, faire pour nettoyé la base ?
- Et inversement pour l'avoir a jour avec toutes les catégories de tous mes photos, j'ai rien trouvé de mieux de voir tous les fichiers en recursif, et enfin d'attendre beaucoup car j'en ai beaucoup trop et pas bcp de mémoire (2Go) ca swap énormément....

- D'ailleurs, elle-est accessible pour permettre de faire des requêtes un peut exotérique (genre lister tous les répertoires des images qui sont dans la catégories XXX, )

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

Re: Crash When open Tag with special file name

Post by xnview » Fri Oct 15, 2010 9:22 am

Please check XnViewMP 0.30
Pierre.

Post Reply