Re: glibc ??

Drew Csillag <[email protected]> Fri, 6 Jan 2006 07:49:03 -0800 (PST)
Newsgroups gmane.comp.web.skunkweb
Message-ID <[email protected]>
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 <[email protected]> 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 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click