[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #21415] gdnc segfaults on OpenBSD
From: |
Fred Kiefer |
Subject: |
[bug #21415] gdnc segfaults on OpenBSD |
Date: |
Tue, 01 Jan 2008 17:51:24 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.7 (like Gecko) SUSE |
Follow-up Comment #1, bug #21415 (project gnustep):
Is this problem still open? If so, you could try to half the size of all the
arrays in this method. Use
unsigned char buf[1024];
GSStr_t f;
unichar fbuf[512];
and 512 for the following test.
The method initWithFormat:locale:arguments: on NSString (and the similar on
GSString) is really using up a lot of stack space, perhaps that is more
limited for OpenBSD on sparc and so the tools fails there.
If this hack solves the problem, we should think about using the macros
GS_BEGINITEMBUF and GS_ENDITEMBUF from GSPrivate.h here. This would make it
easier to adjust the stack usage for different environments.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?21415>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
- [bug #21415] gdnc segfaults on OpenBSD,
Fred Kiefer <=