ahodesuka / ahoviewer

A GTK image viewer, manga reader, and booru browser
MIT License
486 stars 31 forks source link

Random chance of Segmentation fault #33

Closed keptan closed 7 years ago

keptan commented 8 years ago

I have a random chance of crashing with Segmentation fault (core dumped) when downloading an image from a booru, this only happens with online images. Not an issue with gstreamer version, because it still happened when I had no version of gstreamer installed between 1.6 and 1.4

keptan commented 8 years ago

oh nevermind I saw the closed one Edit: still happens on latest version; here is the backtrace:

0.  0x00007ffff6d024b4 in Gdk::PixbufLoader::write(unsigned char const*, unsigned long) () from /usr/lib/libgdkmm-2.4.so.1
1.  0x000000000042be54 in ?? ()
2.  0x000000000042af34 in ?? ()
3.  0x00007ffff55e3e12 in ?? () from /usr/lib/libcurl.so.4
4.  0x00007ffff55fac62 in ?? () from /usr/lib/libcurl.so.4
5.  0x00007ffff5604582 in ?? () from /usr/lib/libcurl.so.4
6.  0x00007ffff56057a4 in ?? () from /usr/lib/libcurl.so.4
7.  0x00007ffff56058b7 in curl_multi_socket_action () from /usr/lib/libcurl.so.4
8.  0x000000000042dbba in ?? ()
9.  0x00007ffff66f2b61 in ?? () from /usr/lib/libglibmm-2.4.so.1
10.  0x00007ffff5aa2caa in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
11.  0x00007ffff5aa3050 in ?? () from /usr/lib/libglib-2.0.so.0
12.  0x00007ffff5aa3372 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
13.  0x00007ffff66ea81d in ?? () from /usr/lib/libglibmm-2.4.so.1
14.  0x00007ffff5ac97e5 in ?? () from /usr/lib/libglib-2.0.so.0
15.  0x00007ffff3b554a4 in start_thread () from /usr/lib/libpthread.so.0
16.  0x00007ffff3892dcd in clone () from /usr/lib/libc.so.6

And I can reproduce this backtrace over and over again by switching images too quickly, also a seg fault:

0.   0x00007ffff6d02609 in Gdk::PixbufLoader::get_animation() () from /usr/lib/libgdkmm-2.4.so.1
1.   0x000000000042c3f3 in ?? ()
2.   0x000000000044b64a in ?? ()
3.   0x00007ffff66ea81d in ?? () from /usr/lib/libglibmm-2.4.so.1
4.   0x00007ffff5ac97e5 in ?? () from /usr/lib/libglib-2.0.so.0
5.   0x00007ffff3b554a4 in start_thread () from /usr/lib/libpthread.so.0
6.   0x00007ffff3892dcd in clone () from /usr/lib/libc.so.6