[Issue 14511] Profiler does not work with multithreaded programs

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

Iain Buclaw  changed:

   What|Removed |Added

   Priority|P1  |P2

--


[Issue 14511] Profiler does not work with multithreaded programs

2017-07-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to dmd-cxx at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/01087ce464d3b905d16e55799d02b710fcdd9939
fix Issue 14511 - Profiler does not work with multithreaded programs

https://github.com/dlang/druntime/commit/0f4f326fb476bbf80ca95e8f368bbb2c3d2f260d
Merge pull request #1233 from WalterBright/fix14511

--


[Issue 14511] Profiler does not work with multithreaded programs

2016-11-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

Alex  changed:

   What|Removed |Added

 CC||sascha.or...@gmail.com

--- Comment #6 from Alex  ---
After an update from 2.071.2 to 2.072.0 
a seg fault with the profile option on a mac appear with the following example 

void main() {}
void f()
{
import core.atomic: atomicOp;
shared size_t workUnitIndex;
atomicOp!"+="(workUnitIndex, 1);
}

which does not appear with the prior version of atomic.d 

Many thanks to ag0aep6g for helping with the code.

--


[Issue 14511] Profiler does not work with multithreaded programs

2016-04-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

Ivan Kazmenko  changed:

   What|Removed |Added

 CC||ga...@mail.ru
   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=15947

--


[Issue 14511] Profiler does not work with multithreaded programs

2016-04-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

jj75...@gmail.com changed:

   What|Removed |Added

   Severity|normal  |major

--


[Issue 14511] Profiler does not work with multithreaded programs

2016-04-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

jj75...@gmail.com changed:

   What|Removed |Added

 CC||jj75...@gmail.com

--- Comment #5 from jj75...@gmail.com ---
Profiler fails with atomic operations:

import core.atomic;

shared struct S
{
uint counter;

bool inc() shared
{
atomicOp!("+=")(counter, 1);
return true;
}
}

int main(string[] argv)
{
S s;

return 0;
}

This program segfaults if compiled with profiler hooks

--


[Issue 14511] Profiler does not work with multithreaded programs

2016-01-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

zotema...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||zotema...@gmail.com
 Resolution|FIXED   |---

--- Comment #4 from zotema...@gmail.com ---
static int bar[];

void main () {
import std.concurrency : spawn;
spawn ( & foo );
}

void foo () {
bar ~= 0;
}

This program segfaults if compiled with -profile=gc. Seems to happen at rt_term
of runAll at dmain2.d.

--


[Issue 14511] Profiler does not work with multithreaded programs

2015-06-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/01087ce464d3b905d16e55799d02b710fcdd9939
fix Issue 14511 - Profiler does not work with multithreaded programs

https://github.com/D-Programming-Language/druntime/commit/0f4f326fb476bbf80ca95e8f368bbb2c3d2f260d
Merge pull request #1233 from WalterBright/fix14511

--


[Issue 14511] Profiler does not work with multithreaded programs

2015-04-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=14000

--


[Issue 14511] Profiler does not work with multithreaded programs

2015-04-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 14511] Profiler does not work with multithreaded programs

2015-04-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/01087ce464d3b905d16e55799d02b710fcdd9939
fix Issue 14511 - Profiler does not work with multithreaded programs

https://github.com/D-Programming-Language/druntime/commit/0f4f326fb476bbf80ca95e8f368bbb2c3d2f260d
Merge pull request #1233 from WalterBright/fix14511

fix Issue 14511 - Profiler does not work with multithreaded programs

--


[Issue 14511] Profiler does not work with multithreaded programs

2015-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14511

--- Comment #1 from Walter Bright bugzi...@digitalmars.com ---
https://github.com/D-Programming-Language/druntime/pull/1233

--