Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] Crash on exit of bin/manta with SVN checkout from today


Chronological Thread 
  • From: James Bigler <bigler@sci.utah.edu>
  • To: Piotr Dubla <P.B.Dubla@warwick.ac.uk>
  • Cc: manta@sci.utah.edu
  • Subject: Re: [Manta] Crash on exit of bin/manta with SVN checkout from today
  • Date: Wed, 03 Oct 2007 12:28:05 -0600

OK, I've finally been able to reproduce the crash with:

bin/manta -np 2 -nodisplaybench

I've recently been made aware of a problem with decreasing the number of threads while rendering. I have a sneaking suspicion that these issues are connected. Now that I can reproduce them, I have a chance of fixing them.

Thanks for bringing this issue to our attention.

I just realized, that in the future having the exact command line that causes the problem would be great to have when reporting problems.

Thanks again,
James

Piotr Dubla wrote:
Hi James / Prof. Parker

James I'm at home now but the problem still persists even on a slightly different build, output you requested is below:

Revision information:
Path: /home/pdubla/Projects/Manta
URL: https://code.sci.utah.edu/svn/Manta/trunk
Repository Root: https://code.sci.utah.edu/svn/Manta
Repository UUID: b44e116d-4df4-0310-a041-f0ddff0d58d6
Revision: 1751
Node Kind: directory
Schedule: normal
Last Changed Author: thiago
Last Changed Rev: 1751
Last Changed Date: 2007-10-01 20:56:21 +0100 (Mon, 01 Oct 2007);

;Build Type: ;Release;
;Compiler:   ;/usr/bin/g++;

Also just got the a new SVN version (19:40 BST 2nd Oct, rev 1754) and it has exactly the problem.

Prof. Parker I've compiled the debug version of Manta and gotten the info you needed, seems like it crashes on an invalid pointer:

*** glibc detected *** /home/pdubla/Projects/Manta-new/build/bin/manta: free(): invalid pointer: 0xb758d150 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb74b67cd]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb74b9e30]
/home/pdubla/Projects/Manta/build/lib/libManta_Core.so(_ZN5Manta13ThreadStorage15allocateStorageEi+0x3f)[0xb7c3c597]
/home/pdubla/Projects/Manta/build/lib/libManta_Engine.so(_ZN5Manta4RTRT18internalRenderLoopEib+0xbc4)[0xb7e4dc8e]
/home/pdubla/Projects/Manta/build/lib/libManta_Engine.so(_ZN5Manta4RTRT6Worker3runEv+0x38)[0xb7e4ef0e]
/home/pdubla/Projects/Manta/build/lib/libSCIRun_Core.so(_ZN6SCIRun6Thread8run_bodyEv+0x29)[0xb7bf3a99]
/home/pdubla/Projects/Manta/build/lib/libSCIRun_Core.so[0xb7bfc010]
/home/pdubla/Projects/Manta/build/lib/libSCIRun_Core.so[0xb7bff6fa]
/lib/tls/i686/cmov/libpthread.so.0[0xb7bc231b]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb751e57e]

That's the backtrace out the thread as it crashes, leaves everything in a rather peculiar state on my AMD machine at home to the point where I can't run anything else to get you better info, hope it helps.
Cheers,
Piotr

Steven G. Parker wrote:
James, I was helping Marty track down a crash on exit in SCIRun (they share the same thread library, Piotr). It appeared to be a bug in Linux but Marty found a fix. This sounds like the same symptoms so you might ask him about it.

Piotr - any chance you could run it in gdb and send us the output of "bt" when it dies?

Steve


On Oct 2, 2007, at 9:11 AM, James Bigler wrote:

Piotr Dubla wrote:
Hi
Using gcc/g++ 4.1.2 under Linux and having checked out the latest SVN version this morning bin/manta seems to crash on exit whenever number of threads used is greater than 1. Anybody else experiencing this or is it just me? Was running benchmarks on certain additions and this causes massive issues because as soon as the benchmark quits everything goes down bad (have to kill the process manually). This happens with imagedisplay and UI set to null as well.

I haven't seen this, but I'll test things again this morning.

Machine is a dual-core Prescott (one of the old ones) and its known to be .. well special in its behaviour so will test on our Apple and my AMD at home and will report results here. Was unsure where to report things like this so if there is bug reporting system up if someone could point me to it would appreciate it.

This is the right place to send issues like this. All the users and developers are subscribed to this mailing list.

If you could also send me the chunk of the output from "bin/manta -help" that looks like this, it would be appreciated.

Revision information:
Path: /home/James/manta/trunk/src
URL: https://code.sci.utah.edu/svn/Manta/trunk
Repository Root: https://code.sci.utah.edu/svn/Manta
Repository UUID: b44e116d-4df4-0310-a041-f0ddff0d58d6
Revision: 1446
Node Kind: directory
Schedule: normal
Last Changed Author: thiago
Last Changed Rev: 1446
Last Changed Date: 2007-07-05 18:33:54 -0600 (Thu, 05 Jul 2007);

;Build Type: ;Release;
;Compiler:   ;/usr/bin/c++.exe;

==================================

Thanks,
James






Archive powered by MHonArc 2.6.16.

Top of page