Opened 10 years ago

Closed 8 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


As demonstrated at BeGeistert 026, net_server always crashes on my laptop a minute or three after booting. Sometimes it's in the iprowifi4965 thread, but most often in the ipro1000 thread.

No idea if it's related to #5668.

hrev44815, gcc2. Lenovo X220 laptop.

Attachments (1)

gdb_hrev44815.txt (2.8 KB ) - added by luroh 10 years ago.

Download all attachments as: .zip

Change History (5)

by luroh, 10 years ago

Attachment: gdb_hrev44815.txt added

comment:1 by axeld, 10 years ago

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. MALLOC_DEBUG=pw net_server).

comment:2 by luroh, 10 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 luroh, 10 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 luroh, 8 years ago

Resolution: fixed
Status: newclosed

hrev49047, gcc2. I'm no longer able to repeat the problem.

Note: See TracTickets for help on using tickets.