Bug 2862 - POSIX: pthread_detach/4-3 fails on routerstation
Summary: POSIX: pthread_detach/4-3 fails on routerstation
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.2.1
Hardware: All Multiple
: Low normal
Target Milestone: 1.2.2
Assignee: Kai Kang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 2332
  Show dependency tree
 
Reported: 2012-07-31 06:59 UTC by Kai Kang
Modified: 2012-09-19 09:02 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
More information of curruption from glibc (16.42 KB, text/plain)
2012-08-13 07:51 UTC, Kai Kang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Kang 2012-07-31 06:59:12 UTC
pthread_detach/4-3 fails on routerstation. But check other platform, it also occurs.

output:
  [17:50:59]System abilities:
  [17:50:59] TSA: 200809
  [17:50:59] TSS: 200809
  [17:50:59] TPS: 200809
  [17:50:59] pagesize: 4096
  [17:50:59] min stack size: 131072
  [17:50:59]WARNING: The TPS option is claimed to be supported but setscope fails
  [17:50:59]WARNING: The TPS option is claimed to be supported but setscope fails
  [17:50:59]WARNING: The TPS option is claimed to be supported but setscope fails
  [17:50:59]WARNING: The TPS option is claimed to be supported but setscope fails
  [17:50:59]WARNING: The TPS option is claimed to be supported but setscope fails
  [17:50:59]WARNING: The TPS option is claimed to be supported but setscope fails
  [17:50:59]WARNING: The TPS option is claimed to be supported but setscope fails
  [17:50:59]WARNING: The TPS option is claimed to be supported but setscope fails
  [17:50:59]WARNING: The TPS option is claimed to be supported but setscope fails
  [17:50:59]All 33 thread attribute objects were initialized

  Segmentation fault

This occurs after main thread call second sleep(1)
Comment 1 Kai Kang 2012-07-31 11:07:10 UTC
This case fails randomly. It is a multi-threads issue and hard to debug. I am not confident to fix it in time.
Comment 2 Kai Kang 2012-08-13 07:51:13 UTC
Created attachment 685 [details]
More information of curruption from glibc
Comment 3 Kai Kang 2012-08-14 09:05:42 UTC
Patch sent to ltp list.
Comment 4 Kai Kang 2012-09-03 02:09:54 UTC
This work is taken over by Jan Stancek <jstancek@redhat.com> on LTP mailist, he is developping a new patch for this case.
Comment 5 Kai Kang 2012-09-19 09:02:27 UTC
ltp commit 6a66e53788c76197a1e7bbff40c330f112ce31ca on Sep 19, 2012