Hi Timo,
Timo Juhani Lindfors wrote:
> Package: screen
> Version: 4.1.0~20120320gitdb59704-5
> Severity: normal
>
> Today I noticed that I can no longer attach to my screen on my openmoko
> phone (armel):
>
> $ screen -rd
> Aborted
>
> Running "screen -rd" again does change the behavior.
I'm a little bit confused. Does it "no longer" work, or does it fail
just "sometimes" (as in the subject)? Or does it always fail, but fail
differently the first time?
> GDB shows that
> screen is trying to dereference a NULL pointer:
Thanks for digging so deep already and for the detailed debugging
information!
> I think r1 is the "src" argument of strncpy. Based on the disassembly
> I think we are inside the strncpy call
>
> strncpy(m.m.attach.envterm, attach_term, sizeof(m.m.attach.envterm) - 1);
>
> from attacher.c:360.
>
> I recompiled screen with DEB_BUILD_OPTIONS="nostrip noopt" but then
> "screen -rd" works and the problem does not occur with original screen
> binary either anymore.
Just to be sure: You were able to detach it with the nostrip/noopt,
but reattaching to the (then already detached) screen session with the
stripped screen binary from the official Wheezy package works again
fine afterwards?
> * screen/410-upgrade:
> screen/403-copy-failed:
Some more questions:
Did this happen directly after an upgrade of the screen package, i.e.
is the screen server still a 4.0.3?
If that's the case, does using the -7 uploaded two days ago to sid
help?
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]