Search makes the editor crash in TBrowser

Hello,

it looks like the search function in the TGEditor has a problem. I get
a crash when trying to search some text in the editor of the new TBrowser and Root 5.26.

Please see below:

*** Break *** segmentation violation

===========================================================
There was a crash (#7 0xb71d958d in SigHandler () from /usr/local/lib/root/libCore.so).
This is the entire stack trace of all threads:

#0 0xb7769430 in __kernel_vsyscall ()
#1 0xb65993c3 in waitpid () from /lib/tls/i686/cmov/libc.so.6
#2 0xb653357b in ?? () from /lib/tls/i686/cmov/libc.so.6
#3 0xb666b4fd in system () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb71d278d in TUnixSystem::Exec () from /usr/local/lib/root/libCore.so
#5 0xb71d87fd in TUnixSystem::StackTrace ()
from /usr/local/lib/root/libCore.so
#6 0xb71d948d in TUnixSystem::DispatchSignals ()
from /usr/local/lib/root/libCore.so
#7 0xb71d958d in SigHandler () from /usr/local/lib/root/libCore.so
#8 0xb71cf902 in sighandler () from /usr/local/lib/root/libCore.so
#9
#10 0xb656b672 in free () from /lib/tls/i686/cmov/libc.so.6
#11 0xb6765231 in operator delete () from /usr/lib/libstdc++.so.6
#12 0xb676528d in operator delete[] () from /usr/lib/libstdc++.so.6
#13 0xb524a71e in TGSearchDialog::ProcessMessage ()
from /usr/local/lib/root/libGui.so
#14 0xb519c556 in TGFrame::HandleClientMessage ()
from /usr/local/lib/root/libGui.so
#15 0xb519c58c in TGMainFrame::HandleClientMessage ()
from /usr/local/lib/root/libGui.so
#16 0xb519c9ba in TGFrame::HandleEvent () from /usr/local/lib/root/libGui.so
#17 0xb515d8fd in TGClient::HandleEvent () from /usr/local/lib/root/libGui.so
#18 0xb515e364 in TGClient::ProcessOneEvent ()
from /usr/local/lib/root/libGui.so
#19 0xb515e3dd in TGClient::HandleInput () from /usr/local/lib/root/libGui.so
#20 0xb515e410 in TGInputHandler::Notify () from /usr/local/lib/root/libGui.so
#21 0xb71d6a2f in TUnixSystem::DispatchOneEvent ()
from /usr/local/lib/root/libCore.so
#22 0xb7145701 in TSystem::InnerLoop () from /usr/local/lib/root/libCore.so
#23 0xb714866b in TSystem::Run () from /usr/local/lib/root/libCore.so
#24 0xb70db697 in TApplication::Run () from /usr/local/lib/root/libCore.so
#25 0xb67ae8e0 in TRint::Run () from /usr/local/lib/root/libRint.so
#26 0x08048ec5 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 0xb656b672 in free () from /lib/tls/i686/cmov/libc.so.6
#11 0xb6765231 in operator delete () from /usr/lib/libstdc++.so.6
#12 0xb676528d in operator delete[] () from /usr/lib/libstdc++.so.6
#13 0xb524a71e in TGSearchDialog::ProcessMessage ()
from /usr/local/lib/root/libGui.so
#14 0xb519c556 in TGFrame::HandleClientMessage ()
from /usr/local/lib/root/libGui.so
#15 0xb519c58c in TGMainFrame::HandleClientMessage ()
from /usr/local/lib/root/libGui.so
#16 0xb519c9ba in TGFrame::HandleEvent () from /usr/local/lib/root/libGui.so
#17 0xb515d8fd in TGClient::HandleEvent () from /usr/local/lib/root/libGui.so
#18 0xb515e364 in TGClient::ProcessOneEvent ()
from /usr/local/lib/root/libGui.so
#19 0xb515e3dd in TGClient::HandleInput () from /usr/local/lib/root/libGui.so
#20 0xb515e410 in TGInputHandler::Notify () from /usr/local/lib/root/libGui.so
#21 0xb71d6a2f in TUnixSystem::DispatchOneEvent ()
from /usr/local/lib/root/libCore.so
#22 0xb7145701 in TSystem::InnerLoop () from /usr/local/lib/root/libCore.so
#23 0xb714866b in TSystem::Run () from /usr/local/lib/root/libCore.so
#24 0xb70db697 in TApplication::Run () from /usr/local/lib/root/libCore.so
#25 0xb67ae8e0 in TRint::Run () from /usr/local/lib/root/libRint.so
#26 0x08048ec5 in main ()

Thanks,

Bertrand Roessli

Hi Bertrand,

I cannot reproduce the problem with the svn trunk version of ROOT. Could you try with a more recent version (e.g. 5.27.06) and let me know?

Cheers, Bertrand.

Hello,

I tried with root5.27.06 and it works fine.

nice day,

Bertrand

Hi,
Good! Many thanks for the feedback!
Cheers, Bertrand.