http://d.puremagic.com/issues/show_bug.cgi?id=6443


klickverbot <c...@klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[GSoC] Catching exceptions  |[GSoC] Catching exceptions
                   |in fibers broken on Windows |in fibers broken on
                   |                            |Windows/Linux x86_64


--- Comment #2 from klickverbot <c...@klickverbot.at> 2011-08-10 21:39:58 PDT 
---
I unfortunately stand corrected: The snippet crashes on Linux x86_64 as well:
---
#0  0x00007ffff7dec9d4 in _dl_sysdep_read_whole_file () from
/lib/ld-linux-x86-64.so.2
#1  0x00007ffff7de68aa in _dl_load_cache_lookup () from
/lib/ld-linux-x86-64.so.2
#2  0x00007ffff7de5ebe in _dl_map_object () from /lib/ld-linux-x86-64.so.2
#3  0x00007ffff7defa9b in dl_open_worker () from /lib/ld-linux-x86-64.so.2
#4  0x00007ffff7deb9e6 in _dl_catch_error () from /lib/ld-linux-x86-64.so.2
#5  0x00007ffff7def63a in _dl_open () from /lib/ld-linux-x86-64.so.2
#6  0x00007ffff74df600 in ?? () from /lib/libc.so.6
#7  0x00007ffff7deb9e6 in _dl_catch_error () from /lib/ld-linux-x86-64.so.2
#8  0x00007ffff74df69f in ?? () from /lib/libc.so.6
#9  0x00007ffff74df707 in __libc_dlopen_mode () from /lib/libc.so.6
#10 0x00007ffff74bbbb5 in ?? () from /lib/libc.so.6
#11 0x00007ffff79c5ff0 in pthread_once () from /lib/libpthread.so.0
#12 0x00007ffff74bbcd4 in backtrace () from /lib/libc.so.6
#13 0x0000000000419cf3 in core.runtime.defaultTraceHandler() ()
#14 0x0000000000000000 in ?? ()
---

>From the above trace, this seems to be a problem in the default backtrace
handler, and indeed, when I disable it by calling rt_setTraceHandler(0) (e.g.
from GDB), the program works as expected (on Windows, it crashes regardless of
whether the handler is enabled or not).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to