|Message: Re: cadmesh can't work in geant 10.3||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Dear Liu Yi Cong, The information that you provide is not enough in order to offer advice on how to address your issue. As CADmesh is an external library, built on top of Geant4, it is difficult to know what component is responsible for the problem that you report. In order to provide you in depth help, you will need to provide at least the call stack of the program which experienced the crash. At the moment I can only offer a guess about the potential cause, and suggestions for providing more information. If you are running the program in Xcode (or a similar IDE) it should be possible to find the call stack of code at the moment when the problem occurred. For example you can use the window which allows you to enter debugging commands to issue the command "backtrace" or "bt" if it is Xcode, or "where" if it is a gdb-based debugger in that environment. To get the most information, you will need to have all relevant source code compiled using debug mode, so that you can inspect the source code of the method/function in which the problem occurs. That way it could be possible to provide better suggestions about how to address it. If the window pane that you provide is accurate, and the problem happens in that line (68), then it seems to occur in CADmesh, in which case it is difficult to see how we (Geant4 developers) could help you. You would have to see whether the CADmesh developers could address this issue. Probably the best advice to you for the short term would be to move back to Geant4 10.2, but try to keep a separate extra installation of Geant4 10.3 as well with which to test CADmesh and your application against, in order to try to resolve the problem. ( It is easy to have multiple installations of Geant4 at the same time, and even to use the same directory with your application's source code, so long as the build areas when using the different Geant4 releases are separate.) Best regards, John On 22.06.17 05:47, yicong liu wrote: > *** Discussion title: Geometry > > Dear geant4 users and developers: > > Cadmesh work fine (maybe have memory leak) in geant 10.2. However, when > I update Geant to 10.3, the basic example(contained in cadmesh) is > crased. The screenshot is here. > > My programming level is not high, so I can't handle it by myself. > > Appreciate your help in advance. > Liu Yi Cong > > Attachment: > http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2017/06/21/20.44-44527-2017-06-22_11-36-31.png > > ------------------------------------------------------------- > Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: > http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1537.html
|Inline Depth:||Outline Depth:||Add message:|