Hi Kakaroto and Vivia

sorry by my english, i'm from brazil ....

Vivia's questions:

First question: what do you do to get this bug to appear? Or, if you do nothing in particular, when does it appear?
This bug only happens when i use tcl/tk 8.5a3.

Second question: does it work OK with tcl/tk 8.4 ? 8.5 is unstable anyway...
Amsn 0.95 only work OK using tcl/tk 8.4.
Amsn 0.94 work OK using tcl/tk 8.5 and 8.4
I try to use tcl/tk8.5 because anti-alisasing in the fonts. Exists another way to make this?

Third question: can you send us the backtrace too?
yes.

To everyone with tcl/tk 8.5 : does this tell you anything?
Yes. i know that something is wrong with the tcl/tk 8.5 or with the amsn 0.95.


Backtrace:

bash-3.00# gdb --args wish amsn
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/wish amsn

Program received signal SIGSEGV, Segmentation fault.
0x400a1b6c in Tk_PhotoPutB lock () from /usr/lib/libtk8.5.so
(gdb) bt
#0  0x400a1b6c in Tk_PhotoPutBlock () from /usr/lib/libtk8.5.so
#1  0x40526f41 in ObjRead (interp=0x804ba18, data="" format=0x0, imageHandle=0x8269bf8, destX=0, destY=0, width=1, height=1, srcX=0,
    srcY=1) at utils/TkCximage/src/PhotoFormat.cpp:215
#2  0x40526ce9 in ChanRead (interp=0x804ba18, chan=0x8269ce0, fileName=0x82671b0 "horizontal/slidergrip.gif", format=0x0,
    imageHandle=0x8269bf8, destX=0, destY=0, width=1, height=1, srcX=0, srcY=0) at utils/TkCximage/src/PhotoFormat.cpp:136
#3  0x4009e64e in ImgPhotoConfigureMaster () from /usr/lib/libtk8.5.so
#4  0x4009bc31 in ImgPhotoCreate () from /usr/lib/libtk8.5.so
#5  0x40095819 in Tk_ImageObjCmd () from /usr/lib/libtk8.5.so
#6  0x4011813b in TclEvalObjvInter nal () from /usr/lib/libtcl8.5.so
#7  0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#8  0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
#9  0x4017e048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#10 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#11 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#12 0x40118f53 in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
---Type <return> to continue, or q <return> to quit---
#13 0x4017d8b4 in Tcl_UplevelObjCmd () from /usr/lib/libtcl8.5.so
#14 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#15 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#16 0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
#17 0x4017e048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#18 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#19 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#20 0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
#21 0x4017e048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#22 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#23 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#24 0x40118f53 in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
#25 0x4011e51b in Tcl_EvalObjCmd () from /usr/lib/libtcl8.5.so
#26 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#27 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
---Type <return> to continue, or q <return> to quit---
#28 0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
#29 0x4017e048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#30 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so< br>#31 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#32 0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
#33 0x4017e048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#34 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#35 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#36 0x40161b3f in Tcl_FSEvalFileEx () from /usr/lib/libtcl8.5.so
#37 0x40126db8 in Tcl_SourceObjCmd () from /usr/lib/libtcl8.5.so
#38 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#39 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#40 0x40118e76 in Tcl_Eval () from /usr/lib/libtcl8.5.so
#41 0x40119bdc in Tcl_GlobalEval () from /usr/lib/libtcl8.5.so
#42 0x4017ab98 in Tcl_PkgRequireEx () from /usr/lib/libtcl8.5.so
---Type <return> to continue, or q <return> to quit---
#43 0x4017a86a in Tcl_PkgRequire () from /usr/lib/libtcl8.5.so
#44 0x401 7b35f in Tcl_PackageObjCmd () from /usr/lib/libtcl8.5.so
#45 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#46 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#47 0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
#48 0x40119088 in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
#49 0x40120c56 in Tcl_IfObjCmd () from /usr/lib/libtcl8.5.so
#50 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#51 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#52 0x40161b3f in Tcl_FSEvalFileEx () from /usr/lib/libtcl8.5.so
#53 0x40126db8 in Tcl_SourceObjCmd () from /usr/lib/libtcl8.5.so
#54 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#55 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#56 0x40118f53 in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
#57 0x4017d8b4 in Tcl_UplevelObjCmd () from /usr/lib/libtcl8.5.so
---Type <return> to continue, or q <return> to quit---
#58 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#59 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
#60 0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
#61 0x4017e048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
#62 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
#63 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
#64 0x40161b3f in Tcl_FSEvalFileEx () from /usr/lib/libtcl8.5.so
#65 0x4004b889 in Tk_MainEx () from /usr/lib/libtk8.5.so
#66 0x0804888e in main ()
(gdb) bt full
#0  0x400a1b6c in Tk_PhotoPutBlock () from /usr/lib/libtk8.5.so
No symbol table info available.
#1  0x40526f41 in ObjRead (interp=0x804ba18, data="" format=0x0, imageHandle=0x8269bf8, destX=0, destY=0, width=1, height=1, srcX=0,
    srcY=1) at utils/TkCximage/src/PhotoFormat.cpp:215
        buffer = (BYTE *) 0x826c7a0 "ÿÿÿ"
        size = 4
        FileData = (BYTE *) 0x826bc80 "GIF89a\001"
        length = 230
        image = {_vptr.CxImage = 0x4058e3b0, pDib = 0x826c370, head = {biSize = 40, biWidth = 1, biHeight = 1, biPlanes = 1, biBitCount = 8,
    biCompression = 0, biSizeImage = 4, biXPelsPerMeter = 3780, biYPelsPerMeter = 3780, biClrUsed = 256, biClrImportant = 0}, info = {
    dwEffWidth = 4, pImage = 0x826c798 "?\004", pGhost = 0x0, pParent = 0x0, dwType = 2, szLastError = '\0' <repeats 255 times>,
    nProgress = 0, nEscape = 0, nBkgndIndex = 63, nBkgndColor = {rgbBlue = 0 '\0', rgbGreen = 0 '\0', rgbRed = 0 '\0', rgbReserved = 0 '\0'},
    m_dispmeth = 0, nQuality = 90 'Z', nJpegScale = 0 '\0', nFrame = 0, nNumFrames = 0, dwFrameDelay = 0, xDPI = 96, yDPI = 96,
    rSelectionBox = {left = 0, top = 0, right = 0, bottom = 0}, nAlphaMax = 255 'ÿ', bAlphaPaletteEnabled = false, bEnabled = true,
    xOffset = 0, yOffset = 0, dwCodecOpt = {0, 0, 0, 0, 0, 0}, last_c = {rgbBlue = 0 '\0', rgbGreen = 0 '\0', rgbRed = 0 '\0',
---Type <return> to continue, or q <return> to quit---
      rgbReserved = 0 '\0'}, last_c_index = 0 '\0', last_c_isvalid = false, nNumLayers = 0, dwFlags = 0, bGetAllFrames = false,
    GifFrames = 0x0}, pSelection = 0x0, pAlpha = 0x0, pLayers = 0x0}
        numframes = 1
        block = {pixelPtr = 0x826c7a0 "ÿÿÿ", width = 1, height = 1, pitch = 4, pixelSize = 4, offset = {0, 1, 2, 3}}
      &nb sp; item = (GifInfo *) 0x1
#2  0x40526ce9 in ChanRead (interp=0x804ba18, chan=0x8269ce0, fileName=0x82671b0 "horizontal/slidergrip.gif", format=0x0,
    imageHandle=0x8269bf8, destX=0, destY=0, width=1, height=1, srcX=0, srcY=0) at utils/TkCximage/src/PhotoFormat.cpp:136
        data = "" *) 0x8265ec0
#3  0x4009e64e in ImgPhotoConfigureMaster () from /usr/lib/libtk8.5.so
No symbol table info available.
#4  0x4009bc31 in ImgPhotoCreate () from /usr/lib/libtk8.5.so
No symbol table info available.
#5  0x40095819 in Tk_ImageObjCmd () from /usr/lib/libtk8.5.so
No symbol table info available.
#6  0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#7  0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5. so
No symbol table info available.
#8  0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
No symbol table info available.
#9  0x4017e048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
No symbol table info available.
#10 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#11 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#12 0x40118f53 in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#13 0x4017d8b4 in Tcl_UplevelObjCmd () from /usr/lib/libtcl8.5.so
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#14 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#15 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
No symbol table info available.
#16 0x4 01440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
No symbol table info available.
#17 0x4017e048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
No symbol table info available.
#18 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#19 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
No symbol table info available.
#20 0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
No symbol table info available.
#21 0x4017e048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#22 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#23 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#24 0x40118f53 in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#25 0x4011e51b in Tcl_EvalObjCmd () from /usr/lib/libtcl8.5.so
No symbol table info available.
#26 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#27 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
No symbol table info available.
#28 0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#29 0x4017e048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
No symbol table info available.
#30 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#31 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
No symbol table info available.
#32 0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
No symbol table info available.
#33 0x4017e 048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
No symbol table info available.
#34 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#35 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#36 0x40161b3f in Tcl_FSEvalFileEx () from /usr/lib/libtcl8.5.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#37 0x40126db8 in Tcl_SourceObjCmd () from /usr/lib/libtcl8.5.so
No symbol table info available.
#38 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#39 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#40 0x40118e76 in Tcl_Eval () from /usr/lib/libtcl8.5.so
No symbol table info available.
#41 0x40119bdc in Tcl_GlobalEval () from /usr/lib/libtcl8.5.so
No symbol tab le info available.
#42 0x4017ab98 in Tcl_PkgRequireEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#43 0x4017a86a in Tcl_PkgRequire () from /usr/lib/libtcl8.5.so
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#44 0x4017b35f in Tcl_PackageObjCmd () from /usr/lib/libtcl8.5.so
No symbol table info available.
#45 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#46 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
No symbol table info available.
#47 0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
No symbol table info available.
#48 0x40119088 in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#49 0x40120c56 in Tcl_IfObjCmd () from /usr/lib/libtcl8.5.so
No symbol table info available.
#50 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#51 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#52 0x40161b3f in Tcl_FSEvalFileEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#53 0x40126db8 in Tcl_SourceObjCmd () from /usr/lib/libtcl8.5.so
No symbol table info available.
#54 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#55 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#56 0x40118f53 in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#57 0x4017d8b4 in Tcl_UplevelObjCmd () from /usr/lib/libtcl8.5.so
No symbol table info available.
#58 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#59 0x401452c1 in TclExecuteByteCode () from /usr/lib/libtcl8.5.so
No symbol table info available.
#60 0x401440c3 in TclCompEvalObj () from /usr/lib/libtcl8.5.so
No symbol table info available.
#61 0x4017e048 in TclObjInterpProc () from /usr/lib/libtcl8.5.so
No symbol table info available.
#62 0x4011813b in TclEvalObjvInternal () from /usr/lib/libtcl8.5.so
No symbol table info available.
#63 0x401187d8 in Tcl_EvalEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#64 0x40161b3f in Tcl_FSEvalFileEx () from /usr/lib/libtcl8.5.so
No symbol table info available.
#65 0x4004b889 in Tk_MainEx () from /usr/lib/libtk8.5.so
No symbol table info available.
#66 0x0804888e in main ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
(gdb) quit
The program is running.  Exit anyway? (y or n) y
bash-3.00#

            Thanks =)


Youness Alaoui <[EMAIL PROTECTED]>
escreveu:
First question would be "did you use a binary package or did you compile
amsn yourself"... in case you used a binary package, you must uninstall
it, download the source package and compile because all binary packages
were compiled against tcl/tk 8.4, and will now work for tcl/tk 8.4
second thing, when you compile amsn, you have to do this : ./configure
--enable-debug && make
then you do the same, when the error occurs you get the backtrace (refer
to http://amsn.sf.net/faq.php) because that's what's important...
and answer all of Vivia's questions!

p.s. for devels : we compile against tcl/tk stubs which means that it
should work no matter which version we use at runtime, I guess something
is wrong in one line of code, which makes it crash even if using stubs,
can anyone check ?

Thanks for the report.
KaKaRoTo

On Sun, 29 Jan 2006 10:11:44 -0500, Vivia Nikolaidou
<[EMAIL PROTECTED]> wrote:

>
> Hi Ricardo, thanx for the bug feedback!
>
> First question: what do you do to get this bug to appear? Or, if you do
> nothing in particular, when does it appear?
>
> Second question: does it work OK with tcl/tk 8.4 ? 8.5 is unstable
> anyway...
>
> Third question: can you send us the backtra ce too?
>
> To everyone with tcl/tk 8.5 : does this tell you anything?
>
> Thanx again!
>
> Vivia
>
> On Sun, 29 Jan 2006, Ricardo wrote:
>
>> bash-3.00# gdb wish
>> GNU gdb 6.3
>> Copyright 2004 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and
>> you are
>> welcome to change it and/or distribute copies of it under certain
>> conditions.
>> Type "show copying" to see the conditions.
>> There is absolutely no warranty for GDB. Type "show warranty" for
>> details.
>> This GDB was configured as "i486-slackware-linux"...Using host
>> libthread_db library "/lib/libthread_db.so.1".
>>
>> (gdb) set args amsn
>> (gdb) run
>> Starting program: /usr/bin/wish amsn
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x400a1b6c in Tk_PhotoPutBlock () from /usr/lib/libtk8.5.so
>>
>>
>>
>>
>> ---------------------------------
>> Yahoo! doce lar. Faça do Yahoo! sua homepage.
>
>
> ---
>
> "Where is the life that we have lost in living?
> Where is the wisdom that we have lost in knowledge?
> Where is the knowledge that we have lost in information?"
>
> OEO;



--
KaKaRoTo


Yahoo! doce lar. Faça do Yahoo! sua homepage.

Reply via email to