Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Glasgow Haskell Compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
60cb478f
Commit
60cb478f
authored
Jul 07, 2013
by
ian@well-typed.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix segfault with STM; fixes #8035. Patch from errge.
parent
a5913a23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
rts/Schedule.c
rts/Schedule.c
+13
-1
No files found.
rts/Schedule.c
View file @
60cb478f
...
...
@@ -2722,7 +2722,19 @@ raiseExceptionHelper (StgRegTable *reg, StgTSO *tso, StgClosure *exception)
tso
->
stackobj
->
sp
=
p
;
return
STOP_FRAME
;
case
CATCH_RETRY_FRAME
:
case
CATCH_RETRY_FRAME
:
{
StgTRecHeader
*
trec
=
tso
->
trec
;
StgTRecHeader
*
outer
=
trec
->
enclosing_trec
;
debugTrace
(
DEBUG_stm
,
"found CATCH_RETRY_FRAME at %p during raise"
,
p
);
debugTrace
(
DEBUG_stm
,
"trec=%p outer=%p"
,
trec
,
outer
);
stmAbortTransaction
(
cap
,
trec
);
stmFreeAbortedTRec
(
cap
,
trec
);
tso
->
trec
=
outer
;
p
=
next
;
continue
;
}
default:
p
=
next
;
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment