From: pramod (pramod++at++students.iiit.net)
Date: 11/24/2003 22:41:39
hi,
thanks for the reply. I got over the arithmetic exception in gdb. But my
program crashed right after that again. This time in
pfChannel::pf_computeStress(int).
I am giving the gdb output below. Please suggest how i can eliminate this
problem.
Pramod.
---------------------------------------------------------------------------------
(gdb) run -pdb Input/benzene.pdb
Starting program: /root/molecularvisualizer/main -pdb Input/benzene.pdb
[New Thread 1123223872 (LWP 31510)]
Came here to the end
[New Thread 1198992576 (LWP 31517)]
PF
================================================
PF = OpenGL Performer 3.1
=
PF = EARLY ACCESS
=
PF = DEMO EDITION
=
PF
================================================
PF = For information about purchasing the
full =
PF = OpenGL Performer product, visit
=
PF =
http://www.sgi.com/software/performer/ =
PF
================================================
[Thread 1198992576 (LWP 31517) exited]
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 1123223872 (LWP 31510)]
0x478aeda7 in _mesa_test_os_sse_exception_support () from
/usr/X11R6/lib/modules/dri/i830_dri.so
(gdb) cont
Continuing.
PF Notice: pfChooseFBConfig: failed to make
configuration matching specified attributes
PF Notice: Using nanHz video rate.
Program received signal SIGSEGV, Segmentation fault.
0x40411a74 in pfChannel::pf_computeStress(int) () from /usr/lib/libpf.so.4
(gdb) backtrace
#0 0x40411a74 in pfChannel::pf_computeStress(int) () from
/usr/lib/libpf.so.4
#1 0x4040cf0b in pfChannel::pf_computeLODMult(int) () from
/usr/lib/libpf.so.4
#2 0x40560cc4 in pfFrame () from /usr/lib/libpf.so.4
#3 0x08050c9d in molecularVisualizer::execute() ()
#4 0x0804c526 in main ()
#5 0x42d6e574 in __libc_start_main () from /lib/tls/libc.so.6
(gdb)
--------------------------------------------------------------------------------
On Mon, 24 Nov 2003, Tijs Zwinkels wrote:
> Hey pramod,
>
> what shows in your output is not a segfault, and probably not a performer
> fault either.
>
> Gdb catches a 'arithmetic exception' in a function of your video driver.
> Looking at the function name, the video-driver is probably just trying the
> capabilities of your system.
>
> I've seen these before, and they are harmless in this case. You can just
> 'cont' after this.
>
> If you don't want to be bothered by this signal again, you can type
> 'handle sigfpe nostop' in gdb. Please remember that this also turns off
> stopping at other arithmetic exceptions.
>
> Hope this helped,
> Tijs Zwinkels
>
> pramod said:
> > hi,
> >
> > i am running Performer 3.1 Beta version on an Intel celeron pc ( with
> > onboard graphics card ). My OS is RedHat 9.0. I have the opengl Shader 3.1
> > installed.
> >
> > When i tried to run my application, a segmentation fault occured. I am
> > giving the output of gdb below.
> >
> > ------------------------------------------------------------------------
> > gdb) run -pdb Input/benzene.pdb
> > Starting program: /root/molecularvisualizer/main -pdb Input/benzene.pdb
> > [New Thread 1123223872 (LWP 29683)]
> > Came here to the end
> > [New Thread 1198992576 (LWP 29690)]
> > PF
> > ================================================
> > PF = OpenGL Performer 3.1
> > =
> > PF = EARLY ACCESS
> > =
> > PF = DEMO EDITION
> > =
> > PF
> > ================================================
> > PF = For information about purchasing the
> > full =
> > PF = OpenGL Performer product, visit
> > =
> > PF =
> > http://www.sgi.com/software/performer/ =
> > PF
> > ================================================
> > [Thread 1198992576 (LWP 29690) exited]
> >
> > Program received signal SIGFPE, Arithmetic exception.
> > [Switching to Thread 1123223872 (LWP 29683)]
> > 0x478aeda7 in _mesa_test_os_sse_exception_support () from
> > /usr/X11R6/lib/modules/dri/i830_dri.so
> > (gdb)
> >
> > ------------------------------------------------------------------------------
> >
> >
> > Could anybody tell me what the problem is ?
> >
> > Thank you,
> > Pramod.
> >
> > -----------------------------------------------------------------------
> > List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> > Open Development Project: http://oss.sgi.com/projects/performer/
> > Submissions: info-performer++at++sgi.com
> > Admin. requests: info-performer-request++at++sgi.com
> > -----------------------------------------------------------------------
> > I/ITSEC 2003 Friends of Performer Meeting:
> > Wednesday December 03, 6:30-8:30pm, Peabody Hotel, Florida I Ballroom
> > -----------------------------------------------------------------------
> >
> >
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
> I/ITSEC 2003 Friends of Performer Meeting:
> Wednesday December 03, 6:30-8:30pm, Peabody Hotel, Florida I Ballroom
> -----------------------------------------------------------------------
>
---------------------------------------------------------------------------
Ad astra per aspera[To the stars by aspiration.]
This archive was generated by hypermail 2b29 : Mon Nov 24 2003 - 23:37:36 PST