public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug general/29767] New: run-backtrace-native-core{,-biarch}.sh Tests Fail
@ 2022-11-09 16:27 shahab.vahedi at gmail dot com
  2022-11-09 16:27 ` [Bug general/29767] " shahab.vahedi at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: shahab.vahedi at gmail dot com @ 2022-11-09 16:27 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29767

            Bug ID: 29767
           Summary: run-backtrace-native-core{,-biarch}.sh Tests Fail
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: general
          Assignee: unassigned at sourceware dot org
          Reporter: shahab.vahedi at gmail dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Created attachment 14440
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14440&action=edit
The config.log resulting from the configure command

OS:       Void Linux
platform: x86_64
glibc:    2.32
elfutils: 88bab837 -- debuginfod-client.c: Don't treat 0 as an error code.
--------------------------------------------------------------------------

The following tests fail on my system when running "make check":

  FAIL: run-backtrace-native-core.sh
  FAIL: run-backtrace-native-core-biarch.sh

Please find the relevant files attached. These are the steps that I took:

$ autoreconf --install               # see note [1] below
$ autoconf

$ mkdir bld
$ cd    bld
$ ../configure --disable-debuginfod    \
               --disable-libdebuginfod \
               --prefix=/usr           \
               --enable-maintainer-mode
  [ see attached config.log for the features enabled on my system ]

$ make
$ make check


[1]
I had to use "autoreconf --install", because a mere "autoconf" would fail with:
-----------8<-----------
configure.ac:1: error: possibly undefined macro: dnl
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:52: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:53: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:55: error: possibly undefined macro: AM_SILENT_RULES
configure.ac:84: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:646: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:648: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.ac:649: error: possibly undefined macro:
AM_GNU_GETTEXT_REQUIRE_VERSION
----------->8-----------

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug general/29767] run-backtrace-native-core{,-biarch}.sh Tests Fail
  2022-11-09 16:27 [Bug general/29767] New: run-backtrace-native-core{,-biarch}.sh Tests Fail shahab.vahedi at gmail dot com
@ 2022-11-09 16:27 ` shahab.vahedi at gmail dot com
  2022-11-09 16:28 ` shahab.vahedi at gmail dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: shahab.vahedi at gmail dot com @ 2022-11-09 16:27 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29767

--- Comment #1 from Shahab <shahab.vahedi at gmail dot com> ---
Created attachment 14441
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14441&action=edit
The test log

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug general/29767] run-backtrace-native-core{,-biarch}.sh Tests Fail
  2022-11-09 16:27 [Bug general/29767] New: run-backtrace-native-core{,-biarch}.sh Tests Fail shahab.vahedi at gmail dot com
  2022-11-09 16:27 ` [Bug general/29767] " shahab.vahedi at gmail dot com
@ 2022-11-09 16:28 ` shahab.vahedi at gmail dot com
  2022-11-09 16:29 ` shahab.vahedi at gmail dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: shahab.vahedi at gmail dot com @ 2022-11-09 16:28 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29767

--- Comment #2 from Shahab <shahab.vahedi at gmail dot com> ---
Created attachment 14442
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14442&action=edit
native core log

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug general/29767] run-backtrace-native-core{,-biarch}.sh Tests Fail
  2022-11-09 16:27 [Bug general/29767] New: run-backtrace-native-core{,-biarch}.sh Tests Fail shahab.vahedi at gmail dot com
  2022-11-09 16:27 ` [Bug general/29767] " shahab.vahedi at gmail dot com
  2022-11-09 16:28 ` shahab.vahedi at gmail dot com
@ 2022-11-09 16:29 ` shahab.vahedi at gmail dot com
  2022-11-09 16:29 ` shahab.vahedi at gmail dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: shahab.vahedi at gmail dot com @ 2022-11-09 16:29 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29767

Shahab <shahab.vahedi at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Build|                            |x86_64
             Target|                            |x86_64
               Host|                            |x86_64

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug general/29767] run-backtrace-native-core{,-biarch}.sh Tests Fail
  2022-11-09 16:27 [Bug general/29767] New: run-backtrace-native-core{,-biarch}.sh Tests Fail shahab.vahedi at gmail dot com
                   ` (2 preceding siblings ...)
  2022-11-09 16:29 ` shahab.vahedi at gmail dot com
@ 2022-11-09 16:29 ` shahab.vahedi at gmail dot com
  2022-11-09 16:29 ` shahab.vahedi at gmail dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: shahab.vahedi at gmail dot com @ 2022-11-09 16:29 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29767

--- Comment #3 from Shahab <shahab.vahedi at gmail dot com> ---
Created attachment 14443
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14443&action=edit
native core trs

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug general/29767] run-backtrace-native-core{,-biarch}.sh Tests Fail
  2022-11-09 16:27 [Bug general/29767] New: run-backtrace-native-core{,-biarch}.sh Tests Fail shahab.vahedi at gmail dot com
                   ` (3 preceding siblings ...)
  2022-11-09 16:29 ` shahab.vahedi at gmail dot com
@ 2022-11-09 16:29 ` shahab.vahedi at gmail dot com
  2022-11-09 16:30 ` shahab.vahedi at gmail dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: shahab.vahedi at gmail dot com @ 2022-11-09 16:29 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29767

--- Comment #4 from Shahab <shahab.vahedi at gmail dot com> ---
Created attachment 14444
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14444&action=edit
native core biarch log

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug general/29767] run-backtrace-native-core{,-biarch}.sh Tests Fail
  2022-11-09 16:27 [Bug general/29767] New: run-backtrace-native-core{,-biarch}.sh Tests Fail shahab.vahedi at gmail dot com
                   ` (4 preceding siblings ...)
  2022-11-09 16:29 ` shahab.vahedi at gmail dot com
@ 2022-11-09 16:30 ` shahab.vahedi at gmail dot com
  2022-12-13 14:15 ` mark at klomp dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: shahab.vahedi at gmail dot com @ 2022-11-09 16:30 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29767

--- Comment #5 from Shahab <shahab.vahedi at gmail dot com> ---
Created attachment 14445
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14445&action=edit
native core biarch trs

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug general/29767] run-backtrace-native-core{,-biarch}.sh Tests Fail
  2022-11-09 16:27 [Bug general/29767] New: run-backtrace-native-core{,-biarch}.sh Tests Fail shahab.vahedi at gmail dot com
                   ` (5 preceding siblings ...)
  2022-11-09 16:30 ` shahab.vahedi at gmail dot com
@ 2022-12-13 14:15 ` mark at klomp dot org
  2022-12-16 15:47 ` shahab.vahedi at gmail dot com
  2022-12-16 22:33 ` mark at klomp dot org
  8 siblings, 0 replies; 10+ messages in thread
From: mark at klomp dot org @ 2022-12-13 14:15 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29767

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #6 from Mark Wielaard <mark at klomp dot org> ---
I don't fully understand what is going wrong here.

The issue is "No modules recognized in core file" error which is produced when
dwfl_core_file_report return zero.

A zero return means no modules were found from inspecting the core file.

Would it be possible to see if the core file produced (inside the test dir) is
still there and attach it to this bug report for manual inspection?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug general/29767] run-backtrace-native-core{,-biarch}.sh Tests Fail
  2022-11-09 16:27 [Bug general/29767] New: run-backtrace-native-core{,-biarch}.sh Tests Fail shahab.vahedi at gmail dot com
                   ` (6 preceding siblings ...)
  2022-12-13 14:15 ` mark at klomp dot org
@ 2022-12-16 15:47 ` shahab.vahedi at gmail dot com
  2022-12-16 22:33 ` mark at klomp dot org
  8 siblings, 0 replies; 10+ messages in thread
From: shahab.vahedi at gmail dot com @ 2022-12-16 15:47 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29767

--- Comment #7 from Shahab <shahab.vahedi at gmail dot com> ---
$$$$$$$$$$$$
$$ TL;DR; $$___________________________________________
$$$$$$$$$$$$

Please close the issue.

$$$$$$$$$$$$$$
$$ Rumbling $$_________________________________________
$$$$$$$$$$$$$$

I just tried it on:

9c136cb3 -- libdwfl: Read no more than required in dwfl_segment_report_module

and the tests don't fail anymore:

$ tail tests/test-suite.log

==========================================
   elfutils 0.188: tests/test-suite.log
==========================================

# TOTAL: 236
# PASS:  235
# SKIP:  1
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: run-lfs-symbols.sh
========================

LFS testing is irrelevant on this system
SKIP run-lfs-symbols.sh (exit status: 77)

$ cat tests/run-backtrace-native-core.sh.log
0x7ffda79b0000  0x7ffda79b1000  linux-vdso.so.1
0x7fe4927a7000  0x7fe4927d3198  ld-linux-x86-64.so.2
0x7fe4925a6000  0x7fe49276b2a0  libc.so.6
0x7fe49276c000  0x7fe49278c1b0  libpthread.so.0
0x55f411477000  0x55f41147b0a8  backtrace-child
TID 20602:
# 0 0x7fe49277f7a1      raise
# 1 0x55f41147842d - 1  sigusr2
# 2 0x55f4114784fa - 1  stdarg
# 3 0x55f411478510 - 1  backtracegen
# 4 0x55f411478519 - 1  start
# 5 0x7fe492774eae - 1  start_thread
# 6 0x7fe4926a42ff - 1  __clone
TID 20601:
# 0 0x7fe492776447      __pthread_clockjoin_ex
# 1 0x55f41147825c - 1  main
# 2 0x7fe4925cde0a - 1  __libc_start_main
# 3 0x55f41147833a - 1  _start
# 1 0x55f41147825c - 1  main
PASS run-backtrace-native-core.sh (exit status: 0)


$ cat tests/run-backtrace-native-core-biarch.sh.log
0xf7edd000      0xf7edf000      linux-gate.so.1
0xf7edf000      0xf7f0c978      ld-linux.so.2
0xf7cb0000      0xf7e9ded8      libc.so.6
0xf7e9e000      0xf7ebe100      libpthread.so.0
0x5657c000      0x56580058      backtrace-child-biarch
TID 20630:
# 0 0xf7edd549          __kernel_vsyscall
# 1 0xf7eb2fb9 - 1      raise
# 2 0x5657d4ba - 1      sigusr2
# 3 0x5657d594 - 1      stdarg
# 4 0x5657d5aa - 1      backtracegen
# 5 0x5657d5b8 - 1      start
# 6 0xf7ea6501 - 1      start_thread
# 7 0xf7dcadb6 - 1      __clone
TID 20629:
# 0 0xf7edd549          __kernel_vsyscall
# 1 0xf7ea7d47 - 1      __pthread_clockjoin_ex
# 2 0xf7ea7a3c - 1      pthread_join
# 3 0x5657d288 - 1      main
# 4 0xf7ccef1a - 1      __libc_start_main
# 5 0x5657d371 - 1      _start
# 3 0x5657d288 - 1      main
PASS run-backtrace-native-core-biarch.sh (exit status: 0)

Relevant diff between the 2 config files:
--- /old/config.log
+++ /new/config.log
@@ -4,7 +4,7 @@
 It was created by elfutils configure 0.188, which was
 generated by GNU Autoconf 2.71.  Invocation command line was

-  $ ../configure --disable-debuginfod --disable-libdebuginfod --prefix=/usr
--enable-maintainer-mode
+  $ ../configure --disable-debuginfod --disable-libdebuginfod
--enable-maintainer-mode --prefix=/usr

 ## --------- ##
 ## Platform. ##
@@ -12,9 +12,9 @@

 hostname = sourceware
 uname -m = x86_64
-uname -r = 5.19.17_1
+uname -r = 6.0.11_1
 uname -s = Linux
-uname -v = #1 SMP PREEMPT_DYNAMIC Mon Oct 31 14:24:17 UTC 2022
+uname -v = #1 SMP PREEMPT_DYNAMIC Wed Dec 7 02:03:34 UTC 2022

 /usr/bin/uname -p = unknown
 /bin/uname -X     = unknown
@@ -39,6 +39,7 @@
 PATH: /sbin/
 PATH: /home/user/.rvm/bin/
 PATH: /home/user/.rvm/bin/
+PATH: /home/user/.rvm/bin/


 ## ----------- ##
@@ -1605,3 +1606,24 @@
 #define HAVE_PTHREAD_SETNAME_NP 1

 configure: exit 0
+
+## ---------------------- ##
+## Running config.status. ##
+## ---------------------- ##
+
+This file was extended by elfutils config.status 0.188, which was
+generated by GNU Autoconf 2.71.  Invocation command line was
+
+  CONFIG_FILES    =
+  CONFIG_HEADERS  =
+  CONFIG_LINKS    =
+  CONFIG_COMMANDS =
+  $ ./config.status backends/Makefile depfiles
+
+on sourceware
+
+config.status:1055: creating backends/Makefile
+config.status:1269: executing depfiles commands
+config.status:1344: cd backends       && sed -e '/# am--include-marker/d'
Makefile         | make -f - am--depfiles
+make[3]: Nothing to be done for 'am--depfiles'.
+config.status:1351: $? = 0

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug general/29767] run-backtrace-native-core{,-biarch}.sh Tests Fail
  2022-11-09 16:27 [Bug general/29767] New: run-backtrace-native-core{,-biarch}.sh Tests Fail shahab.vahedi at gmail dot com
                   ` (7 preceding siblings ...)
  2022-12-16 15:47 ` shahab.vahedi at gmail dot com
@ 2022-12-16 22:33 ` mark at klomp dot org
  8 siblings, 0 replies; 10+ messages in thread
From: mark at klomp dot org @ 2022-12-16 22:33 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29767

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #8 from Mark Wielaard <mark at klomp dot org> ---
Works here and for reporter.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-12-16 22:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-09 16:27 [Bug general/29767] New: run-backtrace-native-core{,-biarch}.sh Tests Fail shahab.vahedi at gmail dot com
2022-11-09 16:27 ` [Bug general/29767] " shahab.vahedi at gmail dot com
2022-11-09 16:28 ` shahab.vahedi at gmail dot com
2022-11-09 16:29 ` shahab.vahedi at gmail dot com
2022-11-09 16:29 ` shahab.vahedi at gmail dot com
2022-11-09 16:29 ` shahab.vahedi at gmail dot com
2022-11-09 16:30 ` shahab.vahedi at gmail dot com
2022-12-13 14:15 ` mark at klomp dot org
2022-12-16 15:47 ` shahab.vahedi at gmail dot com
2022-12-16 22:33 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).