Bug 515677 - crash in do_lookup_x on dlopen
Summary: crash in do_lookup_x on dlopen
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-05 10:50 UTC by Caolan McNamara
Modified: 2009-08-10 13:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-10 13:38:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
backtrace (3.00 KB, text/plain)
2009-08-05 10:50 UTC, Caolan McNamara
no flags Details
large x86_64 testcase (15.65 MB, application/x-bzip)
2009-08-05 10:52 UTC, Caolan McNamara
no flags Details

Description Caolan McNamara 2009-08-05 10:50:06 UTC
Created attachment 356301 [details]
backtrace

Description of problem:
During the OOo build we dlopen with RTLD_NOW the output libs to check for missing symbols. This is crashing at the moment.


Version-Release number of selected component (if applicable):
glibc-2.10.90-12.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Unpack large attachment
2. ./runme.sh
  
Actual results:
backtrace also attached

Additional info:
Possibly related to bug 513945

Comment 1 Caolan McNamara 2009-08-05 10:52:24 UTC
Created attachment 356303 [details]
large x86_64 testcase

Comment 2 Andreas Schwab 2009-08-06 12:31:26 UTC
If you dlopen a module that depends on libpthread your app must be linked against libpthread as well.

Comment 3 Caolan McNamara 2009-08-07 08:36:57 UTC
but it is...

[do_lookup_x]$ ldd libsfxlx.so | grep pthread
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f52a0de0000)

[do_lookup_x]$ ldd checkdll|grep pthread
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe38eadd000)

Comment 4 Andreas Schwab 2009-08-10 13:38:01 UTC
Fixed in 2.10.90-13


Note You need to log in before you can comment on or make changes to this bug.