Bug#816118: gnome-shell: Gnome-shell-binary crash when resuming from a suspended multi monitor setup

2016-02-27 Thread Gaël Jobin
Package: gnome-shell
Version: 3.18.3-3
Severity: important

At work, I use a multi monitor setup using both hdmi and display port. When I
hibernate, take my computer at home and try to resume it, my laptop monitor
blink and I can log in with my creds. But, it's a complete new session with all
my apps closed.

Is it related to VirtualBox (kern.log)? Or maybe systemd? Or nvidia? The log
are there but I don't know what is causing gnome-shell to crash/restart.

>From /var/log/kern.log

Feb 27 18:04:19 GagouNotebook kernel: [245847.382348] VBoxCrWinCmd[3961]:
segfault at 2bb32560 ip 7fabb4e66d4d sp 7fab814c6d40 error 4 in
libc-2.21.so[7fabb4e31000+19a000]
Feb 27 18:04:20 GagouNotebook gnome-session-binary[15125]: Unrecoverable
failure in required component gnome-shell.desktop

>From /var/log/daemon.log
Feb 27 18:04:20 GagouNotebook gnome-session-binary[15125]: WARNING: App 'gnome-
shell.desktop' exited with code 1
Feb 27 18:04:20 GagouNotebook gnome-session-binary[15125]: WARNING: App 'gnome-
shell.desktop' exited with code 1
Feb 27 18:04:20 GagouNotebook gnome-session-binary[15125]: WARNING: App 'gnome-
shell.desktop' respawning too quickly
Feb 27 18:04:20 GagouNotebook gnome-session-binary[15125]: GLib-GObject-
CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Feb 27 18:04:20 GagouNotebook gnome-session-binary[15125]: GLib-GObject-
CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Feb 27 18:04:20 GagouNotebook gnome-session-binary[15125]: GLib-GObject-
CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Feb 27 18:04:20 GagouNotebook gnome-session-binary[15125]: WARNING: App 'gnome-
settings-daemon.desktop' exited with code 1
Feb 27 18:04:20 GagouNotebook console-kit-daemon[3995]: (process:8807): GLib-
CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Feb 27 18:04:20 GagouNotebook console-kit-daemon[3995]: (process:8809): GLib-
CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Feb 27 18:04:20 GagouNotebook console-kit-daemon[3995]: (process:8810): GLib-
CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Feb 27 18:04:20 GagouNotebook console-kit-daemon[3995]: (process:8811): GLib-
CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Feb 27 18:04:20 GagouNotebook console-kit-daemon[3995]: (process:8812): GLib-
CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Feb 27 18:04:20 GagouNotebook console-kit-daemon[3995]: (process:8813): GLib-
CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

>From /var/log/messages
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got pause for 13:68
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got pause for 13:75
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got pause for 13:80
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got pause for 13:70
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got pause for 13:74
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got pause for 13:65
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got pause for 13:73
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got pause for 13:66
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got pause for 13:72
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got pause for 13:64
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got pause for 226:0
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II)
config/udev: removing device LITEON Technology USB Multimedia Keyboard
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) evdev:
LITEON Technology USB Multimedia Keyboard: Close
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II)
UnloadModule: "evdev"
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: releasing fd for 13:65
...
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got resume for 13:67
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got resume for 13:69
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got resume for 13:68
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got resume for 13:75
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got resume for 13:80
Feb 27 18:04:18 GagouNotebook /usr/lib/gdm3/gdm-x-session[15109]: (II) systemd-
logind: got resume for 13:70
Feb 27 18:04:18 GagouNotebook 

Bug#814338: armhf-20150422: Format partitions error for ext4/fat/jfs : Unknown symbol __getblk_gfp

2016-02-10 Thread Gaël Jobin
Package: installation-reports
Severity: grave
Tags: d-i
Justification: renders package unusable

I'm trying to run Debian Jessie on ARMv7 using Qemu. I used the initrd.gz and
vmlinuz available at ftp://ftp.debian.org/debian/dists/jessie/main/installer-
armhf/20150422/images/netboot/. I also tried with the up-to-date version at
ftp://ftp.debian.org/debian/dists/jessie/main/installer-
armhf/20150422+deb8u3/images/netboot/ without success.

I also used the vexpress-v2p-ca9.dtb file to pass to Qemu like this:

$ qemu-system-arm -machine vexpress-a9 -m 256 -kernel vmlinuz -initrd initrd.gz
-dtb vexpress-v2p-ca9.dtb   -append "console=ttyAMA0 root=/dev/vda2" -drive
id=vda,file=vda.img,if=none,format=raw,index=1 -device virtio-blk-
device,drive=vda -serial stdio


The installation goes fine until partitionning and fails right after when
trying to mount the newly created partitions. Dmesg give us an idea about the
error that seems related to filesystem module:

[  643.769787] ext4: Unknown symbol __bread_gfp (err 0)
[  643.785817] ext4: Unknown symbol __getblk_gfp (err 0)
[  643.980183] fat: Unknown symbol __bread_gfp (err 0)
[  643.980811] fat: Unknown symbol __getblk_gfp (err 0)
[  644.660754] raid6: int32x1225 MB/s
[  644.729194] raid6: int32x2 65 MB/s
[  644.796728] raid6: int32x4198 MB/s
[  644.864700] raid6: int32x8153 MB/s
[  644.864774] raid6: using algorithm int32x1 (225 MB/s)
[  644.864877] raid6: using intx1 recovery algorithm
[  644.891890] xor: measuring software checksum speed
[  644.928760]arm4regs  :   126.000 MB/sec
[  644.968613]8regs :   444.000 MB/sec
[  645.008637]32regs:   323.000 MB/sec
[  645.008762] xor: using function: 8regs (444.000 MB/sec)
[  645.237009] Btrfs loaded
[  645.799760] ext4: Unknown symbol __bread_gfp (err 0)
[  645.807260] ext4: Unknown symbol __getblk_gfp (err 0)
[  645.926729] ext4: Unknown symbol __bread_gfp (err 0)
[  645.931377] ext4: Unknown symbol __getblk_gfp (err 0)
[  646.358278] jfs: Unknown symbol __bread_gfp (err 0)
[  646.359270] jfs: Unknown symbol __getblk_gfp (err 0)

Also, during the partitionning, the default ext4 filesystem is selected. When
trying to modify it, there's no proposed ext4/ext3/ext2 filesystem nor fat32,
only btrfs, raid, lvm and encrypted.

After some research, could be related to difference of version between the
running kernel and the kernel used to compile the module, so modinfo give us
the following information:

~ # modinfo ext4
filename:   /lib/modules/3.16.0-4-armmp/kernel/fs/ext4/ext4.ko
license:GPL
description:Fourth Extended Filesystem
author: Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger,
Theodore Ts'o and others
alias:  fs-ext4
alias:  ext3
alias:  fs-ext3
alias:  ext2
alias:  fs-ext2
depends:mbcache,jbd2,crc16
intree: Y
vermagic:   3.16.0-4-armmp SMP mod_unload modversions ARMv7 p2v8
~ # uname -a
Linux debian 3.16.0-4-armmp #1 SMP Debian 3.16.7-ckt9-2 (2015-04-13) armv7l
GNU/Linux


Any idea what is the problem?




-- Package-specific info:

Boot method: network
Image version: ftp://ftp.debian.org/debian/dists/jessie/main/installer-
armhf/20150422/images/netboot/
Date: 

Machine: QEMU vexpress-v2p-ca9.dtb
Partitions: 


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [ ]
Detect network card:[ ]
Configure network:  [ ]
Detect CD:  [ ]
Load installer modules: [ ]
Clock/timezone setup:   [ ]
User/password setup:[ ]
Detect hard drives: [ ]
Partition hard drives:  [ ]
Install base system:[ ]
Install tasks:  [ ]
Install boot loader:[ ]
Overall install:[ ]

Comments/Problems:





-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to sub...@bugs.debian.org.

==
Installer lsb-release:
==
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="7 (wheezy) - installer build 20130613"
X_INSTALLATION_MEDIUM=netboot

==
Installer hardware-summary:
==
uname -a: Linux GagouNotebook 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 
GNU/Linux
lspci -knn: 00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core 
Processor Family DRAM Controller [8086:0104] (rev 09)
lspci -knn: Subsystem: Dell Device [1028:04b7]
lspci -knn: 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd 
Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
lspci -knn: Kernel driver in use: pcieport
lspci -knn: 00:16.0 Communication controller [0780]: Intel Corporation 6 
Series/C200 

Bug#799161: evolution-mapi: Evolution crash at startup when evolution-mapi is installed

2015-09-16 Thread Gaël Jobin
Package: evolution-mapi
Version: 3.16.3-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
 Just installed the evolution-mapi package
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
 sudo apt-get install evolution-mapi
   * What was the outcome of this action?
 Evolution crash at startup (SEGFAULT)
   * What outcome did you expect instead?
 Evolution should run normally

*** End of the template - remove these template lines ***

STEP 1: GDB trace

***

(gdb) r
Starting program: /usr/bin/evolution
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd984e700 (LWP 3747)]
[New Thread 0x7fffd3b55700 (LWP 3748)]

(evolution:3743): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-
images is deprecated and shouldn't be used anymore. It will be removed in a
future version.

(evolution:3743): Gtk-WARNING **: Failed to register client:
GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register
client
[New Thread 0x7fffd30f2700 (LWP 3749)]
[New Thread 0x7fffbe3b4700 (LWP 3750)]
[New Thread 0x7fff7dbb1700 (LWP 3751)]
[New Thread 0x7fff72f0a700 (LWP 3792)]
[New Thread 0x7fff71ed2700 (LWP 3793)]
[New Thread 0x7fff714cb700 (LWP 3796)]
[New Thread 0x7fff70cca700 (LWP 3797)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff70cca700 (LWP 3797)]
0x7fffd0b989d0 in iface_count ()
   from /usr/lib/x86_64-linux-gnu/libmapi.so.0
(gdb) bt
#0  0x7fffd0b989d0 in iface_count ()
   from /usr/lib/x86_64-linux-gnu/libmapi.so.0
#1  0x7fff63dfe435 in _nss_wins_gethostbyname_r ()
   from /lib/x86_64-linux-gnu/libnss_wins.so.2
#2  0x73485639 in __gethostbyname2_r (
name=0x7fff640015f0 "imap.heig-vd.ch", af=af@entry=2,
resbuf=resbuf@entry=0x7fff70cc98e0,
buffer=buffer@entry=0x7fff70cc9400 "\377\002", buflen=buflen@entry=912,
result=result@entry=0x7fff70cc98d8, h_errnop=0x7fff70cc98c4)
at ../nss/getXXbyYY_r.c:266
#3  0x7345fca2 in gaih_inet (name=,
name@entry=0x7fff640015f0 "imap.heig-vd.ch", service=,
req=req@entry=0x7fff70cc99f0, pai=pai@entry=0x7fff70cc99b8,
naddrs=naddrs@entry=0x7fff70cc99b4) at ../sysdeps/posix/getaddrinfo.c:586
#4  0x734612fd in __GI_getaddrinfo (
name=0x7fff640015f0 "imap.heig-vd.ch", service=0x0, hints=0x7fff70cc99f0,
pai=0x7fff70cc9af0) at ../sysdeps/posix/getaddrinfo.c:2406
#5  0x73d205e0 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x73d1db95 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x737a82e8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x737a7955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x772c80a4 in start_thread (arg=0x7fff70cca700)
at pthread_create.c:309
#10 0x7347407d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) disas
Dump of assembler code for function iface_count:
   0x7fffd0b989c0 <+0>: xor%eax,%eax
   0x7fffd0b989c2 <+2>: test   %rdi,%rdi
   0x7fffd0b989c5 <+5>: je 0x7fffd0b989dd 
   0x7fffd0b989c7 <+7>: nopw   0x0(%rax,%rax,1)
=> 0x7fffd0b989d0 <+16>:mov(%rdi),%rdi
(gdb) p/x $rdi
$1 = 0x2
***

Seems related to the wins service since the crash occurs in iface_count()
function. This function appear to be part of samba
(https://download.samba.org/pub/unpacked/samba_next/source3/lib/interfaces.c).
Look like a loop where %rdi should contain the "interface" structure address
but contain an invalid pointer in our case (uninitialised value?). BTW, I
didn't found where this structure is initialled.

A workaround is to move the wins service after the dns one for hosts in
/etc/nsswitch.conf

-hosts:  files myhostname wins mdns4_minimal [NOTFOUND=return] dns
mdns4
+hosts:  files myhostname mdns4_minimal [NOTFOUND=return] dns wins
mdns4

But for people who need wins for name resolution, this workaround will not
work.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_CH.utf8, LC_CTYPE=fr_CH.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages evolution-mapi depends on:
ii  evolution   3.16.5-1
ii  libatk1.0-0 2.16.0-2
ii  libc6   2.19-19
ii  libcairo-gobject2   1.14.2-2
ii  libcairo2   1.14.2-2
ii  libcamel-1.2-52 3.16.5-1
ii  libebackend-1.2-10  3.16.5-1
ii  libebook-1.2-16 3.16.5-1
ii  libebook-contacts-1.2-1 3.16.5-1
ii