[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-12-12 Thread Steve Langasek
Hello Łukasz, or anyone else affected,

Accepted glibc into focal-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/glibc/2.31-0ubuntu9.4
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: glibc (Ubuntu Focal)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-focal

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions


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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-07-11 Thread Lmoal Laoml
Hello, apt was not able to resolve dependencies when trying to install
clang on my end as well, and was saying that the package depends on
libc6=2.31-0ubuntu9.2, which is not installed and can't be installed. I
tried the fix @alkisg suggested and it works now. It downgraded 8-9
libc* packages, and I am now able to install clang

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-07-11 Thread Alkis Georgopoulos
Another variant of the problem that I mentioned in comment #15. An
ubuntu user just reported it on IRC:

$ apt install clang
The following packages have unmet dependencies:
 clang : Depends: clang-10 (>= 10~) but it is not going to be installed

That apt message is misleading, as the underlying error is the libc6
version:

$  dpkg -l | awk '$3=="2.31-0ubuntu9.3" { print $2, $3 }'
libc-bin 2.31-0ubuntu9.3
libc-dev-bin 2.31-0ubuntu9.3
libc6:amd64 2.31-0ubuntu9.3
libc6:i386 2.31-0ubuntu9.3
libc6-dbg:amd64 2.31-0ubuntu9.3
libc6-dev:amd64 2.31-0ubuntu9.3
locales 2.31-0ubuntu9.3

To be able to install clang, all these packages would have to be
downgraded manually, with:

$ sudo apt install $(dpkg -l | awk '$3=="2.31-0ubuntu9.3" { print
$2"=2.31-0ubuntu9.2" }')

The following packages will be DOWNGRADED:
  libc-bin libc-dev-bin libc6 libc6:i386 libc6-dbg libc6-dev locales

But we can't expect thousands of Ubuntu users to run that command manually.
Please do upload a new glibc 2.31-0ubuntu9.4 version, to amend this issue...

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-07-08 Thread Sergio Schvezov
The issue has been solved in Snapcraft, but any affected snap would need
to rebuild

** Changed in: snapcraft
   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/1926355

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-06-01 Thread Balint Reczey
** Description changed:

- It seems that with our new core20 in the beta channel all snaps seem to
- be segfaulting. We recently had a new glibc landed in focal-updates -
- might be related.
+ [Impact]
+ 
+ * Core20 snap built with updated glibc crashes snaps also bundling
+ glibc.
+ 
+ [Test Plan]
+ 
+ * Build core20 snap with glibc in focal-proposed. Test a snap (which is
+ not core20) bundling glibc:
+ 
+ TODO: install locally built core20? 
+ snap install test-snapd-rsync-core20 --edge
+ snap run test-snapd-rsync-core20.rsync
+ 
+ [Where problems could occur]
+ 
+ * The previous glibc update (2.31-0ubuntu9.3) had a fix (LP: #1914044)
+ that broke snaps bundling a previous version of glibc (2.31-0ubuntu9.2)
+ due to them being incompatible. The fix of LP: #1914044 is reverted and
+ 2.31-0ubuntu9.4 does not include changes incompatible with
+ 2.31-0ubuntu9.2, thus the crash should not occur. No problems are
+ expected.
+ 
+ [Original Bug Text]
+ It seems that with our new core20 in the beta channel all snaps seem to be 
segfaulting. We recently had a new glibc landed in focal-updates - might be 
related.

** Also affects: glibc (Ubuntu Focal)
   Importance: Undecided
   Status: New

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

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

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

** Changed in: glibc (Ubuntu Focal)
   Status: New => In Progress

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-05-21 Thread Alkis Georgopoulos
Hi, the libc update + removal caused the following issue:

1) On 2021-04-26, libc version 2.31-0ubuntu9.3 got uploaded to Ubuntu Focal.
2) Many people updated to it.
3) Two days later, on 2021-04-28, it got removed because it was causing the 
issues descripted in this bug report.
4) If any of the persons that updated, tries to install libc6-dev now, it says 
it's not installable as it depends on libc6=2.31-0ubuntu9.2, while 
2.31-0ubuntu9.3 is installed.

In some cases they can downgrade with `apt install
libc6=2.31-0ubuntu9.2`, but that's not always easy when additional
dependencies are involved.

I believe a solution would be to re-upload 2.31-0ubuntu9.2 as
2.31-0ubuntu9.4. This would then not break snap, while allowing people
to install libc6-dev, as it wouldn't have a lower version than in the
archives anymore.

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-05-10 Thread Ian Johnson
Unfortunately I don't know how to easily remove glibc from the snaps in
a way that would confirm that they work, I don't have time to manually
build all of these snaps that are broken, I tried the basic thing of
unpacking the snap and `rm -rf ./lib/x86_64-linux-gnu/libc-2.31.so
./lib/x86_64-linux-gnu/libc.so.6` and then repacking and installing
these snaps, but then the still segfault and fail with:

$ snap run htop
*** stack smashing detected ***: terminated
Aborted (core dumped)

Which I don't know if that's because I didn't fully remove traces of
glibc from the snap or if it's because beta version of core20 (snap
revision 1015) is still broken.

I did try building the matterhorn snap since I found the source for it
at https://github.com/popey/matterhorn-snap.git, but that doesn't seem
to build at all.

Perhaps Sergio can help confirm if these snaps work if rebuilt without
libc6 getting staged into the snap?

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-05-10 Thread Balint Reczey
@anonymouse67 With glibc removed from the snaps other than core20 they
should be working OK with core20 1016 shipping 2.31-0ubuntu9.3. Could
you please confirm that?

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-05-06 Thread Sergio Schvezov
Hi Ian, thanks for raising this. Those would need a rebuild to be mostly
ok, we had a release time bug which we have since fixed
https://github.com/snapcore/snapcraft/commit/0bf7a2e6619b0037a50caeb49d28788c021d0921

If using Snapcraft 4.6.1 this should no longer be the issue for core20.

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-05-05 Thread Ian Johnson
Sure, I was not aware test-snapd-rsync-core20 was shipping glibc, that
is indeed not a good idea.

I went looking on my system for other snaps which experienced the crash,
and it seems that every snap that ships glibc in it crashes with the
beta channel of core20, but snaps that (properly) do not ship libc6 in
them do not crash. For example these other well known snaps ship glibc
in them:

* matterhorn
* okular
* htop

and some others that are perhaps less well known. So I think it is
unfortunately a bit common to do this even though it is not advisable.

Sergio, do you know why these snaps would have libc6 staged in them?
Matterhorn for example does not declare libc6 as a stage-package, yet it
is listed as a primed-stage-packages in the manifest.yaml:

```snapcraft.yaml
stage-packages:
  - libatomic1
  - libsecret-tools
  - libnotify-bin
  - xclip
```


```manifest.yaml
primed-stage-packages:
- libc6=2.31-0ubuntu9.2
```

** Also affects: snapcraft
   Importance: Undecided
   Status: New

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-05-05 Thread Balint Reczey
Core20 (1026) now works, but I believe shipping libc in test-snapd-
rsync-core20, too, is not healthy and will break again when core20's
glibc gets upgraded.

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-05-05 Thread Balint Reczey
OK, so core20 (1015) bundles libc6 2.31-0ubuntu9.3 which has been
removed from updates. Please build a new core20 with libc6
2.31-0ubuntu9.2 which is currently in focal-updates.

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-05-05 Thread Balint Reczey
** Changed in: glibc (Ubuntu)
   Status: Invalid => New

** Changed in: glibc (Ubuntu Groovy)
   Status: Invalid => New

** Changed in: glibc (Ubuntu Hirsute)
   Status: Invalid => New

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-05-05 Thread Balint Reczey
OK, I've tested it in clean multipass VMs and test-snapd-rsync-
core20.rsync does not work on Bionic, Focal and later. Interestingly it
ships a local copy of libc6 inside that could be the problem and it
worked on Focal for some time due to accidentally matching the host's
libc6.

...
Reading 
target:/usr/lib/debug/snap/test-snapd-rsync-core20/11/lib/x86_64-linux-gnu//libc-2.31.so
 from remote target...

Program received signal SIGSEGV, Segmentation fault.
0x55eb84b7b2d4 in time@plt ()
(gdb) info sharedlibrary 
>FromTo  Syms Read   Shared Object Library
0x7f070255d100  0x7f070257f7c4  Yes (*) 
target:/lib64/ld-linux-x86-64.so.2
No  linux-vdso.so.1
0x7f07025514f0  0x7f07025557e8  Yes (*) 
target:/snap/test-snapd-rsync-core20/11/usr/lib/x86_64-linux-gnu/libacl.so.1
0x7f0702543720  0x7f070254a92d  Yes (*) 
target:/snap/test-snapd-rsync-core20/11/usr/lib/x86_64-linux-gnu/libpopt.so.0
0x7f0702374630  0x7f07024e908f  Yes (*) 
target:/snap/test-snapd-rsync-core20/11/lib/x86_64-linux-gnu/libc.so.6
(*): Shared library is missing debugging information.


For the record test-snapd-rsync-core18.rsync does not ship and internal libc 
copy and does work on all releases I tried (Bionic, Focal).


** Changed in: glibc (Ubuntu)
   Status: New => Invalid

** Changed in: glibc (Ubuntu Groovy)
   Status: New => Invalid

** Changed in: glibc (Ubuntu Hirsute)
   Status: New => Invalid

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-05-04 Thread Balint Reczey
Strangely I can reproduce the crash in a newly created multipass focal
VM with the old glibc (2.31-0ubuntu9.2) from focal-updates.

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-05-03 Thread Balint Reczey
** Also affects: glibc (Ubuntu Groovy)
   Importance: Undecided
   Status: New

** Also affects: glibc (Ubuntu Hirsute)
   Importance: Undecided
   Status: New

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-04-28 Thread Balint Reczey
@joalif Thanks, I've marked it as a duplicate of an other similar issue with 
the installer that i've already commented on.
BTW test-snapd-rsync-core20 does not work on Groovy and Hirsute either and I'm 
surprised that no one reported that yet.


** Tags added: regression-update

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-04-28 Thread Ioanna Alifieraki
@Balint not sure if you're already aware but the regression caused by LP: 
#1914044 may be causing
the problem in LP: #1867502 .
Earlier today people reported failed deployments with netinstall, autoinstalls 
etc,
which is now working again (I guess because 2.31-0ubuntu9.3 was pulled out of 
-updates).

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-04-28 Thread Balint Reczey
** Changed in: glibc (Ubuntu)
 Assignee: (unassigned) => Balint Reczey (rbalint)

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-04-28 Thread Balint Reczey
Thank you for the bug report.

The update has been reverted, please downgrade glibc binary packges to
2.31-0ubuntu9.2 until the new update becomes available.

The problem seems to be caused by the fix for LP: #1914044.

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-04-27 Thread Łukasz Zemczak
Balint will be looking into it. For now we decided to pull the latest
glibc update from focal-updates back to focal-proposed.

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-04-27 Thread Łukasz Zemczak
** Changed in: glibc (Ubuntu)
   Status: Incomplete => New

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-04-27 Thread Steve Langasek
backtrace needed

** Changed in: glibc (Ubuntu)
   Status: New => Incomplete

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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

[Bug 1926355] Re: Snap applications segfault with new core20 (rev: 1015+)

2021-04-27 Thread Ian Johnson
With the test snap that uses core20 as it's base, test-snapd-rsync-
core20 (installable on the edge channel), I see it segfaulting when
running the snap on both a UC20 system with the core20 snap as a base
snap, as well as on my groovy desktop:

https://pastebin.ubuntu.com/p/qbq86DYw5Q/

You can reproduce this with:
```
snap install core20 --beta || snap refresh core20 --beta
snap install test-snapd-rsync-core20 --edge
snap run --experimental-gdbserver test-snapd-rsync-core20.rsync 

... you will see the gdb command to use to connect to the gdbserver running 
inside the snap's mount namespace
gdb -ex="target remote :33021" -ex=continue -ex="signal SIGCONT" # in another 
window
```

My gdb output seems to imply the segfault is coming from
0x56287d57a2d4 in time@plt ? I haven't been able to load debug
symbols for this gdb version into the snap mount namespace yet so I
don't have more info, but presumably you could copy debug symbols into
the snap's dir somewhere like $HOME/snap/test-snapd-rsync-
core20/current/debug.sym and then load it from the gdb shell.

For reference, I've also attached the output of strace too in case
that's more useful: https://pastebin.ubuntu.com/p/rpqKrnBHrg/

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

Title:
  Snap applications segfault with new core20 (rev: 1015+)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-core20/+bug/1926355/+subscriptions

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