Hi!

I tried to cut some streams with 0.5.3 today, and it failed on one of them. I also tried 0.5.2, with the same result.

When writing out the file, dvbcut starts allocating memory like mad at a certain point - too much even for my 1 GB system. This happens with all muxers, so I guess the problem is somewhere else. I also made a debug version, and here's the backtrace (I interrupted the program when I noticed that it starts allocating memory again):

(gdb) bt
#0  0x55f2543d in malloc () from /lib/libc.so.6
#1  0x55e68d07 in operator new () from /opt/gcc4/lib/libstdc++.so.6
#2 0x0807b57b in __gnu_cxx::new_allocator<std::_List_node<streamdata::item> >::allocate (this=0x8306fb8, __n=1) at new_allocator.h:81 #3 0x0807b509 in std::_List_base<streamdata::item, std::allocator<streamdata::item> >::_M_get_node (this=0x8306fb8) at stl_list.h:309 #4 0x0807b48e in std::list<streamdata::item, std::allocator<streamdata::item> >::_M_create_node (this=0x8306fb8, [EMAIL PROTECTED]) at stl_list.h:433 #5 0x0807b40e in std::list<streamdata::item, std::allocator<streamdata::item> >::insert (this=0x8306fb8, __position={_M_node = 0x8306fb8}, [EMAIL PROTECTED])
    at list.tcc:87
#6 0x0807a831 in streamdata::audio_addpts (this=0x8306fb8, startbufferpos=0,
    onepacket=false) at src/streamdata.cpp:184
#7  0x08074c33 in mpgfile::savempg (this=0x83ed200, [EMAIL PROTECTED],
    start=159936, stop=190264, savedpics=137133, savepics=144521,
    log=0xffffba24) at src/mpgfile.cpp:520
#8  0x08059044 in dvbcut::fileExport (this=0x82d9780) at src/dvbcut.cpp:392
#9 0x08086803 in dvbcutbase::qt_invoke (this=0x82d9780, _id=84, _o=0xffffbbd0)
    at src/moc_dvbcutbase.cpp:187
#10 0x0808acc9 in dvbcut::qt_invoke (this=0x82d9780, _id=84, _o=0xffffbbd0)
    at src/moc_dvbcut.cpp:196
#11 0x5580787a in QObject::activate_signal () from /opt/qt3/lib/libqt-mt.so.3 #12 0x55808103 in QObject::activate_signal () from /opt/qt3/lib/libqt-mt.so.3
#13 0x55bb1a35 in QAction::activated () from /opt/qt3/lib/libqt-mt.so.3
#14 0x55965ebe in QAction::internalActivation ()
   from /opt/qt3/lib/libqt-mt.so.3
#15 0x55bb1b6f in QAction::qt_invoke () from /opt/qt3/lib/libqt-mt.so.3
#16 0x5580787a in QObject::activate_signal () from /opt/qt3/lib/libqt-mt.so.3
#17 0x55b92994 in QSignal::signal () from /opt/qt3/lib/libqt-mt.so.3
#18 0x558230c9 in QSignal::activate () from /opt/qt3/lib/libqt-mt.so.3
#19 0x559293bf in QPopupMenu::mouseReleaseEvent ()
   from /opt/qt3/lib/libqt-mt.so.3
#20 0x55845d38 in QWidget::event () from /opt/qt3/lib/libqt-mt.so.3
#21 0x5579d1f4 in QApplication::internalNotify ()
   from /opt/qt3/lib/libqt-mt.so.3
#22 0x5579d526 in QApplication::notify () from /opt/qt3/lib/libqt-mt.so.3
#23 0x55731cfe in QETWidget::translateMouseEvent ()
   from /opt/qt3/lib/libqt-mt.so.3
#24 0x5572ff68 in QApplication::x11ProcessEvent ()
   from /opt/qt3/lib/libqt-mt.so.3
#25 0x55743eca in QEventLoop::processEvents () from /opt/qt3/lib/libqt-mt.so.3
#26 0x557b3c3c in QEventLoop::enterLoop () from /opt/qt3/lib/libqt-mt.so.3
#27 0x557b3b94 in QEventLoop::exec () from /opt/qt3/lib/libqt-mt.so.3
#28 0x5579c2b0 in QApplication::exec () from /opt/qt3/lib/libqt-mt.so.3
#29 0x0806b55e in main (argc=2, argv=0xffffc834) at src/main.cpp:136

I'm not sure what it means exactly, but from line #6 I guess it's a PTS problem with the stream again.

--
Michael "Tired" Riepe <[EMAIL PROTECTED]>
X-Tired: Each morning I get up I die a little


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to