Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[src-psale] Pdf book view crashes on scroll #17

Open
3Nigma opened this issue Oct 31, 2012 · 0 comments
Open

[src-psale] Pdf book view crashes on scroll #17

3Nigma opened this issue Oct 31, 2012 · 0 comments
Assignees
Labels

Comments

@3Nigma
Copy link
Owner

3Nigma commented Oct 31, 2012

Upon zooming out from the pdf view (see following image) to containing the whole page in one screen, the following crash occurs.
vc_screen_@_crash

***MEMORY-ERROR***: psale[5419]: GSlice: assertion failed: sinfo->n_allocated > 0

Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) i stack
#0  0xb7fdd424 in __kernel_vsyscall ()
#1  0xb73f01df in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb73f3825 in __GI_abort () at abort.c:91
#3  0xb759cfa0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb75e8860 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb75e8b3b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb759d43d in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb75e9a43 in g_slice_free1 () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb77ac13d in poppler_dest_free () from /usr/lib/i386-linux-gnu/libpoppler-glib.so.8
#9  0xb77ac273 in poppler_action_free () from /usr/lib/i386-linux-gnu/libpoppler-glib.so.8
#10 0xb77b17ad in poppler_link_mapping_free () from /usr/lib/i386-linux-gnu/libpoppler-glib.so.8
#11 0xb75cbda8 in g_list_foreach () from /lib/i386-linux-gnu/libglib-2.0.so.0
#12 0xb77b2fd8 in poppler_page_free_link_mapping () from /usr/lib/i386-linux-gnu/libpoppler-glib.so.8
#13 0x08054e66 in vc_sari_la_pagina (vc=0x816eee8, nrPag=105) at vc.c:395
#14 0x08053d1f in pdfviz_vscrol_modif_event (widget=0x814d240, e=0x8088b88, vc=0x816eee8) at vc.c:152
#15 0xb7c328a2 in _gtk_marshal_BOOLEAN__BOXED (closure=0x8228b10, return_value=0xbfffedb4, n_param_values=2, param_values=0xbfffee20, 
    invocation_hint=0xbfffeda0, marshal_data=0x0) at /build/buildd/gtk+2.0-2.24.10/gtk/gtkmarshalers.c:86
#16 0xb7759484 in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#17 0xb776b0d9 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#18 0xb7772ff5 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#19 0xb7773453 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#20 0xb7d6c413 in gtk_widget_event_internal (widget=0x814d240, event=0x8088b88) at /build/buildd/gtk+2.0-2.24.10/gtk/gtkwidget.c:4992
#21 0xb7c30a6e in IA__gtk_propagate_event (widget=0x814d240, event=0x8088b88) at /build/buildd/gtk+2.0-2.24.10/gtk/gtkmain.c:2567
#22 0xb7c30e00 in IA__gtk_main_do_event (event=0x8088b88) at /build/buildd/gtk+2.0-2.24.10/gtk/gtkmain.c:1757
#23 0xb7aa1758 in gdk_event_dispatch (source=0x808a380, callback=0, user_data=0x0) at /build/buildd/gtk+2.0-2.24.10/gdk/x11/gdkevents-x11.c:2377
#24 0xb75ced86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb75cf125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb75cf56b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb7c2fb8f in IA__gtk_main () at /build/buildd/gtk+2.0-2.24.10/gtk/gtkmain.c:1329
#28 0x08055079 in main (argc=1, argv=0xbffff374) at main.c:24
@ghost ghost assigned 3Nigma Oct 31, 2012
3Nigma added a commit that referenced this issue Oct 31, 2012
…ed shortcut keys and tooltips to buttons. Removed the 'GoTo table of contents' icon because the DB module has a severe memory leak that needs fixing. Partially fixed issue #17 by starting the app with a malloc model for the slice allocator (G_SLICE=always-malloc ./psale). This works but it's more of a workaround then a fix so I might come back to this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant