Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault in VBI #13

Open
ileanadumitrescu95 opened this issue Sep 16, 2022 · 0 comments
Open

Segfault in VBI #13

ileanadumitrescu95 opened this issue Sep 16, 2022 · 0 comments

Comments

@ileanadumitrescu95
Copy link
Contributor

SourceForge bug #163 written by Anonymous on 2006-01-25

I'm pretty sure this is due to processing a very dirty
signal. It happends randomly.

** (zapping:3141): WARNING **: GConf key
'/apps/zapping/plugins/deinterlace/method' is unset and
has no default. Schemas incomplete or not installed?

(no debugging symbols found)
(no debugging symbols found)
[New Thread 36715440 (LWP 3150)]
[Thread 36715440 (LWP 3150) exited]
[New Thread 36715440 (LWP 3151)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1783520 (LWP 3141)]
0x00936e6c in memcpy () from /lib/libc.so.6
(gdb) bt
#0 0x00936e6c in memcpy () from /lib/libc.so.6
#1 0x001c19a2 in vbi_caption_init () from
/usr/lib/libzvbi.so.0
#2 0x001c27e3 in vbi_decode_caption () from
/usr/lib/libzvbi.so.0
#3 0x001f0242 in vbi_decode () from /usr/lib/libzvbi.so.0
#4 0x080be9a3 in startup_zvbi ()
#5 0x0029c4fc in g_vasprintf () from
/usr/lib/libglib-2.0.so.0
#6 0x002764ce in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#7 0x002794d6 in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
#8 0x002797c3 in g_main_loop_run () from
/usr/lib/libglib-2.0.so.0
#9 0x00532a46 in gtk_main () from
/usr/lib/libgtk-x11-2.0.so.0
#10 0x0807ffb0 in main ()
(gdb)

Comments by Michael H. Schimek:

Logged In: YES
user_id=46861

I'm sorry I cannot find the problem. The backtrace seems to
be incomplete, could you try again after compiling libzvbi
with CFLAGS -g -O0 ? Please also add which version of
Zapping and libzvbi you have.

priority: 5 --> 3
assigned_to: nobody --> mschimek

Comments by Anonymous:

Logged In: NO

I turned VBI off to stop crashing during use. It's worse on
piss poor cable signals with a lot of noise.

XAWTV's ntsc-cc does the same thing.

Logged In: NO

I am not sure if this is the same issue, but my zapping
crashese everytime I switch to the teletext mode - it
displays the "Loading ..." image, and after few seconds it
crashes without displaying any teletext page. Gdb output is
as follows:

(gdb) r
Starting program: /usr/bin/zapping
Reading symbols from shared object read from target
memory...done.
Loaded system supplied DSO at 0xffffe000
[Thread debugging using libthread_db enabled]
[New Thread -1228355904 (LWP 3853)]
Detaching after fork from child process 3856.
zapping_lirc: could not connect to socket
zapping_lirc: No such file or directory
[New Thread -1237341280 (LWP 3860)]
[Thread -1237341280 (LWP 3860) exited]
[New Thread -1237341280 (LWP 3861)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228355904 (LWP 3853)]
vbi3_page_unref (pg=0x0) at teletext.c:4070
4070 teletext.c: No such file or directory.
in teletext.c
(gdb) where
#0 vbi3_page_unref (pg=0x0) at teletext.c:4070
#1 0xb68bf0ab in teletext_view_from_widget ()
from /usr/lib/zapping/plugins/libteletext.zapping.so
#2 0x080f6a8a in __vbi3_event_handler_list_send
(es=0x840c534, ev=0xbff31a08)
at event.c:111
#3 0x081027b6 in store_page (td=0x84038e4, cp=0x8404a60)
at teletext_decoder.c:2177
#4 0x08103bf8 in vbi3_teletext_decoder_feed (td=0x84038e4,
buffer=0x84240e8 "/\0258�/\025\025\025I/\203T� �O��
\2067��\002�� 2�����\00222��8�14",
timestamp=1159301296.1901979) at teletext_decoder.c:2356
#5 0x08105f4d in vbi3_decoder_feed (vbi=0x84038b0,
sliced=0x84240e0,
n_lines=25, timestamp=1159301296.1901979) at
vbi_decoder.c:501
#6 0x080ca1ef in decoder_giofunc (source=0x830bc80,
condition=G_IO_IN,
data=0x0) at zvbi.c:1380
#7 0xb74d3c2d in g_io_channel_unix_get_fd () from
/usr/lib/libglib-2.0.so.0
#8 0xb74ab15d in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#9 0xb74ae3ef in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
#10 0xb74ae799 in g_main_loop_run () from
/usr/lib/libglib-2.0.so.0
#11 0xb7a14634 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x080856f5 in main_0_10cvs6 (argc=1, argv=0xbff367f4) at
main.c:1084
#13 0x08085b52 in main (argc=137722120, argv=0x1) at main.c:1103

The packages are from freshrpms:

zapping-0.10-0.3.cvs6.fc5
zvbi-0.2.19-2.fc5
rte-0.5.6-3.fc5

I have also tried zvbi-0.2.22-2.fc5.i386.rpm from Fedora
Extras, the problem remains.

Comments by Jan Yenya Kasprzak:

Logged In: YES
user_id=579086

Oops, sorry for the previous anonymous comment, it was mine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant