odd issue closing app


30-07-2012 17:06:34

Hello there!

I had a odd issue and I hope you can help me =)

When I run an app, I dont have any problem. However, when I close it, the app don't close it!, its stuck in "Unregistering ResourceManager for type Material". Why I am not posting in General Ogre Forums?, because when I remove the OgreOggSound plugin (from plugins.cfg), the app close without problems. I test several implementations of the app and differents apps (with ogreOggSound code and without it), and the same happens in all of this. What could be?, any idea?

I am in ubuntu 12.04 with ogre 1.8

Thanks in advance!


30-07-2012 22:30:05

backtrace from gdb:

#0 0x00007fa2208e486b in __lll_lock_wait_private () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fa2208e1bf7 in _L_lock_21 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2 0x00007fa2208e1a6e in pthread_cond_destroy@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x0000000000433166 in boost::recursive_mutex::~recursive_mutex() ()
#4 0x00007fa21fd44d3d in __cxa_finalize () from /lib/x86_64-linux-gnu/libc.so.6
#5 0x00007fa2214a3336 in __do_global_dtors_aux () from /usr/local/lib/libOgreOggSound.so
#6 0x00007fffbde3f330 in ?? ()
#7 0x00007fffbde3f740 in ?? ()
#8 0x00007fa2214c9c71 in _fini () from /usr/local/lib/libOgreOggSound.so
#9 0x00007fffbde3f740 in ?? ()
#10 0x00007fa222e1992d in ?? () from /lib64/ld-linux-x86-64.so.2
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


27-08-2012 21:53:29

I'd have to assume it is something in the closing of OgreOggSound on linux thats causing the issue, are there any specific steps to reproducing the issue, is it possible to cleanly shut down at all i.e. only creating / destroying manager without any sounds?? I don't have a linux setup to be able to reproduce this unfortunately so it will be difficult to help out :(


03-09-2012 17:25:16


For reproduce the problem just add it to the plugins.cfg of any app and run the app (it isn't necessary call code in the app, just add the plugin).

Maybe a VM could help you =P (that way you dont need to make a partition in your hdd =P).



29-09-2012 18:43:06

The problem still exist in the version 1.23 =(