Home > Tcl Error > Tcl Bus Error

Tcl Bus Error

Contents

I'm quoting the message here so that others can find it in a wiki search, but I can't guarantee that bug 705406 will always generate that particular message, and of course htdocs/libtml and tclhttpd/custom are both set up as library > names in the initialization code. The problem in that case is that the caller isn't obeying the interface contract, not that the implementation has gone wrong.RS 2001-11-21: In C, errors are something you loathe and try If so, you may want to try the finkport, which should work.This got me looking. http://colinmeldrum.com/tcl-error/tcl-error-f5.html

Sometimes the difference has to do with covert "magic names".Arts and crafts of Tcl-Tk programming category tutorial category debugging HomeRecent changesHelpWhoAmI/LogoutCreate new pageRandom pagePrevious pageNext pageAdd commentsEditHistoryEdit summaryReferences Getting started What I'll explore. wiki.tcl.tk Help! Registered users can view up to 200 bugs per month without a service contract. http://wiki.tcl.tk/1738

Tcl Error Command

Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse You seem to have CSS turned off. Mon, 03 Sep 2001 03:00:00 GMT WENDY BUT#3 / 8 Bus error (core dumped) what can anyone tell me (nicely) about this error when trying to run a program?

HTH, -D Previous message: [Tutor] Bus Error - Core Dumped Next message: [Tutor] =?gb2312?B?tPPBrC0yMDAxxOq5+rzKwszJq8qzxrfT68jLwOC9ob+1sqnAwLvhKA==?= =?gb2312?B?QWdybyBBbm51YWwgTWVldGluZyBDaGluYSAyMDAxKQ0=?= Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Home It just makes life harder for no gain.2: See if the Crash is RepeatableUnrepeatable crashes are virtually impossible to hunt down, unless you're lucky enough to have a core dump and The program kept crashing with an unhandled exception error. Tcl Warning What is Tk?

Unfortunately for me, I had not initialised the pointer before hand. Tcl Error Handling It is also conceivable that there is a bug in Tcl that causes the problem (python embeds the Tcl interpreter to give access to the Tk gui). Did you write the server? (you said the server gave the bus error when the client was aborted, right?) Maybe there is a problem with the server trying to read a Are you using threads?

I wouldn't expect a script problem to be capable of causing a bus error anyway. Tcl Throw Example Help?Thanks ... This means that if it's a crash that occurs on exit, or happens rarely enough in an unimportant part of an App - I'll ignore it, upgrade to later CVSed versions If supplied, info is used to seed the errorInfo value, and code becomes the errorCode, which is otherwise NONE.error is short for return -level 0 -code error, which is not the

Tcl Error Handling

if {[eof $sock] || [catch {gets $sock line}]} { close $sock puts "Close $echo(addr,$sock)" unset echo(addr,$sock) } else { puts $sock $line } } \# end of server.tcl -- Test the https://quickview.cloudapps.cisco.com/quickview/bug/CSCsb46223 Incomplete and subject to change at short notice, but something is better than nothing. :-)trythrowreturnArts and crafts of Tcl-Tk programmingCategory Command HomeRecent changesHelpWhoAmI/LogoutCreate new pageRandom pagePrevious pageNext pageAdd commentsEditHistoryEdit summaryReferences Page Tcl Error Command To keep them from being sourced, > simply don't have the associated directory present. > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Tcl Error Code That sounds more like a problem with the Tcl interpreter. > Why does it source the libtml dir anyway?

Definitely include the patchlevel of Tcl that has the problem, as reported by [info patchlevel], and definitely include the script that reproduces the bug (taking care if you're using the file navigate here That sounds more like a problem with the Tcl interpreter. > > > Why does it source the libtml dir anyway? > > It looks like that's where the code used When I tried debugging it, I realised that the attributes for the file used in the program (the file handle) had a "bus error" in its place.. SourceForge About Site Status @sfnet_ops Powered by Apache Allura™ Find and Develop Software Create a Project Software Directory Top Downloaded Projects Community Blog @sourceforge Resources Help Site Documentation Support Request © Tcl Throw Error

To keep them from being sourced, simply don't have the associated directory present. Please don't fill out this field. Synopsis edit error message ?info? ?code? Check This Out I am getting a Bus Error (Core Dumped).

It looks like that's where the code used by .tml files resides. > Where do I configure whether the custom and htdocs/libtml > dirs are sourced?). Tcl Catch Example You're not supposed to get Bus Errors, etc, with python. As noted, if you simply rename the custom and libtml directories they won't be accessed, but I doubt that will help.

As noted, if you simply rename the custom and libtml directories they won't be accessed, but I doubt that will help.

In the end I narrowed it down to a line where I had used the "free()" command to free up a pointer to an array. I have tclsh 8.4, 8.4.7 and 8.5, probably fromMacPorts. What is Tk? Errorinfo Tcl Sign up for the SourceForge newsletter: I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products.

The symptom may also occur when a single user connects to the router through a Telnet session, then from this Telnet session establishes another Telnet session into the same router, and Source the "server.tcl" into a tclsh, then run Echo_Server with a port. Please refer to our Privacy Policy or Contact Us for more details You seem to have CSS turned off. http://colinmeldrum.com/tcl-error/tcl-error-out.html I tend to use a multithreaded version and a lot of packages - and usually the app involved is something of a large messy beast.

Scott_______________________________________________xml2rfc mailing listhttp://lists.xml.resource.org/mailman/listinfo/xml2rfc Scott Brim 2007-09-20 15:38:22 UTC PermalinkRaw Message Post by Lars EggertDid you install it manually? Running out of memory during a call to Tcl_Alloc() should lead to a Tcl_Panic().Finally, the most mysterious of all are catastrophic failures with no more message than Segmentation fault or Bus What would be involved?This crashes Tcl 8.3.5, threaded on Linux and Solaris: proc crash { } { if { [ catch { if { [ info exists X ] } { Brought to you by: ecky-l, hobbs, welch Summary Files Reviews Support Wiki Mailing Lists Tickets ▾ Feature Requests Patches Bugs News Code tclhttpd-users Re: [Tclhttpd-users] tclhttpd3.4.1: Bus error Re: [Tclhttpd-users] tclhttpd3.4.1:

It then crashed the de{*filter*} without telling me what exactly happend. Could something like this be developed as a package for TCL? Updated 2008-12-01 17:50:25 by LV ▲ [any thoughts on where to begin helping someone with this problem?]DKF: Oh dear. Bus error (core dumped) 2. _tkinter makes core dump (Re: python links with Tk in OS/2 - but core dumps) 3.

You should be able to connect via telnet or the Tcl client code listed below. (See http://www.tcl.tk/scripting/netserver.html) \# server.tcl -- cut here \# Echo_Server -- \# Open the server listening socket for someone attempting to determine what might have caused their application to crash.RS: I cannot contribute much to this topic - my Tcl apps crash less often than does my Window Terms Privacy Opt Out Choices Advertise Get latest updates about Open Source Projects, Conferences and News. When I tried debugging it, I realised that the attributes for the file used in the program (the file handle) had a "bus error" in its place..

To see if the basic networking works, enter the following "hello world" of network servers.