pdfmod crashes during rotation

Bug #1977894 reported by Ben
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pdfmod (Ubuntu)
New
Undecided
Unassigned

Bug Description

When I'm trying to rotate pages, pdfmod crashes. I'm using version PdfMod 0.9.1. within Ubuntu 18.04.

terminal output:

[1 Debug 00:52:46.647] Starting PdfMod 0.9.1
[1 Debug 00:52:46.708] Loaded custom AccelMap from /home/benni/.config/pdfmod/gtk_accel_map
[1 Debug 00:52:46.719] Cache directory set to /home/benni/.cache/pdfmod
[1 Debug 00:52:50.997] Loaded /home/benni/Dokumente/tt/Broschüre WTTV Workshop 2001 Hachen.pdf
[1 Debug 00:53:12.866] Saved tmp file to /home/benni/.cache/pdfmod/tmpfile-0
double free or corruption (out)
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) GLib.SList.g_free (intptr) <0x0005f>
  at GLib.ListBase.Empty () <0x0013c>
  at GLib.ListBase.Dispose (bool) <0x0000f>
  at GLib.ListBase.Finalize () <0x0001d>
  at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr) <0x00068>

Native stacktrace:

 mono(+0xc8514) [0x55fd23c6d514]
 /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980) [0x7ffa8152e980]
 /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7ffa80f51e87]
 /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7ffa80f537f1]
 /lib/x86_64-linux-gnu/libc.so.6(+0x89837) [0x7ffa80f9c837]
 /lib/x86_64-linux-gnu/libc.so.6(+0x908ba) [0x7ffa80fa38ba]
 /lib/x86_64-linux-gnu/libc.so.6(cfree+0x53a) [0x7ffa80faae4a]
 [0x41688090]

Debug info from gdb:

[New LWP 19445]
[New LWP 19446]
[New LWP 19447]
[New LWP 19448]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
95 ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Datei oder Verzeichnis nicht gefunden.
  Id Target Id Frame
* 1 Thread 0x7ffa820c8780 (LWP 19444) "Main Thread" __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
  2 Thread 0x7ffa803ff700 (LWP 19445) "SGen worker" 0x00007ffa81529ad3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fd24160a08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  3 Thread 0x7ffa7e3d2700 (LWP 19446) "Finalizer" 0x00007ffa8152e32a in __waitpid (pid=19463, stat_loc=0x7ffa7e3d096c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
  4 Thread 0x7ffa70166700 (LWP 19447) "gmain" 0x00007ffa81027bb9 in __GI___poll (fds=0x55fd24e03560, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  5 Thread 0x7ffa6f965700 (LWP 19448) "gdbus" 0x00007ffa81027bb9 in __GI___poll (fds=0x55fd24e14110, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29

Thread 5 (Thread 0x7ffa6f965700 (LWP 19448)):
#0 0x00007ffa81027bb9 in __GI___poll (fds=0x55fd24e14110, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffa7cc0f6e9 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffa7cc0fa82 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffa7d1fd2d6 in () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007ffa7cc372a5 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007ffa815236db in start_thread (arg=0x7ffa6f965700) at pthread_create.c:463
#6 0x00007ffa8103461f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ffa70166700 (LWP 19447)):
#0 0x00007ffa81027bb9 in __GI___poll (fds=0x55fd24e03560, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007ffa7cc0f6e9 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffa7cc0f7fc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffa7cc0f841 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007ffa7cc372a5 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007ffa815236db in start_thread (arg=0x7ffa70166700) at pthread_create.c:463
#6 0x00007ffa8103461f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ffa7e3d2700 (LWP 19446)):
#0 0x00007ffa8152e32a in __waitpid (pid=19463, stat_loc=0x7ffa7e3d096c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1 0x000055fd23c6d5f0 in ()
#2 0x00007ffa8152e980 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffa80f51e87 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#4 0x00007ffa80f537f1 in __GI_abort () at abort.c:79
#5 0x00007ffa80f9c837 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffa810c9a7b "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#6 0x00007ffa80fa38ba in malloc_printerr (str=str@entry=0x7ffa810cb788 "double free or corruption (out)") at malloc.c:5342
#7 0x00007ffa80faae4a in _int_free (have_lock=0, p=0x55fd24f61990, av=0x7ffa812fec40 <main_arena>) at malloc.c:4308
#8 0x00007ffa80faae4a in __GI___libc_free (mem=0x55fd24f619a0) at malloc.c:3134
#9 0x0000000041688090 in ()
#10 0x000055fd24f619a0 in ()
#11 0x000055fd248ad0d0 in ()
#12 0x000055fd248ad0d0 in ()
#13 0x0000000000000000 in ()

Thread 2 (Thread 0x7ffa803ff700 (LWP 19445)):
#0 0x00007ffa81529ad3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55fd24160a08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 0x00007ffa81529ad3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x55fd24160a20, cond=0x55fd241609e0) at pthread_cond_wait.c:502
#2 0x00007ffa81529ad3 in __pthread_cond_wait (cond=0x55fd241609e0, mutex=0x55fd24160a20) at pthread_cond_wait.c:655
#3 0x000055fd23df5863 in ()
#4 0x00007ffa815236db in start_thread (arg=0x7ffa803ff700) at pthread_create.c:463
#5 0x00007ffa8103461f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffa820c8780 (LWP 19444)):
#0 0x00007ffa8104350c in __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1 0x00007ffa80fabf9e in __GI___libc_realloc (oldmem=0x55fd25195dd0, bytes=64) at malloc.c:3238
#2 0x00007ffa7cc14c90 in g_realloc () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffa7db7c28b in () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#4 0x00007ffa7db7d55d in () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#5 0x00007ffa7db7dc79 in gdk_region_union () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#6 0x00007ffa7db88584 in () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#7 0x00007ffa7349accd in () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#8 0x00007ffa734a089c in () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9 0x00007ffa734a0928 in gtk_widget_queue_resize () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#10 0x00007ffa7344d8ff in () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#11 0x00007ffa7344dea8 in () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffa7ceea0bd in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffa7cefd0de in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffa7cf056f5 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffa7cf0610f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffa7ceee574 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffa7cef0949 in g_object_notify () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffa7ceea0bd in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffa7cefd00e in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffa7cf056f5 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffa7cf0610f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffa7ceee574 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffa7ceedf1e in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007ffa7cef1a4e in g_object_setv () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007ffa7cef2aee in g_object_set_property () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00000000415ec89c in ()
#27 0x00007ffa81fe9008 in ()
#28 0x0000000000000001 in ()
#29 0x00007ffa80433840 in ()
#30 0x00007ffa81ff72b0 in ()
#31 0x00007ffa80433840 in ()
#32 0x00007ffd14fef528 in ()
#33 0x0000000000000000 in ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Abgebrochen (Speicherabzug geschrieben)

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.