Mageia Bugzilla – Attachment 13895 Details for
Bug 32045
problems installing glibc debuginfo
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
test for debugsources with gdb attach
debugsource-ok.msg (text/plain), 1.31 KB, created by
Elmar Stellnberger
on 2023-06-24 19:14:42 CEST
(
hide
)
Description:
test for debugsources with gdb attach
Filename:
MIME Type:
Creator:
Elmar Stellnberger
Created:
2023-06-24 19:14:42 CEST
Size:
1.31 KB
patch
obsolete
>> chroot /dst/minimg9/ ># /bin/html2text <( killall -STOP html2text; cat /root/HSAHEC6K2; ) & >[1] 3670969 >... since a busybox nice -n 20 /bin/html2text did not do the trick > /dst/minimg9/proc & dev mounted > >> gdb >(gdb) set sysroot /dst/minimg9/ >(gdb) file /dst/minimg9/bin/html2text >Reading symbols from /dst/minimg9/bin/html2text... >Reading symbols from /dst/minimg9/usr/lib/debug/usr/bin/html2text-2.0.0-2.mga9.x86_64.debug... >(gdb) attach 3670969 >(gdb) cont >Continuing. > >Program received signal SIGSTOP, Stopped (signal). >0x00007ff55dfb467d in read () from /dst/minimg9/lib64/libc.so.6 >(gdb) signal SIGCONT >Continuing with signal SIGCONT. > >Program received signal SIGSEGV, Segmentation fault. >0x00007ff55def5a37 in isspace () from /dst/minimg9/lib64/libc.so.6 >(gdb) bt >... works >(gdb) l htmlparser_yylex >86 HTMLControl.cpp: Datei oder Verzeichnis nicht gefunden. ("file not found") >(gdb) set substitute-path /usr/src/debug/ /dst/minimg9/usr/src/debug/ >(gdb) l htmlparser_yylex >86 * Effectively, this method simply invokes "yylex2()", but it does some >87 * postprocessing on PCDATA tokens that would be difficult to do in "yylex2()". >88 */ >89 int HTMLControl::htmlparser_yylex( >90 html2text::HTMLParser::semantic_type *value_return) >91 {
> chroot /dst/minimg9/ # /bin/html2text <( killall -STOP html2text; cat /root/HSAHEC6K2; ) & [1] 3670969 ... since a busybox nice -n 20 /bin/html2text did not do the trick /dst/minimg9/proc & dev mounted > gdb (gdb) set sysroot /dst/minimg9/ (gdb) file /dst/minimg9/bin/html2text Reading symbols from /dst/minimg9/bin/html2text... Reading symbols from /dst/minimg9/usr/lib/debug/usr/bin/html2text-2.0.0-2.mga9.x86_64.debug... (gdb) attach 3670969 (gdb) cont Continuing. Program received signal SIGSTOP, Stopped (signal). 0x00007ff55dfb467d in read () from /dst/minimg9/lib64/libc.so.6 (gdb) signal SIGCONT Continuing with signal SIGCONT. Program received signal SIGSEGV, Segmentation fault. 0x00007ff55def5a37 in isspace () from /dst/minimg9/lib64/libc.so.6 (gdb) bt ... works (gdb) l htmlparser_yylex 86 HTMLControl.cpp: Datei oder Verzeichnis nicht gefunden. ("file not found") (gdb) set substitute-path /usr/src/debug/ /dst/minimg9/usr/src/debug/ (gdb) l htmlparser_yylex 86 * Effectively, this method simply invokes "yylex2()", but it does some 87 * postprocessing on PCDATA tokens that would be difficult to do in "yylex2()". 88 */ 89 int HTMLControl::htmlparser_yylex( 90 html2text::HTMLParser::semantic_type *value_return) 91 {
View Attachment As Raw
Actions:
View
Attachments on
bug 32045
:
13894
| 13895