V5.28.00.patches with Qt backend dies in font / fontconfig

VIVE L’AMOUR!
I have found the solution myself. :smiling_imp:

One needs to make sure that ROOT uses the standard “/usr/lib/libfreetype.so”, provided by the operating system (so, both, “libfreetype*” and “libfreetype*-dev” packages need to be installed), and NOT the “freetype” library that it compiles itself (“on demand”). So, one needs to make sure that “–disable-builtin-freetype” is in effect (see the tail of your “config.log” and make sure that “builtin_freetype” is NOT in the “Enabled support” list). :-({|=
If “–enable-builtin-freetype” is in effect, static “{ROOTSYS}/lib/libfreetype.a" routines are linked into some ROOT shared libraries (e.g. into "{ROOTSYS}/lib/libGraf.so”), which results in mysterious ROOT “crashes” afterwards. #-o

Everyone should 'ave a 'obby, don’t you think? Mine is making love.
Pepe Le Pew.

P.S. “making love” = “discovering bugs in software” :-&

Well, it seems I was too quick … it works with “TCanvas” (except for the warning “TGQt::ClearArea: *** wrong client are size: 0 : 0”) but it dies with “TBrowser” … ](*,)

[size=200][color=#FF0000]H[/color][color=#BF4040]E[/color][color=#808080]L[/color][color=#40BFBF]P[/color][color=#00FFFF]![/color][/size] [-o<

[…] > root


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.28/00 14 December 2010 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

ROOT 5.28/00 (trunk@37583, Jan 11 2011, 18:30: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 TCanvas()
** Id: TGQt.cxx 36275 2010-10-11 08:05:21Z brun this=0x908f7a8
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”
(class TCanvas*)0x9f94898
root [1] TGQt::ClearArea: *** wrong client are size: 0 : 0

root [1] .q
[…] > root


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.28/00 14 December 2010 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

ROOT 5.28/00 (trunk@37583, Jan 11 2011, 18:30: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()
** Id: TGQt.cxx 36275 2010-10-11 08:05:21Z brun this=0x87c17e8
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”
(class TBrowser*)0x86ba268
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 (kSigSegmentationViolation).
This is the entire stack trace of all threads:

#0 0xb7792430 in __kernel_vsyscall ()
#1 0xb63e27d3 in __waitpid_nocancel ()
at …/sysdeps/unix/syscall-template.S:82
#2 0xb6383de3 in do_system (line=)
at …/sysdeps/posix/system.c:149
#3 0xb64b327d in system (
line=0x98b65f0 “/…/root/v5-28-00-patches-debug/etc/gdb-backtrace.sh 31345 1>&2”) at pt-system.c:29
#4 0xb71e707f in TUnixSystem::Exec (this=0x82c73b0,
shellcmd=0x98b65f0 “/…/root/v5-28-00-patches-debug/etc/gdb-backtrace.sh 31345 1>&2”)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:2005
#5 0xb71e79fa in TUnixSystem::StackTrace (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:2227
#6 0xb71e5357 in TUnixSystem::DispatchSignals (this=0x82c73b0,
sig=kSigSegmentationViolation)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:1131
#7 0xb71e32c9 in SigHandler (sig=kSigSegmentationViolation)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:352
#8 0xb71eaedd in sighandler (sig=11)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:3496
#9
#10 0xb47c5280 in QAccessible::updateAccessibility(QObject*, int, QAccessible::Event) () from /usr/lib/libQtGui.so.4
#11 0xb428a49d in QWidgetPrivate::hide_helper() () from /usr/lib/libQtGui.so.4
#12 0xb4293b40 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#13 0xb4e340ae in QWidget::hide (this=0x97108a0)
at /usr/include/qt4/QtGui/qwidget.h:489
#14 0xb4e4ff09 in TQtClientGuard::Delete (this=0x87c18a0, w=0x97108a0)
at /…/build/v5-28-00-patches-debug/graf2d/qt/src/TQtClientGuard.cxx:47
#15 0xb4e2d4e8 in TGQt::DestroyWindow (this=0x87c17e8, id=158402728)
at /…/build/v5-28-00-patches-debug/graf2d/qt/src/GQtGUI.cxx:1098
#16 0xb4fe7f80 in TGWindow::DestroyWindow (this=0x9710818)
at include/TGWindow.h:94
#17 0xb5055df2 in TGCompositeFrame::Cleanup (this=0x970fde0)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGFrame.cxx:937
#18 0xb50f8c7e in ~TGTab (this=0x970fde0, __in_chrg=)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGTab.cxx:325
#19 0xb5147808 in ~TRootBrowser (this=0x96e9898,
__in_chrg=)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TRootBrowser.cxx:335
#20 0xb70debdf in ~TBrowser (this=0x86ba268, __in_chrg=)
at /…/build/v5-28-00-patches-debug/core/base/src/TBrowser.cxx:250
#21 0xb717f0ca in TCollection::GarbageCollect (obj=0x86ba268)
at /…/build/v5-28-00-patches-debug/core/cont/src/TCollection.cxx:591
#22 0xb7184c8a in TList::Delete (this=0x83687d8, option=0xb75b0b20 “”)
at /…/build/v5-28-00-patches-debug/core/cont/src/TList.cxx:413
#23 0xb712c0bb in ~TROOT (this=0xb771b300, __in_chrg=)
at /…/build/v5-28-00-patches-debug/core/base/src/TROOT.cxx:484
#24 0xb637a588 in __cxa_finalize (d=0xb7718020) at cxa_finalize.c:56
#25 0xb70cdac4 in __do_global_dtors_aux ()
from /…/root/v5-28-00-patches-debug/lib/libCore.so.5.28
#26 0xb75a8cd0 in _fini ()
from /…/root/v5-28-00-patches-debug/lib/libCore.so.5.28
#27 0xb77a1216 in _dl_fini () at dl-fini.c:248
#28 0xb637a1bf in __run_exit_handlers (status=0, listp=0xb64a1324,
run_list_atexit=true) at exit.c:78
#29 0xb637a22f in *__GI_exit (status=0) at exit.c:100
#30 0xb71e71e8 in TUnixSystem::Exit (this=0x82c73b0, code=0, mode=true)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:2045
#31 0xb70d5097 in TApplication::Terminate (this=0x83a9258, status=0)
at /…/build/v5-28-00-patches-debug/core/base/src/TApplication.cxx:1116
#32 0xb662abf5 in TRint::Terminate (this=0x83a9258, status=0)
at /…/build/v5-28-00-patches-debug/core/rint/src/TRint.cxx:629
#33 0xb70d3ae6 in TApplication::ProcessLine (this=0x83a9258,
line=0x98c2de0 “.q”, sync=false, err=0x0)
at /…/build/v5-28-00-patches-debug/core/base/src/TApplication.cxx:806
#34 0xb662a8d3 in TRint::HandleTermInput (this=0x83a9258)
at /…/build/v5-28-00-patches-debug/core/rint/src/TRint.cxx:559
#35 0xb6627be8 in TTermInputHandler::Notify (this=0x8638848)
at /…/build/v5-28-00-patches-debug/core/rint/src/TRint.cxx:127
#36 0xb662bb38 in TTermInputHandler::ReadNotify (this=0x8638848)
at /…/build/v5-28-00-patches-debug/core/rint/src/TRint.cxx:119
#37 0xb71e569c in TUnixSystem::CheckDescriptors (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:1233
#38 0xb71e4a71 in TUnixSystem::DispatchOneEvent (this=0x82c73b0,
pendingOnly=false)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:940
#39 0xb714853d in TSystem::InnerLoop (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/base/src/TSystem.cxx:406
#40 0xb714831d in TSystem::Run (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/base/src/TSystem.cxx:356
#41 0xb70d4e14 in TApplication::Run (this=0x83a9258, retrn=false)
at /…/build/v5-28-00-patches-debug/core/base/src/TApplication.cxx:1052
#42 0xb662a11a in TRint::Run (this=0x83a9258, retrn=false)
at /…/build/v5-28-00-patches-debug/core/rint/src/TRint.cxx:431
#43 0x08048f45 in main (argc=1, argv=0xbf8ab734)
at /…/build/v5-28-00-patches-debug/main/src/rmain.cxx:29

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 0xb47c5280 in QAccessible::updateAccessibility(QObject*, int, QAccessible::Event) () from /usr/lib/libQtGui.so.4
#11 0xb428a49d in QWidgetPrivate::hide_helper() () from /usr/lib/libQtGui.so.4
#12 0xb4293b40 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#13 0xb4e340ae in QWidget::hide (this=0x97108a0)
at /usr/include/qt4/QtGui/qwidget.h:489
#14 0xb4e4ff09 in TQtClientGuard::Delete (this=0x87c18a0, w=0x97108a0)
at /…/build/v5-28-00-patches-debug/graf2d/qt/src/TQtClientGuard.cxx:47
#15 0xb4e2d4e8 in TGQt::DestroyWindow (this=0x87c17e8, id=158402728)
at /…/build/v5-28-00-patches-debug/graf2d/qt/src/GQtGUI.cxx:1098
#16 0xb4fe7f80 in TGWindow::DestroyWindow (this=0x9710818)
at include/TGWindow.h:94
#17 0xb5055df2 in TGCompositeFrame::Cleanup (this=0x970fde0)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGFrame.cxx:937
#18 0xb50f8c7e in ~TGTab (this=0x970fde0, __in_chrg=)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGTab.cxx:325
#19 0xb5147808 in ~TRootBrowser (this=0x96e9898,
__in_chrg=)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TRootBrowser.cxx:335
#20 0xb70debdf in ~TBrowser (this=0x86ba268, __in_chrg=)
at /…/build/v5-28-00-patches-debug/core/base/src/TBrowser.cxx:250
#21 0xb717f0ca in TCollection::GarbageCollect (obj=0x86ba268)
at /…/build/v5-28-00-patches-debug/core/cont/src/TCollection.cxx:591
#22 0xb7184c8a in TList::Delete (this=0x83687d8, option=0xb75b0b20 “”)
at /…/build/v5-28-00-patches-debug/core/cont/src/TList.cxx:413
#23 0xb712c0bb in ~TROOT (this=0xb771b300, __in_chrg=)
at /…/build/v5-28-00-patches-debug/core/base/src/TROOT.cxx:484
#24 0xb637a588 in __cxa_finalize (d=0xb7718020) at cxa_finalize.c:56
#25 0xb70cdac4 in __do_global_dtors_aux ()
from /…/root/v5-28-00-patches-debug/lib/libCore.so.5.28
#26 0xb75a8cd0 in _fini ()
from /…/root/v5-28-00-patches-debug/lib/libCore.so.5.28
#27 0xb77a1216 in _dl_fini () at dl-fini.c:248
#28 0xb637a1bf in __run_exit_handlers (status=0, listp=0xb64a1324,
run_list_atexit=true) at exit.c:78
#29 0xb637a22f in *__GI_exit (status=0) at exit.c:100
#30 0xb71e71e8 in TUnixSystem::Exit (this=0x82c73b0, code=0, mode=true)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:2045
#31 0xb70d5097 in TApplication::Terminate (this=0x83a9258, status=0)
at /…/build/v5-28-00-patches-debug/core/base/src/TApplication.cxx:1116
#32 0xb662abf5 in TRint::Terminate (this=0x83a9258, status=0)
at /…/build/v5-28-00-patches-debug/core/rint/src/TRint.cxx:629

Root >
*** Break *** segmentation violation

===========================================================
There was a crash (kSigSegmentationViolation).
This is the entire stack trace of all threads:

#0 0xb7792430 in __kernel_vsyscall ()
#1 0xb63e27d3 in __waitpid_nocancel ()
at …/sysdeps/unix/syscall-template.S:82
#2 0xb6383de3 in do_system (line=)
at …/sysdeps/posix/system.c:149
#3 0xb64b327d in system (
line=0x8801070 “/…/root/v5-28-00-patches-debug/etc/gdb-backtrace.sh 31345 1>&2”) at pt-system.c:29
#4 0xb71e707f in TUnixSystem::Exec (this=0x82c73b0,
shellcmd=0x8801070 “/…/root/v5-28-00-patches-debug/etc/gdb-backtrace.sh 31345 1>&2”)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:2005
#5 0xb71e79fa in TUnixSystem::StackTrace (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:2227
#6 0xb71e5357 in TUnixSystem::DispatchSignals (this=0x82c73b0,
sig=kSigSegmentationViolation)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:1131
#7 0xb71e32c9 in SigHandler (sig=kSigSegmentationViolation)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:352
#8 0xb71eaedd in sighandler (sig=11)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:3496
#9
#10 0xb42d8ad5 in QWidget::paintEngine() const () from /usr/lib/libQtGui.so.4
#11 0xb446985b in QWidgetPrivate::repaint_sys(QRegion const&) ()
from /usr/lib/libQtGui.so.4
#12 0xb4284b3e in QWidgetPrivate::syncBackingStore() ()
from /usr/lib/libQtGui.so.4
#13 0xb428be76 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb4687fd3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb422d4dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /usr/lib/libQtGui.so.4
#16 0xb42340f9 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libQtGui.so.4
#17 0xb4cdca3b in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
from /usr/lib/libQtCore.so.4
#18 0xb4cdf473 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#19 0xb4cdf5dd in QCoreApplication::sendPostedEvents(QObject*, int) ()
from /usr/lib/libQtCore.so.4
#20 0xb4d08adf in ?? () from /usr/lib/libQtCore.so.4
#21 0xb2ac55e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0xb2ac92d8 in ?? () from /lib/libglib-2.0.so.0
#23 0xb2ac94b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0xb4d085d5 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4
#25 0xb42ed135 in ?? () from /usr/lib/libQtGui.so.4
#26 0xb4cdf841 in QCoreApplication::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4
#27 0xb4e2cf09 in TGQt::NextEvent (this=0x87c17e8, event=…)
at /…/build/v5-28-00-patches-debug/graf2d/qt/src/GQtGUI.cxx:910
#28 0xb500cf66 in TGClient::ProcessOneEvent (this=0x891db18)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:598
#29 0xb500d0d5 in TGClient::HandleInput (this=0x891db18)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:647
#30 0xb500b158 in TGInputHandler::Notify (this=0x893b210)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:87
#31 0xb71e49a2 in TUnixSystem::DispatchOneEvent (this=0x82c73b0,
pendingOnly=false)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:930
#32 0xb714853d in TSystem::InnerLoop (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/base/src/TSystem.cxx:406
#33 0xb714831d in TSystem::Run (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/base/src/TSystem.cxx:356
#34 0xb70d4e14 in TApplication::Run (this=0x83a9258, retrn=false)
at /…/build/v5-28-00-patches-debug/core/base/src/TApplication.cxx:1052
#35 0xb662a11a in TRint::Run (this=0x83a9258, retrn=false)
at /…/build/v5-28-00-patches-debug/core/rint/src/TRint.cxx:431
#36 0x08048f45 in main (argc=1, argv=0xbf8ab734)
at /…/build/v5-28-00-patches-debug/main/src/rmain.cxx:29

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 0xb42d8ad5 in QWidget::paintEngine() const () from /usr/lib/libQtGui.so.4
#11 0xb446985b in QWidgetPrivate::repaint_sys(QRegion const&) ()
from /usr/lib/libQtGui.so.4
#12 0xb4284b3e in QWidgetPrivate::syncBackingStore() ()
from /usr/lib/libQtGui.so.4
#13 0xb428be76 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb4687fd3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb422d4dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /usr/lib/libQtGui.so.4
#16 0xb42340f9 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libQtGui.so.4
#17 0xb4cdca3b in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
from /usr/lib/libQtCore.so.4
#18 0xb4cdf473 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#19 0xb4cdf5dd in QCoreApplication::sendPostedEvents(QObject*, int) ()
from /usr/lib/libQtCore.so.4
#20 0xb4d08adf in ?? () from /usr/lib/libQtCore.so.4
#21 0xb2ac55e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0xb2ac92d8 in ?? () from /lib/libglib-2.0.so.0
#23 0xb2ac94b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0xb4d085d5 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4
#25 0xb42ed135 in ?? () from /usr/lib/libQtGui.so.4
#26 0xb4cdf841 in QCoreApplication::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4
#27 0xb4e2cf09 in TGQt::NextEvent (this=0x87c17e8, event=…)
at /…/build/v5-28-00-patches-debug/graf2d/qt/src/GQtGUI.cxx:910
#28 0xb500cf66 in TGClient::ProcessOneEvent (this=0x891db18)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:598
#29 0xb500d0d5 in TGClient::HandleInput (this=0x891db18)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:647
#30 0xb500b158 in TGInputHandler::Notify (this=0x893b210)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:87
#31 0xb71e49a2 in TUnixSystem::DispatchOneEvent (this=0x82c73b0,
pendingOnly=false)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:930
#32 0xb714853d in TSystem::InnerLoop (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/base/src/TSystem.cxx:406
#33 0xb714831d in TSystem::Run (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/base/src/TSystem.cxx:356
#34 0xb70d4e14 in TApplication::Run (this=0x83a9258, retrn=false)
at /…/build/v5-28-00-patches-debug/core/base/src/TApplication.cxx:1052
#35 0xb662a11a in TRint::Run (this=0x83a9258, retrn=false)
at /…/build/v5-28-00-patches-debug/core/rint/src/TRint.cxx:431
#36 0x08048f45 in main (argc=1, argv=0xbf8ab734)
at /…/build/v5-28-00-patches-debug/main/src/rmain.cxx:29

Root >
*** Break *** segmentation violation

===========================================================
There was a crash (kSigSegmentationViolation).
This is the entire stack trace of all threads:

#0 0xb7792430 in __kernel_vsyscall ()
#1 0xb63e27d3 in __waitpid_nocancel ()
at …/sysdeps/unix/syscall-template.S:82
#2 0xb6383de3 in do_system (line=)
at …/sysdeps/posix/system.c:149
#3 0xb64b327d in system (
line=0x9745fd0 “/…/root/v5-28-00-patches-debug/etc/gdb-backtrace.sh 31345 1>&2”) at pt-system.c:29
#4 0xb71e707f in TUnixSystem::Exec (this=0x82c73b0,
shellcmd=0x9745fd0 “/…/root/v5-28-00-patches-debug/etc/gdb-backtrace.sh 31345 1>&2”)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:2005
#5 0xb71e79fa in TUnixSystem::StackTrace (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:2227
#6 0xb71e5357 in TUnixSystem::DispatchSignals (this=0x82c73b0,
sig=kSigSegmentationViolation)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:1131
#7 0xb71e32c9 in SigHandler (sig=kSigSegmentationViolation)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:352
#8 0xb71eaedd in sighandler (sig=11)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:3496
#9
#10 0xb42be23b in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/libQtGui.so.4
#11 0xb42ed60a in ?? () from /usr/lib/libQtGui.so.4
#12 0xb2ac55e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#13 0xb2ac92d8 in ?? () from /lib/libglib-2.0.so.0
#14 0xb2ac94b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#15 0xb4d085d5 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4
#16 0xb42ed135 in ?? () from /usr/lib/libQtGui.so.4
#17 0xb4cdf841 in QCoreApplication::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4
#18 0xb4e2cf09 in TGQt::NextEvent (this=0x87c17e8, event=…)
at /…/build/v5-28-00-patches-debug/graf2d/qt/src/GQtGUI.cxx:910
#19 0xb500cf66 in TGClient::ProcessOneEvent (this=0x891db18)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:598
#20 0xb500d0d5 in TGClient::HandleInput (this=0x891db18)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:647
#21 0xb500b158 in TGInputHandler::Notify (this=0x893b210)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:87
#22 0xb71e49a2 in TUnixSystem::DispatchOneEvent (this=0x82c73b0,
pendingOnly=false)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:930
#23 0xb714853d in TSystem::InnerLoop (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/base/src/TSystem.cxx:406
#24 0xb714831d in TSystem::Run (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/base/src/TSystem.cxx:356
#25 0xb70d4e14 in TApplication::Run (this=0x83a9258, retrn=false)
at /…/build/v5-28-00-patches-debug/core/base/src/TApplication.cxx:1052
#26 0xb662a11a in TRint::Run (this=0x83a9258, retrn=false)
at /…/build/v5-28-00-patches-debug/core/rint/src/TRint.cxx:431
#27 0x08048f45 in main (argc=1, argv=0xbf8ab734)
at /…/build/v5-28-00-patches-debug/main/src/rmain.cxx:29

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 0xb42be23b in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/libQtGui.so.4
#11 0xb42ed60a in ?? () from /usr/lib/libQtGui.so.4
#12 0xb2ac55e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#13 0xb2ac92d8 in ?? () from /lib/libglib-2.0.so.0
#14 0xb2ac94b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#15 0xb4d085d5 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4
#16 0xb42ed135 in ?? () from /usr/lib/libQtGui.so.4
#17 0xb4cdf841 in QCoreApplication::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4
#18 0xb4e2cf09 in TGQt::NextEvent (this=0x87c17e8, event=…)
at /…/build/v5-28-00-patches-debug/graf2d/qt/src/GQtGUI.cxx:910
#19 0xb500cf66 in TGClient::ProcessOneEvent (this=0x891db18)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:598
#20 0xb500d0d5 in TGClient::HandleInput (this=0x891db18)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:647
#21 0xb500b158 in TGInputHandler::Notify (this=0x893b210)
at /…/build/v5-28-00-patches-debug/gui/gui/src/TGClient.cxx:87
#22 0xb71e49a2 in TUnixSystem::DispatchOneEvent (this=0x82c73b0,
pendingOnly=false)
at /…/build/v5-28-00-patches-debug/core/unix/src/TUnixSystem.cxx:930
#23 0xb714853d in TSystem::InnerLoop (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/base/src/TSystem.cxx:406
#24 0xb714831d in TSystem::Run (this=0x82c73b0)
at /…/build/v5-28-00-patches-debug/core/base/src/TSystem.cxx:356
#25 0xb70d4e14 in TApplication::Run (this=0x83a9258, retrn=false)
at /…/build/v5-28-00-patches-debug/core/base/src/TApplication.cxx:1052
#26 0xb662a11a in TRint::Run (this=0x83a9258, retrn=false)
at /…/build/v5-28-00-patches-debug/core/rint/src/TRint.cxx:431
#27 0x08048f45 in main (argc=1, argv=0xbf8ab734)
at /…/build/v5-28-00-patches-debug/main/src/rmain.cxx:29

Root >
*** Break *** segmentation violation

(… and so on … I needed to kill it with a Ctrl-C …)

Hi,

I have informed Valeri, our expert for the Qt GUI backend. I expect that he will answer soon.

Cheers, Axel.

“Friday? Monday? Right now?” :mrgreen:

Hi,

I can’t do more than ring his door bell. You might want to try a private message through the forum; his user name is “fine”.

Cheers, Axel.

Yes, this is the “known issue” #-o . It used to be caused by the clash between the version of the fontconfig used to build Qt and the fontconfig version used to build ROOT. To work ROOT application with “qt backend” should load the fonconfig the Qt was built against of.

Can you check that?
Normally Qt installation uses the fontcofig available from the target system “by default”.
What about ROOT (Axel may want to correct me). It uses the built-in version “by default”.
I am wondering if the mismatch of the “system” and "ROOT built-in version is the reason of your troubles

[quote=“Axel”]Hi,

I have informed Valeri, our expert for the Qt GUI backend. I expect that he will answer soon.

Cheers, Axel.[/quote]
Boom :blush: I got your message right now. I am reading the thread and will reply in 5 mins. Please [-o< be patient.

The stack

10 0xb5915e61 in ft_module_get_service () from /.../root/v5-28-00-patches-debug/lib/libGraf.so #11 0xb595da98 in t1_decoder_init () from /.../root/v5-28-00-patches-debug/lib/libGraf.so #12 0xb592acbf in T1_Load_Glyph () from /.../root/v5-28-00-patches-debug/lib/libGraf.so #13 0xb591a8b4 in FT_Load_Glyph () from /.../root/v5-28-00-patches-debug/lib/libGraf.so #14 0xb594c986 in af_loader_load_g () from /.../root/v5-28-00-patches-debug/lib/libGraf.so #15 0xb594e532 in af_autofitter_load_glyph () from /.../root/v5-28-00-patches-debug/lib/libGraf.so #16 0xb591a93f in FT_Load_Glyph () from /.../root/v5-28-00-patches-debug/lib/libGraf.so #17 0xb463880d in QFontEngineFT::loadGlyph(QFontEngineFT::QGlyphSet*, unsigned int, QFontEngineFT::GlyphFormat, bool) const () from /usr/lib/libQtGui.so.4 #18 0xb463a8d2 in QFontEngineFT::recalcAdvances(QGlyphLayout*, QFlags<QTextEngine::ShaperFlag>) const () from /usr/lib/libQtGui.so.4 #19 0xb4564582 in ?? () from /usr/lib/libQtGui.so.4 #20 0xb4d2f964 in ?? () from /usr/lib/libQtCore.so.4 #21 0xb4d32c16 in ?? () from /usr/lib/libQtCore.so.4 #22 0xb4d2df54 in ?? () from /usr/lib/libQtCore.so.4 #23 0xb4d34c4d in qShapeItem(HB_ShaperItem_*) () from /usr/lib/libQtCore.so.4 #24 0xb4596cc2 in QTextEngine::shapeTextWithHarfbuzz(int) const ()
shows that Qt Root layer tried to use the fontconfig that is built-in ROOT.
namely it is coming from "from /…/root/v5-28-00-patches-debug/lib/libGraf.so"
In my mind the font config was NOT a part of the libGraf.so .
I would like to know when libGraf and fontconfig were united?
ROOT used to load the fotnconfig from the dedicated shared lib
.

Anyway, I stand behind my first conclusion that the reason for the trouble is the fontconfig versions mismatch.
What about the remedy. In past it was sufficient to put the Qt-related fontconfig onto LD_LIBRARY_PATH.
I do not want to speculate further. First I would like one to confirm that the fontconfig is embedded into libGraph.so

[quote=“Pepe Le Pew”]VIVE L’AMOUR!
I am trying to get the newest ROOT “v5.28.00.patches” working on an Ubuntu 10.04.1 LTS (i686, gcc 4.4.3, QT 4.6.2).
I configured it enabling all [/quote] [-X [quote=“Pepe Le Pew”]possible options:

Enabled support for asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_freetype, builtin_glew, builtin_pcre, builtin_zlib, cintex, clarens, editline, exceptions, explicitlink, fftw3, gviz, gdml, genvector, gsl_shared, krb5, ldap, mathmore, memstat, minuit2, mysql, opengl, peac, pythia6, python, qt, qtgsi, reflex, roofit, ruby, rpath, shadowpw, shared, soversion, ssl, table, tmva, unuran, x11, xft, xml, xrootd.
. . . [/quote]
Can you remove :bulb: the builtin_freetype from the list of the option you applied to build ROOT to see whether it helps? ( Just in case my CERN office bldg. 591- R029, x 76533)

VIVE L’AMOUR!
many thanks for your reply.
Please note that I did remove all “builtin” libraries from ROOT:

but it still dies as described on “Tue Jan 11, 2011 18:03” above. ](*,)

What concerns the libGraf and the “builtin” fontconfig, I described it on “Tue Jan 11, 2011 14:16” above.
If “–enable-builtin-freetype” is in effect, static “{ROOTSYS}/lib/libfreetype.a" routines are linked into some ROOT shared libraries (e.g. into "{ROOTSYS}/lib/libGraf.so”). The “shared” version of libfreetype is NOT built at all.

A pitiful case, am I not?
Pepe Le Pew.

P.S. Just to make it explicit … here’s the “full configuration” of my root …

Enabled support for asimage, astiff, builtin_afterimage, cintex, clarens, editline, exceptions, explicitlink, fftw3, gviz, gdml, genvector, gsl_shared, krb5, ldap, mathmore, memstat, minuit2, mysql, opengl, peac, pythia6, python, qt, qtgsi, reflex, roofit, ruby, rpath, shadowpw, shared, soversion, ssl, table, tmva, unuran, x11, xft, xml, xrootd.

I need to see your latest call stack.
The feedback from the CERN ROOT team is needed as well.
The output of “ldd” utility made against of the ROOT as well as against of any standalone qt4 application may help as well.
I need to know whether they changed drastically the way the embed the font package in root between with the latest patch

What about the previous ROOT version (with no patch)? Did it work for you against of the same version of Qt?

I no longer run any “old” ROOT version, nor the “old” system.

… ROOT (configured with “–disable-builtin-*”) …

Doing “ldd /…/root/v5-28-00-patches/bin/root” gives:
linux-gate.so.1 => (0xb789e000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb786f000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb785f000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7741000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xb772d000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7637000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7611000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb75f2000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7498000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb747d000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7479000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7449000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb73d3000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb73c9000)
/lib/ld-linux.so.2 (0xb789f000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb73c4000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb73be000)
libz.so.1 => /lib/libz.so.1 (0xb73a9000)
libexpat.so.1 => /lib/libexpat.so.1 (0xb7382000)

Doing “ldd /…/root/v5-28-00-patches/bin/root.exe” gives:
linux-gate.so.1 => (0xb78b9000)
libCore.so.5.28 => /…/root/v5-28-00-patches/lib/libCore.so.5.28 (0xb7187000)
libCint.so.5.28 => /…/root/v5-28-00-patches/lib/libCint.so.5.28 (0xb6bb0000)
libMathCore.so.5.28 => /…/root/v5-28-00-patches/lib/libMathCore.so.5.28 (0xb69a9000)
libRint.so.5.28 => /…/root/v5-28-00-patches/lib/libRint.so.5.28 (0xb6978000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb6958000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6862000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb683c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb681c000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb6803000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb66a9000)
libz.so.1 => /lib/libz.so.1 (0xb6694000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb665c000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb662a000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb65f8000)
/lib/ld-linux.so.2 (0xb78ba000)

Doing “ldd /…/root/v5-28-00-patches/lib/libGraf.so” gives:
linux-gate.so.1 => (0xb784a000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7628000)
libz.so.1 => /lib/libz.so.1 (0xb7613000)
libHist.so.5.28 => /…/root/v5-28-00-patches/lib/libHist.so.5.28 (0xb71bf000)
libMatrix.so.5.28 => /…/root/v5-28-00-patches/lib/libMatrix.so.5.28 (0xb6f7d000)
libRIO.so.5.28 => /…/root/v5-28-00-patches/lib/libRIO.so.5.28 (0xb6dc5000)
libMathCore.so.5.28 => /…/root/v5-28-00-patches/lib/libMathCore.so.5.28 (0xb6bbe000)
libCore.so.5.28 => /…/root/v5-28-00-patches/lib/libCore.so.5.28 (0xb648e000)
libCint.so.5.28 => /…/root/v5-28-00-patches/lib/libCint.so.5.28 (0xb5eb7000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb5eb3000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb5dbd000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb5d97000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb5d78000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb5c1d000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb5be5000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb5bb4000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb5b82000)
/lib/ld-linux.so.2 (0xb784b000)

Doing “ldd /…/root/v5-28-00-patches/lib/libGui.so” gives:
linux-gate.so.1 => (0xb78aa000)
libGpad.so.5.28 => /…/root/v5-28-00-patches/lib/libGpad.so.5.28 (0xb70e3000)
libGraf.so.5.28 => /…/root/v5-28-00-patches/lib/libGraf.so.5.28 (0xb6f55000)
libRIO.so.5.28 => /…/root/v5-28-00-patches/lib/libRIO.so.5.28 (0xb6d9d000)
libMathCore.so.5.28 => /…/root/v5-28-00-patches/lib/libMathCore.so.5.28 (0xb6b96000)
libCore.so.5.28 => /…/root/v5-28-00-patches/lib/libCore.so.5.28 (0xb6466000)
libCint.so.5.28 => /…/root/v5-28-00-patches/lib/libCint.so.5.28 (0xb5e90000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb5e70000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb5d79000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb5d53000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb5d34000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb5bda000)
libHist.so.5.28 => /…/root/v5-28-00-patches/lib/libHist.so.5.28 (0xb5787000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb5710000)
libz.so.1 => /lib/libz.so.1 (0xb56fb000)
libMatrix.so.5.28 => /…/root/v5-28-00-patches/lib/libMatrix.so.5.28 (0xb54b9000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb5481000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb5450000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb541d000)
/lib/ld-linux.so.2 (0xb78ab000)

Doing “ldd /…/root/v5-28-00-patches/lib/libGQt.so” gives:
linux-gate.so.1 => (0xb77e3000)
libGui.so.5.28 => /…/root/v5-28-00-patches/lib/libGui.so.5.28 (0xb7054000)
libGpad.so.5.28 => /…/root/v5-28-00-patches/lib/libGpad.so.5.28 (0xb6f77000)
libGraf.so.5.28 => /…/root/v5-28-00-patches/lib/libGraf.so.5.28 (0xb6dea000)
libRint.so.5.28 => /…/root/v5-28-00-patches/lib/libRint.so.5.28 (0xb6db9000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb6b1f000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb60a3000)
libQt3Support.so.4 => /usr/lib/libQt3Support.so.4 (0xb5dc1000)
libQtOpenGL.so.4 => /usr/lib/libQtOpenGL.so.4 (0xb5cf3000)
libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0xb5c9b000)
libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb5c56000)
libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0xb4c34000)
libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb4b0d000)
libCore.so.5.28 => /…/root/v5-28-00-patches/lib/libCore.so.5.28 (0xb43dc000)
libCint.so.5.28 => /…/root/v5-28-00-patches/lib/libCint.so.5.28 (0xb3e06000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb3e02000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb3d0c000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb3ce6000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb3cc6000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb3b6c000)
libRIO.so.5.28 => /…/root/v5-28-00-patches/lib/libRIO.so.5.28 (0xb39b4000)
libMathCore.so.5.28 => /…/root/v5-28-00-patches/lib/libMathCore.so.5.28 (0xb37ad000)
libHist.so.5.28 => /…/root/v5-28-00-patches/lib/libHist.so.5.28 (0xb335a000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb32e3000)
libz.so.1 => /lib/libz.so.1 (0xb32ce000)
libMatrix.so.5.28 => /…/root/v5-28-00-patches/lib/libMatrix.so.5.28 (0xb308c000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb3073000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb306d000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb3063000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb2f99000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb2f69000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb2f52000)
libpng12.so.0 => /lib/libpng12.so.0 (0xb2f2d000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb2eed000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb2ee4000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb2ecb000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb2ec1000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb2eb1000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb2d94000)
libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0xb2d53000)
libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0xb2c9d000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb2c1a000)
libphonon.so.4 => /usr/lib/libphonon.so.4 (0xb2bc5000)
libQtXmlPatterns.so.4 => /usr/lib/libQtXmlPatterns.so.4 (0xb27aa000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb2771000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb2740000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb270e000)
/lib/ld-linux.so.2 (0xb77e4000)
libexpat.so.1 => /lib/libexpat.so.1 (0xb26e7000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb2693000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb268f000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb268a000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb2670000)
libatiuki.so.1 => /usr/lib/fglrx/libatiuki.so.1 (0xb2668000)
libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xb25ee000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb25e8000)

Doing “ldd /…/root/v5-28-00-patches/lib/libQtRoot.so” gives:
linux-gate.so.1 => (0xb76ee000)
libGui.so.5.28 => /…/root/v5-28-00-patches/lib/libGui.so.5.28 (0xb6ff3000)
libGQt.so.5.28 => /…/root/v5-28-00-patches/lib/libGQt.so.5.28 (0xb6f4e000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb6cb4000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6238000)
libQt3Support.so.4 => /usr/lib/libQt3Support.so.4 (0xb5f56000)
libQtOpenGL.so.4 => /usr/lib/libQtOpenGL.so.4 (0xb5e89000)
libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0xb5e31000)
libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb5deb000)
libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0xb4dc9000)
libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb4ca2000)
libCore.so.5.28 => /…/root/v5-28-00-patches/lib/libCore.so.5.28 (0xb4572000)
libCint.so.5.28 => /…/root/v5-28-00-patches/lib/libCint.so.5.28 (0xb3f9c000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb3f97000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb3ea1000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb3e7b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb3e5c000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb3d02000)
libGpad.so.5.28 => /…/root/v5-28-00-patches/lib/libGpad.so.5.28 (0xb3c25000)
libGraf.so.5.28 => /…/root/v5-28-00-patches/lib/libGraf.so.5.28 (0xb3a98000)
libRIO.so.5.28 => /…/root/v5-28-00-patches/lib/libRIO.so.5.28 (0xb38e0000)
libMathCore.so.5.28 => /…/root/v5-28-00-patches/lib/libMathCore.so.5.28 (0xb36d9000)
libRint.so.5.28 => /…/root/v5-28-00-patches/lib/libRint.so.5.28 (0xb36a8000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb368e000)
libz.so.1 => /lib/libz.so.1 (0xb3679000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb3673000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb366a000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb35a0000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb356f000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb3558000)
libpng12.so.0 => /lib/libpng12.so.0 (0xb3533000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb34bd000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb347e000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb3474000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb345b000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb3451000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb3441000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb3324000)
libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0xb32e4000)
libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0xb322d000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb31aa000)
libphonon.so.4 => /usr/lib/libphonon.so.4 (0xb3155000)
libQtXmlPatterns.so.4 => /usr/lib/libQtXmlPatterns.so.4 (0xb2d3a000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb2d02000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb2cd0000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb2c9e000)
/lib/ld-linux.so.2 (0xb76ef000)
libHist.so.5.28 => /…/root/v5-28-00-patches/lib/libHist.so.5.28 (0xb284b000)
libMatrix.so.5.28 => /…/root/v5-28-00-patches/lib/libMatrix.so.5.28 (0xb2609000)
libexpat.so.1 => /lib/libexpat.so.1 (0xb25e1000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb258e000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb258a000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb2585000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb256b000)
libatiuki.so.1 => /usr/lib/fglrx/libatiuki.so.1 (0xb2562000)
libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xb24e9000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb24e3000)

Doing “ldd /…/v5-28-00-patches/lib/libQtGSI.so” gives:
linux-gate.so.1 => (0xb772c000)
libGui.so.5.28 => /…/v5-28-00-patches/lib/libGui.so.5.28 (0xb6fff000)
libGpad.so.5.28 => /…/v5-28-00-patches/lib/libGpad.so.5.28 (0xb6f22000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb6c88000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb620c000)
libQt3Support.so.4 => /usr/lib/libQt3Support.so.4 (0xb5f2a000)
libQtOpenGL.so.4 => /usr/lib/libQtOpenGL.so.4 (0xb5e5d000)
libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0xb5e05000)
libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb5dbf000)
libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0xb4d9d000)
libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb4c76000)
libCore.so.5.28 => /…/v5-28-00-patches/lib/libCore.so.5.28 (0xb4546000)
libCint.so.5.28 => /…/v5-28-00-patches/lib/libCint.so.5.28 (0xb3f70000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb3f6b000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb3e75000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb3e4f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb3e30000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb3cd6000)
libGraf.so.5.28 => /…/v5-28-00-patches/lib/libGraf.so.5.28 (0xb3b48000)
libRIO.so.5.28 => /…/v5-28-00-patches/lib/libRIO.so.5.28 (0xb3990000)
libMathCore.so.5.28 => /…/v5-28-00-patches/lib/libMathCore.so.5.28 (0xb3789000)
libHist.so.5.28 => /…/v5-28-00-patches/lib/libHist.so.5.28 (0xb3336000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb331d000)
libz.so.1 => /lib/libz.so.1 (0xb3307000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb3301000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb32f8000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb322e000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb31fe000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb31e6000)
libpng12.so.0 => /lib/libpng12.so.0 (0xb31c1000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb314b000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb310c000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb3103000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb30e9000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb30df000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb30cf000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb2fb2000)
libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0xb2f72000)
libGL.so.1 => /usr/lib/fglrx/libGL.so.1 (0xb2ebc000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb2e38000)
libphonon.so.4 => /usr/lib/libphonon.so.4 (0xb2de3000)
libQtXmlPatterns.so.4 => /usr/lib/libQtXmlPatterns.so.4 (0xb29c8000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb2990000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb295f000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb292c000)
/lib/ld-linux.so.2 (0xb772d000)
libMatrix.so.5.28 => /…/v5-28-00-patches/lib/libMatrix.so.5.28 (0xb26ea000)
libexpat.so.1 => /lib/libexpat.so.1 (0xb26c3000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb2670000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb266b000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb2666000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb264c000)
libatiuki.so.1 => /usr/lib/fglrx/libatiuki.so.1 (0xb2644000)
libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xb25cb000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb25c4000)

… STANDALONE QT4 APPLICATIONS …

Doing “ldd /usr/bin/qsynth” gives:
linux-gate.so.1 => (0xb782a000)
libfluidsynth.so.1 => /usr/lib/libfluidsynth.so.1 (0xb774d000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7734000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6cb7000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb6a39000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6943000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb691d000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb68fe000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb67a4000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb6686000)
liblash.so.2 => /usr/lib/liblash.so.2 (0xb667b000)
libreadline.so.6 => /lib/libreadline.so.6 (0xb6647000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb660f000)
libjack.so.0 => /usr/lib/libjack.so.0 (0xb65f5000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb652d000)
libpulse-simple.so.0 => /usr/lib/libpulse-simple.so.0 (0xb6527000)
libpulse.so.0 => /usr/lib/libpulse.so.0 (0xb64e5000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb64df000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb64d6000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb640c000)
libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0xb63a3000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb639f000)
/lib/ld-linux.so.2 (0xb782b000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb636f000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb6358000)
libpng12.so.0 => /lib/libpng12.so.0 (0xb6333000)
libz.so.1 => /lib/libz.so.1 (0xb631d000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb62a7000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6268000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb625f000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb6246000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb623b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb622b000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6211000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb620c000)
libreadline.so.5 => /lib/libreadline.so.5 (0xb61db000)
libpulsecommon-0.9.21.so => /usr/lib/libpulsecommon-0.9.21.so (0xb618f000)
libXtst.so.6 => /usr/lib/libXtst.so.6 (0xb6189000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb6158000)
libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb610b000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb600f000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb5fe6000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb5fde000)
libexpat.so.1 => /lib/libexpat.so.1 (0xb5fb7000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb5f64000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb5f60000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb5f5a000)
libwrap.so.0 => /lib/libwrap.so.0 (0xb5f50000)
libdbus-1.so.3 => /lib/libdbus-1.so.3 (0xb5f17000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb5f09000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb5ef2000)

Doing “ldd /usr/bin/qjackctl.bin” gives:
linux-gate.so.1 => (0xb77e6000)
libjack.so.0 => /usr/lib/libjack.so.0 (0xb77ae000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb76e6000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb76cc000)
libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb7687000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6c0b000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb698d000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6897000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb6871000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6851000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb66f7000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb65da000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb65d1000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb65cd000)
/lib/ld-linux.so.2 (0xb77e7000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb659c000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb6585000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb64bb000)
libpng12.so.0 => /lib/libpng12.so.0 (0xb6496000)
libz.so.1 => /lib/libz.so.1 (0xb6481000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb640b000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb63cb000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb63c2000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb63a9000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb639f000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb638f000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb6388000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb636e000)
libexpat.so.1 => /lib/libexpat.so.1 (0xb6347000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb62f4000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb62f0000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb62be000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb62b9000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb62b3000)

Thank you. I’ll be capable to check this tomorrow morning.
Mean time, Can you try to install Qt Root follow the
root.bnl.gov/QtRoot/How2Install4 … complement ?
Thank you.

VIVE L’AMOUR!
I built “qtRoot” and took some tests of “qtRoot/qtExamples”.

  1. … 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

  1. … 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”


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.28/00 14 December 2010 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

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 …)

I’ve rebuilt everything from the scratch and found no problem (yet).

[code][localhost] /home/fine/public/ROOT/5.28 > root.exe


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.28/00 14 December 2010 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      http://root.cern.ch            *
    
  •                                     *
    

ROOT 5.28/00 (branches/v5-28-00-patches@38157, Feb 20 2011, 04:20:20 on linuxx8664gcc)

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 TCanvas
** Id: TGQt.cxx 3566 2010-09-21 20:34:17Z fine@BNL.GOV this=0x1fc6f740
Symbol font family found: “Standard Symbols L”
TQtMmlTextProxy activated
(class TCanvas*)0x20060580[/code]To move on. Please, do no pollute the forum with many different tests. Stick with “new TCanvas”.If that doesnot work there is no reason to try anything further. Next, you show what you get. You did not show what you did. Therefore, I do not know what you did wrong to advise. Please, [-o< describe what you did, “step by step”. I still suspect #-o you created some sort of mixing env with several different [-X Qt/Root/Fontconfig/whatever on your LD_LIBRARY_PATH

What did I do? I did
[list] - download http://root.bnl.gov/QtRoot/INSTALL_QTROOT.sh

  • make it executable “chmod +x INSTALL_QTROOT.sh”
  • edit it to change the Qt and ROOT versions to be Qt 4.7.1 and ROOT 5.28patches
  • run the script to build the new version of Qt and the new version of ROOT. (to make it faster I disabled the “Coin3d build”
  • test the installation: root.bnl.gov/QtRoot/How2Install4Unix.html#long . Even though the installation does take time the experience says it does save :bulb: the time. It takes the computer time and drastically reduces (eliminates) the guess job.
    That’s.

VIVE L’AMOUR!
on your demand of “Wed Feb 16, 2011 1:58” in this thread, I “complemented” my existing ROOT installation (built with “–enable-qt --enable-qtgsi”, installed into “/…/root/v5-28-00-patches/”) with your qtFullRoot (built according to point “3.” of your “How2Install4Unix.html”, installed into a dedicated subdirectory “/…/qtRoot/”).
Afterwards, I built your “qtRoot/qtExamples” (according to the point “4. Test” of your “How2Install4Unix.html”) and ran the newly built tests. This is described in my post of “Wed Feb 16, 2011 14:52” in this thread.
As shown there, the “CustomCanvasMenu” example dies right after start, while the “HelloWord” example exhibits the same problem with “new TBrowser()” as the “standard root”. The latter has been described in my post of “Tue Jan 11, 2011 18:03” in this thread (note that I explicitly say there that “new TCanvas()” is NOT sufficient to demonstrate the existing problem).
The presented “output” of my trials always shows what I run, how I run it and what I get (and the included “stack traces” show full paths to the involves shared libraries, in case somebody has any concerns about LD_LIBRARY_PATH).
Once again, there is no need to install qtFullRoot in order to see the problem. The “standard root” configured with “–enable-qt --enable-qtgsi” (and if you’re really hard try also to “–enable-builtin-freetype”), plus a “.rootrc” containing “Gui.Backend: qt” and “Gui.Factory: qt” is sufficient (see my first post in this thread of “Sun Jan 09, 2011 18:20” and then of "Tue Jan 11, 2011 14:16 " and finally of “Tue Jan 11, 2011 18:03”).
If nobody else sees this problem now, I consider this thread closed. I can wait. :mrgreen:
I am stupid. No?
Pepe Le Pew.

P.S. Just to make it explicit … here’s the current “configuration” of my root (v5-28-00-patches, checked out revision 38007 on 2011.02.08 at around 17:44 UTC, on a Ubuntu 10.04.2 LTS i686 with gcc 4.4.3) …

Enabled support for asimage, astiff, builtin_afterimage, cintex, clarens, editline, exceptions, explicitlink, fftw3, gviz, gdml, genvector, gsl_shared, krb5, ldap, mathmore, memstat, minuit2, mysql, opengl, peac, pythia6, python, qt, qtgsi, reflex, roofit, ruby, rpath, shadowpw, shared, soversion, ssl, table, tmva, unuran, x11, xft, xml, xrootd.

[quote=“Pepe Le Pew”]Once again, there is no need to install qtFullRoot in order to see the problem[/quote]This is not what I said. I said I do not see the problem. I recommended you the full installation to save the time and eliminate the guess job . So far you opted to ignore it. [quote=“Pepe Le Pew”]If nobody else sees this problem now, [/quote]I do agree that the installation of ROOT with option you originally applied should be sufficient and something has to be fixed . However, I have no your env. to reproduce your “use case” and to see your problem. [quote=“Pepe Le Pew”]I consider this thread closed. I can wait. [/quote]It is not clear what you are going to wait for? Do you need that functionality or not ? If you need the working version you should try to apply the recommended approach. It had helped many others. (just search the forum). It should help you too. [quote=“Pepe Le Pew”] I “complemented” my existing ROOT installation (built with “–enable-qt --enable-qtgsi”, installed into “/…/root/v5-28-00-patches/”) with your qtFullRoot (built according to point “3.” of your “How2Install4Unix.html”, installed into a dedicated subdirectory “/…/qtRoot/”).[/quote]I am sorry, that the page is not clear enough yet. What you did is NOT correct. Speaking “complement” I meant the ROOT installation that was done with Qt disabled. The “complement” means adding the Qt-layer to the “Qt-less” ROOT installation.[quote=“Pepe Le Pew”]I am stupid. No?[/quote]Try to apply the full installation. As I said it ought to eliminate a lot of guess job (See your own example above) . The script was written by QtROOT users, it have been polished by many other QtROOT users for the new generation of QtRoot users.