Who is known what is this bug?

Hi everyone!!!
I running Ubuntu on VMware. I used root to gamma spectrum analysis. When i call “TBrowser b” , the root command output
*** Break *** segmentation violation
#0 0xb76dfcb0 in ?? ()


I need to how to fix this bug?
Thank so much!!!

Or, yes, it’s a known problem!
Details (some) are here: en.wikipedia.org/wiki/Segmentation_fault

I need to how to fix this bug?

Well, there are different ways. Sometimes debugger can help, sometimes - looking at the code, sometimes - running the code again and again (probably with debugger), sometimes printing debug messages can help.
More info about how to fix this bug can be found here:

en.wikipedia.org/wiki/Debugging

Thank so much!!!

You are welcome!!! :slight_smile:

Timur is right :slight_smile:

But if you want us to help you a bit more you should post a little piece of code reproducing the seg-fault you get …
Very likely just typing “TBrowser b” is not enough to produce this…

I assume this is the same problem: Illegal pointer to class object back 0x0 165

Notes:

  1. Always try to precompile your macro using ACLiC, in order to find source code problems, e.g. try something like (inspect all reported warnings and errors):
    root [0] .L YourRootMacro.cxx++
  2. You can “debug” many problems using “valgrind”. See, for example: Segmentation Fault depending on linux distribution

Note also that ROOT 6 is much better “to find source code problems”.

Hi,

I see no problem running ROOT 6.07/07 on a Linux Mint 17.1 instance in VMWare

[code]bellenot@bellenot-virtual-machine ~/rootdev $ root

| Welcome to ROOT 6.07/07 http://root.cern.ch |
| © 1995-2016, The ROOT Team |
| Built for linuxx8664gcc |
| From heads/master@v6-07-06-126-g713fd29, Apr 14 2016, 11:01:00 |

Try ‘.help’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/’.q’

root [0] TBrowser b
(TBrowser &) Name: Browser Title: ROOT Object Browser
root [1]
[/code]
So please tell us exactly what you are using (i.e. The exact version of ROOT, Ubuntu , VMWare)

Cheers, Bertrand.