Skip to content

Program received signal SIGSEGV, Segmentation fault while using producer tokens #13

@rohitjoshi

Description

@rohitjoshi

When I use moodycamel::ConcurrentQueuestd::string with 4 consumer and 4 producer threads with initial size 1024*1024.

NOTE:

  1. This worked fine while using data type as int.
  2. This work fine while using non producer tokens
  3. I have undefined MOODYCAMEL_CPP11_THREAD_LOCAL_SUPPORTED
  4. Using GCC 4.9
  5. Darwin 7831c1c1501a 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Program received signal SIGSEGV, Segmentation fault.
0x000000010000363e in moodycamel::ConcurrentQueue<std::string,     moodycamel::ConcurrentQueueDefaultTraits>::ExplicitProducer::~ExplicitProducer() ()
(gdb) bt
#0  0x000000010000363e in moodycamel::ConcurrentQueue<std::string,     moodycamel::ConcurrentQueueDefaultTraits>::ExplicitProducer::~ExplicitProducer() ()
#1  0x00000001000028b1 in test_1000() ()
#2  0x0000000100008599 in main ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions