merge 770942 770327
thanks

i just did a test run on artemis, where i logged into a console and had
`strace gajim` run.

the last lines before the "BUG:" were:

> open("/proc/brcm_monitor0", O_RDONLY) = 3
> fstat(3, {st_mode=S_IFREG|0644, st_Size=0, ...}) = 0
> fstat(3, {st_mode=S_IFREG|0644, st_Size=0, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0x...
> read(3, [  268.089355] BUG: unable to handle kernel NULL pointer 
> dereference...

i have no idea why gajim would want to deal with a device-specific file,
but be it how it be, /proc/brcm_monitor0 is a reasonable culprit. given
what is described in #770327, i'm merging those bugs.

as a workaround, i've added a line

    chmod 000 /proc/brcm_monitor0

to /etc/rc.local.

best regards
chrysn

Attachment: signature.asc
Description: Digital signature

Reply via email to