LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-26-2017, 12:23 PM   #1
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
-current firefox (52.1.2esr) gtk/gdk segfault


Hello all,

I'm getting a segfault with firefox 52.1.2esr on -current and was wondering if anybody else has been getting it.

To reproduce:

1) Open firefox
2) Attempt to open a new tab by double clicking on the tab bar

And then I get this error from gtk:

Code:
**
Gdk:ERROR:gdkwindow-x11.c:5165:create_moveresize_window: assertion failed: (mv_resize->moveresize_emulation_window == NULL)
Redirecting call to abort() to mozalloc_abort

zsh: segmentation fault  firefox
Couple of notes:

1) gtk+2 is the package that provides the create_moveresize_window function.
2) The actual line is not 5165 in the gtk's source code for gdkwindow-x11.c but a little down below, but the function is still quite small and occurs as the g_assert() so looking for it should be enough.

I tried to find where in the source code of firefox it uses create_moveresize_window to no avail (I tried with `find <path to source> -type f -exec grep "create_moveresize_window" {} +').

I'm wondering if anybody else has run into this?

Cheers.
 
Old 05-26-2017, 01:50 PM   #2
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Looks like this.

--
SeB
 
Old 05-26-2017, 03:25 PM   #3
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Original Poster
Rep: Reputation: Disabled
Hmmm...

So I'm assuming that means firefox was built with gtk+3 then?

I'm wondering if rebuilding it with gtk+2 would fix this as the bug report states.
 
Old 05-31-2017, 07:16 AM   #4
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Original Poster
Rep: Reputation: Disabled
Hello all.

I'm just bumping to ask again if anybody actually gets a segfault doing the same thing as I did or if it's just me.

Cheers.
 
Old 05-31-2017, 07:56 AM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by TommyC7 View Post
I'm getting a segfault with firefox 52.1.2esr on -current and was wondering if anybody else has been getting it.

To reproduce:

1) Open firefox
2) Attempt to open a new tab by double clicking on the tab bar
Quote:
Originally Posted by TommyC7 View Post
I'm just bumping to ask again if anybody actually gets a segfault doing the same thing as I did or if it's just me.
latest slackware64-current up-to-date, firefox started with a clean profile: if I doubleclick with the left mouse button on the firefox tab bar nothing happens, if I click with the middle button on it a new tab opens.
 
Old 05-31-2017, 07:59 PM   #6
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Original Poster
Rep: Reputation: Disabled
ponce:
Cheer, I'll try to find out why my firefox happens to be doing this.

I think I'll try to rebuild linking against gtk+2 specifically instead of gtk+3 and see if that helps.

I could have sworn though that double clicking on the tab bar used to open a new tab (the middle click one works for me as well for what it's worth).
 
Old 05-31-2017, 08:33 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by TommyC7 View Post
I could have sworn though that double clicking on the tab bar used to open a new tab (the middle click one works for me as well for what it's worth).
I know it used to do this, but it seems it may not anymore. To test, I downloaded the latest version on my Windows computer and installed it, and double-click on the tab bar now just maximizes or "Restores down" (as Windows calls it) the window. So, this looks to be a deliberate change for Firefox, at least on Windows.

I did a quick search, and it seems if you toggle browser.tabs.drawInTitlebar to false in about:config, which will take the tabs out of the title bar and into their own row, it will then restore the double-click to open a new tab feature. I don't have easy access to a Slackware computer running X to test if this is the case in Linux.
 
Old 06-01-2017, 06:40 AM   #8
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
I don't think GTK+2 version supports drawing tabs in titlebar, this is GTK+3 and GNOME specific, it's one of the reasons why GNOME is listed as recommended dependency on mozilla website.
Anyway, it works "doubleclick opens new tab" on browser compiled with GTK+2 but the option browser.tabs.drawInTitlebar doesn't appear to do anything.
 
  


Reply



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
build firefox-46.0 with gtk+3 support on current gmgf Slackware 10 05-02-2016 02:50 PM
Help on GDK GTK+ programming varun_shrivastava Programming 0 05-07-2007 09:06 AM
Xterminal + current GTK = segfault crxssi Linux - Software 3 01-28-2006 06:58 PM
how to get window from gdk to gtk? SciYro Programming 1 08-03-2004 09:01 PM
gtk , gdk ????? varunk123456 Linux - Software 7 04-03-2004 01:22 PM

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

All times are GMT -5. The time now is 03:05 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
Open Source Consulting | Domain Registration