Linker Error

S

Santosh

I have a program which uses POSIX semaphores and it crashes while
calling sem_destroy. The back trace looks as below:

#0 0x30008cdc in do_lookup_x ()
from /tmp/rarakali_20070719222751/85xx/lib/ld.so.1
#1 0x300090bc in _dl_lookup_symbol_x ()
from /tmp/rarakali_20070719222751/85xx/lib/ld.so.1
#2 0x3000b9c8 in fixup () from /tmp/rarakali_20070719222751/85xx/lib/
ld.so.1
#3 0x3000b854 in _dl_runtime_resolve ()
from /tmp/rarakali_20070719222751/85xx/lib/ld.so.1
#4 0x0ff8248c in mts_vdc_sem_destroy (semid=267895665)
at ../infra/mts/lib/mts_vdc.c:236


Does anyone know what the first four frames are about, i.e. what's ld
trying to resolve ?

BTW, line 236 in #4 is calling sem_destroy.

Thanks
 
S

santosh

Santosh said:
I have a program which uses POSIX semaphores and it crashes while
calling sem_destroy. The back trace looks as below:

#0 0x30008cdc in do_lookup_x ()
from /tmp/rarakali_20070719222751/85xx/lib/ld.so.1
#1 0x300090bc in _dl_lookup_symbol_x ()
from /tmp/rarakali_20070719222751/85xx/lib/ld.so.1
#2 0x3000b9c8 in fixup () from /tmp/rarakali_20070719222751/85xx/lib/
ld.so.1
#3 0x3000b854 in _dl_runtime_resolve ()
from /tmp/rarakali_20070719222751/85xx/lib/ld.so.1
#4 0x0ff8248c in mts_vdc_sem_destroy (semid=267895665)
at ../infra/mts/lib/mts_vdc.c:236


Does anyone know what the first four frames are about, i.e. what's ld
trying to resolve ?

POSIX is not a part of Standard C. You should post to
or a similar group.
 
K

Kenny McCormack

And then Santosh (the very same), called "OT" on himself thusly:
POSIX is not a part of Standard C. You should post to
news:comp.unix.programmer or a similar group.

So, Richard, I think this is a first. Someone so eager to be the first
in the feeding frenzy, that he's calling:

Off topic. Not portable. Cant discuss it here. Blah, blah, blah.

On himself. Wow...
 
K

Keith Thompson

Santosh said:
I have a program which uses POSIX semaphores and it crashes while
calling sem_destroy. The back trace looks as below:
[snip]

If you're going to be posting here regularly, could you consider using
your full name rather than just "Santosh"? We have a regular poster
here with the same name (he responded to your post), and it could get
confusing. Thanks.
 
S

santosh

And then Santosh (the very same), called "OT" on himself thusly:
POSIX is not a part of Standard C. You should post to
news:comp.unix.programmer or a similar group.

So, Richard, I think this is a first. Someone so eager to be the first
in the feeding frenzy, that he's calling:

Off topic. Not portable. Cant discuss it here. Blah, blah, blah.

On himself. Wow...[/QUOTE]

Kenny, you're losing your touch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top