! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Workspaces settings: empty window (r28784, beta2)
Status:
RESOLVED: FIXED

Comments

Description Jos van Wolput 2008-11-15 12:01:43 CET
The window of the Workspaces settings now doesn't show anything!
Set number, names and margins of workspaces is no longer there as it was in the previous revisions.
Comment 1 Brian J. Tarricone (not reading bugmail) 2008-11-15 12:31:09 CET
Uh, weird.  Works fine here.  Any console output?

(Please don't put spam links in the URL field.  That's for URL's related to the bug.)
Comment 2 Jos van Wolput 2008-11-15 13:36:12 CET
(In reply to comment #1)
> Uh, weird.  Works fine here.  Any console output?
> 

I am using Debian Sid/Experimental with libgtk2.0-0 v.2.14.4-3,
here is the console output:
---
/usr/bin$ xfwm4-workspace-settings
(xfwm4-workspace-settings:6520): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  "   (8 times the same warning)
(xfwm4-workspace-settings:6520): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Segmentation fault
---
I have reinstalled all the xfce4 beta2 files, get again the same error.
Comment 3 Olivier Fourdan editbugs 2008-11-15 19:18:08 CET
valgrind returns no error; can you run xfwm4-workspace-settings in gdb and post a backtrace?
Comment 4 Jos van Wolput 2008-11-16 03:04:35 CET
(In reply to comment #3)
> valgrind returns no error; can you run xfwm4-workspace-settings in gdb and post
> a backtrace?

Before doing this debug I checked all settings of xfce4-settings-manager. It
appears the window of Autostarted Applications is also empty.

In that case I get console output:
---
/usr/bin$ xfce4-settings-manager

(xfce4-autostart-editor:30215): Gtk-CRITICAL **: gtk_widget_reparent: assertion `widget->parent != NULL' failed
---

Contrary to xfwm4-workspace-settings running  xfce4-autostart-editor in a console doesn't produce an error.
In previous revisions there were no empty windows in the settings manager!
Comment 5 Jos van Wolput 2008-11-16 07:01:25 CET
(In reply to comment #3)
> can you run xfwm4-workspace-settings in gdb and post a backtrace?

gdb xfwm4-workspace-settings
(gdb) bt
No stack.
(gdb)
Comment 6 Mike Massonnet editbugs 2008-11-16 08:16:12 CET
(In reply to comment #5)
> (In reply to comment #3)
> > can you run xfwm4-workspace-settings in gdb and post a backtrace?
> 
> gdb xfwm4-workspace-settings
> (gdb) bt
> No stack.
> (gdb)

Type run before bt.
Comment 7 Jos van Wolput 2008-11-16 09:23:42 CET
(In reply to comment #6)

> Type run before bt.

(gdb) run bt
Starting program: /usr/bin/xfwm4-workspace-settings bt
[Thread debugging using libthread_db enabled]
[New Thread 0xb717c710 (LWP 5330)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb717c710 (LWP 5330)]
0x08049fb3 in main (argc=138023104, argv=0x1) at workspace-settings.c:267
267	    for(; i < n_workspaces && names[i]; ++i) {
(gdb)
Comment 8 Jos van Wolput 2008-11-16 09:33:46 CET
(In reply to comment #6)

> Type run before bt.

This is gdb bt with the settings-manager and the xfce4-autostart-editor
which too shows an empty window.

gdb xfce4-settings-manager

(gdb) run bt
Starting program: /usr/bin/xfce4-settings-manager bt
[Thread debugging using libthread_db enabled]
[New Thread 0xb71f5710 (LWP 5421)]

(xfce4-autostart-editor:5425): Gtk-CRITICAL **: gtk_widget_reparent: assertion `widget->parent != NULL' failed

Program exited normally.
(gdb)
Comment 9 Brian J. Tarricone (not reading bugmail) 2008-11-16 20:18:59 CET
xfce4-autostart-editor doesn't exist anymore.  There's no need to fix bugs in it.

For the backtrace, he meant first you type "run", and when it crashes, then you type "bt".

For workspaces settings, the code you reference in your stack at the crash point doesn't exist anymore, so it's possible this bug is already fixed.
Comment 10 Jos van Wolput 2008-11-17 06:09:50 CET
(In reply to comment #9)

It's all fixed after deleting all xfce files and reinstalling beta2.
The segfault and settings problems were obviously caused by some old stuff hanging around.
Sorry for the trouble, it wasn't a real bug!
Comment 11 Olivier Fourdan editbugs 2008-11-18 21:38:48 CET
(In reply to comment #10)
> Sorry for the trouble, it wasn't a real bug!

No, it _is_ a real bug, it must not crash.
Comment 12 Jos van Wolput 2014-08-03 06:04:35 CEST
This issue no longer happens

Bug #4616

Reported by:
Jos van Wolput
Reported on: 2008-11-15
Last modified on: 2014-08-03

People

Assignee:
Olivier Fourdan
CC List:
3 users

Version

Attachments

Additional information