I would try adding libapache2-mod-php7.3-dbgsym and apache2 dbgsym packages

Ondrej
--
Ondřej Surý
[email protected]



> On 26 Nov 2018, at 16:23, H. <[email protected]> wrote:
> 
> Hello Bernhard,
> 
> I installed the php-7.3-intl-dbgsym package, but gdb still doesn't
> resolve the function name and line.
> 
> "apt list --installed" gives me:
> php7.3-intl-dbgsym/unstable-debug,now 7.3.0~rc5-2 amd64  [installiert]
> php7.3-intl/unstable,now 7.3.0~rc5-2 amd64  [installiert]
> 
> "file /usr/lib/php/20180731/intl.so" yields:
> /usr/lib/php/20180731/intl.so: ELF 64-bit LSB shared object, x86-64,
> version 1 (SYSV), dynamically linked,
> BuildID[sha1]=6d95b26a2683dbcfc2ad608d2ff022ae7659c264, stripped
> 
> gdb is also able to find the symbol file:
> (gdb) symbol-file /usr/lib/php/20180731/intl.so
> Reading symbols from /usr/lib/php/20180731/intl.so...Reading symbols
> from /usr/lib/debug/.build-
> id/6d/95b26a2683dbcfc2ad608d2ff022ae7659c264.debug...done.
> done.
> 
> However, when I attach gdb to the apache process, it asks me to load a
> new symbol table and then apparently cannot find the intl.so symbols
> anymore. Do I need more dgbsym packages or should I try to build the
> package myself?
> 
> Thank you and kind regards,
> Dino
> 
> Am Montag, den 26.11.2018, 15:37 +0100 schrieb Bernhard Übelacker:
>> Hello Dino,
>> if possible you might want to install the package php7.3-intl-dbgsym
>> matching to your php7.3-intl. That is in a separate repository [1].
>> 
>> Then that last frame should show up in the debugger with a
>> function name and line of source code.
>> 
>> Kind regards,
>> Bernhard
>> 
>> [1] 
>> https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols
> 

Reply via email to