Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

coredump becasue of "/usr/lib/libc.2"

SowrdMan
Occasional Visitor

coredump becasue of "/usr/lib/libc.2"

Hi,there
I have a problem with "/usr/lib/libc.2" it aborts suddenly when the sofeware runing .And the infomation given by core file as follows:

#0 0xc016eee8 in strcmp+0x10 () from /usr/lib/libc.2
(gdb) where
#0 0xc016eee8 in strcmp+0x10 () from /usr/lib/libc.2
#1 0x862c in getImsiBelong () at roam_file.c:602
#2 0x7e2c in errCheckCDR () at roam_file.c:452
#3 0x7430 in getFileData () at roam_file.c:243
#4 0xd7fc in procOneFile () at roam_db.c:945
#5 0xd684 in procRoamFile () at roam_db.c:904
#6 0x4294 in main () at main.c:246
Cannot access memory at address 0x3128.

Some days before ,I haven meet with one same trouble, and the core told me that the line lead the coredump had a "strcpy"

Oh, All this paly on the Hp-UN 11.11
Can anyone tell me why?
Thank everyone!
1 REPLY
Dennis Handly
Acclaimed Contributor

Re: coredump becasue of "/usr/lib/libc.2"

>And the information given by core file as follows:
#0 0xc016eee8 in strcmp+0x10
#1 0x862c in getImsiBelong roam_file.c:602

You are passing a bad source or target pointer to strcmp. Or the target is read only.