Bug 681263 - [abrt] tk-1:8.5.8-2.fc14: UnsetVarStruct: Process /usr/bin/wish8.5 was killed by signal 11 (SIGSEGV)
Summary: [abrt] tk-1:8.5.8-2.fc14: UnsetVarStruct: Process /usr/bin/wish8.5 was killed...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tk
Version: 14
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:133149465699a69cd5ada230cdb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-01 15:40 UTC by Paul Fee
Modified: 2011-03-23 22:52 UTC (History)
1 user (show)

Fixed In Version: tk-8.5.9-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-23 22:52:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (40.37 KB, text/plain)
2011-03-01 15:40 UTC, Paul Fee
no flags Details

Description Paul Fee 2011-03-01 15:40:22 UTC
abrt version: 1.1.17
architecture: x86_64
Attached file: backtrace, 41334 bytes
cmdline: /usr/bin/wish8.5 /usr/bin/appLaunch.tcl 127.0.0.1 17000 /home/pfee/work/TCL/netserver.tcl proj_netserv.tpj 4000
component: tk
Attached file: coredump, 3252224 bytes
crash_function: UnsetVarStruct
executable: /usr/bin/wish8.5
kernel: 2.6.35.11-83.fc14.x86_64
package: tk-1:8.5.8-2.fc14
rating: 4
reason: Process /usr/bin/wish8.5 was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1298993252
uid: 500

comment
-----
The console from which prodebug was launched also had this error message:

*** glibc detected *** /usr/bin/wish8.5: malloc(): memory corruption (fast): 0x0000000000a39018 ***

Running the script standalone with tclsh works as expected, the fault occurs when trying to step through the script.

How to reproduce
-----
1. Took example TCL script from here: http://www.tcl.tk/about/netserver.txt
2. Added line to end of script "Echo_Server 3000"
3. Attempted to step through script using prodebug.
4. First click on the step button arrived at start of Echo_Server proc.
5. Second click on step button resulted in crash of tcl, not of prodebug.

Comment 1 Paul Fee 2011-03-01 15:40:24 UTC
Created attachment 481661 [details]
File: backtrace

Comment 2 Jaroslav Škarvada 2011-03-15 12:14:21 UTC
Thanks for report, it seems to be fixed in tcl-8.5.9. I will try to update it in F14.

Comment 3 Paul Fee 2011-03-15 14:13:50 UTC
Browsed around Koji and downloaded TCL and TK 8.5.9 from here:

http://kojipkgs.fedoraproject.org/packages/tcl/8.5.9/1.fc14/x86_64/tcl-8.5.9-1.fc14.x86_64.rpm
http://kojipkgs.fedoraproject.org/packages/tk/8.5.9/1.fc15/x86_64/tk-8.5.9-1.fc15.x86_64.rpm

TK is built for F15, but it installed ok on my F14.

Using 8.5.9, the memory corruption did not occur and I was able to use prodebug from tclpro-1.5.0-14.20061030cvs.fc12.noarch to step through the example TCL script.

Backporting 8.5.9 to F14 should fix this bug.  F15 already has the fix.

Comment 4 Jaroslav Škarvada 2011-03-15 16:12:44 UTC
You was too fast ;) I was just building the tk via tag override. It seems to fix more abrt bugs so I am going to push it into testing.

Comment 5 Fedora Update System 2011-03-15 16:32:29 UTC
tk-8.5.9-1.fc14,tcl-8.5.9-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/tk-8.5.9-1.fc14,tcl-8.5.9-1.fc14

Comment 6 Paul Fee 2011-03-16 10:15:51 UTC
Reverted my F14 box to the released versions (8.5.8-2), bug returned as expected.

Upgrade using updates-testing repo to version 8.5.9-1:
# yum --enablerepo=updates-testing update tcl

Memory corruption does not occur and prodebug allows stepping through TCL script as expected.

The bug is fixed from my view point, Jaroslav, can you adjust this bug status as appropriate as I'm not familiar with Fedora's bug closing policy.

I'll add my karma points to the F14 update on bodhi.

Thanks for fixing this.

Comment 7 Jaroslav Škarvada 2011-03-16 11:06:39 UTC
> The bug is fixed from my view point, Jaroslav, can you adjust this bug status
> as appropriate as I'm not familiar with Fedora's bug closing policy.
> 
It will be in MODIFIED state while in updates-testing. It will be auto-closed when it gets to stable.

> I'll add my karma points to the F14 update on bodhi.
> 
Thanks.

Comment 8 Fedora Update System 2011-03-23 22:51:58 UTC
tk-8.5.9-1.fc14, tcl-8.5.9-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.