# Who is known what is this bug?

**URL:** <https://root-forum.cern.ch/t/who-is-known-what-is-this-bug/21117>\
**Category:** ROOT\
**Created:** [May 11, 2016, 2:13am UTC](https://root-forum.cern.ch/t/who-is-known-what-is-this-bug/21117 "2016-05-11T02:13:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wukong](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/w/8491ac/32.png) [@Wukong](https://root-forum.cern.ch/u/Wukong)\
**Post date:** [May 11, 2016, 2:13am UTC](https://root-forum.cern.ch/t/who-is-known-what-is-this-bug/21117/1 "2016-05-11T02:13:28Z")

</div>

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!!!

---

<div class="post-metadata">

**Author:** ![tpochep](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/f05b48/32.png) [@tpochep](https://root-forum.cern.ch/u/tpochep)\
**Post date:** [May 11, 2016, 5:16am UTC](https://root-forum.cern.ch/t/who-is-known-what-is-this-bug/21117/2 "2016-05-11T05:16:38Z")

</div>

Or, yes, it’s a known problem!  
Details (some) are here: [en.wikipedia.org/wiki/Segmentation\_fault](https://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](https://en.wikipedia.org/wiki/Debugging)

> Thank so much!!!

You are welcome!!! 🙂

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [May 11, 2016, 7:07am UTC](https://root-forum.cern.ch/t/who-is-known-what-is-this-bug/21117/3 "2016-05-11T07:07:40Z")

</div>

Timur is right 🙂

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…

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [May 11, 2016, 12:22pm UTC](https://root-forum.cern.ch/t/who-is-known-what-is-this-bug/21117/4 "2016-05-11T12:22:39Z")

</div>

I assume this is the same problem: [Illegal pointer to class object back 0x0 165](https://root-forum.cern.ch/t/illegal-pointer-to-class-object-back-0x0-165/21084/12)

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](https://root-forum.cern.ch/t/segmentation-fault-depending-on-linux-distribution/18020/6)

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [May 11, 2016, 12:29pm UTC](https://root-forum.cern.ch/t/who-is-known-what-is-this-bug/21117/5 "2016-05-11T12:29:46Z")

</div>

> [@](#):
>
> 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++

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

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [May 11, 2016, 12:48pm UTC](https://root-forum.cern.ch/t/who-is-known-what-is-this-bug/21117/6 "2016-05-11T12:48:40Z")

</div>

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](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.
