Awn

Segmentation fault (core dumped)

Asked by PliachasPaschalis

i run in a terminal: avant-window-navigator
and i get: Segmentation fault (core dumped)
i run : awn-manager
and i get:" /usr/share/avant-window-navigator/awn-manager/awnPreferences.py:242: DeprecationWarning: raising a string exception is deprecated
  raise "\nKey: "+key+" isn't set.\nRestarting AWN usually solves this issue\n"
Traceback (most recent call last):
  File "/usr/bin/awn-manager", line 200, in <module>
    awnmanager = AwnManager()
  File "/usr/bin/awn-manager", line 101, in __init__
    self.prefManager = awnPreferences(self.wTree)
  File "/usr/share/avant-window-navigator/awn-manager/awnPreferences.py", line 150, in __init__
    self.setup_chooser(APP_ACTIVE_PNG, self.wTree.get_widget("activefilechooser"))
  File "/usr/share/avant-window-navigator/awn-manager/awnPreferences.py", line 242, in setup_chooser
    raise "\nKey: "+key+" isn't set.\nRestarting AWN usually solves this issue\n"

Key: /apps/avant-window-navigator/app/active_png isn't set.
Restarting AWN usually solves this issue"

What is that? of course when i go System- Preferences- Awn Manager i get nothing

Question information

Language:
English Edit question
Status:
Solved
For:
Awn Edit question
Assignee:
No assignee Edit question
Solved by:
PliachasPaschalis
Solved:
Last query:
Last reply:
Revision history for this message
Mark Lee (malept) said :
#1

We need to know the following about your system:
* How you installed Awn (either compiled from source code or from a binary package from a third-party repository)
* The exact version of Awn - that is, if you have a development or bzr version of Awn installed, the bzr revision number
* Your Linux distribution (and version)
* Whether your system is 32 or 64 bit

Also, it would be very helpful if you could provide a backtrace of the crash - you can find out instructions with regards to how to do this at the wiki:
http://wiki.awn-project.org/index.php?title=SubmittingBugReports

Revision history for this message
PliachasPaschalis (pliahas) said :
#2

i tried to follow the instructions from this site:http://www.howtoforge.com/mac4lin_make_linux_look_like_a_mac_p3
at the step where it asked me to install the Affinity from the terminal window i got the message that the package wasn't available. Anyway i saw that the Awn Manager was available at the System - Preferences menu, i Clicked on it but nothing seemed to happen. After i tried the terminal... you know the rest

how can i find the version number?

I have installed edubuntu 7.10 and also installed kubuntu. i choose from the logon screen which desktop to use. (Gnome or KDE)
My system is 32 bit

i paste all the commands and returns as the procedure on the wikki. Hope this helps.
~$ gdb avant-window-navigator
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /usr/local/bin/avant-window-navigator
[Thread debugging using libthread_db enabled]
[New Thread -1219815760 (LWP 7231)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219815760 (LWP 7231)]
hex2float (HexColor=0x0, FloatColor=0xbfc67bac) at awn-gconf.c:232
232 getdec(HexColorPtr[1]);
(gdb) bt
#0 hex2float (HexColor=0x0, FloatColor=0xbfc67bac) at awn-gconf.c:232
#1 0x0804adf1 in awn_load_color (client=0x8059a58,
    key=0x804e4fc "/apps/avant-window-navigator/bar/glass_step_1",
    color=0x805001c) at awn-gconf.c:196
#2 0x0804b09f in awn_gconf_new () at awn-gconf.c:89
#3 0x0804aabb in main (argc=1, argv=0xbfc67cc4) at main.c:47
(gdb)

Revision history for this message
Mark Lee (malept) said :
#3

It appears that you have two installations of Awn on your computer - one that I assume you compiled yourself that's installed in /usr/local, and the one from reacocard's repository that's installed in /usr. Please remove the one in /usr/local by doing the following:

* open a terminal and change the directory to the directory where you compiled Awn from source.
* run `sudo make uninstall`.
* check to see if awn-manager is still in /usr/local/bin by running `ls /usr/local/bin/awn-manager`. If it's still there, run `sudo rm /usr/local/bin/awn-manager` to get rid of it. (Awn before version 0.2.1 didn't uninstall awn-manager properly)

After you do that, please check to see if Awn still segfaults. If so, please get a backtrace like the one that you did earlier, and post it here on Launchpad.

Revision history for this message
PliachasPaschalis (pliahas) said :
#4

Ok Thanks