Awn

awn-0.3.9 segfaults

Asked by Malte Skoruppa

Hi!

So I saw that you implemented the user positionable bar... YES! YEEES! *Thank you*!! I've been waiting years for this! Years, I tell you! (see https://answers.launchpad.net/awn/+question/19966) *wiping off a tear* Thank you, a thousand times! :-))

Unfortunately I'm still getting some problems...
So I got the bzr branch lp:awn/0.4 (rev 1582)
Then I saw I needed libdesktop-agnostic. So I got that (rev 371)
Then I got vala-0.7.7

Then finally everything compiled, and I ended up with a readily installed version of awn 0.3.9.

And now it segfaults :-(

malte@ririu $ avant-window-navigator -v
Avant Window Navigator 0.3.9

malte@ririu $ avant-window-navigator

** (avant-window-navigator:6059): CRITICAL **: guess_module: assertion `library_prefix != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: guess_module: assertion `library_prefix != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed
Screen is composited

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed

** (avant-window-navigator:6059): CRITICAL **: desktop_agnostic_config_bridge_bind: assertion `config != NULL' failed
Segmentation fault

Did I do something wrong? How can I get this to work? Since it works for you guys, it must be possible somehow ;-)

Thanks again for this awesome feature! Even though I didn't get it to work yet ;-)

Cheers

Malte

Question information

Language:
English Edit question
Status:
Solved
For:
Awn Edit question
Assignee:
No assignee Edit question
Solved by:
Malte Skoruppa
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Malte Skoruppa (malte-countnumber) said :
#1

Here's an strace, in case it could help:
http://pastebin.ca/1636437
(avant-window-navigator is installed in /usr/bin though it's self-compiled, since I built a package of it)

Revision history for this message
Malte Skoruppa (malte-countnumber) said :
#2

Sorry, clicked on "Solved" by mistake.

Revision history for this message
Michal Hruby (mhr3) said :
#3

Please try to use our PPA (if on Ubuntu) > https://launchpad.net/~awn-testing/+archive/ppa and see if that helps.

Revision history for this message
Malte Skoruppa (malte-countnumber) said :
#4

Hi,

unfortunately I'm not under Ubuntu. I'm not even under any Debian-like system, but under Arch Linux.

So I visited https://launchpad.net/~awn-testing/+archive/ppa

There I saw there's a Wiki article which also has a short tip for Arch users [http://wiki.awn-project.org/DistributionGuides#Arch_Linux] involving using a user-made package from the AUR (the Arch User Repository, where users put up their own packages).
Unfortunately the mentioned package isn't up-to-date. It's even a dead link. Moreover it looks like this is a package of awn 0.3.2 anyway, I guess the "user positionable bar" feature isn't included there anyway.

So I went on and saw that there's a forum thread about the PPA in your forums at http://awn.planetblur.org/?action=g_reply&ID=1490
Thus I learned I could checkout the PPA version (as far as I understood this) using 'bzr branch lp:~awn-testing/awn/awn-core-testing'. But it failed to build. While ./autogen.sh worked, ./configure failed telling me "config.status: error: po/Makefile.in.in was not created by intltoolize."

So ok! Let me get an overview here. I can get awn from several branches:
 * lp:awn a development branch, last updated 18 weeks ago
 * lp:awn/0.4 a development branch for 0.4, last updated just a few hours ago
 * lp:~awn-testing/awn/awn-core-testing the PPA branch, last updated 2008-02-20, if I see this correctly

I can compile and run the first, but it doesn't have the user positionable bar.
I can compile the second, but it segfaults.
I can't even compile the third.

Am I right with what I guessed of these branches? Which is which? And most importantly, in which branch is the user positionable bar implemented? I'm willing to do some testing and tweaking to get it to work, but at least I'd like to use the correct branch to do that ;-)

Thanks!

Malte

Revision history for this message
Michal Hruby (mhr3) said :
#5

You were correctly using lp:awn/0.4, this is the rewrite branch with all new features, it will be soon merged into lp:awn. The third branch you mention is outdated.

Anyway, our PPA has patch for libdesktop-agnostic (lda) applied which would fix your issue imo.
You can get the lda branch with the patch at lp:~mhr3/libdesktop-agnostic/various-fixes. Note that this is my "personal" branch, but the changes there will most likely get to lda trunk soon. So I suggest merging your lda branch with mine, that should fix the segfault. (remember to pull and rebuild latest awn after installing lda)

Revision history for this message
Malte Skoruppa (malte-countnumber) said :
#6

Michal, thanks a lot for all your help and patience. With avant-window-navigator from lp:awn/04 and the libdesktop-agnostic version from lp:~mhr3/libdesktop-agnostic/various-fixes, I now have a running version of awn 0.3.9.

I can position it on any edge of the screen, just as I always wished for. Even with my setup, using two monitors, I can position it at the left edge of the right display, thanks to the "Force monitor mode" and the possibility to manually set the monitor width and height, as well as an X and Y offset. With this, one can actually place awn *anywhere* now, even in the middle of a screen, if it pleases one to do so ;-)
But what is most awesome is that the dockbar can be rotated vertically now, and it all works flawlessly. Using the "Classic Mode" for icon effects, the icons hop to the right when the orientation of the panel is set to left, and vice-versa.
I waited for this so long, and now it's finally there. I'm so glad. Finally I can put this awesome panel in an also awesome position ;)

Otherwise, the new awn looks very beautiful. I love it! Great work!

Also, now there's already a package in the AUR of your libdesktop-agnostic version here:
http://aur.archlinux.org/packages.php?ID=31432
...and, to go along with that, an avant-window-navigator-0.4-bzr package that retrieves awn from lp:awn/0.4 here:
http://aur.archlinux.org/packages.php?ID=31433

I didn't even make these packages myself. Someone else saw this thread and put those packages up in the AUR a few hours ago. I guess, Arch Linux is the only distribution where there's *already* a *package* of awn available in such a recent version that the "position awn anywhere" is working! ;-)

Thanks again and keep up the great work!

Cheers,

Malte

Revision history for this message
Michal Hruby (mhr3) said :
#7

I should note that the fix from my branch is now in lda trunk, so it's no longer necessary to use my branch.