qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt-interest] Fwd: QT OpenCascade application Problem

Subject: Re: [Qt-interest] Fwd: QT OpenCascade application Problem
From: Srdjan Todorovic
Date: Thu, 26 Nov 2009 13:54:51 +0000
Hi,

On 26/11/2009, Sujan Dasmahapatra <sujan.dasmahapatra@xxxxxxxxx> wrote:
> On Thu, Nov 26, 2009 at 4:54 PM, Sujan Dasmahapatra <
> sujan.dasmahapatra@xxxxxxxxx> 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
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest

<Prev in Thread] Current Thread [Next in Thread>