Double Commander

Official forum
It is currently Thu May 23, 2013 1:58 am

All times are UTC + 3 hours [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Mon Sep 26, 2011 11:30 pm 
Offline

Joined: Wed Apr 14, 2010 11:59 pm
Posts: 16
Hi!

I compile doublecmd-qt (32 bit) with branches/0.5 r3923 in linux.
I use:
./build.sh all qt
The compile is fine.

When I start doublecmd-qt, it crash.

Here is my doublecmd.err:
--------------- 26-09-2011, 21.19.14 ---------------
| DC v0.5.0 beta Rev. 3935M -- i386-Linux-qt4
|  -- QT 4.7.4, libQt4Pas 4.5.3
Unhandled exception: EAccessViolation: Access violation
Stack trace:
$B53D15CE

The problem is the doublecmd.xml file. If I start the doublecmd-gtk2, it is work fine, it can write the doublecmd.xml. After when I start the doublecmd-qt again, it is working, use the doublecmd-gtk2's doublecmd.xml file.

The doublecmd.xml has 644 permissions.

Is this problem just mine?


Top
 Profile  
 
PostPosted: Tue Sep 27, 2011 7:11 pm 
Offline
Developer
User avatar

Joined: Wed Apr 01, 2009 9:17 pm
Posts: 761
Location: Poland
So it crashes when you don't have doublecmd.xml file? For me it works fine.

Try build with
Code:
lcl=qt ./build.sh nightly
with debugging info and reproduce the crash.


Top
 Profile  
 
PostPosted: Thu Sep 29, 2011 7:28 pm 
Offline

Joined: Wed Apr 14, 2010 11:59 pm
Posts: 16
Hi!

The first start the dc-qt copy the doublecmd.xml file in $HOME/.config/doublecmd/ too.
But it is the default doublecmd.xml file, I think the dc-qt can't write it. The dc-gtk2 can write it. If dc-gtk2 modify the doublecmd.xml, the dc-qt can use it, and start. Maybe.

I recompile dc with:
lcl=qt ./build.sh nightly

In start this crash too.

doublecmd.err:
--------------- 29-09-2011, 17.14.43 ---------------
| DC v0.5.0 beta Rev. 3949 -- i386-Linux-qt4
|  -- QT 4.7.4, libQt4Pas 4.5.3
Unhandled exception: EAccessViolation: Access violation
Stack trace:
$B54115CE


Top
 Profile  
 
PostPosted: Fri Sep 30, 2011 2:04 am 
Offline
Developer
User avatar

Joined: Wed Apr 01, 2009 9:17 pm
Posts: 761
Location: Poland
The reading/writing of doublecmd.xml does not depend on QT or GTK2, it must be something else.

kikadf wrote:
I recompile dc with:
lcl=qt ./build.sh nightly

In start this crash too.

Yes, but I thought there will be a better stack trace.

I tried with i386-Linux-qt4 with the default config and it does not crash.

Tomorrow I will make a build with full debugging info and give you to reproduce the crash again.


Top
 Profile  
 
PostPosted: Fri Sep 30, 2011 9:05 pm 
Offline
Developer
User avatar

Joined: Wed Apr 01, 2009 9:17 pm
Posts: 761
Location: Poland
Please download this DC version and try to reproduce the crash:
dc-0.5-i386-linux-qt-dbg.tar.bz2


Top
 Profile  
 
PostPosted: Fri Sep 30, 2011 9:34 pm 
Offline

Joined: Wed Apr 14, 2010 11:59 pm
Posts: 16
Crash again.

doublecmd.err:
--------------- 30-09-2011, 19.31.20 ---------------
| DC v0.5.0 beta Rev. 3953M -- i386-Linux-qt4
|  -- QT 4.7.4, libQt4Pas 4.5.3
Unhandled exception: EAccessViolation: Access violation
Stack trace:
$B555B5CE



Why does crash the qt version, if gtk2 version not?


Top
 Profile  
 
PostPosted: Sat Oct 01, 2011 9:11 pm 
Offline
Developer
User avatar

Joined: Wed Apr 01, 2009 9:17 pm
Posts: 761
Location: Poland
It should have shown where it crashes. Maybe the crash is in some system library, like QT lib or something that is why it doesn't show.

If you run
Code:
doublecmd
from console, what is the output?


Top
 Profile  
 
PostPosted: Sat Oct 01, 2011 9:47 pm 
Offline

Joined: Wed Apr 14, 2010 11:59 pm
Posts: 16
Widgetset library: QT 4.7.4, libQt4Pas 4.5.3
This program is free software released under terms of GNU GPL 2
(C)opyright 2006-2011 Koblov Alexander (Alexx2000@mail.ru)
and contributors (see about dialog)
Executable directory: /home/kikadf/install/build/
Cannot read configuration file: /home/kikadf/.config/doublecmd/doublecmd.xml
Loading configuration...
Creating PixmapManager
Theme Frugalware-KDE4 not found.
Theme dctheme not found.
UDisks: Service found running.
UDisks: Version 1.0.3
Creating TFileSystemFileSource
TColumnsFileView.Create components
FileSystemWatcher thread starting
TColumnsFileView.Create components
frmMain.frmMainShow
TApplication.HandleException Access violation
Stack trace:
$B53EB5CE
QWidget::repaint: Recursive repaint detected
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$B53EB5CE
TApplication.HandleException: there was another exception during showing the first exception
Stack trace:
$B53EB5CE
Destroying main form
Drive watcher finished
Waiting for workers thread B77132A0
Finalized workers thread B77132A0
Waiting for workers thread B246B620
Finalized workers thread B246B620
Waiting for FileSystemWatcher thread
FileSystemWatcher thread finished
Destroying TFileSystemFileSource when refcount=0
Main form destroyed
QPaintDevice: Cannot destroy paint device that is being painted
Finishing GuiMessageQueue
Shutting down PixmapManage


Top
 Profile  
 
PostPosted: Sat Oct 01, 2011 9:55 pm 
Offline
Developer
User avatar

Joined: Wed Apr 01, 2009 9:17 pm
Posts: 761
Location: Poland
Which version of libQt4Pas do you have installed?


Top
 Profile  
 
PostPosted: Sat Oct 01, 2011 10:22 pm 
Offline

Joined: Wed Apr 14, 2010 11:59 pm
Posts: 16
2.4, this is the sourcecode:
qt4pas-V2.4_Qt4.5.3.tar.gz

File list:
/usr/share/doc/libqtpascal-2.4/README.TXT
/usr/share/doc/libqtpascal-2.4/COPYING.TXT
/usr/lib/libqt4intf.so
/usr/lib/libQt4Pas.so.5.2.4
/usr/lib/libQt4Pas.so.5.2
/usr/lib/libQt4Pas.so.5
/usr/lib/libQt4Pas.so


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

All times are UTC + 3 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Get Double Commander at SourceForge.net. Fast, secure and Free Open Source software downloads