This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13515] New: pthread_getname_np(th_id, ...) return weird result when called by another thread than [th_id]


http://sourceware.org/bugzilla/show_bug.cgi?id=13515

             Bug #: 13515
           Summary: pthread_getname_np(th_id, ...) return weird result
                    when called by another thread than [th_id]
           Product: glibc
           Version: 2.13
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: misterwallas@yahoo.fr
    Classification: Unclassified


Created attachment 6116
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6116
[pthread_getname_np] test program

When pthread_getname_np(th_id, ...) is called from the thread [th_id] the
result is fine. When called from another thread the result is "right padded" by
weird characters (often '\n' but others in general).

Find a simple test program in attachement.

Regards

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]