some fixes!

Joachim Breitner nomeata at debian.org
Fri Jan 4 17:30:15 CET 2013


Hi,

Am Donnerstag, den 03.01.2013, 15:49 -0500 schrieb Isaac Dupree:
> > It does require the use of XMonad.Hooks.EwmhDesktops, which makes it set
> > _NET_CLIENT_LIST and does not require special code on arbtt’s side. Is
> > there a reason why you cannot use that?
> 
> Lack of knowing that it exists... I will go use that now!  Maybe it 
> could be in arbtt documentation or the error message (or did I just miss 
> it?).

Good idea, I created a troubleshooting section and put it in:
http://darcs.nomeata.de/arbtt/doc/users_guide/troubleshooting.html

If you would have found the working or titles not as helpful as they
could be feel free to submit a patch.


> > Am Dienstag, den 01.01.2013, 16:49 -0500 schrieb Isaac Dupree:
> >> arbtt-capture segfaults occasionally for me[1].  Valgrind didn't tell me
> >> why (I think valgrind is better for C and C++ memory errors than Haskell).
> >>
> >> So now I run arbtt-capture with this script to restart it:
> >>
> >>     while true; do ./arbtt-capture; echo; echo "Whoops dead" >&2; date;
> >> sleep 30; echo "; restarting" >&2; done
> >>
> >> (which works fine, though it'd be nice to know why arbtt-capture
> >> segfaults :-) )
> >
> > I don’t have that here, so no idea what is happening. Can you run it in
> > gdb and obtain a stacktrace, in case the crash happens in C world?
> 
> It crashes like below[1][2] (even without GDB) so perhaps it's some 
> prior memory corruption.
> 
> [1]
> *** glibc detected *** ./arbtt-capture: munmap_chunk(): invalid pointer: 
> 0x00007f5ae4b3dfc9 ***
> ======= Backtrace: =========
> /usr/lib/libc.so.6(+0x798a6)[0x7f5ae59568a6]
> /usr/lib/libX11.so.6(XFree+0x9)[0x7f5ae6650e09]
> ./arbtt-capture[0x4779ea]
> 
> [2]
> *** glibc detected *** ./arbtt-capture: free(): invalid size: 
> 0x00000000005278b0 ***
> ======= Backtrace: =========
> /usr/lib/libc.so.6(+0x798a6)[0x7ff3d02df8a6]
> /usr/lib/libX11.so.6(XFree+0x9)[0x7ff3d0fd9e09]
> ./arbtt-capture[0x4779ea]

Does it still occur without your patch and an EWMH-enabled xmonad?

Thanks,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.nomeata.de/pipermail/arbtt/attachments/20130104/382b41bc/attachment.asc>


More information about the arbtt mailing list