From edi at agharta.de Thu Sep 1 13:10:47 2005 From: edi at agharta.de (Edi Weitz) Date: Thu, 01 Sep 2005 15:10:47 +0200 Subject: [regex-coach] Apparent crash on complex regex in "Tree" tab In-Reply-To: <1125559812.30240.241942951@webmail.messagingengine.com> (era's message of "Thu, 01 Sep 2005 10:30:12 +0300") References: <1125396113.6889.241770226@webmail.messagingengine.com> <1125559812.30240.241942951@webmail.messagingengine.com> Message-ID: On Thu, 01 Sep 2005 10:30:12 +0300, era+regex=coach at iki.fi wrote: > This is on Ubuntu Linux 5.04, using whatever version was on your > site the day before yesterday in the Linux tarball. It doesn't > appear to understand the --version switch No, the switch isn't advertised either. > but I found an "About ..." dialog box which identifies it as version > 0.6.7. OK, that's the newest version. FWIW, I can't reproduce the problem on a Debian testing system either. Actually, from your error output it looks like some kind of "this is not supposed to happen" thingy which I guess is buried within the internals of the GUI toolkit. Maybe switching to another OpenMotif/Lesstif version will help. Sorry, I can't be more helpful at the moment. > There are other benefits, such as being able to read the list in a > newsreader, via RSS, etc. Sure. Of course, this only works if you actually send your message to the list... :) Cheers, Edi. From era+regex=coach at iki.fi Fri Sep 2 12:51:24 2005 From: era+regex=coach at iki.fi (era+regex=coach at iki.fi) Date: Fri, 02 Sep 2005 15:51:24 +0300 Subject: [regex-coach] Apparent crash on complex regex in "Tree" tab In-Reply-To: References: <1125396113.6889.241770226@webmail.messagingengine.com> <1125559812.30240.241942951@webmail.messagingengine.com> Message-ID: <1125665484.7633.242044307@webmail.messagingengine.com> On Thu, 01 Sep 2005 15:10:47 +0200, "Edi Weitz" said: > On Thu, 01 Sep 2005 10:30:12 +0300, era+regex=coach at iki.fi wrote: > > This is on Ubuntu Linux 5.04, using whatever version was on your > > site the day before yesterday in the Linux tarball. It doesn't > > appear to understand the --version switch > > No, the switch isn't advertised either. Consider this a feature request then. > FWIW, I can't reproduce the problem on a Debian testing system either. > Actually, from your error output it looks like some kind of "this is > not supposed to happen" thingy which I guess is buried within the > internals of the GUI toolkit. Maybe switching to another > OpenMotif/Lesstif version will help. I'm afraid that experimenting with libraries on my production system is not an option for me at the moment. If somebody could see if they can at least repro this with the Ubuntu 5.04 Live CD, that would be helpful. /* era */ -- If this were a real .signature, it would suck less. Well, maybe not. From edi at agharta.de Fri Sep 2 13:15:04 2005 From: edi at agharta.de (Edi Weitz) Date: Fri, 02 Sep 2005 15:15:04 +0200 Subject: [regex-coach] Apparent crash on complex regex in "Tree" tab In-Reply-To: <1125665484.7633.242044307@webmail.messagingengine.com> (era's message of "Fri, 02 Sep 2005 15:51:24 +0300") References: <1125396113.6889.241770226@webmail.messagingengine.com> <1125559812.30240.241942951@webmail.messagingengine.com> <1125665484.7633.242044307@webmail.messagingengine.com> Message-ID: On Fri, 02 Sep 2005 15:51:24 +0300, era+regex=coach at iki.fi wrote: > Consider this a feature request then. Unlikely to happen. I don't see the need for command line switches in a GUI app. (Besides, at the moment I don't have time to work on the program anyway.) > I'm afraid that experimenting with libraries on my production system > is not an option for me at the moment. If somebody could see if they > can at least repro this with the Ubuntu 5.04 Live CD, that would be > helpful. I just got a report from someone using Ubuntu 5.04 who said he couldn't reproduce your problem - see attached screen shot. Cheers, Edi. -------------- next part -------------- A non-text attachment was scrubbed... Name: regexp-coach.png Type: image/png Size: 39317 bytes Desc: not available URL: From era+regex=coach at iki.fi Tue Sep 6 10:49:07 2005 From: era+regex=coach at iki.fi (era+regex=coach at iki.fi) Date: Tue, 06 Sep 2005 13:49:07 +0300 Subject: [regex-coach] Apparent crash on complex regex in "Tree" tab In-Reply-To: References: <1125396113.6889.241770226@webmail.messagingengine.com> <1125559812.30240.241942951@webmail.messagingengine.com> <1125665484.7633.242044307@webmail.messagingengine.com> Message-ID: <1126003747.1892.242247439@webmail.messagingengine.com> On Fri, 02 Sep 2005 15:15:04 +0200, "Edi Weitz" said: > On Fri, 02 Sep 2005 15:51:24 +0300, era+regex=coach at iki.fi wrote: > > I'm afraid that experimenting with libraries on my production system > > is not an option for me at the moment. If somebody could see if they > > can at least repro this with the Ubuntu 5.04 Live CD, that would be > > helpful. > > I just got a report from someone using Ubuntu 5.04 who said he > couldn't reproduce your problem - see attached screen shot. In the screen shot, the email sample appears to be munged -- all the @ characters have been replaced with " at ". I guess this is something the mailing list software might have done. For what it's worth, I've made the file available at the URL below so you (for applicable values of "you" :-) can download it in unmunged form. I still get the crash even if I similarly mung my copy of the text, though. The strace output is rather voluminous, so I'd rather not attach it here. Here's a snippet from what seems to me like the critical spot in the trace: open("/home/era/Software/Edi Weitz/The Regex Coach/Environment/CL-PPCRE-INTERACTIVE/REGEX-INTERFACE/.values", O_RDWR|O_CREAT|O_TRUNC, 0666) = 4 write(4, "((\"Window Positions:1920x1440\" ("..., 50) = 50 close(4) = 0 setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 gettimeofday({1125993191, 600327}, NULL) = 0 close(3) = 0 gettimeofday({1125993191, 601764}, NULL) = 0 setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 100000}}, NULL) = 0 gettimeofday({1125993191, 602617}, NULL) = 0 gettimeofday({1125993191, 603863}, NULL) = 0 setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 100000}}, NULL) = 0 gettimeofday({1125993191, 604361}, NULL) = 0 setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 gettimeofday({1125993191, 604506}, NULL) = 0 select(3, [], [], [], {0, 0}) = 0 (Timeout) gettimeofday({1125993191, 604705}, NULL) = 0 setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 gettimeofday({1125993191, 604826}, NULL) = 0 setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 100000}}, NULL) = 0 gettimeofday({1125993191, 604925}, NULL) = 0 setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 (Sorry if the line wrapping is weird.) After this point it's just looping until I kill it. The full strace is available in http://www.ihme.org/~era/tmp/regex-coach/ -- it turned out the first 5,000 lines were relevant, and the other 100,000 or so were just looping the loop :-/ /* era */ -- If this were a real .signature, it would suck less. Well, maybe not. From edi at agharta.de Wed Sep 7 11:50:42 2005 From: edi at agharta.de (Edi Weitz) Date: Wed, 07 Sep 2005 13:50:42 +0200 Subject: [regex-coach] Apparent crash on complex regex in "Tree" tab In-Reply-To: <1126003747.1892.242247439@webmail.messagingengine.com> (era's message of "Tue, 06 Sep 2005 13:49:07 +0300") References: <1125396113.6889.241770226@webmail.messagingengine.com> <1125559812.30240.241942951@webmail.messagingengine.com> <1125665484.7633.242044307@webmail.messagingengine.com> <1126003747.1892.242247439@webmail.messagingengine.com> Message-ID: On Tue, 06 Sep 2005 13:49:07 +0300, era+regex=coach at iki.fi wrote: > I still get the crash even if I similarly mung my copy of the text, > though. Please try the version available from and check if it shows the same symptoms. This seems to be a problem related to certain versions of Ubuntu - see for the technical details. Thanks, Edi. From era+regex=coach at iki.fi Wed Sep 7 17:19:08 2005 From: era+regex=coach at iki.fi (era+regex=coach at iki.fi) Date: Wed, 07 Sep 2005 20:19:08 +0300 Subject: [regex-coach] Apparent crash on complex regex in "Tree" tab In-Reply-To: References: <1125396113.6889.241770226@webmail.messagingengine.com> <1125559812.30240.241942951@webmail.messagingengine.com> <1125665484.7633.242044307@webmail.messagingengine.com> <1126003747.1892.242247439@webmail.messagingengine.com> Message-ID: <1126113548.26165.242377370@webmail.messagingengine.com> On Wed, 07 Sep 2005 13:50:42 +0200, "Edi Weitz" said: > On Tue, 06 Sep 2005 13:49:07 +0300, era+regex=coach at iki.fi wrote: > > I still get the crash even if I similarly mung my copy of the text > > Please try the version available from > > > > and check if it shows the same symptoms. It's an improvement. Now, I get an error dialog with the following text: [title: Message] X ERROR Display: #S(#:DIS) Error: BadName (named color or font does not exist) Major opcode of failed request: 45 (X_OpenFont) [OK] The same message (with "Quitting" prepended) is also printed on standard output (still not standard error) when I click OK. I still have to "killall regex-coach" from another window to terminate it, even though it prints "./regex-coach : Interrupted - quitting" on the last line of output when I press ctrl-C to "really" quit. It would of course be helpful if it could indicate which font it wants ... but I guess this too may be a feature of LispWorks and not in your code actually. (Any X masochists around who could tell how to find out which font is being requestd with some X tool?) /* era */ -- If this were a real .signature, it would suck less. Well, maybe not. From edi at agharta.de Wed Sep 7 17:51:00 2005 From: edi at agharta.de (Edi Weitz) Date: Wed, 07 Sep 2005 19:51:00 +0200 Subject: [regex-coach] Apparent crash on complex regex in "Tree" tab In-Reply-To: <1126113548.26165.242377370@webmail.messagingengine.com> (era's message of "Wed, 07 Sep 2005 20:19:08 +0300") References: <1125396113.6889.241770226@webmail.messagingengine.com> <1125559812.30240.241942951@webmail.messagingengine.com> <1125665484.7633.242044307@webmail.messagingengine.com> <1126003747.1892.242247439@webmail.messagingengine.com> <1126113548.26165.242377370@webmail.messagingengine.com> Message-ID: On Wed, 07 Sep 2005 20:19:08 +0300, era+regex=coach at iki.fi wrote: > It's an improvement. Now, I get an error dialog with the following > text: > > [title: Message] > > X ERROR > Display: #S(#:DIS) > Error: BadName (named color or font does not exist) > Major opcode of failed request: 45 (X_OpenFont) > > [OK] > > The same message (with "Quitting" prepended) is also printed on > standard output (still not standard error) when I click OK. I still > have to "killall regex-coach" from another window to terminate it, > even though it prints "./regex-coach : Interrupted - quitting" on > the last line of output when I press ctrl-C to "really" quit. > > It would of course be helpful if it could indicate which font it > wants ... but I guess this too may be a feature of LispWorks and not > in your code actually. (Any X masochists around who could tell how > to find out which font is being requestd with some X tool?) I've uploaded an image with debugging information (about 10MB) to the same address: You /might/ get a more informative error message with that one. As to why the application doesn't quit when it should - that's another question. Again, I haven't seen that before. Ubuntu seems to be a bit strange. I'm using Debian and I thought they were pretty similar but obviously they aren't. Thanks for testing, Edi. From era+regex=coach at iki.fi Wed Sep 7 20:35:40 2005 From: era+regex=coach at iki.fi (era+regex=coach at iki.fi) Date: Wed, 07 Sep 2005 23:35:40 +0300 Subject: [regex-coach] Apparent crash on complex regex in "Tree" tab In-Reply-To: References: <1125396113.6889.241770226@webmail.messagingengine.com> <1125559812.30240.241942951@webmail.messagingengine.com> <1125665484.7633.242044307@webmail.messagingengine.com> <1126003747.1892.242247439@webmail.messagingengine.com> <1126113548.26165.242377370@webmail.messagingengine.com> Message-ID: <1126125340.17635.242396733@webmail.messagingengine.com> On Wed, 07 Sep 2005 19:51:00 +0200, "Edi Weitz" said: > On Wed, 07 Sep 2005 20:19:08 +0300, era+regex=coach at iki.fi wrote: > > It's an improvement. Now, I get an error dialog > > I've uploaded an image with debugging information (about 10MB) to the > same address: > > > > You /might/ get a more informative error message with that one. vnix$ ./regex-coach Warning: Unable to find default fallback resources for application class Lispworks Error: An error of type CONDITIONS:ARITHMETIC-TYPE-ERROR occured, arguments : (:EXPECTED-TYPE REAL :DATUM NIL :OPERATION >= :OPERANDS (0 NIL)) 1 (continue) Return a value to use. 2 Supply a new second argument. 3 Destroy element #. 4 (abort) Return to event loop. Type :b for backtrace, :c