LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 06-20-2011, 06:15 AM   #1
dpkshetty
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
core dump in __libc_start_main when run under ldap user


Hi,
When i am running a particular user space program ( compiled in
sles9.2) on a test box running RHEL6.1 it coredumps as below.
NOTE the core dump only happens when run as a ldap configured user
but works fine when run as non-ldap user.

Reading symbols from /usr/lib/libstdc++.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `smcli lsbundle'.
Program terminated with signal 11, Segmentation fault.
#0 0x080494e0 in ?? ()
Missing separate debuginfos, use: debuginfo-install compat-libstdc++-33-3.2.3-69.el6.i686 glibc-2.12-1.25.el6.i686 libgcc-4.4.5-6.el6.i686
(gdb) where
#0 0x080494e0 in ?? ()
#1 0x0804b736 in ?? ()
#2 0x00126cc6 in __libc_start_main () from /lib/libc.so.6
#3 0x08049361 in ?? ()
(gdb)

NOTE that when the same user space program is run under rhel5.6
it also works fine

Is this something related to bad library or build issue or something
totally different ?
 
Old 06-20-2011, 07:29 AM   #2
dpkshetty
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Some more data based on my debug.
It eventually points at something related to RHEL6.1 and user being a ldap user.
Are there any ldap related defaults that were changes between rhel5 and rhel 6 ? That might provide some clues....
 
Old 06-21-2011, 05:19 AM   #3
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 676

Rep: Reputation: 137Reputation: 137
On your SLES system you can make your executable "self-containing" using
Ermine (http://magicErmine.com) or statifier (http://statifier.sf.net)

If you are using Ermine, make sure you specify --with-nss=internal switch
If you are using statifier, make sure you preloaded all NSS libraries.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a core dump from raw ram dump? cyent Programming 2 08-15-2010 05:57 PM
Core dump issues. Program crashes but does not generate core dump file sabeel_ansari Programming 1 10-07-2009 04:23 PM
LDAP mail addresses dump to text otisthegbs Linux - Server 1 02-28-2008 07:41 PM
__libc_start_main on IA64 snowing Programming 0 05-14-2006 09:12 PM
How to forcely dump the history of user commands to the admin dump file. mcp_achindra Linux - Security 1 03-19-2004 12:04 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration