Re: glibc ??
Jacob Smullyan <[email protected]> Fri, 6 Jan 2006 12:02:34 -0500
| Newsgroups | gmane.comp.web.skunkweb |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jan 06, 2006 at 08:54:26AM -0800, Juan Carlos Leon wrote: > Hi Amit, > > What version of httpd are you using? JC -- I'm pretty sure Apache has nothing to do with this -- skunkweb is dying in the skunklib.normpath function. You should be able to write a test script that will fail simply calling normpath in a loop (running it in swpython or with pylibs on your PYTHONPATH). The patch, btw, was attached to a previous email to the list. js > > JC > > > Amit Khemka <[email protected]> wrote: I am using skunk with pretty much same configuration (FC4, gcc version > 4.0.0, python ucs4 [I compiled everything on FC4]) and Its working > preety fine with me :-). > > though I am not proposing a solution, but I guess the problem is not > with FC4 ... may be that would help diagnosing the issue .. > > cheers, > amit > > > > On 1/6/06, Drew Csillag 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 > > > > > > ------------------------------------------------------- > > 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 > > _______________________________________________ > > Skunkweb-list mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/skunkweb-list > > > > > -- > ---- > Endless the world's turn, endless the sun's spinning > Endless the quest; > I turn again, back to my own beginning, > And here, find rest. > > -- Jacob Smullyan
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDvqKquqamFyFXXLIRAts9AJwN/CrtLzSWVwQXKVx4u+V85Td3AwCePU3N kCXaeWSgoI7ezmMHt3IdYOk= =3cKR -----END PGP SIGNATURE-----