src/conio sdl_con.c 1.283 1.284
Update of /cvsroot/sbbs/src/conio
In directory cvs:/tmp/cvs-serv7299
Modified Files:
sdl_con.c
Log Message:
Overhaul input yet again... this *should* fix Ragnorok's problem... but
*may* break all sorts of other things.
---
¨ Synchronet ¨ Vertrauen ¨ Home of Synchronet ¨ [vert/cvs/bbs].synchro.net
El 15/4/20 a las 21:02, deuce escribi¢:
src/conio sdl_con.c 1.283 1.284
Update of /cvsroot/sbbs/src/conio
In directory cvs:/tmp/cvs-serv7299
Modified Files:
sdl_con.c
Log Message:
Overhaul input yet again... this *should* fix Ragnorok's problem... but *may* break all sorts of other things.
realy break!
i move o up/down/let/right and segfault
Starting program: /home/ragnarok/src/ftoledo/sbbs/cvs/src/syncterm/gcc.linux.x6 4.exe.debug/syncterm
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff6479700 (LWP 3417)]
[Thread 0x7ffff6479700 (LWP 3417) exited]
[New Thread 0x7fffe8015700 (LWP 3418)]
[New Thread 0x7fffe7814700 (LWP 3419)]
[New Thread 0x7fffe7013700 (LWP 3420)]
[New Thread 0x7fffe6812700 (LWP 3421)]
Thread 4 "Main Thread" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe7814700 (LWP 3419)]
0x00005555556f3811 in sdl_video_event_thread (data=0x0) at sdl_con.c:836
836 if (block_text ||
!isprint(ev.key.keysym.sym))
(gdb) bt
#0 0x00005555556f3811 in sdl_video_event_thread (data=0x0) at sdl_con.c:836 #1 0x00007ffff705e4a4 in start_thread (arg=0x7fffe7814700) at pthread_create.c:456
#2 0x00007ffff6da0d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
also (previous this last commits) i fond that hang when try to play bell sound i think:
(gdb) bt
#0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007ffff7060bb5 in __GI___pthread_mutex_lock
(mutex=0x555555c230c0 <sample_mutex>) at ../nptl/pthread_mutex_lock.c:80
#2 0x000055555570f805 in xp_play_sample (
sample=0x555555bf1440 <wave> "~\177\177\200\200\201\201\200\200\177}zywvuuu uvvuuutrqqppoooppponljhfdcbbc fhlpx|z\202\210\211\210\203zria[VSSSSUUUSQMIE@><;; <>>>;81*!\031\020\n\a\a\f \023\037+;^ly\202\210\212\207\203|skb\\VTRSSUUTTQNIEB> <<;<>>=<81*\"\031\021 \v\b\a\v\022\034+8[kw\202\210\212\210\204}tkc]WSRRSUUUTRNJ FA><;;<=>?<92+$\033\022\f\b\006\n\020\034("...,
size=2205, background=1) at xpbeep.c:924
#3 0x00005555556f4237 in sdl_beep () at sdl_con.c:1052
#4 0x00005555556d7403 in ciolib_beep () at ciolib.c:1716
#5 0x00005555556d6af9 in ciolib_putch (ch=7) at ciolib.c:1515
#6 0x00005555556eb1c0 in cterm_write (cterm=0x555555e61870, vbuf=0x7fffffff4f10, buflen=4, retbuf=0x555555bc3300 <ansi_replybuf> "", retsize=2048,
speed=0x7fffffff4efc) at cterm.c:5197
#7 0x0000555555584da4 in doterm (bbs=0x555555bbc040 <retlist>) at term.c:2579
#8 0x00005555555912cc in main (argc=1, argv=0x7fffffffdea8) at syncterm.c:1673
(gdb) c
Continuing.
[Thread 0x7fffe56d0700 (LWP 31011) exited]
c^C
Thread 1 "Main Thread" received signal SIGINT, Interrupt.
__lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 135 in ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
(gdb) bt
#0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007ffff7060bb5 in __GI___pthread_mutex_lock
(mutex=0x555555c230c0 <sample_mutex>) at ../nptl/pthread_mutex_lock.c:80
#2 0x000055555570f805 in xp_play_sample (
sample=0x555555bf1440 <wave> "~\177\177\200\200\201\201\200\200\177}zywvuuu uvvuuutrqqppoooppponljhfdcbbc fhlpx|z\202\210\211\210\203zria[VSSSSUUUSQMIE@><;; <>>>;81*!\031\020\n\a\a\f \023\037+;^ly\202\210\212\207\203|skb\\VTRSSUUTTQNIEB> <<;<>>=<81*\"\031\021 \v\b\a\v\022\034+8[kw\202\210\212\210\204}tkc]WSRRSUUUTRNJ FA><;;<=>?<92+$\033\022\f\b\006\n\020\034("...,
size=2205, background=1) at xpbeep.c:924
#3 0x00005555556f4237 in sdl_beep () at sdl_con.c:1052
#4 0x00005555556d7403 in ciolib_beep () at ciolib.c:1716
#5 0x00005555556d6af9 in ciolib_putch (ch=7) at ciolib.c:1515
#6 0x00005555556eb1c0 in cterm_write (cterm=0x555555e61870, vbuf=0x7fffffff4f10, buflen=4, retbuf=0x555555bc3300 <ansi_replybuf> "", retsize=2048,
speed=0x7fffffff4efc) at cterm.c:5197
#7 0x0000555555584da4 in doterm (bbs=0x555555bbc040 <retlist>) at term.c:2579
#8 0x00005555555912cc in main (argc=1, argv=0x7fffffffdea8) at syncterm.c:1673
(gdb) c
Continuing.
Saludos! and thanks!
I don't think Deuce is going to see your message here without being directed to it. I'll try to direct him to it.
Re: Re: src/conio/sdl_con.c
By: Ragnarok to deuce on Wed Apr 15 2020 10:57 pm
El 15/4/20 a las 21:02, deuce escribi¨:
src/conio sdl_con.c 1.283 1.284
Update of /cvsroot/sbbs/src/conio
In directory cvs:/tmp/cvs-serv7299
Modified Files:
sdl_con.c
Log Message:
Overhaul input yet again... this *should* fix Ragnorok's problem... but *may* break all sorts of other things.
realy break!
i move o up/down/let/right and segfault
Starting program: /home/ragnarok/src/ftoledo/sbbs/cvs/src/syncterm/gcc.linux.x6 4.exe.debug/syncterm
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff6479700 (LWP 3417)]
[Thread 0x7ffff6479700 (LWP 3417) exited]
[New Thread 0x7fffe8015700 (LWP 3418)]
[New Thread 0x7fffe7814700 (LWP 3419)]
[New Thread 0x7fffe7013700 (LWP 3420)]
[New Thread 0x7fffe6812700 (LWP 3421)]
Thread 4 "Main Thread" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe7814700 (LWP 3419)]
0x00005555556f3811 in sdl_video_event_thread (data=0x0) at sdl_con.c:836 836 if (block_text ||
!isprint(ev.key.keysym.sym))
(gdb) bt
#0 0x00005555556f3811 in sdl_video_event_thread (data=0x0) at sdl_con.c:836
#1 0x00007ffff705e4a4 in start_thread (arg=0x7fffe7814700) at pthread_create.c:456
#2 0x00007ffff6da0d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
also (previous this last commits) i fond that hang when try to play bell sound i think:
(gdb) bt
#0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007ffff7060bb5 in __GI___pthread_mutex_lock
(mutex=0x555555c230c0 <sample_mutex>) at ../nptl/pthread_mutex_lock.c:80 #2 0x000055555570f805 in xp_play_sample (
sample=0x555555bf1440 <wave> "~\177\177\200\200\201\201\200\200\177}zywvuuu uvvuuutrqqppoooppponljhfdcbbc
fhlpx|z\202\210\211\210\203zria[VSSSSUUUSQMIE@><;; <>>>;81*!\031\020\n\a\a\f
\023\037+;^ly\202\210\212\207\203|skb\\VTRSSUUTTQNIEB> <<;<>>=<81*\"\031\021
\v\b\a\v\022\034+8[kw\202\210\212\210\204}tkc]WSRRSUUUTRNJ FA><;;<=>?<92+$\033\022\f\b\006\n\020\034("...,
size=2205, background=1) at xpbeep.c:924
#3 0x00005555556f4237 in sdl_beep () at sdl_con.c:1052
#4 0x00005555556d7403 in ciolib_beep () at ciolib.c:1716
#5 0x00005555556d6af9 in ciolib_putch (ch=7) at ciolib.c:1515
#6 0x00005555556eb1c0 in cterm_write (cterm=0x555555e61870, vbuf=0x7fffffff4f10, buflen=4, retbuf=0x555555bc3300 <ansi_replybuf> "", retsize=2048,
speed=0x7fffffff4efc) at cterm.c:5197
#7 0x0000555555584da4 in doterm (bbs=0x555555bbc040 <retlist>) at term.c:2579
#8 0x00005555555912cc in main (argc=1, argv=0x7fffffffdea8) at syncterm.c:1673
(gdb) c
Continuing.
[Thread 0x7fffe56d0700 (LWP 31011) exited]
c^C
Thread 1 "Main Thread" received signal SIGINT, Interrupt.
__lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 135 in ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
(gdb) bt
#0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007ffff7060bb5 in __GI___pthread_mutex_lock
(mutex=0x555555c230c0 <sample_mutex>) at ../nptl/pthread_mutex_lock.c:80 #2 0x000055555570f805 in xp_play_sample (
sample=0x555555bf1440 <wave> "~\177\177\200\200\201\201\200\200\177}zywvuuu uvvuuutrqqppoooppponljhfdcbbc
fhlpx|z\202\210\211\210\203zria[VSSSSUUUSQMIE@><;; <>>>;81*!\031\020\n\a\a\f
\023\037+;^ly\202\210\212\207\203|skb\\VTRSSUUTTQNIEB> <<;<>>=<81*\"\031\021
\v\b\a\v\022\034+8[kw\202\210\212\210\204}tkc]WSRRSUUUTRNJ FA><;;<=>?<92+$\033\022\f\b\006\n\020\034("...,
size=2205, background=1) at xpbeep.c:924
#3 0x00005555556f4237 in sdl_beep () at sdl_con.c:1052
#4 0x00005555556d7403 in ciolib_beep () at ciolib.c:1716
#5 0x00005555556d6af9 in ciolib_putch (ch=7) at ciolib.c:1515
#6 0x00005555556eb1c0 in cterm_write (cterm=0x555555e61870, vbuf=0x7fffffff4f10, buflen=4, retbuf=0x555555bc3300 <ansi_replybuf> "", retsize=2048,
speed=0x7fffffff4efc) at cterm.c:5197
#7 0x0000555555584da4 in doterm (bbs=0x555555bbc040 <retlist>) at term.c:2579
#8 0x00005555555912cc in main (argc=1, argv=0x7fffffffdea8) at syncterm.c:1673
(gdb) c
Continuing.
Saludos! and thanks!
I don't think Deuce is going to see your message here without being directed to it. I'll try to direct him to it.
digital man
I don't think Deuce is going to see your message here without being directed to it. I'll try to direct him to it.
ok!! my apologies! where is the better path to report bugs to syncterm?
src/conio sdl_con.c 1.298 1.299
Update of /cvsroot/sbbs/src/conio
In directory cvs:/tmp/cvs-serv9464
Modified Files:
sdl_con.c
Log Message:
First attempt at getting AltGr working for ragnarok in SDL mode.
The SDL wiki lists KMOD_MODE as AltGR... if that flag is flying in a keypress, do not block text input.
Sysop: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 557 |
Nodes: | 8 (0 / 8) |
Uptime: | 12:20:31 |
Calls: | 10,399 |
Calls today: | 1 |
Files: | 5 |
Messages: | 363,982 |