[Compcomm] Segmentation fault crashing (Was: script to get sources and install everything)

Kristian Lyngstøl kristian at beryl-project.org
Sat May 5 20:49:46 EDT 2007


On 5/6/07, Stephen Moore <delfick755 at gmail.com> wrote:
> sorry, i use gmail, it's so very easy to keep track of things, cause it
> keeps it all in 'conversations' and i read from the top down :D (gmail is
> awsome :D

I use gmail too for the time being, and top quoting still means I have
to scroll up and down. Unless you expect me to read all the former
mails every time you post. Which I know you don't. Basicly, avoiding
top-posting is an easy way to make people who're used to tech
mailinglists take you more serious :) (You're in no way the only
sinner here, but you're one of the people I'm actually answering, so
there you go)

> so how would i do it in the console ??
>
> > You have to either use a console (which would be ctrl-alt-f1-6
> > normally), or ssh from an other machine. As you noticed, X froze,
> > because gdb stops the program (a window manager in this case), which
> > would stop it from processing events. If you choose to use a console,
> > you might have to use sysrq+r to be able to actually switch to the
> > console after gdb stops compiz for you.

Hit ctrl-alt-f1 (for instance), log in, type:

DISPLAY=:0.0 gdb compiz
DISPLAY must be adjusted if you're using Xgl for instance, check what
DISPLAY is in X: export | grep DISPLAY, if you have to.

You'll get a prompt.

Type "run (arguments)", for instance: "run --sm-disable --replace ini"
Either it'll tell you straigth away that it crashed, or you will have
to go to X again; ctrl-alt-f7 usually. Use it until it freezes, that
means gdb has caught a crash.

When that happens, you will probably not be able to go directly to
ctrl-alt-f1, because input is blocked. To solve that, hit sysrq+r
first. That's usually alt-printscreen r.

When you're on the console with gdb, it'll probably tell you it caught
a signal, and you're at a prompt. Type: "bt" (short for backtrace),
this will give you a backtrace. Get this output to us :)

You should have a mouse on the console which would make pasting a lot
easier, if you don't get gpm before you start. This will let you
select text on one console, switch to another (ctrl-alt-f2 for
instance), fire up an editor, and paste it with the right mouse
button.

> i already knew about ini and gconf, but with ccp, how do i manually set the
> order of the plugins ??
>
> because it doesn't seem to be able to order them correctly and i keep
> getting messages saying plugin x must be loaded before plugin y ....
>
> compiz: 'cube' plugin must be loaded before 'scale' plugin
> compiz: Can't activate 'cube' plugin due to dependency problems
> compiz: 'rotate' plugin must be loaded after 'cube' plugin
> compiz: Can't activate 'rotate' plugin due to dependency problems

This shouldn't happen, as ccs is supposed to order the plugins for
you. You may want to bring this up to the ccs folks (Dennis for
instance), in another thread.

-- 
Regards,
Kristian



More information about the CompComm mailing list