[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-10-29 Thread Zygmunt Krynicki
** No longer affects: snapd (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810027 Title: Snaps won't start - stack smashing detected To manage notifications about this bug go to:

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-10-29 Thread Zygmunt Krynicki
@jon.snow - can you do one interesting test: 1) boot 2) run a program, e.g. vlc, from the terminal where it will crash or misbehave 3) run /usr/lib/snapd/snap-discard-ns vlc 4) run a program again, using the method that works Check if that makes it work without a reboot. If so we can pursue with

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-10-18 Thread Sergio Cazzolato
** Changed in: snapd Importance: Undecided => Medium ** Changed in: snapd (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810027 Title: Snaps won't

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-10-15 Thread Zygmunt Krynicki
** Also affects: snapd 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/1810027 Title: Snaps won't start - stack smashing detected To manage notifications

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-03-12 Thread J. Snow
I think the bug is much weirder than it looked originally. It seems to be related to how the applications start. I face the same problem both with vlc and keepassxc snaps. All other snaps on my system work without any problem. Here is what does not work: 1. Boot the system 2. Login 3. Start VLC

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-03-12 Thread J. Snow
I should have also mentioned that once the program opens via the associated file, I can also open the program via terminal or desktop shortcut normally. As long as the program is started for the first time after boot via the associated file, it will work normally afterwards and can be started

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-03-12 Thread J. Snow
** Changed in: snapd (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/1810027 Title: Snaps won't start - stack smashing detected To manage notifications

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-03-11 Thread MarkA
Still not working for me on Ubuntu 16.04: $ vlc & [2] 6877 $ VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85) [020713b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Qt: Session management error: None of the authentication

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-03-05 Thread J. Snow
It was fixed on the latest snapd version: $ snap version snap2.37.2 snapd 2.37.2 series 16 ubuntu 18.10 kernel 4.18.0-15-generic ** Changed in: snapd (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-02-16 Thread J. Snow
Thanks for the prompt reply John. Before installing the apt version: $ type vlc vlc is /snap/bin/vlc After installing the apt version: $ type vlc vlc is /usr/bin/vlc It's the same. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-02-16 Thread John Lenton
Thank you for that. Could you tell me the output of type vlc ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810027 Title: Snaps won't start - stack smashing detected To manage notifications

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-02-15 Thread J. Snow
@Seth: The file exists: $ ls -l /snap/vlc/770/usr/lib/libvlc.so.5.6.0 -rwxr-xr-x 1 root root 184544 Jan 10 18:27 /snap/vlc/770/usr/lib/libvlc.so.5.6.0 @John: I see what you are saying. The right path is not defined correctly when I run it directly fron snap and that's wh I tget the error. If

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-02-15 Thread John Lenton
@J.Snow, don't run binaries from inside the snap directly, you won't have the right LD_LIBRARY_PATH and all the rest of the environment needed to run the snap. Similarly, don't install strict snaps as classic. You'll be picking up random libraries instead of the ones tested and shipped in the

Re: [Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-02-14 Thread Seth Arnold
On Thu, Feb 14, 2019 at 07:45:51PM -, J. Snow wrote: > $ ls -lh /snap/vlc/770/usr/lib/libvlc.so.5 > lrwxrwxrwx 1 root root 15 Jan 10 18:27 /snap/vlc/770/usr/lib/libvlc.so.5 -> > libvlc.so.5.6.0 How about ls -l /snap/vlc/770/usr/lib/libvlc.so.5.6.0 ? Thanks -- You received this bug

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-02-14 Thread J. Snow
Is there anything else I can do to help on the debugging? I think it's pretty clear it can't open the libvlc.so.5 library. Any idea what else I can do for that? $ /snap/vlc/770/usr/bin/vlc /snap/vlc/770/usr/bin/vlc: error while loading shared libraries: libvlc.so.5: cannot open shared object

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-01-25 Thread J. Snow
Here you are: $ snap run --gdb vlc GNU gdb (Ubuntu 8.2-0ubuntu1) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-01-25 Thread Maciej Borzecki
There's always a scenario in which there is a actual bug in the code and stack protector acts accordingly. Perhaps hooking up gdb would let us gain more insight. Can you do `snap run --gdb vlc` and paste the backtrace? -- You received this bug notification because you are a member of Ubuntu

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-01-24 Thread J. Snow
@jamie: Agreed. To ensure that apparmor is not the problem, I installed the snap in classic confinement but got the same "stack smashing detected" error. I believe the problem is that some libraries can't be accessed as indicated by the other error. I tried copying files libvlc.so.5 and

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-01-24 Thread Jamie Strandboge
[154475.952709] audit: type=1400 audit(1548282309.635:537): apparmor="DENIED" operation="open" profile="snap.vlc.vlc" name="/etc/pulse/client.conf.d/" pid=3895 comm="vlc" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 This should not be the cause of the problem, but is being fixed here:

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-01-24 Thread Sebastien Bacher
** Changed in: snapd (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/1810027 Title: Snaps won't start - stack smashing detected To manage notifications

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-01-23 Thread J. Snow
I also tried installing the apt version of vlc to see if it works. Now both versions are installed on the system at the same time. Running the following works fine: $ /usr/bin/vlc VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332) [55644df56570] main libvlc: Running vlc with the

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-01-23 Thread J. Snow
I just noticed that every time I try to start vlc I get on dmesg the following lines: [154475.938995] traps: glxinfo[4001] general protection ip:7f719b700fb4 sp:7ffdaba25798 error:0 in libc-2.23.so[7f719b5ec000+1c] [154475.952709] audit: type=1400 audit(1548282309.635:537): apparmor="DENIED"

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-01-23 Thread J. Snow
@john Happy to do help anyway I can. The problem is I'm not sure what other info I could provide other than the above. I literaly type vlc on console and get the stack smashing error. Any ideas on what other information I could provide? Thanks a lot in advance! -- You received this bug

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-01-15 Thread John Lenton
Could you help me reproduce this, please? I've tried both those snaps in 18.10 just now and neither of them crash the way you report. ** Changed in: snapd (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-01-14 Thread J. Snow
The problem persists on the latest version on VLC: $ vlc VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85) [01b0a3b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Qt: Session management error: None of the authentication protocols

[Bug 1810027] Re: Snaps won't start - stack smashing detected

2019-01-03 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810027 Title: