www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan A.Magallon <magal...@ivo.cps.unizar.es>
Subject os-hpux/4724: ap_os_dso_sym can't get symbols
Date Mon, 12 Jul 1999 23:05:40 GMT

>Number:         4724
>Category:       os-hpux
>Synopsis:       ap_os_dso_sym can't get symbols
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jul 12 16:10:00 PDT 1999
>Last-Modified:
>Originator:     magallon@ivo.cps.unizar.es
>Organization:
apache
>Release:        1.3.6
>Environment:
HP-UX paradise B.09.00 A 9000/385
cc from HP
>Description:
File: os/unix/os.c
Code: ap_os_dso_sym
Fails to resolve symbols from a shared object because
shl_findsym behaviour is different in 9.x (well, at least 9.00) than in 10.xxx
In 9.x, needs to add manually the leading underscore to lookup symbols in
a .so object. I've checked it in 9.x and 10.x, and the latter does not need
the underscore.
>How-To-Repeat:
Always occurs in 9.x
>Fix:
Make the code for Raphsody more general, something like SO_SYMS_NEED_UNDERSCORE,
done before using dlsym or shl_findsym or NSLookupAndBindSymbol.
Note: why to malloc the new string (its slooow) ? Use a fixed str[MAXPATHLEN],
or alloca()'te it.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]




Mime
View raw message