Segfault on reget-movie-information

everything about the next not so big update

Moderator: Moderator

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Segfault on reget-movie-information

Postby Uatschitchun » Thu Feb 15, 2007 4:01 pm

Noticed some segfault when doing a reget on folders not containing movies directly:


Doing the reget on such a folder, getting no finds and going down:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217980224 (LWP 24218)]
0x08068dd3 in Render::draw (this=0x814e0c8, module=@0xbf8af3c8, overlay=true) at renderer.cpp:248
248 (*cur_giter)->dirty = true;
(gdb)

(gdb) bt
#0 0x08068dd3 in Render::draw (this=0x814e0c8, module=@0xbf8af3c8, overlay=true) at renderer.cpp:248
#1 0x080eec34 in Movie::imdb_search_screen (this=0x813e560, search_word=@0xbf8af43c, results=@0xbf8af430, pos=-1, o=@0xbf8af638) at movie.cpp:1130
#2 0x080f8693 in MovieIMDbFunctor<Movie>::call (this=0xbf8af5fc, r=@0xbf8af6d0) at functor.hpp:207
#3 0x080fb4bf in Module::generate_string<MovieIMDbFunctor<Movie> > (this=0x813e560, str=@0xbf8af6d0, print_func=0xbf8af5fc) at module.hpp:466
#4 0x080eef9b in Movie::imdb_search_mainloop (this=0x813e560, search_word=@0xbf8af770, m=@0xbf8af76c) at movie.cpp:945
#5 0x080ef875 in Movie::reget_movie_information (this=0x813e560) at movie.cpp:276
#6 0x080f2608 in Movie::mainloop (this=0x813e560) at movie.cpp:443
#7 0x080751aa in Startmenu::mainloop (this=0x813ddc0) at startmenu.cpp:441
#8 0x080625be in start () at mms.cpp:84
#9 0x08064136 in main (argc=1, argv=0xbf8b0044) at mms.cpp:494

This was with
./configure --enable-alsaplayer --enable-game --enable-tv --enable-lirc --enable-eject-tray --disable-optimization --enable-debug


And with
./configure --enable-alsaplayer --enable-game --enable-lirc --enable-eject-tray --disable-optimization --enable-debug


I do get:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217967936 (LWP 28236)]
0x08068dd3 in Render::draw (this=0x814e0c8, module=@0xbf9fc6b0, overlay=true) at renderer.cpp:248
248 (*cur_giter)->dirty = true;
(gdb)

(gdb) bt
#0 0x08068dd3 in Render::draw (this=0x814e0c8, module=@0xbf9fc6b0, overlay=true) at renderer.cpp:248
#1 0x0808d154 in Overlay::cleanup (this=0xbf9fc798) at image.cpp:103
#2 0x080ef211 in Movie::imdb_search_mainloop (this=0x813e000, search_word=@0xbf9fc8d0, m=@0xbf9fc8cc) at movie.cpp:1030
#3 0x080ef385 in Movie::reget_movie_information (this=0x813e000) at movie.cpp:276
#4 0x080f2118 in Movie::mainloop (this=0x813e000) at movie.cpp:443
#5 0x080750c6 in Startmenu::mainloop (this=0x813d8e0) at startmenu.cpp:441
#6 0x080625be in start () at mms.cpp:84
#7 0x08064136 in main (argc=1, argv=0xbf9fd194) at mms.cpp:494

This one is not reproduceable with the "--enable-tv" !?

And another one:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217570624 (LWP 28407)]
0x0806b430 in __normal_iterator (this=0xbf849a50, __i=@0x14b9d8) at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_iterator.h:650
650 __normal_iterator(const _Iterator& __i) : _M_current(__i) { }
(gdb)

(gdb) bt
#0 0x0806b430 in __normal_iterator (this=0xbf849a50, __i=@0x14b9d8) at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_iterator.h:650
#1 0x0806b453 in std::vector<GObj*, std::allocator<GObj*> >::begin (this=0x14b9d8) at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_vector.h:333
#2 0x0808cf95 in Overlay::partial_cleanup (this=0xbf849de8) at image.cpp:119
#3 0x080edabd in Movie::imdb_search_screen (this=0x813e000, search_word=@0xbf849bec, results=@0xbf849be0, pos=-1, o=@0xbf849de8) at movie.cpp:1054
#4 0x080f81a3 in MovieIMDbFunctor<Movie>::call (this=0xbf849dac, r=@0xbf849e80) at functor.hpp:207
#5 0x080fb015 in Module::generate_string<MovieIMDbFunctor<Movie> > (this=0x813e000, str=@0xbf849e80, print_func=0xbf849dac) at module.hpp:466
#6 0x080eeaab in Movie::imdb_search_mainloop (this=0x813e000, search_word=@0xbf849f20, m=@0xbf849f1c) at movie.cpp:945
#7 0x080ef385 in Movie::reget_movie_information (this=0x813e000) at movie.cpp:276
#8 0x080f2118 in Movie::mainloop (this=0x813e000) at movie.cpp:443
#9 0x080750c6 in Startmenu::mainloop (this=0x813d8e0) at startmenu.cpp:441
#10 0x080625be in start () at mms.cpp:84
#11 0x08064136 in main (argc=1, argv=0xbf84a7e4) at mms.cpp:494


And:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217718080 (LWP 28730)]
0x0806ad2c in std::type_info::operator== (this=0x2a6a624f, __arg=@0x8132dc0) at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/typeinfo:108
108 { return __name == __arg.__name; }
(gdb) bt
#0 0x0806ad2c in std::type_info::operator== (this=0x2a6a624f, __arg=@0x8132dc0) at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/typeinfo:108
#1 0x08067fc2 in Render::equal (this=0x814e0c8, lhs=0x81c0478, rhs=0x81bc3e8) at renderer.cpp:88
#2 0x08069163 in Render::draw (this=0x814e0c8, module=@0xbfbccef8, overlay=true) at renderer.cpp:273
#3 0x080ee744 in Movie::imdb_search_screen (this=0x813e000, search_word=@0xbfbccf6c, results=@0xbfbccf60, pos=-1, o=@0xbfbcd168) at movie.cpp:1130
#4 0x080f81a3 in MovieIMDbFunctor<Movie>::call (this=0xbfbcd12c, r=@0xbfbcd200) at functor.hpp:207
#5 0x080fb015 in Module::generate_string<MovieIMDbFunctor<Movie> > (this=0x813e000, str=@0xbfbcd200, print_func=0xbfbcd12c) at module.hpp:466
#6 0x080eeaab in Movie::imdb_search_mainloop (this=0x813e000, search_word=@0xbfbcd2a0, m=@0xbfbcd29c) at movie.cpp:945
#7 0x080ef385 in Movie::reget_movie_information (this=0x813e000) at movie.cpp:276
#8 0x080f2118 in Movie::mainloop (this=0x813e000) at movie.cpp:443
#9 0x080750c6 in Startmenu::mainloop (this=0x813d8e0) at startmenu.cpp:441
#10 0x080625be in start () at mms.cpp:84
#11 0x08064136 in main (argc=1, argv=0xbfbcdb64) at mms.cpp:494


It seems, the bt's do show all the same, do they? So I could provide more, but leave it at this by now ;)

Lg
Roman

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Sun Feb 18, 2007 9:45 pm

I can confirm this one.

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Mon Feb 19, 2007 9:25 pm

Update to this, not directly related. imdb changed format today so the downloader doesn't currently work 100%.

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Mon Feb 19, 2007 11:50 pm

Please try patch-42 and let me know if it's still a problem. Thanks.

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Postby Uatschitchun » Tue Feb 20, 2007 9:54 am

As far as I can see, it's all working correct now!

Thx
Roman


Return to “1.0.9”

Who is online

Users browsing this forum: No registered users and 1 guest