Opened 12 years ago
Closed 10 years ago
#9135 closed bug (fixed)
net_server always crashes after boot
Reported by: | luroh | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Servers/net_server | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Attachments (1)
Change History (5)
by , 12 years ago
Attachment: | gdb_hrev44815.txt added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
If running net_server with the debug heap would be helpful, is there any way those settings could be incorporated into /data/system/boot/Bootscript? That would make it easier for me to test.
comment:3 by , 12 years ago
Clarification: by "be incorporated", I mean patched into Bootscript locally, not added to the official tree. IOW, I need some direction here.
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
hrev49047, gcc2. I'm no longer able to repeat the problem.
Note:
See TracTickets
for help on using tickets.
Ah right, sorry, we somehow lost track of that one. The reason is not yet clear, though, even though we thought we had understood it. The issue arises when the fork() exits without an exec(): the ICULocaleBackend tries to free some thread local data. Unlike Linux, the TLS is preserved in Haiku when forking. Why it actually crashes we don't know yet.
You should be able to always let it crash by letting it run with the debug heap (ie. LD_PRELOAD=libroot_debug.so MALLOC_DEBUG=pw net_server).