gnome-session-remove comand line tool not working

Bug #188174 reported by Dani Alonso
6
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-session

gnome-session-remove --list outputs an empty list and hangs the shell.
gnome-session-remove anything also hangs

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. The description lack basic details, what version of Ubuntu are you using? Does it happen every time? Could you describe easy steps to trigger the issue?

Changed in gnome-session:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Dani Alonso (dalonso) wrote :

I'm using hardy with gnome-session updated to 2.21.90-0ubuntu2.

It happens every time. To reproduce, open gnome-terminal and type any of the commands above.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report?

Revision history for this message
Dani Alonso (dalonso) wrote :

Sorry but I can't install the debug version of gnome-session package because it's not updated to the actual version:

gnome-session --> 2.21.90-0ubuntu2
gnome-session-symdbg --> 2.20.0-0ubuntu2 !!!!

What should I do?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you have the hardy dbgsym source?

Revision history for this message
Dani Alonso (dalonso) wrote :

That is what I was trying to say:

I cannot install gnome-session-symdbg-2.20.0-0ubuntu2, the only version in the repositories, because it is depending of gnome-session of the same version and conflicts with gnome-session-2.21.90-0ubuntu2 of the repository.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the current version available on hardy is gnome-session-dbgsym 2.21.90-0ubuntu2, what architecture do you use?

Revision history for this message
Dani Alonso (dalonso) wrote :

Sorry, I found the cause of the problem, I didn't replaced the "gutsy" in "deb http://ddebs.ubuntu.com gutsy main universe" with a "hardy".

But now how can I get a gdb backtrace if the program is not crashing. It simply stalls without any output.

Instead of a backtrace, I have run it under strace and the output shows it stalling at a poll operation, untill I kill it with ^C

I'm attaching the output of "strace gnome-session-remove --list".

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you get a backtrace using gdb? just run the software in the debugger, ctrl-C when it's hanging and get backtrace there

Revision history for this message
Dani Alonso (dalonso) wrote :

Ok, attaching the backtrace.

Revision history for this message
Sebastien Bacher (seb128) wrote :

that's a strace not a gdb stacktrace

Revision history for this message
Dani Alonso (dalonso) wrote :

Oops, sorry, I attached the strace again. Here it goes the backtrace.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the stacktrace has no debug informations

Revision history for this message
Dani Alonso (dalonso) wrote :

Well, I already stated that the program is not crashing. This is what gdb gives as a backtrace when ctrl-C

Revision history for this message
Sebastien Bacher (seb128) wrote :

what I mean is that you don't have libglib2.0-0-dbgsym libgtk2.0-0-dbgsym etc installed so the backtrace lacks details

Revision history for this message
Kurt Peterschmidt (kurtpete) wrote :

I can confirm this is happening in the x64 release install of Hardy as well.

Revision history for this message
beaudoin996 (beaudoin996) wrote :

I got exactly the same problem. It started with the hardy update.

When I type :

gnome-session-remove gnome-panel

the terminal just hangs on and I have to type Ctrl-C to move on.

When I type :

gnome-session-remove --list

the terminal hangs on but I see a message telling me that registered clients list is empty.

Revision history for this message
Nick Weedon (nick-weedon) wrote :

I have the same problem also.
I have installed all debug symbol versions of relevant libraries and dumped a gdb backtrace (attached).

Revision history for this message
Nick Weedon (nick-weedon) wrote :

I forgot to mention, i am running Ubuntu Hardy (originally installed as Ubunutu Feisty but upgraded twice).

uname -a =
Linux wyvern 2.6.24-17-generic #1 SMP Thu May 1 13:57:17 UTC 2008 x86_64 GNU/Linux

Revision history for this message
Nick Weedon (nick-weedon) wrote :

Oh, and the package versions:
gnome-session 2.22.1.1-0ubuntu2
glib2.0-0 2.16.3-1ubuntu2

If you need any more information, please let me know.

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Revision history for this message
Nick Weedon (nick-weedon) wrote : Re: [Bug 188174] Re: gnome-session-remove comand line tool not working

Hi Martin,
The latest Ubuntu release does fix this issue in the sense that i can no
longer reproduce the problem since the "gnome-session-remove" utility is
now completely missing from the "gnome-session" package (in Ubuntu
Intrepid) and cannot be found anywhere in Ubuntu intrepid (in any other
package).
Not really the sort of fix i was looking for however...

Thanks,
- Nick Weedon

Martin Mai wrote:
> We were wondering if this is still an issue for you. Can you try with
> the latest Ubuntu release? Thanks in advance.
>
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

the command line is deprecated in new version

Changed in gnome-session (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Santiag0 (sanbor) wrote :

And how I can remove my saved session, I don't want to remember my session anymore, but I can't disable this feature, every time I start my machine the computer shows the last saved session, even with "Automatically remember running applications when loggin out", I wish an additional "Forget saved session" button

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.