On Sun, Dec 09, 2001 at 01:48:56AM +0000, Mark Brown wrote: > On PowerPC cooledit segfaults on startup shortly after displaying the > splash screen. stracing the dying process shows the last thing it does > as being attempting to open ~/.cedit/.cooledit.ini. > > A backtrace of the crash: > > #0 0x0fb24568 in strlen () from /lib/libc.so.6 > #1 0x0faf52ac in vfprintf () from /lib/libc.so.6 > #2 0x0fb0f890 in vsprintf () from /lib/libc.so.6 > #3 0x0ff9a754 in vsprintf_alloc () from /usr/X11R6/lib/libCw.so.1 > #4 0x0ff71994 in CMessageDialog () from /usr/X11R6/lib/libCw.so.1 > #5 0x10018490 in _init () > #6 0x1000affc in _init () > #7 0x1000d518 in _init () > #8 0x0fac2a30 in __libc_start_main () from /lib/libc.so.6
Hi, Could you please try applying the following patch, running autoconf, and rebuilding cooledit? A workaround for a problem uncannily like this was already in the cooledit source, but accidentally not enabled. If it works I'll upload it. diff -u cooledit-3.17.1/configure.in cooledit-3.17.1/configure.in --- cooledit-3.17.1/configure.in +++ cooledit-3.17.1/configure.in @@ -24,7 +24,8 @@ AC_DEFINE(CRASHES_ON_STARTUP,1) fi -if test -n "`echo ${target_os} | grep 'powerpc.*linux'`" ; then +if test "${target_cpu}" = powerpc -a \ + -n "`echo ${target_os} | grep linux`" ; then AC_DEFINE(CRASHES_ON_STARTUP,1) fi Thanks, -- Colin Watson [EMAIL PROTECTED]