From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) Description of problem: Could not install and run ower DCOM for Linux. Reason: Segmentation violation in pthread_create. This is a Red Hat 7.1 problem only. The same binaries are running under Red Hat 6.1, 6.2, 7.0, 7.0 including Update 7.1, and SuSE 6.3 to 7.2. How reproducible: Always Steps to Reproduce: 1. Install rpm -i dcom-license-v... 2. Install rpm -i dcom-v... Actual Results: Program "dcomcnfg -init" hangs. Reason: Segmentation violation in pthread_create. Expected Results: no hanging dcomcnfg. Additional info: Not reproducible with a small program. You need ower DCOM for Linux rpm file to reproduce the problem. Multiple of ower customers need a solution.
Created attachment 24727 [details] DCOM for Linux - 6.1.1 Prerelease
Can you export LD_ASSUME_KERNEL=2.2.5 and retry? Unlike glibc in RHL 7.0, i686 libpthread in 7.1 by default uses %gs as thread pointer (which means threads are not stuck with fixed 2M thread stacks), they can use far smaller stacks (thus more threads can be created) or bigger stacks, also not all threads have to use the same stack size. But this is incompatible with applications which either clobber %gs register, or call modify_ldt(2) themselves. If DCOM is such a case, then it should be fixed (it is enough if it starts using segment descriptors from the last one downwards, as glibc uses them from 0 up to max number of threads).