[apport] totem-video-thumbnailer crashed with SIGSEGV in xine_list_get_value()

Bug #104599 reported by Raúl Soriano
4
Affects Status Importance Assigned to Milestone
xine-lib (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: totem

Was recording tv with mplayer and the destination folder opened in nautilus when the crash happened.

ProblemType: Crash
Architecture: amd64
Date: Mon Apr 9 01:07:29 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/totem-video-thumbnailer
Package: totem-xine 2.18.1-0ubuntu3
PackageArchitecture: amd64
ProcCmdline: /usr/bin/gnome-video-thumbnailer -s 128 file:///home/gollos/anuncios.avi /tmp/.gnome_thumbnail.314NQT
ProcCwd: /home/gollos
ProcEnviron:
 LANGUAGE=es_ES:es:en_GB:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: totem
Stacktrace:
 #0 0x00002b49bd308b40 in xine_list_get_value () from /usr/lib/libxine.so.1
 #1 0x00002b49bd2ee230 in xine_get_next_video_frame ()
    from /usr/lib/libxine.so.1
 #2 0x0000000000409dc0 in bacon_video_widget_get_current_frame ()
 #3 0x0000000000407809 in main ()
StacktraceTop:
 xine_list_get_value () from /usr/lib/libxine.so.1
 xine_get_next_video_frame ()
 bacon_video_widget_get_current_frame ()
 main ()
Uname: Linux gato 2.6.20-14-generic #2 SMP Mon Apr 2 16:32:46 UTC 2007 x86_64 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev scanner src video

Revision history for this message
Raúl Soriano (gatoloko) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
?? ()
?? ()
?? ()

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Reinhard Tartler (siretart) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 104651 and is being marked as such. Please look at the other bug report to see if there is any information missing that you can add or to see if there is a work around. Feel free to continue to report any other bugs you may find.

Revision history for this message
bhavin katira (bhavinkatira) wrote :

#include <unistd.h>
#include <xine.h>
#include<stdio.h>

#define MRL "dump_ts3"
/*using namespace std;*/

int main(int argc, char **argv)
{
char *mrl = MRL;

xine_t *engine;
xine_audio_port_t *ap;
xine_video_port_t *vp;
xine_stream_t *stream;

engine = xine_new();
xine_init(engine);

ap = xine_open_audio_driver(engine, NULL, NULL);
//vp = xine_open_video_driver(engine, NULL, XINE_VISUAL_TYPE_NONE, NULL);
  vp = xine_new_framegrab_video_port (engine);
if(vp == NULL) {
printf("****null vp***\n");
return;
}

stream = xine_stream_new(engine, ap, vp);

xine_open(stream, mrl);

xine_play(stream, 0, 0);

int posStream;
int pos;
int length;

xine_get_pos_length (stream, &posStream, &pos, &length);
xine_video_frame_t *myframe;
myframe = malloc(sizeof(xine_video_frame_t));

while(1)
{
 xine_get_next_video_frame (vp,myframe);
 printf("doing something\n");

}
/*cout << "Time = " << pos << " of " << length << "\n";*/

xine_close(stream);

xine_close_audio_driver(engine, ap);
xine_close_video_driver(engine, vp);
xine_exit(engine);

return 0;
}

and here is the error as shown in gdb

(gdb) b main
Breakpoint 2 at 0x80486dd: file newzine.c, line 12.
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/bhavin/TRY_TRY/util/dvb-apps/util/szap/newzine
[Thread debugging using libthread_db enabled]

Breakpoint 2, main (argc=1, argv=0xbffff2e4) at newzine.c:12
12 char *mrl = MRL;
(gdb) n
19 engine = xine_new();
(gdb)
20 xine_init(engine);
(gdb)

[New Thread 0xb7fd9b70 (LWP 11379)]
22 ap = xine_open_audio_driver(engine, NULL, NULL);
(gdb)

[New Thread 0xb75d8b70 (LWP 11380)]
[New Thread 0xb29ffb70 (LWP 11381)]
24 vp = xine_new_framegrab_video_port (engine);
(gdb)
25 if(vp == NULL) {
(gdb)
30 stream = xine_stream_new(engine, ap, vp);
(gdb)
[New Thread 0xb180ab70 (LWP 11382)]
[New Thread 0xb0c3cb70 (LWP 11383)]
32 xine_open(stream, mrl);
(gdb)
34 xine_play(stream, 0, 0);
(gdb)
[New Thread 0xb023bb70 (LWP 11384)]
41 xine_get_pos_length (stream, &posStream, &pos, &length);
(gdb)
43 myframe = malloc(sizeof(xine_video_frame_t));
(gdb)
47 xine_get_next_video_frame (vp,myframe);
(gdb)

Program received signal SIGSEGV, Segmentation fault.
0x05392710 in xine_list_get_value () from /usr/lib/libxine.so.1
(gdb)
Single stepping until exit from function xine_list_get_value,
which has no line number information.
[Thread 0xb023bb70 (LWP 11384) exited]
[Thread 0xb180ab70 (LWP 11382) exited]
[Thread 0xb29ffb70 (LWP 11381) exited]
[Thread 0xb75d8b70 (LWP 11380) exited]
[Thread 0xb7fd9b70 (LWP 11379) exited]
[Thread 0xb0c3cb70 (LWP 11383) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.