Re: glibc ??

Juan Carlos Leon <[email protected]> Fri, 6 Jan 2006 08:50:42 -0800 (PST)
Newsgroups gmane.comp.web.skunkweb
Message-ID <[email protected]>
Howdy! 

Ok this is what it was done: 

1. Rebuilt a machine from scratch, installed FC4. 
2. Ran up2date in all packages (including Python, httpd & postgresql) 

To your questions Jacob: 

> If you want to investigate more fully, some questions for you.  Is FC4
> using gcc4, by any chance, or if not, what version?  

[root@webdev ~]$ gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux
Thread model: posix
gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
[root@webdev ~]$ 




And how is Python
> compiled?  Is it a ucs2 or ucs4 build -- I presume the latter, but to
> find out:
> 
>   python -c "import sys; print 'ucs'+'24'[sys.maxunicode>2**16]"

[root@webdev ~]# python -c "import sys; print 'ucs'+'24'[sys.maxunicode>2**16]"
ucs4
[root@webdev ~]# 


> If you compile your own python (with what compiler, what unicode
> settings) does the problem continue?

I would rather not compile python, now that FC4 has great tools such as: yum & up2date.  But I try compiling it and see what the result is. 


To Drew's question: 

>Did you recompile *everything* when moving to FC4 or did you copy it from > some other previous version of Linux?

I built the system from scratch nothing was copied from another linux machine. 


If you can forward the patch that will be great! 

thanks folks! 



JC




Drew Csillag <[email protected]> wrote: Did you recompile *everything* when moving to FC4 or did you copy it from some
other previous version of Linux?  I've run into several spooky problems (mostly
in relation to using ODBC and Sybase ASA) if I don't recompile for every
version of the OS I want to use.  I didn't figure this until much later after I
wrote the patch, so you may want to try that too.

Cheers,
Drew

--- Jacob Smullyan  wrote:

> On Thu, Jan 05, 2006 at 08:57:34AM -0800, Juan Carlos Leon wrote:
> > Hello folks, 
> > 
> > Any of you familiar with this error? It comes up
> > randomly: 
>  [snip]
> > # *** glibc detected *** /usr/bin/python: free():
> > invalid next size (fast): 0x09737598 ***
> > ======= Backtrace: =========
> > /lib/libc.so.6[0x31b424]
> > /lib/libc.so.6(__libc_free+0x77)[0x31b95f]
> > /var/skunk/lib/pylibs/skunklib/_normpath.so[0x1137e6]
>  [snip]
> 
> > The system is running: 
> > 
> > Fedora Core 4 
> > Apache/2.0.54
> > Skunkweb/3.4.0 
> > Python/2.4.1 
> > 
> > Skunkweb was compiled as follows: 
> > 
> > ./configure --prefix /var/skunk-3.4.0
> > --with-user=apache --with-group=apache
> > --with-apxs=/usr/sbin/apxs --enable-so
> > 
> > The modules: autoindex_module and dir_module were
> > disabled from Apache 2. It does not work if i enable
> > them either. 
> > 
> > As I mentioned above this error shows up on the web
> > page randomly twice out of ten times it is hit. 
> > 
> > Maybe skunkweb is not compatible with Python 2.4.1? 
> 
> It works fine with Python 2.4.x in other configurations.  There does
> seem to be a problem with FC4 -- Drew reported it a while back and I
> will forward his patch to the list in a separate email.  All he is
> doing is replacing malloc with alloca, and the problem actually isn't
> diagnosed or explained yet.  If his patch solves the problem for you,
> though, I'll check it in.  (I probably should have done it before, but
> it feel between the cracks.)
> 
> If you want to investigate more fully, some questions for you.  Is FC4
> using gcc4, by any chance, or if not, what version?  And how is Python
> compiled?  Is it a ucs2 or ucs4 build -- I presume the latter, but to
> find out:
> 
>   python -c "import sys; print 'ucs'+'24'[sys.maxunicode>2**16]"
> 
> If you compile your own python (with what compiler, what unicode
> settings) does the problem continue?
> 
> I'll send the patch momentarily.
> 
> js
> 
> -- 
> Jacob Smullyan
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com