This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11644] Hang in throw when unloading a library


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11644



------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2003-08-19 15:15 -------
Two possible problems that make your code not working:

1 You need g++ and libstdc++ that are thread-enabled.
  See this link for more info
    http://gcc.gnu.org/bugs.html#nonbugs_cxx

2 The exception is thrown inside __fini_lib through the
  function call chain:
    main -> unloadLib -> dlclose -> __fini_Lib
  If the dlclose in your C library is not built with
  exception unwinding, thrown exception cannot propagate
  back to main.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]