[Qt-interest] Fwd: QT OpenCascade application Problem

Srdjan Todorovic todorovic.s at googlemail.com
Thu Nov 26 14:54:51 CET 2009


Hi,

On 26/11/2009, Sujan Dasmahapatra <sujan.dasmahapatra at gmail.com> wrote:
> On Thu, Nov 26, 2009 at 4:54 PM, Sujan Dasmahapatra <
> sujan.dasmahapatra at gmail.com> wrote:
>
>> yes srdjan thanx now its working i am getting some errors even when i
>> debug
>> the sample opencascade.The sample after compilation is not working when i
>> debug i am its crashing at this line.

>> static Handle(Graphic3d_GraphicDevice) defaultdevice;

What is this? Is this a variable or a pointer?

>>     if( defaultdevice.IsNull() )
>>         defaultdevice = new Graphic3d_GraphicDevice( aDisplay );  // here
>> its crashing

Because that does not seem OK if defaultdevice is not a pointer.

Also, SegfaultFaultFinding rules apply.

So:
   - full stack frame trace
   - printouts of any relevant variables (at least defaultdevice and aDisplay)

You can use this information to diagnose the problem.

Srdjan


>> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>> //errors
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x0000002a95685323 in Handle_Standard_Transient::EndScope ()
>>    from /share/apps/OpenCASCADE6.3.0/Linux/lib/libTKernel.so.0



More information about the Qt-interest-old mailing list