Mageia Bugzilla – Attachment 13894 Details for
Bug 32045
problems installing glibc debuginfo
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
debuginfo test #1: console log
debuginfo-ok.msg (text/plain), 5.07 KB, created by
Elmar Stellnberger
on 2023-06-24 18:34:05 CEST
(
hide
)
Description:
debuginfo test #1: console log
Filename:
MIME Type:
Creator:
Elmar Stellnberger
Created:
2023-06-24 18:34:05 CEST
Size:
5.07 KB
patch
obsolete
>rpm --root /dst/minimg9/ -ivh html2text-debuginfo-2.0.0-2.mga9.x86_64.rpm >rpm --root /dst/minimg9/ -ivh html2text-debugsource-2.0.0-2.mga9.x86_64.rpm >rpm --root /dst/minimg9/ -ivh gdb-gdbserver-12.1-7.mga9.x86_64.rpm > >> chroot /dst/minimg9/ ># gdbserver localhost:8888 /bin/html2text /root/HSAHEC6K2 >Process /bin/html2text created; pid = 3313157 >Listening on port 8888 >Remote debugging from host ::1, port 34596 > >> gdb >(gdb) target remote localhost:8888 >Remote debugging using localhost:8888 >Reading /usr/bin/html2text from remote target... >warning: File transfers from remote targets can be slow. Use "set sysroot" to access files locally instead. >Reading /usr/bin/html2text from remote target... >Reading symbols from target:/usr/bin/html2text... >Reading /usr/bin/html2text-2.0.0-2.mga9.x86_64.debug from remote target... >Reading /usr/bin/.debug/html2text-2.0.0-2.mga9.x86_64.debug from remote target... >Reading /usr/lib/debug//usr/bin/html2text-2.0.0-2.mga9.x86_64.debug from remote target... >Reading /usr/lib/debug//usr/bin/html2text-2.0.0-2.mga9.x86_64.debug from remote target... >Reading symbols from target:/usr/lib/debug//usr/bin/html2text-2.0.0-2.mga9.x86_64.debug... >Reading /lib64/ld-linux-x86-64.so.2 from remote target... >BFD: target:/lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn' >... >(gdb) cont >Continuing. >... >Program received signal SIGSEGV, Segmentation fault. >0x00007ffff7be3a37 in isspace () from target:/lib64/libc.so.6 >(gdb) bt >#0 0x00007ffff7be3a37 in isspace () from target:/lib64/libc.so.6 >#1 0x0000000000414e59 in HTMLControl::htmlparser_yylex (this=0x7fffffffd4b0, value_return=value_return@entry=0x7fffffffd288) at HTMLControl.cpp:145 >#2 0x0000000000415159 in HTMLDriver::lex (this=<optimized out>, lval=lval@entry=0x7fffffffd288) at HTMLDriver.cpp:46 >#3 0x0000000000416bf9 in html2text::HTMLParser::parse (this=0x7fffffffd3e0) at HTMLParser.tab.cc:488 >#4 0x0000000000415507 in HTMLDriver::parse (this=this@entry=0x7fffffffd470) at HTMLDriver.cpp:41 >#5 0x0000000000404c38 in main (argc=<optimized out>, argv=<optimized out>) at html2text.cpp:265 >(gdb) bt full >#0 0x00007ffff7be3a37 in isspace () from /dst/minimg9/lib64/libc.so.6 >No symbol table info available. >#1 0x0000000000414e59 in HTMLControl::htmlparser_yylex (this=0x7fffffffd4b0, value_return=value_return@entry=0x7fffffffd288) at HTMLControl.cpp:145 > s = <optimized out> > x = 2 > token = 259 > tag_type = 0 >#2 0x0000000000415159 in HTMLDriver::lex (this=<optimized out>, lval=lval@entry=0x7fffffffd288) at HTMLDriver.cpp:46 >No locals. >#3 0x0000000000416bf9 in html2text::HTMLParser::parse (this=0x7fffffffd3e0) at HTMLParser.tab.cc:488 > yyabortlab = <optimized out> > yyerrlab1 = <optimized out> > yynewstate = <optimized out> > yyn = 287 > yylen = 0 >... > > >> nm -Ds lib64/libc.so.6 | head >nm: lib64/libc.so.6: unknown type [0x13] section `.relr.dyn' >00000000000377e0 T a64l@@GLIBC_2.2.5 >000000000002239f T abort@@GLIBC_2.2.5 >00000000001c4e60 B __abort_msg@@GLIBC_PRIVATE >0000000000037820 T abs@@GLIBC_2.2.5 >0000000000100210 T accept@@GLIBC_2.2.5 >0000000000100af0 T accept4@@GLIBC_2.10 > >9> nm -Ds lib64/libc.so.6 | grep isspace >nm: lib64/libc.so.6: unknown type [0x13] section `.relr.dyn' >000000000002fa20 T isspace@@GLIBC_2.2.5 >000000000002fcb0 T __isspace_l@@GLIBC_2.2.5 >000000000002fcb0 W isspace_l@@GLIBC_2.3 > >> gdb >(gdb) set sysroot /dst/minimg9/ >(gdb) target remote :8888 >Remote debugging using :8888 >Reading symbols from /dst/minimg9/usr/bin/html2text... >Reading symbols from /dst/minimg9/usr/lib/debug/usr/bin/html2text-2.0.0-2.mga9.x86_64.debug... >BFD: /dst/minimg9/lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn' >warning: `/dst/minimg9/lib64/ld-linux-x86-64.so.2': Shared library architecture unknown is not compatible with target architecture i386:x86-64. >warning: `/dst/minimg9/lib64/ld-linux-x86-64.so.2': Shared library architecture unknown is not compatible with target architecture i386:x86-64. >Reading symbols from /dst/minimg9/lib64/ld-linux-x86-64.so.2... >Missing separate debuginfo for /dst/minimg9/lib64/ld-linux-x86-64.so.2 >Try: yum --enablerepo='*debug*' install /dst/minimg9//usr/lib/debug/.build-id/45/e5e4fa7b547ea7d5f0979311b139dd5d810095.debug >(No debugging symbols found in /dst/minimg9/lib64/ld-linux-x86-64.so.2) >0x00007ffff7fe6af0 in _start () from /dst/minimg9/lib64/ld-linux-x86-64.so.2 >(gdb) l main >77 html2text.cpp: Datei oder Verzeichnis nicht gefunden. >(gdb) l htmlparser_yylex >86 HTMLControl.cpp: Datei oder Verzeichnis nicht gefunden. > >/dst/minimg9> rpm --root ~+/ -ql html2text-debugsource | grep HTMLControl.cpp >/usr/src/debug/html2text-2.0.0-2.mga9.x86_64/HTMLControl.cpp >> wc -l usr/src/debug/html2text-2.0.0-2.mga9.x86_64/HTMLControl.cpp >706 usr/src/debug/html2text-2.0.0-2.mga9.x86_64/HTMLControl.cpp >> tail -n $((706-86-1)) usr/src/debug/html2text-2.0.0-2.mga9.x86_64/HTMLControl.cpp | head > */ >int HTMLControl::htmlparser_yylex( > html2text::HTMLParser::semantic_type *value_return) >{ > for (;;) { // Notice the "return" at the end of the body! > int token, tag_type; > > if (next_token == EOF) { > token = yylex2(value_return, &tag_type); > } else { >
rpm --root /dst/minimg9/ -ivh html2text-debuginfo-2.0.0-2.mga9.x86_64.rpm rpm --root /dst/minimg9/ -ivh html2text-debugsource-2.0.0-2.mga9.x86_64.rpm rpm --root /dst/minimg9/ -ivh gdb-gdbserver-12.1-7.mga9.x86_64.rpm > chroot /dst/minimg9/ # gdbserver localhost:8888 /bin/html2text /root/HSAHEC6K2 Process /bin/html2text created; pid = 3313157 Listening on port 8888 Remote debugging from host ::1, port 34596 > gdb (gdb) target remote localhost:8888 Remote debugging using localhost:8888 Reading /usr/bin/html2text from remote target... warning: File transfers from remote targets can be slow. Use "set sysroot" to access files locally instead. Reading /usr/bin/html2text from remote target... Reading symbols from target:/usr/bin/html2text... Reading /usr/bin/html2text-2.0.0-2.mga9.x86_64.debug from remote target... Reading /usr/bin/.debug/html2text-2.0.0-2.mga9.x86_64.debug from remote target... Reading /usr/lib/debug//usr/bin/html2text-2.0.0-2.mga9.x86_64.debug from remote target... Reading /usr/lib/debug//usr/bin/html2text-2.0.0-2.mga9.x86_64.debug from remote target... Reading symbols from target:/usr/lib/debug//usr/bin/html2text-2.0.0-2.mga9.x86_64.debug... Reading /lib64/ld-linux-x86-64.so.2 from remote target... BFD: target:/lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn' ... (gdb) cont Continuing. ... Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7be3a37 in isspace () from target:/lib64/libc.so.6 (gdb) bt #0 0x00007ffff7be3a37 in isspace () from target:/lib64/libc.so.6 #1 0x0000000000414e59 in HTMLControl::htmlparser_yylex (this=0x7fffffffd4b0, value_return=value_return@entry=0x7fffffffd288) at HTMLControl.cpp:145 #2 0x0000000000415159 in HTMLDriver::lex (this=<optimized out>, lval=lval@entry=0x7fffffffd288) at HTMLDriver.cpp:46 #3 0x0000000000416bf9 in html2text::HTMLParser::parse (this=0x7fffffffd3e0) at HTMLParser.tab.cc:488 #4 0x0000000000415507 in HTMLDriver::parse (this=this@entry=0x7fffffffd470) at HTMLDriver.cpp:41 #5 0x0000000000404c38 in main (argc=<optimized out>, argv=<optimized out>) at html2text.cpp:265 (gdb) bt full #0 0x00007ffff7be3a37 in isspace () from /dst/minimg9/lib64/libc.so.6 No symbol table info available. #1 0x0000000000414e59 in HTMLControl::htmlparser_yylex (this=0x7fffffffd4b0, value_return=value_return@entry=0x7fffffffd288) at HTMLControl.cpp:145 s = <optimized out> x = 2 token = 259 tag_type = 0 #2 0x0000000000415159 in HTMLDriver::lex (this=<optimized out>, lval=lval@entry=0x7fffffffd288) at HTMLDriver.cpp:46 No locals. #3 0x0000000000416bf9 in html2text::HTMLParser::parse (this=0x7fffffffd3e0) at HTMLParser.tab.cc:488 yyabortlab = <optimized out> yyerrlab1 = <optimized out> yynewstate = <optimized out> yyn = 287 yylen = 0 ... > nm -Ds lib64/libc.so.6 | head nm: lib64/libc.so.6: unknown type [0x13] section `.relr.dyn' 00000000000377e0 T a64l@@GLIBC_2.2.5 000000000002239f T abort@@GLIBC_2.2.5 00000000001c4e60 B __abort_msg@@GLIBC_PRIVATE 0000000000037820 T abs@@GLIBC_2.2.5 0000000000100210 T accept@@GLIBC_2.2.5 0000000000100af0 T accept4@@GLIBC_2.10 9> nm -Ds lib64/libc.so.6 | grep isspace nm: lib64/libc.so.6: unknown type [0x13] section `.relr.dyn' 000000000002fa20 T isspace@@GLIBC_2.2.5 000000000002fcb0 T __isspace_l@@GLIBC_2.2.5 000000000002fcb0 W isspace_l@@GLIBC_2.3 > gdb (gdb) set sysroot /dst/minimg9/ (gdb) target remote :8888 Remote debugging using :8888 Reading symbols from /dst/minimg9/usr/bin/html2text... Reading symbols from /dst/minimg9/usr/lib/debug/usr/bin/html2text-2.0.0-2.mga9.x86_64.debug... BFD: /dst/minimg9/lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn' warning: `/dst/minimg9/lib64/ld-linux-x86-64.so.2': Shared library architecture unknown is not compatible with target architecture i386:x86-64. warning: `/dst/minimg9/lib64/ld-linux-x86-64.so.2': Shared library architecture unknown is not compatible with target architecture i386:x86-64. Reading symbols from /dst/minimg9/lib64/ld-linux-x86-64.so.2... Missing separate debuginfo for /dst/minimg9/lib64/ld-linux-x86-64.so.2 Try: yum --enablerepo='*debug*' install /dst/minimg9//usr/lib/debug/.build-id/45/e5e4fa7b547ea7d5f0979311b139dd5d810095.debug (No debugging symbols found in /dst/minimg9/lib64/ld-linux-x86-64.so.2) 0x00007ffff7fe6af0 in _start () from /dst/minimg9/lib64/ld-linux-x86-64.so.2 (gdb) l main 77 html2text.cpp: Datei oder Verzeichnis nicht gefunden. (gdb) l htmlparser_yylex 86 HTMLControl.cpp: Datei oder Verzeichnis nicht gefunden. /dst/minimg9> rpm --root ~+/ -ql html2text-debugsource | grep HTMLControl.cpp /usr/src/debug/html2text-2.0.0-2.mga9.x86_64/HTMLControl.cpp > wc -l usr/src/debug/html2text-2.0.0-2.mga9.x86_64/HTMLControl.cpp 706 usr/src/debug/html2text-2.0.0-2.mga9.x86_64/HTMLControl.cpp > tail -n $((706-86-1)) usr/src/debug/html2text-2.0.0-2.mga9.x86_64/HTMLControl.cpp | head */ int HTMLControl::htmlparser_yylex( html2text::HTMLParser::semantic_type *value_return) { for (;;) { // Notice the "return" at the end of the body! int token, tag_type; if (next_token == EOF) { token = yylex2(value_return, &tag_type); } else {
View Attachment As Raw
Actions:
View
Attachments on
bug 32045
: 13894 |
13895