You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1
(3) |
2
(7) |
3
(13) |
4
(6) |
5
(18) |
6
(39) |
7
(1) |
8
(4) |
9
(4) |
10
(4) |
11
(19) |
12
(15) |
13
(16) |
14
(1) |
15
(5) |
16
(17) |
17
(12) |
18
(19) |
19
(2) |
20
(5) |
21
(3) |
22
(1) |
23
(3) |
24
(5) |
25
(4) |
26
(1) |
27
(13) |
28
(4) |
29
(2) |
30
(21) |
31
(17) |
|
|
|
|
[Oops... just realised I have been replying to Michael, not the list. Very sorry.] I had a closer look at the trace and the ft2font code, and I'm still none the wiser. It's clear what's happening, I just have no idea why. I have tried to trigger it in a test-case by calling imp.load_dynamic on ft2font repeatedly, and using both threads and processes (which I didn't think would work, but I was clutching at straws) as well, but still no joy. I had a brief look at the python source too (importdl.c and import.c), which does cache the module objects but admittedly doesn't do locking that I can see. This has all been working on the assumption that it is indeed a race condition of some sort, and if that were the case I'm _also_ unsure where that could arise from. We are now running on a 24 core machine (up from 8 on the previous server which had no problems), but my understanding of what memory is shared where in which apache/mod_python/wsgi configuration is too fuzzy to make sense of that possibility. (also, recall that the stack trace was captured from apache in single-threaded debug mode!) My current plan to fix it is to push the offending imports from module top-level down into the functions where they are required, but even assuming that is successful I would dearly love closure on this! /Mark. On 19 May 2011 12:24, Mark Hepburn <mar...@gm...> wrote: > I spoke too soon, I hit one! (I am unreasonably excited by this at this > stage). It looks like it's the same issue; it's in FT2Image and arises from > check_unique_method_name -- I'm about to look through the source, but it > seems a likely candidate. > The output of both bt and bt full is attached. > Thanks once again. > /Mark. > > On 19 May 2011 12:15, Mark Hepburn <mar...@gm...> wrote: >> >> Hi, thanks for the reply. >> I haven't managed to extract one yet; any hints? I've tried a few times >> with "gdb httpd" -> run -X, but unsuccessfully so far. My understanding is >> that this runs apache in single-threaded mode, and if it is a threading >> problem it is unlikely to reproduce the problem (I think). (The other >> complicating factor is that this is the only server it has been a problem >> on... which is also the production server, so I've been loathe to slow it >> down too much like this. Biting the bullet now, though..) >> There's no stack trace in the apache error log either; in fact there's not >> even a time-stamp when it crashes, just the message from the subject. >> Thanks again, Mark. >> On 19 May 2011 00:55, Michael Droettboom <md...@st...> wrote: > Can you provide a stack trace -- either a Python one, or a gdb one? > > Mike > > On 05/18/2011 03:25 AM, Mark Hepburn wrote: >> Hi, >> >> I have a web application using matplotlib which is unpredictably >> crashing with the error message from the subject. It seems to be >> happening in ft2font, but I can't be certain at this stage that it's >> only occurring there (although since isolating it via logging >> statements, every time it has occurred has been in that spot). The >> crash occurs at load time, seemingly through a chain of import >> statements (starting with wsgi app -> django -> my app): >> matplotlib.colorbar -> matplotlib.lines -> matplotlib.font_manager -> >> matplotlib.ft2font >> >> Google is strangely quiet on that particular message; the closest I >> have found that also involves ft2font was this rather old one: >> http://comments.gmane.org/gmane.comp.python.matplotlib.devel/1332 >> >> The unpredictable nature of it suggests that it's thread-related, but >> other than that I have no further clues. The unpredictable nature of >> the crashes obviously makes testing any theory or avenue quite slow at >> times! Does anyone have any suggestions, hints for further >> probing,... anything, please? >> >> The particulars: >> Server OS: openSUSE 11.3 (x86_64) >> matplotlib: 1.0.0 (compiled from source distro) >> Server: apache prefork, mod_wsgi >> Python version: 2.6.4 >> >> Extra factors: >> There are two versions of the application, deployed in virtualenvs >> (identical matplotlib versions). It does affect both of them, >> although I've only been investigating with one. It frequently seems >> to affect a group of processes; that is, reloading is required >> multiple times before it returns to normal. >> >> mod_wsgi is running in embedded mode, but the same problem was >> occurring with mod_python -- that was my main impetus for porting to >> wsgi in fact. The same application ran fine on the previous server >> however (SUSE Linux Enterprise Server 11 (x86_64)), in fact with 3 >> versions of the application, using mod_python. It was previously >> using matplotlib 0.98.5.2; according to my commit message the upgrade >> was prompted by the server move and that version not compiling against >> libpng1.4 on the new server. >> >> Thanks, Mark. >> >> > > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Where the hell is Mark: http://blog.everythingtastesbetterwithchilli.com/
There's a heap of searches - the old.nabble one listed. http://old.nabble.com/matplotlib---users-f2906.html plus http://www.mail-archive.com/mat...@li.../info.html http://blog.gmane.org/gmane.comp.python.matplotlib.general http://www.mailinglistarchive.com/html/mat...@li.../ I find google to be better at figuring out what you want though. So a google search like: <search terms> site:old.nabble.com intitle:matplotlib intitle:users tends to work better. Gerald. On 18/05/2011 10:55 PM, Benjamin Root wrote: > > > On Wed, May 18, 2011 at 5:52 AM, Yue Chao <cha...@gm... > <mailto:cha...@gm...>> wrote: > > Thank you Mark! > > If there is no search engine, we'll not make full use of FAQ > history... > > Chao > > > There is a search feature provided by nabble here: > > http://old.nabble.com/matplotlib---users-f2906.html > > Don't know how good it is, but it does exist. > > Ben Root > > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users