LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-16-2018, 02:50 PM   #1
cycojesus
Member
 
Registered: Dec 2005
Location: Lyon, France
Distribution: Slackware-current
Posts: 41

Rep: Reputation: 13
Post Possible bug in recent current gtk update?


I know it's an unsupported setup but here goes, possibly related to latest gtk upgrade?:

Context:
  • clean Slackware-current up-to-date
  • awesome (and its dependencies) compiled as-is from SBo-git
  • stock awesome configuration (/etc/xdg/awesome/rc.lua)
  • stock xterm, emacs and firefox

Bug:
  • emacs -Q crashes at launch (no window displayed)
  • firefox crashes when trying to open Help>About Firefox and also basically when doing anything

Stack trace of emacs:
Code:
$ /usr/bin/emacs -Q                                                                             (git)-[master] 
X protocol error: BadMatch (invalid parameter attributes) on protocol request 2
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715
For details, see etc/PROBLEMS.
Fatal error 6: Aborted
Backtrace:
/usr/bin/emacs[0x50e987]
/usr/bin/emacs[0x4f493d]
/usr/bin/emacs[0x50e6b3]
/usr/bin/emacs[0x4c6966]
/usr/bin/emacs[0x4c6c1a]
/usr/bin/emacs[0x4c6c9b]
/usr/lib64/libX11.so.6(_XError+0xf2)[0x7f18603eb822]
/usr/lib64/libX11.so.6(+0x438b7)[0x7f18603e88b7]
/usr/lib64/libX11.so.6(+0x4394d)[0x7f18603e894d]
/usr/lib64/libX11.so.6(_XEventsQueued+0x55)[0x7f18603e9225]
/usr/lib64/libX11.so.6(XPending+0x57)[0x7f18603db737]
/usr/lib64/libgdk-3.so.0(+0x5f15d)[0x7f1860c8b15d]
/usr/lib64/libglib-2.0.so.0(g_main_context_prepare+0x1a1)[0x7f186075c061]
/usr/lib64/libglib-2.0.so.0(+0x4fa03)[0x7f186075ca03]
/usr/lib64/libglib-2.0.so.0(g_main_context_pending+0x27)[0x7f186075cb87]
/usr/lib64/libgtk-3.so.0(gtk_events_pending+0xd)[0x7f1860f20d1d]
/usr/bin/emacs[0x4c6b0f]
/usr/bin/emacs[0x4fd651]
/usr/bin/emacs[0x4fda65]
/usr/bin/emacs[0x4cce47]
/usr/bin/emacs[0x4cfe78]
/usr/bin/emacs[0x426cc8]
/usr/bin/emacs[0x568a10]
/usr/bin/emacs[0x59e6b0]
/usr/bin/emacs[0x56898b]
/usr/bin/emacs[0x59e6b0]
/usr/bin/emacs[0x56898b]
/usr/bin/emacs[0x56a552]
/usr/bin/emacs[0x568a10]
/usr/bin/emacs[0x59e6b0]
/usr/bin/emacs[0x56898b]
/usr/bin/emacs[0x59e6b0]
/usr/bin/emacs[0x56898b]
/usr/bin/emacs[0x59e6b0]
/usr/bin/emacs[0x56898b]
/usr/bin/emacs[0x59e6b0]
/usr/bin/emacs[0x56898b]
/usr/bin/emacs[0x59e6b0]
/usr/bin/emacs[0x56b33c]
/usr/bin/emacs[0x56a8b7]
/usr/bin/emacs[0x56c5fe]
...
[1]    14814 abort      /usr/bin/emacs -Q
 
Old 12-16-2018, 03:52 PM   #2
cycojesus
Member
 
Registered: Dec 2005
Location: Lyon, France
Distribution: Slackware-current
Posts: 41

Original Poster
Rep: Reputation: 13
Additional comment: both bspwm and spectrwm (from SBo) show the same problem but i3 does not.
 
1 members found this post helpful.
Old 12-16-2018, 06:27 PM   #3
GazL
Senior Member
 
Registered: May 2008
Posts: 4,811
Blog Entries: 14

Rep: Reputation: Disabled
No problem with firefox here (cwm wm).

I can't check emacs for you because I'd rebuilt it using the lucid toolkit in order to avoid that specific "disconnect" issue that emacs warns you about on startup.
 
Old 01-08-2019, 05:19 AM   #4
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 50

Rep: Reputation: 16
I think I have the same problems, at least the symptoms are the same. Firefox crashes as well with Help / About, but I can reproduce this with other GTK apps, like Thunar eg. If I start typing to quick search for a folder/file and press enter, instant crash.
Same thing for virt-manager: right click on VM, click on any of the menu entries, instant crash. But I only started to notice it recently (ie. in 2019).
I'm also using spectrwm, but I'm not sure if it's related, however.
 
Old 01-08-2019, 05:31 AM   #5
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 50

Rep: Reputation: 16
Ehm, check that, for me this only happens with the latest spectrwm 3.2.0, and is fine with 3.1.0, which I think you've been using back when you posted this.
Can you confirm your spectrwm version with which you experience this? I wouldn't want to submit an update for it if it breaks things.
 
Old 01-08-2019, 05:14 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,632

Rep: Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389
This was found in another thread as well, and you can either temporarily fix it by adding --no-argb when launching awesome (a patch for xinitrc.awesome can be found here) or by recompiling gtk with this patch.

Note, if you add --no-argb when running awesome, it will disable transparency effects. The gtk patch should completely fix the issue without a loss of functionality.
 
1 members found this post helpful.
Old 01-08-2019, 06:53 PM   #7
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 332

Rep: Reputation: 127Reputation: 127
In the -current changelog:

Code:
Tue Jan  8 21:16:29 UTC 2019
[...]
l/gtk+3-3.24.2-x86_64-2.txz:  Rebuilt.
  Patched to fix segfaults.  Thanks to bassmadrigal.
I'd be curious to know whether the -current update as of today fixes this issue for people.

"WORKSFORME" under -current with AlienBob's KDE5.

So, erm, thanks, bassmadrigal!
 
1 members found this post helpful.
Old 01-08-2019, 09:15 PM   #8
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 727
Blog Entries: 3

Rep: Reputation: 226Reputation: 226Reputation: 226
Quote:
Originally Posted by Poprocks View Post
In the -current changelog:

Code:
Tue Jan  8 21:16:29 UTC 2019
[...]
l/gtk+3-3.24.2-x86_64-2.txz:  Rebuilt.
  Patched to fix segfaults.  Thanks to bassmadrigal.
I'd be curious to know whether the -current update as of today fixes this issue for people.

"WORKSFORME" under -current with AlienBob's KDE5.

So, erm, thanks, bassmadrigal!
It does indeed work. Just upgraded to the patched gtk3, and firefox/thunar under Awesome, are behaving normally once again. Thanks bassmadrigal
 
1 members found this post helpful.
Old 01-09-2019, 08:21 PM   #9
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 374
Blog Entries: 2

Rep: Reputation: 171Reputation: 171
I can confirm -- suffering the same issue on spectrwm here on Slackware65-current; but I've been too lazy to figure out why.

oh but I guess I overlooked the fix above.. whoops!

Will check out the fix and see for my self tho.

Edit: Can confirm it fixes my issues as well.

Last edited by khronosschoty; 01-09-2019 at 08:28 PM.
 
1 members found this post helpful.
  


Reply

Tags
bug?, current


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No printing since recent major -current update rpedrica Slackware 14 05-07-2015 02:38 AM
[SOLVED] Mplayer won't play video since recent current update Stephen Morgan Slackware 27 05-03-2015 04:37 PM
Possible virus infection after most recent ubuntu update slangpdx Linux - Security 3 10-07-2014 11:54 AM
puppy thoughts after having a recent look see -- given recent developments .. jonyo Puppy 0 11-29-2011 09:45 PM
recent mplayer update in -current - cache issues mrclisdue Slackware 1 07-12-2011 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration