VIVE L’AMOUR!
I built “qtRoot” and took some tests of “qtRoot/qtExamples”.
- … BUILDING …
HelloZoomer/main.cxx is missing:
#include
CustomCanvasMenu, Qt4/CustomWidgets, Qt4/HelloFileBrowser:
Project MESSAGE: No ROOT Qt Extension was found. Use Qt-layer instead
QtGBrowser:
Project MESSAGE: ATTENTION !!! QtGBrowser example needs Qt ROOT extension to be installed from root.bnl.gov
Project MESSAGE: — ATTENTION !!! QtGBrowser example needs Qt ROOT extension to be installed from root.bnl.gov
Project MESSAGE: Found: /…/root/v5-28-00-patches/lib/libQtRootGui.so
Qt4/HelloSignal:
Project MESSAGE: No ROOT Qt Extension was found. Please install it
- … RUNNING (only selected examples described below) …
( HelloZoomer: just shows a small white empty window which disappears after some seconds )
CustomCanvasMenu: dies with a “segmentation violation” on entry, i.e. immediately after start (see below)
HelloWord: “new TBrowser()” produces “standard-style” browser, “segmentation violation” on “.q” (see below)
HelloPixmap, HelloOpenGL, HelloCint: “new TBrowser()” produces “qt-style” browser, NO crash on “.q”
I am stupid. No?
Pepe Le Pew.
[/…/qtRoot/qtExamples/CustomCanvasMenu] > ./CustomCanvasMenu
TQtMmlTextProxy activated
** $Id: TGQt.cxx 3566 2010-09-21 20:34:17Z fine@BNL.GOV $ this=0xa6c1dc8
Symbol font family found: "LMMathSymbols10"
Symbol font family found: "LMMathSymbols5"
Symbol font family found: "LMMathSymbols6"
Symbol font family found: "LMMathSymbols7"
Symbol font family found: "LMMathSymbols8"
Symbol font family found: "LMMathSymbols9"
Symbol font family found: "Standard Symbols L"
Error in TClass::Load: dictionary of class { not found
Error in TBufferFile::CheckByteCount: Byte count probably corrupted around buffer position 1555:
796000371 for a possible maximum of 15756
Error in TBufferFile::CheckByteCount: object of class TObjArray read too many bytes: 16848 instead of 2916
Warning in TBufferFile::CheckByteCount: TObjArray::Streamer() not in sync with data on file test.root, fix Streamer()
Error in TExMap::Remove: key 16711681 not found at 9
Warning in TBufferFile::CheckObject: reference to unavailable class TObject, pointers of this type will be 0
Error in TExMap::Remove: key 16777216 not found at 155
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=16777216 pointer will be 0
Error in TExMap::Remove: key 50331648 not found at 464
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=50331648 pointer will be 0
Error in TExMap::Remove: key 5984367 not found at 176
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=5984367 pointer will be 0
Error in TExMap::Remove: key 67108930 not found at 180
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=67108930 pointer will be 0
Error in TExMap::Remove: key 4194369 not found at 355
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=4194369 pointer will be 0
Error in TExMap::Remove: key 1716874857 not found at 47
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=1716874857 pointer will be 0
Error in TExMap::Remove: key 1948280425 not found at 465
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=1948280425 pointer will be 0
Error in TExMap::Remove: key 1952543861 not found at 473
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=1952543861 pointer will be 0
Error in TExMap::Remove: key 324141059 not found at 314
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=324141059 pointer will be 0
Error in TExMap::Remove: key 4 not found at 5
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=4 pointer will be 0
Error in TExMap::Remove: key 213503 not found at 231
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=213503 pointer will be 0
Error in TExMap::Remove: key 6390015 not found at 406
Warning in TBufferFile::CheckObject: reference to object of unavailable class TObject, offset=6390015 pointer will be 0
Error in TBufferFile::CheckByteCount: Byte count probably corrupted around buffer position 4271:
8453984 for a possible maximum of 13042
Error in TBufferFile::CheckByteCount: object of class TList read too many bytes: 17254 instead of 17253
Warning in TBufferFile::CheckByteCount: TList::Streamer() not in sync with data on file test.root, fix Streamer()
Warning in TFile::ReadStreamerInfo: test.root has a TList in the list of TStreamerInfo.
*** Break *** segmentation violation
===========================================================
There was a crash (#7 0xb71a28cd in SigHandler(ESignals) ()).
This is the entire stack trace of all threads:
#0 0xb789e430 in __kernel_vsyscall ()
#1 0xb3d527d3 in __waitpid_nocancel ()
at …/sysdeps/unix/syscall-template.S:82
#2 0xb3cf3de3 in do_system (line=)
at …/sysdeps/posix/system.c:149
#3 0xb4f3c27d in system (
line=0xb532380 “/…/root/v5-28-00-patches/etc/gdb-backtrace.sh 10027 1>&2”) at pt-system.c:29
#4 0xb719c61d in TUnixSystem::Exec(char const*) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#5 0xb71a3435 in TUnixSystem::StackTrace() ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#6 0xb71a27bf in TUnixSystem::DispatchSignals(ESignals) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#7 0xb71a28cd in SigHandler(ESignals) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#8 0xb71997b2 in sighandler(int) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#9
#10 0xb714bbd9 in TList::Clear(char const*) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#11 0xb686ca45 in TFile::ReadStreamerInfo() ()
from /…/root/v5-28-00-patches/lib/libRIO.so.5.28
#12 0xb68701dc in TFile::Init(bool) ()
from /…/root/v5-28-00-patches/lib/libRIO.so.5.28
#13 0xb6870f07 in TFile::TFile(char const*, char const*, char const*, int) ()
from /…/root/v5-28-00-patches/lib/libRIO.so.5.28
#14 0x0804dd16 in qtrootexample1::init (this=0xbff373fc)
at qtrootexample1.cxx:50
#15 0x0804db43 in qtrootexample1 (this=0xbff373fc, parent=0x0)
at qtrootexample1.cxx:24
#16 0x0804d76b in main (argc=1, argv=0xbff37524) at main.cpp:7
The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
#10 0xb714bbd9 in TList::Clear(char const*) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#11 0xb686ca45 in TFile::ReadStreamerInfo() ()
from /…/root/v5-28-00-patches/lib/libRIO.so.5.28
#12 0xb68701dc in TFile::Init(bool) ()
from /…/root/v5-28-00-patches/lib/libRIO.so.5.28
#13 0xb6870f07 in TFile::TFile(char const*, char const*, char const*, int) ()
from /…/root/v5-28-00-patches/lib/libRIO.so.5.28
#14 0x0804dd16 in qtrootexample1::init (this=0xbff373fc)
at qtrootexample1.cxx:50
#15 0x0804db43 in qtrootexample1 (this=0xbff373fc, parent=0x0)
at qtrootexample1.cxx:24
#16 0x0804d76b in main (argc=1, argv=0xbff37524) at main.cpp:7
[/…/qtRoot/qtExamples/HelloWord] > ./HelloWord
TQtMmlTextProxy activated
** $Id: TGQt.cxx 3566 2010-09-21 20:34:17Z fine@BNL.GOV $ this=0x8aa9b98
Symbol font family found: "LMMathSymbols10"
Symbol font family found: "LMMathSymbols5"
Symbol font family found: "LMMathSymbols6"
Symbol font family found: "LMMathSymbols7"
Symbol font family found: "LMMathSymbols8"
Symbol font family found: "LMMathSymbols9"
Symbol font family found: “Standard Symbols L”
ROOT 5.28/00 (trunk@37583, Feb 08 2011, 19:03:00 on linux)
CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] new TBrowser()
(class TBrowser*)0x9a9ba88
root [1] TGQt::ClearArea: *** wrong client are size: 0 : 0
TGQt::ClearArea: *** wrong client are size: 0 : 0
root [1] .q
*** Break *** segmentation violation
===========================================================
There was a crash (#7 0xb70248cd in SigHandler(ESignals) ()).
This is the entire stack trace of all threads:
#0 0xb7720430 in __kernel_vsyscall ()
#1 0xb3eb67d3 in __waitpid_nocancel ()
at …/sysdeps/unix/syscall-template.S:82
#2 0xb3e57de3 in do_system (line=)
at …/sysdeps/posix/system.c:149
#3 0xb40c327d in system (
line=0x8ae8b18 “/…/root/v5-28-00-patches/etc/gdb-backtrace.sh 9382 1>&2”) at pt-system.c:29
#4 0xb701e61d in TUnixSystem::Exec(char const*) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#5 0xb7025435 in TUnixSystem::StackTrace() ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#6 0xb70247bf in TUnixSystem::DispatchSignals(ESignals) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#7 0xb70248cd in SigHandler(ESignals) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#8 0xb701b7b2 in sighandler(int) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#9
#10 0xb4a1a280 in QAccessible::updateAccessibility(QObject*, int, QAccessible::Event) () from /usr/share/qt4/lib/libQtGui.so.4
#11 0xb44df49d in QWidgetPrivate::hide_helper() ()
from /usr/share/qt4/lib/libQtGui.so.4
#12 0xb44e8b40 in QWidget::setVisible(bool) ()
from /usr/share/qt4/lib/libQtGui.so.4
#13 0xb76f4b38 in TQtClientGuard::Delete(QWidget*) ()
from /…/qtRoot/lib/libGQt.so.1
#14 0xb76d5846 in TGQt::DestroyWindow(unsigned long) ()
from /…/qtRoot/lib/libGQt.so.1
#15 0xb505eb0e in TGWindow::DestroyWindow() ()
from /…/root/v5-28-00-patches/lib/libGui.so.5.28
#16 0xb50bf520 in TGCompositeFrame::Cleanup() ()
from /…/root/v5-28-00-patches/lib/libGui.so.5.28
#17 0xb514e744 in TGTab::~TGTab() ()
from /…/root/v5-28-00-patches/lib/libGui.so.5.28
#18 0xb518fb5c in TRootBrowser::~TRootBrowser() ()
from /…/root/v5-28-00-patches/lib/libGui.so.5.28
#19 0xb6f372fa in TBrowser::~TBrowser() ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#20 0xb6fc79d3 in TCollection::GarbageCollect(TObject*) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#21 0xb6fce8a8 in TList::Delete(char const*) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#22 0xb6f7930f in TROOT::~TROOT() ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#23 0xb3e4e588 in __cxa_finalize (d=0xb74d8c40) at cxa_finalize.c:56
#24 0xb6f276f4 in __do_global_dtors_aux ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#25 0xb7399b60 in _fini ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#26 0xb772f216 in _dl_fini () at dl-fini.c:248
#27 0xb3e4e1bf in __run_exit_handlers (status=0, listp=0xb3f75324,
run_list_atexit=true) at exit.c:78
#28 0xb3e4e22f in __GI_exit (status=0) at exit.c:100
#29 0xb701e5c3 in TUnixSystem::Exit(int, bool) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#30 0xb6f29a44 in TApplication::Terminate(int) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#31 0xb5b952ae in TRint::Terminate(int) ()
from /…/root/v5-28-00-patches/lib/libRint.so.5.28
#32 0xb6f2b572 in TApplication::ProcessLine(char const, bool, int*) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#33 0xb5b96988 in TRint::HandleTermInput() ()
from /…/root/v5-28-00-patches/lib/libRint.so.5.28
#34 0xb5b94ff5 in TTermInputHandler::Notify() ()
from /…/root/v5-28-00-patches/lib/libRint.so.5.28
#35 0xb5b97e94 in TTermInputHandler::ReadNotify() ()
from /…/root/v5-28-00-patches/lib/libRint.so.5.28
#36 0xb7022947 in TUnixSystem::CheckDescriptors() ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#37 0xb7022b15 in TUnixSystem::DispatchOneEvent(bool) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#38 0xb6f91ec1 in TSystem::InnerLoop() ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#39 0xb6f94c19 in TSystem::Run() ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#40 0xb6f29767 in TApplication::Run(bool) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#41 0xb5b97721 in TRint::Run(bool) ()
from /…/root/v5-28-00-patches/lib/libRint.so.5.28
#42 0x08049363 in main ()
The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
#10 0xb4a1a280 in QAccessible::updateAccessibility(QObject*, int, QAccessible::Event) () from /usr/share/qt4/lib/libQtGui.so.4
#11 0xb44df49d in QWidgetPrivate::hide_helper() ()
from /usr/share/qt4/lib/libQtGui.so.4
#12 0xb44e8b40 in QWidget::setVisible(bool) ()
from /usr/share/qt4/lib/libQtGui.so.4
#13 0xb76f4b38 in TQtClientGuard::Delete(QWidget*) ()
from /…/qtRoot/lib/libGQt.so.1
#14 0xb76d5846 in TGQt::DestroyWindow(unsigned long) ()
from /…/qtRoot/lib/libGQt.so.1
#15 0xb505eb0e in TGWindow::DestroyWindow() ()
from /…/root/v5-28-00-patches/lib/libGui.so.5.28
#16 0xb50bf520 in TGCompositeFrame::Cleanup() ()
from /…/root/v5-28-00-patches/lib/libGui.so.5.28
#17 0xb514e744 in TGTab::~TGTab() ()
from /…/root/v5-28-00-patches/lib/libGui.so.5.28
#18 0xb518fb5c in TRootBrowser::~TRootBrowser() ()
from /…/root/v5-28-00-patches/lib/libGui.so.5.28
#19 0xb6f372fa in TBrowser::~TBrowser() ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#20 0xb6fc79d3 in TCollection::GarbageCollect(TObject*) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#21 0xb6fce8a8 in TList::Delete(char const*) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#22 0xb6f7930f in TROOT::~TROOT() ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#23 0xb3e4e588 in __cxa_finalize (d=0xb74d8c40) at cxa_finalize.c:56
#24 0xb6f276f4 in __do_global_dtors_aux ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#25 0xb7399b60 in _fini ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#26 0xb772f216 in _dl_fini () at dl-fini.c:248
#27 0xb3e4e1bf in __run_exit_handlers (status=0, listp=0xb3f75324,
run_list_atexit=true) at exit.c:78
#28 0xb3e4e22f in *__GI_exit (status=0) at exit.c:100
#29 0xb701e5c3 in TUnixSystem::Exit(int, bool) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#30 0xb6f29a44 in TApplication::Terminate(int) ()
from /…/root/v5-28-00-patches/lib/libCore.so.5.28
#31 0xb5b952ae in TRint::Terminate(int) ()
from /…/root/v5-28-00-patches/lib/libRint.so.5.28
Root >
*** Break *** segmentation violation
(… and so on … I needed to kill it with a Ctrl-C …)