Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-11-05
09:20 • Closed ticket [1869390fff]: threading causes segfaults on freebsd plus 6 oth... artifact: 5992751471 user: sf-robot
2009-10-21
22:14 • Ticket [1869390fff]: 1 change artifact: cc3d7ba6ce user: dgp
07:21 • Pending ticket [1869390fff]. artifact: 7f6722eeb3 user: mistachkin
07:21 • Ticket [1869390fff]: 4 changes artifact: e3d9f1b895 user: mistachkin
04:23 • Ticket [1869390fff]: 4 changes artifact: a221778e08 user: dgp
2009-10-18
09:40 • Ticket [1869390fff]: 4 changes artifact: 8b159186fa user: mistachkin
2009-10-02
03:32 • Ticket [1869390fff]: 1 change artifact: 9556a295e1 user: dgp
2008-01-16
12:52 • Ticket [1869390fff]: 4 changes artifact: 02cd84f713 user: juliannoble
2008-01-12
01:08 • Ticket [1869390fff]: 4 changes artifact: dd8f1602dc user: juliannoble
2008-01-11
22:43 • Ticket [1869390fff]: 4 changes artifact: f2c5dfbda4 user: msofer
22:43 • Add attachment ERR.NOCHECK to ticket [1869390fff] artifact: c81a10ceb1 user: msofer
22:27 • Add attachment ERR.b2 to ticket [1869390fff] artifact: a8af6f793d user: msofer
22:27 • Ticket [1869390fff] threading causes segfaults on freebsd status still Open ... artifact: aae24e0732 user: msofer
22:27 • Ticket [1869390fff]: 4 changes artifact: 0c7aada809 user: msofer
22:27 • Add attachment ERR.HEAD to ticket [1869390fff] artifact: c6621fff03 user: msofer
15:27 • New ticket [1869390fff] threading causes segfaults on freebsd. artifact: 4780784d6f user: msofer

threading causes segfaults on freebsd

Closed / Out of Date1869390fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 17 years ago
Descriptionplain2008-01-11 15:27:11
On Joe Mistachkin's machine

[miguel@jupiter ~/tcl-CVS/unix]$ uname -a
FreeBSD jupiter.mistachkin.net 4.11-STABLE FreeBSD 4.11-STABLE #14: Sun Mar 11 14:34:34 PST 2007     [email protected]:/usr/obj/usr/src/sys/JUPITER  i386
[miguel@jupiter ~/tcl-CVS/unix]$ ulimit -s
1048576

(yes, those are 1GB stacks! Do not seem to influence these results)

The errors are NOT due to the changes in stack checking: attaching 'make test' output for both HEAD and 8.5b2 (before the stack check changes) in a build with
  --disable-shared --enable-symbols --enable-threads
The two are not the same but similar, there are a few more segfaults in HEAD.

Note that juliannoble reports no problems with 'make test' in #1860425
msoferplain2008-01-11 22:27:12
File Added - 261806: ERR.HEAD
msoferplain2008-01-11 22:27:41
File Added - 261807: ERR.b2

Logged In: YES 
user_id=148712
Originator: YES

File Added: ERR.b2
msoferplain2008-01-11 22:43:57
File Added - 261810: ERR.NOCHECK

Logged In: YES 
user_id=148712
Originator: YES

Adding ERR.NOCHECK for a build with -DTCL_NO_STACK_CHECK, illustrating that the issues are not (only?) due to stack checking.
File Added: ERR.NOCHECK
juliannobleplain2008-01-12 01:08:18
Logged In: YES 
user_id=598324
Originator: NO

I don't have a FreeBSD 4.x system to build on - but tests run ok on 6.2
Just fetched cvs head and configured with --disable-shared --enable-symbols --enable-threads

bitz# uname -a
FreeBSD bitz.precisium.net 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Thu Nov 15 10:21:05 UTC 2007     [email protected]:/usr/obj/usr/src/sys/BITZ-SMP  i386

Tests ended at Fri Jan 11 17:39:56 UTC 2008
all.tcl:        Total   24178   Passed  22960   Skipped 1218    Failed  0
Sourced 137 Test Files.
juliannobleplain2008-01-16 12:52:02
Logged In: YES 
user_id=598324
Originator: NO

Found an old slow 4.9 system to try it on. 
This system does get the segmentation violations etc.

gollum# uname -a
FreeBSD gollum 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Mar 13 11:53:22 GMT 2004     julz@gollum:/usr/obj/usr/src/sys/pcm_isdn_kernel  i386


Tests ended at Sun Jan 13 12:29:22 GMT 2008
all.tcl:        Total   23099   Passed  21981   Skipped 1109    Failed  9
Sourced 137 Test Files.
Files with failing tests: compExpr-old.test expr.test http.test pkgMkIndex.test
dgp Ticket [1869390fff]: 1 change [History diff]2009-10-02 03:32:27
mistachkinplain2009-10-18 09:40:56
This bug does not repro on HEAD on my machine.
dgpplain2009-10-21 04:23:04
mistachkin, can you check the core-8-5-branch?
If you cannot repro there either, we should close this?
mistachkinplain2009-10-21 07:21:06
This does not repro on core-8-5-branch either.  Tested with and without --disable-shared.
mistachkin Pending ticket [1869390fff]. [History diff]2009-10-21 07:21:08
dgp Ticket [1869390fff]: 1 change [History diff]2009-10-21 22:14:51
sf-robotplain2009-11-05 09:20:21
allow_comments - 1

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.

Attachments: