aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/io.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-10-19 17:22:25 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-10-23 14:30:30 +0200
commit014c784a73e56769c7045d8f7515d57d9d8a2caf (patch)
treed23207bcc6d53e0393eb97352b235ce14a86914f /erts/emulator/beam/io.c
parente6ea3b07e25b09481b010558f8bfdfb57dcbb85e (diff)
downloadotp-014c784a73e56769c7045d8f7515d57d9d8a2caf.tar.gz
otp-014c784a73e56769c7045d8f7515d57d9d8a2caf.tar.bz2
otp-014c784a73e56769c7045d8f7515d57d9d8a2caf.zip
erts: Fix lock check assertion
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r--erts/emulator/beam/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c
index 88e9215a9c..609fe9f5fb 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -1132,7 +1132,7 @@ int erts_write_to_port(Eterm caller_id, Port *p, Eterm list)
Uint size;
int fpe_was_unmasked;
- ERTS_SMP_LC_ASSERT(erts_lc_is_port_locked(p));
+ ERTS_SMP_LC_ASSERT(erts_lc_is_port_locked(p) || ERTS_IS_CRASH_DUMPING);
ERTS_SMP_CHK_NO_PROC_LOCKS;
p->caller = caller_id;