On Tue, Nov 1, 2011 at 4:30 PM, Clark J. Wang <dearv...@gmail.com> wrote:

> On Tue, Nov 1, 2011 at 4:01 PM, Artur Skonecki <skon...@gmail.com> wrote:
>
>> What do you have in your .screenrc file?
>> It looks like your hardstatus line is causing it. Try screen -mc /dev/null
>>
>>
> You're right. It was caused by multiple hardstatus lines in my .screenrc.
> Works fine with only one line of hardstatus. Seems like it's a bug.
>

To be more precise, it's the `hardstatus string' command.

>
> Thank you so much.
>
>
>>
>> On Tue, 1 Nov 2011, Clark J. Wang wrote:
>>
>>  On Tue, Nov 1, 2011 at 2:45 PM, Artur Skonecki <skon...@gmail.com>
>>> wrote:
>>>      This works for me on "SunOS opensolaris 5.11 snv_111b i86pc i386
>>> i86pc Solaris":
>>>
>>>      ./configure CFLAGS="-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1
>>> -D__EXTENSIONS__"
>>>
>>>
>>> This works fine for me, thanks. But after installation screen cannot
>>> start, it always crashes:
>>>
>>> $ /usr/local/screen-git/bin/**screen
>>> [screen caught signal 11. (core dumped)]
>>> $ gdb /usr/local/screen-git/bin/**screen core
>>>
>>> warning: core file may not match specified executable file.
>>> Reading symbols from /lib/libcurses.so.1...done.
>>> Loaded symbols for /lib/libcurses.so.1
>>> Reading symbols from /lib/libelf.so.1...done.
>>> Loaded symbols for /lib/libelf.so.1
>>> Reading symbols from /lib/libsocket.so.1...done.
>>> Loaded symbols for /lib/libsocket.so.1
>>> Reading symbols from /lib/libnsl.so.1...done.
>>> Loaded symbols for /lib/libnsl.so.1
>>> Reading symbols from /lib/libkstat.so.1...done.
>>> Loaded symbols for /lib/libkstat.so.1
>>> Reading symbols from /usr/lib/libcrypt.so.1...done.
>>> Loaded symbols for /usr/lib/libcrypt.so.1
>>> Reading symbols from /lib/libc.so.1...done.
>>> Loaded symbols for /lib/libc.so.1
>>> Reading symbols from /lib/nss_files.so.1...done.
>>> Loaded symbols for /lib/nss_files.so.1
>>> Reading symbols from /lib/ld.so.1...done.
>>> Loaded symbols for /lib/ld.so.1
>>> Core was generated by `/usr/local/screen-git/bin/**screen'.
>>> Program terminated with signal 6, Aborted.
>>> [New process 91328    ]
>>> #0  0xfedc8037 in _lwp_kill () from /lib/libc.so.1
>>> (gdb) bt
>>> #0  0xfedc8037 in _lwp_kill () from /lib/libc.so.1
>>> #1  0xfedc16ea in thr_kill () from /lib/libc.so.1
>>> #2  0xfed70d4d in raise () from /lib/libc.so.1
>>> #3  0xfed488ed in abort () from /lib/libc.so.1
>>> #4  0x0805da9a in CoreDump (sigsig=11) at screen.c:1685
>>> #5  0xfedc3d25 in __sighndlr () from /lib/libc.so.1
>>> #6  0xfedb730b in call_user_handler () from /lib/libc.so.1
>>> #7  <signal handler called>
>>> #8  0x08093fbe in AddWindows (buf=0x80cb1bb "%%", ' ' <repeats 58
>>> times>, "(-* )", ' ' <repeats 73
>>> times>, "][0.09 0.11 0.10][ 11/01 15:30 ]", len=483, flags=4, where=0)
>>> at process.c:5408
>>> #9  0x0805faa0 in MakeWinMsgEv (str=0x80df1a0 "%{gk}[ %{G}%H %{g}][%=
>>> %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f
>>> %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}]%{=b C}[ %m/%d
>>> %c ]%{W}",
>>>     win=0x80e3258, esc=37, padlen=197, ev=0x80d5630, rec=0) at
>>> screen.c:2747
>>> #10 0x0809d414 in RefreshHStatus () at display.c:2258
>>> #11 0x0806a5b7 in WindowChanged (p=0x80e3258, what=117) at ansi.c:3125
>>> #12 0x080937d5 in SetForeWindow (wi=0x80e3258) at process.c:5177
>>> #13 0x08078f07 in MakeWindow (newwin=0x8045c7c) at window.c:859
>>> #14 0x08095805 in DoScreen (fn=0x80b397a "key", av=0x80463e8) at
>>> process.c:6050
>>> #15 0x080894e6 in DoAction (act=0x80462ac, key=-1) at process.c:2099
>>> #16 0x08092472 in DoCommand (argv=0x80463e0, argl=0x80462e0) at
>>> process.c:4546
>>> #17 0x0806b1bd in RcLine (ubuf=0x8046504 "screen", ubufl=2048) at
>>> fileio.c:387
>>> #18 0x0806b060 in FinishRc (rcfilename=0x0) at fileio.c:332
>>> #19 0x0805d392 in main (ac=0, av=0x8047bec) at screen.c:1414
>>> (gdb) f 8
>>> #8  0x08093fbe in AddWindows (buf=0x80cb1bb "%%", ' ' <repeats 58
>>> times>, "(-* )", ' ' <repeats 73
>>> times>, "][0.09 0.11 0.10][ 11/01 15:30 ]", len=483, flags=4, where=0)
>>> at process.c:5408
>>> 5408          if (display && D_fore && D_fore->w_group != p->w_group)
>>> (gdb) p * p
>>> Cannot access memory at address 0x257d727b
>>> (gdb) p p
>>> $1 = (struct win *) 0x257d727b
>>> (gdb) q
>>> $
>>
>>
>

Reply via email to