[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2013-11-26 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 --- Comment #5 from Kostya Serebryany kcc at gcc dot gnu.org --- However, building a tsan instrumented CP2K is non-trivial, as it requires Maybe let's do some remote debugging then :) The crash looks like someone corrupted the internal tsan's

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2013-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 --- Comment #6 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch --- (In reply to Kostya Serebryany from comment #5) However, building a tsan instrumented CP2K is non-trivial, as it requires Maybe let's do some remote debugging

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2013-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 --- Comment #7 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch --- (In reply to Kostya Serebryany from comment #5) Maybe let's do some remote debugging then :) For the current setup, the crash is always in StackDepotGet The

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2013-11-26 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 --- Comment #8 from Kostya Serebryany kcc at gcc dot gnu.org --- Just insert more printfs everywhere you can :) E.g. print everything around s-link = s2 in StackDepotPut

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2013-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 --- Comment #9 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch --- (In reply to Kostya Serebryany from comment #8) Just insert more printfs everywhere you can :) E.g. print everything around s-link = s2 in StackDepotPut hmm I

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2013-11-26 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 --- Comment #10 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch --- well, maybe a more simple reason. If I export export OMP_STACKSIZE=32M (i.e. stack size for the threads), the segfault disappears... does that sound like a good

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2013-11-26 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 --- Comment #11 from Kostya Serebryany kcc at gcc dot gnu.org --- (In reply to Joost VandeVondele from comment #10) well, maybe a more simple reason. If I export export OMP_STACKSIZE=32M (i.e. stack size for the threads), the segfault

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2013-11-25 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 --- Comment #1 from Kostya Serebryany kcc at gcc dot gnu.org --- does this happen with clang's tsan?

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2013-11-25 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added CC|

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2013-11-25 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 --- Comment #3 from Kostya Serebryany kcc at gcc dot gnu.org --- Can you post the exact command line to reproduce the failure? (We should have CP2K sources somewhere)

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2013-11-25 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 --- Comment #4 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch --- (In reply to Kostya Serebryany from comment #3) Can you post the exact command line to reproduce the failure? (We should have CP2K sources somewhere) The exact