FS#16356 - [qtiplot] crashes opening files
Attached to Project:
Arch Linux
Opened by Andy McMillan (mcmillan) - Friday, 25 September 2009, 20:17 GMT
Last edited by Ronald van Haren (pressh) - Monday, 09 November 2009, 21:58 GMT
Opened by Andy McMillan (mcmillan) - Friday, 25 September 2009, 20:17 GMT
Last edited by Ronald van Haren (pressh) - Monday, 09 November 2009, 21:58 GMT
|
Details
Description:
I get a segmentation fault opening saved files with qtiplot. This is both with files created with older versions and with a file I created with the newest version. Additional info:. * package version: 0.9.7.9-1 and 0.9.7.8-1 - older version can open from command line and file managers, both crash when opening from within qtiplot Rebuilding on my computer didn't have an effect. output of from gdb (gave one of two errors): Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fdd1a8a5770 (LWP 4469)] 0x00007fdd1775a1d6 in QWidget::isAncestorOf (this=0x1acf760, child=0x1a4f6c0) at kernel/qwidget.cpp:7453 7453 kernel/qwidget.cpp: No such file or directory. in kernel/qwidget.cpp or Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fbb8bc6e770 (LWP 4457)] 0x00007fbb88b231c4 in QWidget::isAncestorOf (this=0x1d39b00, child=0x1cc0670) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:243 243 ../../include/QtCore/../../src/corelib/kernel/qobject.h: No such file or directory. in ../../include/QtCore/../../src/corelib/kernel/qobject.h * config and/or log files etc. Steps to reproduce: Open an existing file with qtiplot |
This task depends upon
Closed by Ronald van Haren (pressh)
Monday, 09 November 2009, 21:58 GMT
Reason for closing: Not a bug
Additional comments about closing: user configuration was causing issues (using -d argument clears configuration)
Monday, 09 November 2009, 21:58 GMT
Reason for closing: Not a bug
Additional comments about closing: user configuration was causing issues (using -d argument clears configuration)
Missing /tmp/qtiplot/sipqtiQList.cpp in the build directory
A little more info I managed to track down today about the bug itself- I tried rolling back to even older versions to see where things started to act up and even versions I'm certain were working before are now crashing in a similar way.
I was able to get older versions to work again by rolling back to the last qt 4.4 packages I could find (4.4.3-5). That still crashes the newer versions of qtiplot though with a different error
"qtiplot: symbol lookup error: qtiplot: undefined symbol: _ZN8QPainter8fillRectERK5QRectRK6QColor"
de -I/var/abs/extra/qtiplot/src/qtiplot-0.9.7.9/tmp/qtiplot -o ../tmp/qtiplot/sipqtiFolder.o ../tmp/qtiplot/sipqtiFolder.cpp
make: *** No rule to make target `../tmp/qtiplot/sipqtiQList.cpp', needed by `../tmp/qtiplot/sipqtiQList.o'. Stop.
==> ERROR: Build Failed.
Aborting...
Looking at similar bug reports at Gentoo, they seem to suggest that some versions of boost is behind the file opening errors. But no definitive debugging.
Maybe it would worth checking out the new version 0.9.7.10 in the same time (that fails to compile too) since the package should be upgraded as well....
sipqtiQList is no longer, but there's instead sipqtiQList0101Folder, sipqtiQList0101Graph,
sipqtiQList0101MdiSubWindow
To fix all these issues plus make the package better, I made a new package - attached here. Changes:
* bump up to 0.9.7.10
* fix compilation issue
* add mime type and install script to update mime database
On my system it can open saved files alright (the original bug). Please test it, and let me know what you think...
having said that, I have i686, so maybe someone else with a x86_64 could try it?
I've been checking some other bug reports on other sites, but so far no real match...
Have you tried posting to the help forums @ http://developer.berlios.de/forum/?group_id=6626 ? I'll bump the pacakge to 0.9.7.10 but I doubt it's the package itself having issues.
Andy, for quicker turnaround in testing, I made a qtiplot-svn package that keeps up-to-date. You can check that one out to see whether they fixed your issues upstream: http://aur.archlinux.org/packages.php?ID=31881