Hi all,

I have a problem, which could be related to thit one.

I am getting a segfault while changing the codec in a avicap session.
Pressing the codec button, results in the following backtrace:
---------------------------------------------------------------------------------------------------------------------

tower [/tmp/bi] 115% gdb avicap
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-suse-linux"...
(gdb) run
Starting program: /usr/bin/avicap
[New Thread 1024 (LWP 26955)]
Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
918.176 MHz AMD Duron(tm) Processor processor detected
using X11 display :0
x11: mode=1600x1200x16
x11: deteced framebuffer depth: 16 bpp
x11: set depth to 16 bpp
dga: base=0xe3000000, width=1600
set video mode: 1600x1200, 16 bit/pixel, 3200 byte/scanline
set framebuffer at 0xe3000000
/dev/video: ioctl VIDIOC_S_FBUF: Operation not permitted
Using 502 Mb of memory for frame caching
BTTV driver version 0.7.72 detected
Broken VBI implementation; disabling closed captioning
v4l1: bpp 16, bpl 3200, width 384, height 288
v4l1: video buffer: size 4259840, frames 2
v4l1: memory for snap shots: 0x40f86000

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 26955)]
CodecConfig::SelectCodec (this=0xbfffdd04) at
/usr/include/g++/stl_vector.h:210
210         { return size_type(end() - begin()); }
(gdb) bt
#0  CodecConfig::SelectCodec (this=0xbfffdd04) at
/usr/include/g++/stl_vector.h:210
#1  0x806836a in CodecConfig::CodecConfig (this=0xbfffdd04,
parent=0xbfffe3d4, info=@0xbfffe534, req=@0xbfffddd0)
    at codecconf.cpp:217
#2  0x8072ccc in VidConfig::change_codec (this=0xbfffe3d4) at
vidconf.cpp:228
#3  0x403507bd in QObject::activate_signal () from
/usr/lib/libqt-mt.so.2
#4  0x40463ee6 in QButton::clicked () from /usr/lib/libqt-mt.so.2
#5  0x403b1409 in QButton::mouseReleaseEvent () from
/usr/lib/libqt-mt.so.2
#6  0x40397cf2 in QWidget::event () from /usr/lib/libqt-mt.so.2
#7  0x402fd1b6 in QApplication::notify () from /usr/lib/libqt-mt.so.2
#8  0x402ccab4 in QETWidget::translateMouseEvent () from
/usr/lib/libqt-mt.so.2
#9  0x402ca2db in QApplication::x11ProcessEvent () from
/usr/lib/libqt-mt.so.2
#10 0x402c9216 in QApplication::processNextEvent () from
/usr/lib/libqt-mt.so.2
#11 0x402fee0f in QApplication::enter_loop () from
/usr/lib/libqt-mt.so.2
#12 0x4030422c in QDialog::show () from /usr/lib/libqt-mt.so.2
#13 0x40303bb5 in QDialog::exec () from /usr/lib/libqt-mt.so.2
#14 0x8052541 in V4LWindow::config (this=0xbfffeb68) at
v4lwindow.cpp:225
#15 0x40350a9e in QObject::activate_signal () from
/usr/lib/libqt-mt.so.2
#16 0x40382033 in QSignal::activate () from /usr/lib/libqt-mt.so.2
#17 0x4041fa2d in QPopupMenu::mouseReleaseEvent () from
/usr/lib/libqt-mt.so.2
#18 0x40397cf2 in QWidget::event () from /usr/lib/libqt-mt.so.2
#19 0x402fd1b6 in QApplication::notify () from /usr/lib/libqt-mt.so.2
#20 0x402cc8cb in QETWidget::translateMouseEvent () from
/usr/lib/libqt-mt.so.2
#21 0x402ca2db in QApplication::x11ProcessEvent () from
/usr/lib/libqt-mt.so.2
#22 0x402c9216 in QApplication::processNextEvent () from
/usr/lib/libqt-mt.so.2
#23 0x402fee0f in QApplication::enter_loop () from
/usr/lib/libqt-mt.so.2
#24 0x402c9180 in QApplication::exec () from /usr/lib/libqt-mt.so.2
#25 0x8063617 in main (argc=1, argv=0xbfffefa4) at main.cpp:116
#26 0x4085dc6f in __libc_start_main () from /lib/libc.so.6
(gdb)
-------------------------------------------------------------------------

my system:
linux: 2.4.7-4GB (SuSE sources)
gcc 2.95.3
current avifile cvs
The ~/.registry and ~/.avirc were deleted before the crash


any hints?

kind regards,

Rainer



-------- Original Message --------
Subject: [Avifile][ avifile-Bugs-459782 ] Crash setting attributes DIVX4
Date: Sat, 08 Sep 2001 05:50:59 -0700
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

Bugs item #459782, was opened at 2001-09-08 05:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=111050&aid=459782&group_id=11050

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jarl van Katwijk (bstard)
Assigned to: Nobody/Anonymous (nobody)
Summary: Crash setting attributes DIVX4

Initial Comment:
Current cvs libdivx4 code crashes on an encoder object
while setting attributes. Previes version of divx.cpp
(1.8) worked fine.


Is this code under development right now, or shall I
investigate the crash and send a patch? I also need to
have the still unused divx4 attributes working: I can
implement those too, let me know.

btw. I'm the author of Drip (drip.sourceforge.net) and
encoding DIVX4 movies with avifile works very good
already, thanx ;)

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=111050&aid=459782&group_id=11050

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to