You are not logged in.

#26 2012-11-02 16:07:41

ma
Member
Registered: 2012-01-29
Posts: 47

Re: [Solved] Openbox fails to exit back to prompt after upgrade

tomk, if I'm right, it's not an Openbox bug.

Offline

#27 2012-11-02 16:48:24

Antunes
Member
Registered: 2012-07-15
Posts: 20

Re: [Solved] Openbox fails to exit back to prompt after upgrade

I am pretty sure that the problem started with the upgrade pasted below. A lot of packages were upgraded, but openbox was not. In fact, the latest openbox upgrade was in May 2012.

[2012-10-31 10:48] Running 'pacman -Syu'
[2012-10-31 10:48] synchronizing package lists
[2012-10-31 10:48] starting full system upgrade
[2012-10-31 11:03] removed libwebkit3 (1.8.3-1)
[2012-10-31 11:03] removed libwebkit (1.8.3-1)
[2012-10-31 11:03] upgraded glib2 (2.32.4-1 -> 2.34.1-1)
[2012-10-31 11:03] upgraded atk (2.4.0-1 -> 2.6.0-1)
[2012-10-31 11:03] installed harfbuzz (0.9.5-1)
[2012-10-31 11:03] upgraded pango (1.30.1-1 -> 1.32.1-1)
[2012-10-31 11:03] installed js (1.8.5-3)
[2012-10-31 11:03] upgraded polkit (0.105-1 -> 0.107-4)
[2012-10-31 11:03] upgraded colord (0.1.21-2 -> 0.1.24-1)
[2012-10-31 11:03] upgraded dconf (0.12.1-2 -> 0.14.0-1)
[2012-10-31 11:03] installed at-spi2-core (2.6.1-1)
[2012-10-31 11:03] installed at-spi2-atk (2.6.1-1)
[2012-10-31 11:03] upgraded gtk3 (3.4.4-1 -> 3.6.1-1)
[2012-10-31 11:03] installed gstreamer (1.0.2-1)
[2012-10-31 11:03] installed gst-plugins-base-libs (1.0.2-1)
[2012-10-31 11:03] installed gst-plugins-base (1.0.2-1)
[2012-10-31 11:03] upgraded libtasn1 (2.14-1 -> 3.0-1)
[2012-10-31 11:03] upgraded gnutls (3.1.3-1 -> 3.1.3-2)
[2012-10-31 11:03] upgraded gsettings-desktop-schemas (3.4.2-1 -> 3.6.0-1)
[2012-10-31 11:03] upgraded glib-networking (2.32.3-1 -> 2.34.0-1)
[2012-10-31 11:03] upgraded libsoup (2.38.1-1 -> 2.40.1-1)
[2012-10-31 11:03] upgraded libgnome-keyring (3.4.1-1 -> 3.6.0-1)
[2012-10-31 11:03] upgraded libsoup-gnome (2.38.1-1 -> 2.40.1-1)
[2012-10-31 11:03] upgraded totem-plparser (3.4.2-1 -> 3.4.3-1)
[2012-10-31 11:03] upgraded libtracker-sparql (0.14.2-1 -> 0.14.3-1)
[2012-10-31 11:03] upgraded brasero (3.4.1-1 -> 3.6.0-1)
[2012-10-31 11:04] upgraded cantarell-fonts (0.0.10-1 -> 0.0.10.1-1)
[2012-10-31 11:04] upgraded json-glib (0.14.2-1 -> 0.15.2-1)
[2012-10-31 11:04] upgraded clutter (1.10.6-1 -> 1.12.2-1)
[2012-10-31 11:04] upgraded clutter-gst (1.6.0-1 -> 1.9.92-1)
[2012-10-31 11:04] upgraded clutter-gtk (1.2.0-1 -> 1.4.0-1)
[2012-10-31 11:04] upgraded e2fsprogs (1.42.5-1 -> 1.42.6-1)
[2012-10-31 11:04] upgraded gnome-desktop (1:3.4.2-1 -> 1:3.6.1-1)
[2012-10-31 11:04] upgraded gobject-introspection (1.32.1-2 -> 1.34.1.1-1)
[2012-10-31 11:04] upgraded libpeas (1.4.0-2 -> 1.6.1-1)
[2012-10-31 11:04] upgraded gdk-pixbuf2 (2.26.3-1 -> 2.26.4-1)
[2012-10-31 11:04] upgraded libcroco (0.6.5-1 -> 0.6.8-1)
[2012-10-31 11:04] upgraded librsvg (2.36.3-1 -> 2.36.4-1)
[2012-10-31 11:04] upgraded gnome-icon-theme-symbolic (3.4.0-1 -> 3.6.0-1)
[2012-10-31 11:04] upgraded gnome-icon-theme (3.4.0-1 -> 3.6.0-1)
[2012-10-31 11:04] upgraded eog (3.4.3-1 -> 3.6.1-1)
[2012-10-31 11:04] upgraded evince (3.4.0-1 -> 3.6.1-1)
[2012-10-31 11:04] upgraded file-roller (3.4.2-1 -> 3.6.1.1-1)
[2012-10-31 11:04] upgraded gconf (3.2.5-2 -> 3.2.5-3)
[2012-10-31 11:04] 
[2012-10-31 11:04] (gconftool-2:2473): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2012-10-31 11:04] Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[2012-10-31 11:04] 
[2012-10-31 11:04] (gconftool-2:2478): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
[2012-10-31 11:04] Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[2012-10-31 11:04] upgraded gconf-editor (3.0.0-2 -> 3.0.1-1)
[2012-10-31 11:04] upgraded gnome-session (3.4.2-3 -> 3.6.1-1)
[2012-10-31 11:04] upgraded pygobject-devel (3.2.2-2 -> 3.4.1.1-1)
[2012-10-31 11:04] upgraded python2-gobject (3.2.2-2 -> 3.4.1.1-1)
[2012-10-31 11:04] installed ibus (1.4.99.20121006-1)
[2012-10-31 11:04] upgraded gnome-settings-daemon (3.4.2-1 -> 3.6.1-2)
[2012-10-31 11:04] upgraded gdm (3.4.1-3 -> 3.6.1-1)
[2012-10-31 11:04] upgraded glibmm (2.32.1-1 -> 2.34.0-1)
[2012-10-31 11:04] upgraded gnome-backgrounds (3.4.2-1 -> 3.6.0-1)
[2012-10-31 11:04] upgraded udisks2 (1.94.0-2 -> 2.0.0-1)
[2012-10-31 11:04] installed libsecret (0.10-1)
[2012-10-31 11:04] installed libpwquality (1.2.0-1)
[2012-10-31 11:04] upgraded gnome-disk-utility (3.4.1-1 -> 3.6.1-1)
[2012-10-31 11:04] upgraded libxklavier (5.2.1-2 -> 5.3-1)
[2012-10-31 11:04] upgraded libgnomekbd (3.4.0.2-1 -> 3.6.0-1)
[2012-10-31 11:04] upgraded gnome-screensaver (3.4.4-1 -> 3.6.1-1)
[2012-10-31 11:04] upgraded gnome-themes-standard (3.4.2-1 -> 3.6.1-1)
[2012-10-31 11:04] installed webkitgtk3 (1.10.1-1)
[2012-10-31 11:04] upgraded yelp-xsl (3.4.2-1 -> 3.6.0-1)
[2012-10-31 11:04] upgraded yelp (3.4.2-1 -> 3.6.1-1)
[2012-10-31 11:04] upgraded gnome-user-docs (3.4.2-1 -> 3.6.0-1)
[2012-10-31 11:04] upgraded gpm (1.20.6-10 -> 1.20.7-1)
[2012-10-31 11:04] upgraded grilo (0.1.18-1 -> 0.2.2-1)
[2012-10-31 11:04] upgraded gtk-engine-unico (1.0.2-1 -> 1.0.2-3)
[2012-10-31 11:04] upgraded gvfs (1.12.3-3 -> 1.14.0-1)
[2012-10-31 11:04] upgraded gvfs-afc (1.12.3-3 -> 1.14.0-1)
[2012-10-31 11:04] installed iptables (1.4.16.2-1)
[2012-10-31 11:04] upgraded iproute2 (3.5.1-1 -> 3.6.0-2)
[2012-10-31 11:04] installed webkitgtk2 (1.10.1-1)
[2012-10-31 11:04] >>> Updating module dependencies. Please wait ...
[2012-10-31 11:05] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2012-10-31 11:05] ==> Building image from preset: 'default'
[2012-10-31 11:05]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2012-10-31 11:05] ==> Starting build: 3.6.4-1-ARCH
[2012-10-31 11:05]   -> Running build hook: [base]
[2012-10-31 11:05]   -> Running build hook: [udev]
[2012-10-31 11:05]   -> Running build hook: [autodetect]
[2012-10-31 11:05]   -> Running build hook: [pata]
[2012-10-31 11:05]   -> Running build hook: [scsi]
[2012-10-31 11:05]   -> Running build hook: [sata]
[2012-10-31 11:05]   -> Running build hook: [filesystems]
[2012-10-31 11:05]   -> Running build hook: [usbinput]
[2012-10-31 11:05]   -> Running build hook: [fsck]
[2012-10-31 11:05] ==> Generating module dependencies
[2012-10-31 11:05] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2012-10-31 11:05] ==> Image generation successful
[2012-10-31 11:05] ==> Building image from preset: 'fallback'
[2012-10-31 11:05]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2012-10-31 11:05] ==> Starting build: 3.6.4-1-ARCH
[2012-10-31 11:05]   -> Running build hook: [base]
[2012-10-31 11:05]   -> Running build hook: [udev]
[2012-10-31 11:05]   -> Running build hook: [pata]
[2012-10-31 11:05]   -> Running build hook: [scsi]
[2012-10-31 11:05]   -> Running build hook: [sata]
[2012-10-31 11:05]   -> Running build hook: [filesystems]
[2012-10-31 11:05]   -> Running build hook: [usbinput]
[2012-10-31 11:05]   -> Running build hook: [fsck]
[2012-10-31 11:05] ==> Generating module dependencies
[2012-10-31 11:05] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2012-10-31 11:05] ==> Image generation successful
[2012-10-31 11:05] upgraded linux (3.6.3-1 -> 3.6.4-1)
[2012-10-31 11:05] upgraded lirc-utils (1:0.9.0-33 -> 1:0.9.0-34)
[2012-10-31 11:05] upgraded mdadm (3.2.5-2 -> 3.2.6-1)
[2012-10-31 11:05] upgraded zenity (3.4.0-1 -> 3.6.0-1)
[2012-10-31 11:05] upgraded mutter (3.4.1-2 -> 3.6.1-2)
[2012-10-31 11:05] upgraded nautilus (3.4.2-1 -> 3.6.2-1)
[2012-10-31 11:05] upgraded rhythmbox (2.97-2 -> 2.98-2)
[2012-10-31 11:05] upgraded slim (1.3.4-3 -> 1.3.4-4)
[2012-10-31 11:05] installed gst-plugins-good (1.0.2-1)
[2012-10-31 11:05] installed chromaprint (0.7-1)
[2012-10-31 11:05] installed mpg123 (1.14.4-1)
[2012-10-31 11:05] installed celt (0.11.1-4)
[2012-10-31 11:05] installed spandsp (0.0.6pre21-1)
[2012-10-31 11:05] installed gst-plugins-bad (1.0.2-1)
[2012-10-31 11:05] upgraded totem (3.4.3-1 -> 3.6.2-1)
[2012-10-31 11:05] upgraded vala (0.16.1-1 -> 0.18.0-1)
[2012-10-31 11:05] In order to use the new version, reload all virtualbox modules manually.
[2012-10-31 11:05] upgraded virtualbox-host-modules (4.2.4-1 -> 4.2.4-2)
[2012-10-31 11:05] upgraded vte-common (0.32.2-1 -> 0.34.1-1)
[2012-10-31 11:05] upgraded xorg-xinit (1.3.2-1 -> 1.3.2-3)
[2012-10-31 11:05] upgraded xterm (285-1 -> 286-1)
[2012-10-31 13:14] Running 'pacman -Syu'
[2012-10-31 13:14] synchronizing package lists
[2012-10-31 13:14] starting full system upgrade
[2012-10-31 13:15] upgraded cairo (1.12.2-3 -> 1.12.6-2)
[2012-10-31 13:15] upgraded libcanberra (0.28-5 -> 0.30-1)
[2012-10-31 13:15] upgraded libcanberra-pulse (0.28-5 -> 0.30-1)
[2012-10-31 13:15] upgraded metacity (2.34.8-1 -> 2.34.13-1)
[2012-10-31 14:21] Running 'pacman -Syu'

EDIT: And ma is correct, this contains a pango upgrade.

EDIT2: And this seems to be the diff to that latest change: http://git.gnome.org/browse/pango/commi … cf2953dad4

Last edited by Antunes (2012-11-02 16:55:25)

Offline

#28 2012-11-02 17:07:18

ma
Member
Registered: 2012-01-29
Posts: 47

Re: [Solved] Openbox fails to exit back to prompt after upgrade

I just filed a bug report against Pango. Let's hope I'm right, and it gets fixed quickly. :-\

Offline

#29 2012-11-02 17:11:22

Gusar
Member
Registered: 2009-08-25
Posts: 3,398

Re: [Solved] Openbox fails to exit back to prompt after upgrade

Excellent detective work, ma! You provided a patch even. I'll try it out later today.

Offline

#30 2012-11-02 17:53:35

Antunes
Member
Registered: 2012-07-15
Posts: 20

Re: [Solved] Openbox fails to exit back to prompt after upgrade

Yes, thanks ma for the great help. Maybe the openbox bug should be closed then.

Offline

#31 2012-11-02 18:27:57

ndt
Member
From: USA
Registered: 2011-10-12
Posts: 30
Website

Re: [Solved] Openbox fails to exit back to prompt after upgrade

I created a pkgbuild that implements ma's patch, until it gets fixed upstream.

Last edited by ndt (2012-11-02 18:39:00)


[~/.]

Offline

#32 2012-11-02 19:45:16

ATmega328
Member
Registered: 2012-10-31
Posts: 11

Re: [Solved] Openbox fails to exit back to prompt after upgrade

Nice work!  Patch works! (elegant solution also)

Last edited by ATmega328 (2012-11-02 20:13:28)

Offline

#33 2012-11-02 20:05:22

Gusar
Member
Registered: 2009-08-25
Posts: 3,398

Re: [Solved] Openbox fails to exit back to prompt after upgrade

I used the patch exactly as ma posted it in the gnome bugzilla. It works. "openbox --exit" properly quits X.

Offline

#34 2012-11-02 20:20:18

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,681

Re: [Solved] Openbox fails to exit back to prompt after upgrade

Downgrading pango to version 1.30.1 worked for me.


oz

Offline

#35 2012-11-02 20:21:05

ma
Member
Registered: 2012-01-29
Posts: 47

Re: [Solved] Openbox fails to exit back to prompt after upgrade

Thank you all for taking the time to try the patch. Glad to hear it helps.

Offline

#36 2012-11-02 20:55:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,835

Re: [Solved] Openbox fails to exit back to prompt after upgrade

Downgrading works here too.

ma, I look forward to experiencing your patch in the next upstream pango release. smile

Offline

#37 2012-11-02 21:06:52

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: [Solved] Openbox fails to exit back to prompt after upgrade

The patch works!

Offline

#38 2012-11-03 02:58:14

muffinss
Member
From: united states
Registered: 2011-02-07
Posts: 54

Re: [Solved] Openbox fails to exit back to prompt after upgrade

Ty ma! I hope pango gets patched soon.

For those who want an easier way to patch pango, ndat uploaded a patched version of pango 1.32 to the AUR: https://aur.archlinux.org/packages.php?ID=64236

Last edited by muffinss (2012-11-03 03:01:13)

Offline

#39 2012-11-03 10:03:37

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,080

Re: [Solved] Openbox fails to exit back to prompt after upgrade

@ma : please can you explain why it works with pango 1.30.1 ?

ozar wrote:

Downgrading pango to version 1.30.1 worked for me.

in pango 1.30.1, the source of pangoxft-fontmap.c is without your added lines:

static int
close_display_cb (Display   *display,
		  XExtCodes *extcodes G_GNUC_UNUSED)
{
  GSList *tmp_list;

  tmp_list = fontmaps;
  while (tmp_list)
    {
      PangoXftFontMap *xftfontmap = tmp_list->data;
      tmp_list = tmp_list->next;

      if (xftfontmap->display == display)
	pango_xft_shutdown_display (display, xftfontmap->screen);
    }

@ndt : Why did you add 'gobject-introspection' as a dependency of pango ?
and using the 'patch' command is cleaner than 'sed' here, I think.

Online

#40 2012-11-03 10:28:16

ma
Member
Registered: 2012-01-29
Posts: 47

Re: [Solved] Openbox fails to exit back to prompt after upgrade

@berbae: As Antunes pointed out, they changed things a bit in this commit: “Protect fontmaps with a mutex in pangoxft-fontmap.c”. It did not go too well.

Offline

#41 2012-11-03 12:48:53

ATmega328
Member
Registered: 2012-10-31
Posts: 11

Re: [Solved] Openbox fails to exit back to prompt after upgrade

Here is an anecdote:

There once was a man named Pango who was tired of people, especially his Arch rivals, always borrowing his car (a brand new fntmp) without asking. So when he turned 32 he decided on a new method: he would start keeping the keys inside the house.

Then one day he was with his two sons, Shut and Close, and he said, "listen boys, I know you aren't that smart, so let me make this easy for you. I have two tasks for you to do:
Task 1: go in the house and get the keys.
Task 2: go wait in the car until we leave."

A little while later, Pango comes home and sees Close sitting alone in the car.
"Where is your brother Shut?" he asks.
"Ha ha!", Close replies, "He is still in the house trying to finish Task 1"

Last edited by ATmega328 (2012-11-03 13:16:30)

Offline

#42 2012-11-03 16:07:07

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,080

Re: [Solved] Openbox fails to exit back to prompt after upgrade

@ma : Looking more closely to this issue, I now understand better why your patch is necessary; thanks for it.
But I don't like the AUR package, I will use ABS instead and do it myself.

Online

#43 2012-11-04 01:38:46

ndt
Member
From: USA
Registered: 2011-10-12
Posts: 30
Website

Re: [Solved] Openbox fails to exit back to prompt after upgrade

berbae wrote:

@ndt : Why did you add 'gobject-introspection' as a dependency of pango ?
and using the 'patch' command is cleaner than 'sed' here, I think.

Stupid choice on my part. I'll remove it when I get the shot.

I think I was searching for dependencies for pango building and somehow came up with that in error.

Edit: fixed.

Last edited by ndt (2012-11-04 01:41:37)


[~/.]

Offline

#44 2012-11-14 07:29:15

ma
Member
Registered: 2012-01-29
Posts: 47

Re: [Solved] Openbox fails to exit back to prompt after upgrade

Finally, the Pango bug has been fixed.

Offline

#45 2012-11-16 08:33:52

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 714

Re: [Solved] Openbox fails to exit back to prompt after upgrade

Confirmed.


Microshaft delenda est

Offline

Board footer

Powered by FluxBB