#1283 closed Bug (fixed)
Default pthread stack too small on OpenBSD
Reported by: | naddy | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | 1.40 |
Component: | libtransmission | Version: | 1.34 |
Severity: | Normal | Keywords: | pthreads, OpenBSD |
Cc: |
Description
At least on OpenBSD, transmission 1.34 will crash as soon as the web/remote interface is accessed because the http thread runs out of pthread stack space. The default pthread stack size on OpenBSD is 64 kB. Doubling this fixes the problem.
Attachments (1)
Change History (6)
Changed 14 years ago by naddy
comment:1 Changed 14 years ago by mezz
comment:2 follow-up: ↓ 3 Changed 14 years ago by muks
comment:3 in reply to: ↑ 2 Changed 14 years ago by naddy
Yes, this is indeed the same crash as in #1217.
comment:4 Changed 14 years ago by charles
- Milestone changed from None Set to 1.40
- Resolution set to fixed
- Status changed from new to closed
fixed in r6800; we're not using shttpd anymore.
comment:5 Changed 14 years ago by charles
- Component changed from Transmission to libtransmission
Note: See
TracTickets for help on using
tickets.
Interesting.. I am a bit surpise about that OpenBSD hasn't increase it yet. NetBSD and FreeBSD already have done. I remember we had to add a few of workaround patches for GNOME stuff with stacksizes, then finally FreeBSD increased it (in libc_r, libpthread and libthr) and we can removed the workaround patches in our GNOME.
http://lists.freebsd.org/pipermail/cvs-src/2005-May/046143.html
I think, it's good time for OpenBSD to increase the stacksizes while many OSs have bigger stacksizes. :-)
BTW: To avoid misunderstand or not good English grammar of mine. I have no object with this patch, so up to the developers. Just merely add comments of my memory. :-)