• some syncterm issues

    From Ragnarok@ragnarok@docksud.com.ar to DOVE-Net.Synchronet_Programming_C+ on Sat Jun 21 02:01:06 2014
    Hi! in order to package syncterm for debian i found little issues when
    run it, you can follow my package on mentors: https://mentors.debian.net/package/syncterm

    1) syncterm (without any parameters):
    run fine, can switch/back to fullscreen

    if maximize, the terminal adjust to the maximized window
    BUT if i resize the window, the terminal still to the original size
    this is the best work mode.

    2) syncterm -iX :

    start fine, i cant swich to fullscreen (alt+enter) also the maximize do
    not change the size. and get a segfault when exit ( pressing esc)

    i paste the backtrace i hope this help

    ragnarok@jola:~$ gdb syncterm
    GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1.1+b1)
    Copyright (C) 2013 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later
    <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-linux-gnu".
    For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/syncterm...Reading symbols from /usr/lib/debug/.build-id/46/2c515a119aa70d23124a03d71b83c098da52e4.debug...done.
    done.
    (gdb) set args -iX
    (gdb) r
    Starting program: /usr/bin/syncterm -iX
    warning: Could not load shared library symbols for linux-vdso.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    [New Thread 0x7fffefebd700 (LWP 4693)]
    [New Thread 0x7ffff7fe6700 (LWP 4694)]
    [New Thread 0x7ffff7e53700 (LWP 4695)]
    [New Thread 0x7fffef6bc700 (LWP 4696)]
    [New Thread 0x7fffeeebb700 (LWP 4697)]
    [Thread 0x7fffefebd700 (LWP 4693) exited]

    Program received signal SIGSEGV, Segmentation fault.
    __GI___pthread_mutex_lock (mutex=0x8a7300) at
    ../nptl/pthread_mutex_lock.c:66
    66 ../nptl/pthread_mutex_lock.c: No existe el fichero o el directorio. (gdb) bt
    #0 __GI___pthread_mutex_lock (mutex=0x8a7300) at ../nptl/pthread_mutex_lock.c:66
    #1 0x00007ffff5feb9f7 in XrmDestroyDatabase () from /usr/lib/x86_64-linux-gnu/libX11.so.6
    #2 0x00007ffff5fd3f23 in _XFreeDisplayStructure () from /usr/lib/x86_64-linux-gnu/libX11.so.6
    #3 0x00007ffff5fc1c5f in XCloseDisplay () from /usr/lib/x86_64-linux-gnu/libX11.so.6
    #4 0x00007ffff6a635a2 in X11_VideoQuit (this=0x8a4470) at ./src/video/x11/SDL_x11video.c:1546
    #5 0x00007ffff6a55bee in SDL_VideoQuit () at ./src/video/SDL_video.c:1365
    #6 0x00007ffff6a301d5 in SDL_QuitSubSystem (flags=flags@entry=65535) at ./src/SDL.c:196
    #7 0x00007ffff6a3027e in SDL_Quit () at ./src/SDL.c:222
    #8 0x00007ffff6cf9be9 in __run_exit_handlers (status=0,
    listp=0x7ffff70635a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true)
    at exit.c:82
    #9 0x00007ffff6cf9c35 in __GI_exit (status=<optimized out>) at exit.c:104
    #10 0x00007ffff6ce1b4c in __libc_start_main (main=0x404340 <main>,
    argc=2, argv=0x7fffffffe1b8, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffe1a8) at libc-start.c:321 #11 0x00000000004045d4 in _start ()
    (gdb)


    3) syncterm -iO
    syncterm -iOF
    syncterm -iOW

    get black and functional window, with functional i mean that the program continue working but the windows in completly black
    can switch/back to fullscreen

    4) syncterm --help
    i think that lost some lines from top, like the text pass the rows limit
    and scroll but lost the header.
    maybe must be have a pager or scroll to see the full help text.
  • From Deuce@VERT to Ragnarok on Tue Jun 24 17:39:16 2014
    Re: some syncterm issues
    By: Ragnarok to DOVE-Net.Synchronet_Programming_C+ on Sat Jun 21 2014 02:01 am

    if maximize, the terminal adjust to the maximized window
    BUT if i resize the window, the terminal still to the original size
    this is the best work mode.

    It will resize to integer multipliers only. It can be 1x, 2x, 3x, etc in size.
    In -iX and -iS (the default) it cannot do fractional scaling. This is by design.

    i paste the backtrace i hope this help

    I'll take a look. I'm currently overhauling some stuff so I'll add this to the
    list. It looks like it's calling the SDL Quit handler despite not using SDL.

    3) syncterm -iO

    get black and functional window, with functional i mean that the program continue working but the windows in completly black
    can switch/back to fullscreen

    Your video driver apparently does not support overlays. This problem is why -iO isn't the default mode. For drivers which do support them, this mode is great and supports fractional scaling.

    4) syncterm --help
    i think that lost some lines from top, like the text pass the rows limit
    and scroll but lost the header.
    maybe must be have a pager or scroll to see the full help text.

    Yeah, this issue is something I keep intending to rework... it's on the pile.

    Thanks for the reports!

    ---
    http://DuckDuckGo.com/ a better search engine that respects your privacy.
    þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!)