[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-06-06 Thread Gianfranco Costamagna
I committed the patch and the revert of arm64 hack on Debian git
https://salsa.debian.org/sdl-team/libsdl2/-/commit/de427c7c9501c9083749de0293712c6418764b30

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-06-03 Thread Sebastien Bacher
upstream fixed it in https://github.com/libsdl-org/SDL/commit/345efdcb

** Changed in: libsdl2 (Ubuntu)
   Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-06-03 Thread Sebastien Bacher
Reported upstream now on https://github.com/libsdl-org/SDL/issues/5748

** Bug watch added: github.com/libsdl-org/SDL/issues #5748
   https://github.com/libsdl-org/SDL/issues/5748

** Changed in: libsdl2 (Ubuntu)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-06-03 Thread Sebastien Bacher
Ok, after a few retries it failed once in the ppa (without change so
it's flaky behaviour, there were tries where the call under gdb worked
and the testsuite next failed)

https://launchpadlibrarian.net/605051571/buildlog_ubuntu-kinetic-
arm64.libsdl2_2.0.22+dfsg-4ubuntu3.5_BUILDING.txt.gz

Thread 1 "testatomic" received signal SIGSEGV, Segmentation fault.
__run_exit_handlers (status=0, listp=0xf7e0c730 <__exit_funcs>, 
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at 
./stdlib/exit.c:90
90  ./stdlib/exit.c: No such file or directory.
#0  __run_exit_handlers (status=0, listp=0xf7e0c730 <__exit_funcs>, 
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at 
./stdlib/exit.c:90
#1  0xf7cacf0c in __GI_exit (status=) at 
./stdlib/exit.c:143
#2  0xf7c97400 in __libc_start_call_main 
(main=main@entry=0xad40 , argc=argc@entry=1, 
argv=argv@entry=0xee98) at ../sysdeps/nptl/libc_start_call_main.h:74
#3  0xf7c974cc in __libc_start_main_impl (main=0xad40 , 
argc=1, argv=0xee98, init=, fini=, 
rtld_fini=, stack_end=) at ../csu/libc-start.c:392
#4  0xb270 in _start ()

** Changed in: libsdl2 (Ubuntu)
 Assignee: Gianfranco Costamagna (costamagnagianfranco) => Sebastien Bacher 
(seb128)

** Changed in: libsdl2 (Ubuntu)
 Assignee: Sebastien Bacher (seb128) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-06-02 Thread Sebastien Bacher
So there is no error when building on a canonistack cloud instance nor
on a virtual ppa, it still fails on the real builders. I need to check
with the launchpad team the difference and if it's possible to get
access to that env but they are away for a long U.K weekend.

I tried to get some debug from a ppa using hackish changes
https://launchpadlibrarian.net/604851736/libsdl2_2.0.22+dfsg-4ubuntu3_2.0.22+dfsg-4ubuntu3.1.diff.gz
+ and a previous one where it call dmesg instead of failing on error

but that's working as expected
https://launchpadlibrarian.net/604853437/buildlog_ubuntu-kinetic-arm64.libsdl2_2.0.22+dfsg-4ubuntu3.1_BUILDING.txt.gz

> Core dump to |/lib/systemd/systemd-coredump pipe failed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-06-01 Thread Simon McVittie
A workaround is present in 2.0.22+dfsg-4, but the fact that `testatomic`
crashes seems like a bug somewhere (SDL? Ubuntu's toolchain? Ubuntu's
buildds? ...) so I'm reopening this.

** Changed in: libsdl2 (Ubuntu)
   Status: Fix Released => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-06-01 Thread Launchpad Bug Tracker
This bug was fixed in the package libsdl2 - 2.0.22+dfsg-4

---
libsdl2 (2.0.22+dfsg-4) unstable; urgency=medium

  [ Gianfranco Costamagna ]
  * Ignore tests if the system is Ubuntu and architecture arm64,
requiring some real new hw to complete successfully
(workaround for LP: #1976288)

  [ Simon McVittie ]
  * d/control: Remove Sam Hocevar from Uploaders,
with thanks for past contributions (Closes: #1011583)
  * d/tests/installed-tests: Assert that at least one test was run
  * d/control: Add missing dependencies for static linking
(Closes: #1012088, LP: #1976198)
  * d/tests/cmake: Exercise static linking to SDL
  * Standards-Version: 4.6.1 (no changes required)
  * Only skip testatomic on Ubuntu, not the rest of the test suite.
This lets us get at least some confidence that the package is working.

 -- Simon McVittie   Mon, 30 May 2022 16:43:30 +0100

** Changed in: libsdl2 (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-05-31 Thread Gianfranco Costamagna
Interestingly it doensn't fail on qemu/arm64 chroot with kinetic
baseline, this is why I still think its some hw issue...

INFO: Mode: LockFree
INFO: Starting 4 readers
INFO: Starting 4 writers
INFO: Finished in 3.493000 sec
INFO: 
INFO: Writer 0 wrote 100 events, had 2702 waits
INFO: Writer 1 wrote 100 events, had 2653 waits
INFO: Writer 2 wrote 100 events, had 2702 waits
INFO: Writer 3 wrote 100 events, had 2643 waits
INFO: Writers wrote 400 total events
INFO: 
INFO: Reader 0 read 1032100 events, had 3177 waits
INFO:   { 263694, 259590, 260086, 248730 }
INFO: Reader 1 read 998381 events, had 3154 waits
INFO:   { 251526, 250244, 250933, 245678 }
INFO: Reader 2 read 1007542 events, had 3120 waits
INFO:   { 243204, 251610, 249982, 262746 }
INFO: Reader 3 read 961977 events, had 3067 waits
INFO:   { 241576, 238556, 238999, 242846 }
INFO: Readers read 400 total events
testatomic: OK

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-05-31 Thread Simon McVittie
As I had hoped, libsdl2_2.0.22+dfsg-4 in Debian is now running all the
tests (successfully), while libsdl2_2.0.22+dfsg-4~build1 in Ubuntu is
skipping the one that previously crashed on Ubuntu and running the rest.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-05-30 Thread Sebastien Bacher
** Changed in: libsdl2 (Ubuntu)
 Assignee: (unassigned) => Gianfranco Costamagna (costamagnagianfranco)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-05-30 Thread Sebastien Bacher
@Simon, thanks for the report. I don't think there is a know problem
with the Ubuntu builders, that delta seems weird and would deserve at
least some explanations. I've pinged Gianfranco about it now

** Changed in: libsdl2 (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-05-30 Thread Simon McVittie
libsdl2_2.0.22+dfsg-4 in Debian hopefully works around this crash, while
still having at least minimal test coverage on Ubuntu arm64.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1976288] Re: testatomic segfaults on Ubuntu arm64 buildd

2022-05-30 Thread Simon McVittie
I would prefer it if any tests that need to be skipped conditionally are
accompanied by a reference to a bug report (on the basis that a failing
test is technical debt, and technical debt is a bug), either in
Launchpad for workarounds for Ubuntu-specific issues, in the Debian BTS
for workarounds for issues affecting Debian or all Debian-derived
distros, or upstream.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1976288

Title:
  testatomic segfaults on Ubuntu arm64 buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1976288/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs