|
|||
|
Hi TLCers,
I experienced a strange problem with in Tk's canvas. I'm working on a dxf viewing program and am drawing many lines, circles, e.g. .mf.frame.pw.f0.frame.sw.c create line 347.007250 -247.562322 \ 302.794127 -247.562322 -fill #ff0000 \ -dash {2 2 3 2 2 2 2 2 2 2 3 2 2 2 2 2 2 2 1 2} -tags * ... and after many such commands I get the error: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 55 (X_CreateGC) Value in failed request: 0x1a000b2 Serial number of failed request: 1204 Current serial number in output stream: 1205 There is no fixed location where it crashes and there seems to be some timing depending behavior. If I put a delay before the drawing command, it crashes on other locations and sometime it does not crash. Code part: puts $b after 10 {*}$b puts ok When removing the delay, it crashes very soon. It also seems to depend on using the -dash option, because when I remove this option the program does not crash (at least in my tries - also without the delay). Any ideas where to check? Any hints for analyzing the problematic point? Where to place a bug report (if it is one)? % info pa 8.5.8 Linux Ubuntu 10.04 - 64bit Toshiba Notebook -- Gerhard Reithofer Tech-EDV Support Forum - http://support.tech-edv.co.at |
|
|
||||
|
||||
|
|
|
|||
|
On Tuesday, July 17, 2012 1:38:55 PM UTC-5, Gerhard Reithofer wrote:
> Hi TLCers, > I experienced a strange problem with in Tk's canvas. > I'm working on a dxf viewing program and am drawing many lines, circles, > e.g. > .mf.frame.pw.f0.frame.sw.c create line 347.007250 -247.562322 \ > 302.794127 -247.562322 -fill #ff0000 \ > -dash {2 2 3 2 2 2 2 2 2 2 3 2 2 2 2 2 2 2 1 2} -tags * > > .. and after many such commands I get the error: > > X Error of failed request: BadValue (integer parameter out of range for > operation) > Major opcode of failed request: 55 (X_CreateGC) > Value in failed request: 0x1a000b2 > Serial number of failed request: 1204 > Current serial number in output stream: 1205 > > There is no fixed location where it crashes and there seems to be some > timing depending behavior. > If I put a delay before the drawing command, it crashes on other > locations and sometime it does not crash. When you say "after many such commands I get the error...", approximately how much geometry are you talking about? I will say that I can't reproduce the error under these circumstances: - ActiveTcl 8.5.9 - Win7, 64bit - 250,000 line entities using your mentioned attributes (including the -dash property) Sorry, no Linux available at the moment. Jeff |
|
|||
|
On 18/07/2012 17:10, Jeff Godfrey wrote:
> Sorry, no Linux available at the moment. It's a complaint out of the X11 layer that something's gone wrong (dashes work in a very different way on Windows and OSX/Aqua, so they can't be compared). Haven't had the time to examine the problem yet, but I'm guessing that it is a problem with the dash processing as that's less frequently used than many other parts of Tk's rendering layer. Donal. |
|
|||
|
On Thu, 19 Jul 2012, Donal K. Fellows wrote:
> On 18/07/2012 17:10, Jeff Godfrey wrote: > > Sorry, no Linux available at the moment. > > It's a complaint out of the X11 layer that something's gone wrong > (dashes work in a very different way on Windows and OSX/Aqua, so they > can't be compared). Haven't had the time to examine the problem yet, but > I'm guessing that it is a problem with the dash processing as that's > less frequently used than many other parts of Tk's rendering layer. I can confirm this. I have tested now: tcl8.4 - this version works rock solid tcl8.5 - crashes always tcl8.6 - crashes frequently or later (after more draw commands) Nothing found on Windows until now, tested tcl8.5 and tcl8.6 on XP and Win7 (not all combinations). Where/How can I submit a bug report? What information does it need? The dxf file has ca. 55Kb, the script a few KB but it iuses several packages. > Donal. -- Gerhard Reithofer Tech-EDV Support Forum - http://support.tech-edv.co.at |
|
|||
|
On Jul 20, 5:57*pm, Gerhard Reithofer <gerhard.reitho...@tech-
edv.co.at> wrote: > Where/How can I submit a bug report? > What information does it need? http://sourceforge.net/tracker/?grou...97&atid=112997 |
|
|||
|
Servus Harald
On Sun, 22 Jul 2012, Harald Oehlmann wrote: > On Jul 20, 5:57*pm, Gerhard Reithofer <gerhard.reitho...@tech- > edv.co.at> wrote: > > Where/How can I submit a bug report? > > What information does it need? > > http://sourceforge.net/tracker/?grou...97&atid=112997 Item created successfully. (Artifact 3547229) THX -- Gerhard Reithofer Tech-EDV Support Forum - http://support.tech-edv.co.at |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|