← Back to team overview

openshot.developers team mailing list archive

Re: New bazaar development branch published

 

I'm continuing to generate patches to fix-up path issues as I discover
them. At intervals I'm also re-publishing the updated package to my PPA.

I'm currently at revision 193 on my development branch.

I suspect I've got all the path issues now - at least there's no
remaining argv[0] references.

I hit an interesting out-of-memory error earlier that caused the
application to crash. The system was pushing the headroom, very close to
2GB allocated RAM and starting OpenShot seemed to be too much.

 Luckily I'm running it from gdb all the time so I was able to inspect
the reason via the call-stack which I'll reproduce here for future
error-catching work:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fae62b666f0 (LWP 6234)]
_int_malloc (av=0x7fae61eaba00, bytes=89) at malloc.c:4363
4363	malloc.c: No such file or directory.
	in malloc.c
(gdb) bt
#0  _int_malloc (av=0x7fae61eaba00, bytes=89) at malloc.c:4363
#1  0x00007fae61bba828 in *__GI___libc_malloc (bytes=89) at malloc.c:3551
#2  0x00007fae60687a13 in IA__g_malloc (n_bytes=89) at /tmp/buildd/glib2.0-2.20.1/glib/gmem.c:131
#3  0x00007fae6069f82e in IA__g_strdup (
    str=0x2a20550 "/home/all/SourceCode/openshot/openshot/debian-packaging/main/openshot/windows/MainGTK.py")
    at /tmp/buildd/glib2.0-2.20.1/glib/gstrfuncs.c:102
#4  0x00007fae6066875e in IA__g_filename_from_uri (
    uri=0x471de70 "file:///home/all/SourceCode/openshot/openshot/debian-packaging/main/openshot/windows/MainGTK.py", 
    hostname=0x0, error=0x0) at /tmp/buildd/glib2.0-2.20.1/glib/gconvert.c:1831
#5  0x00007fae5f4fc3f4 in IA__gtk_recent_info_get_short_name (info=<value optimized out>)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkrecentmanager.c:2135
#6  0x00007fae5f4fc5bd in IA__gtk_recent_info_get_display_name (info=0xd)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkrecentmanager.c:1567
#7  0x00007fae5f4f83a9 in _gtk_recent_chooser_get_items (chooser=0x2954010, filter=0x294ff40, sort_func=0, sort_data=0x0)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkrecentchooserutils.c:360
#8  0x00007fae5f4f6fc8 in idle_populate_func (data=<value optimized out>)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkrecentchoosermenu.c:965
#9  0x00007fae5f0ec04b in gdk_threads_dispatch (data=0x2951320) at /build/buildd/gtk+2.0-2.16.1/gdk/gdk.c:498
#10 0x00007fae6067f20a in IA__g_main_context_dispatch (context=0x1f6f640) at /tmp/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#11 0x00007fae606828e0 in g_main_context_iterate (context=0x1f6f640, block=1, dispatch=1, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#12 0x00007fae60682dad in IA__g_main_loop_run (loop=0x7fae401dd360) at /tmp/buildd/glib2.0-2.20.1/glib/gmain.c:2656
#13 0x00007fae5f4a5bc7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c:1205
#14 0x00007fae5faf9772 in ?? () from /var/lib/python-support/python2.6/gtk-2.0/gtk/_gtk.so
#15 0x00000000004a2d39 in PyEval_EvalFrameEx (f=0x1b21de0, throwflag=<value optimized out>) at ../Python/ceval.c:3690
#16 0x00000000004a3dae in PyEval_EvalFrameEx (f=0x1b08040, throwflag=<value optimized out>) at ../Python/ceval.c:3792
#17 0x00000000004a4649 in PyEval_EvalCodeEx (co=0x1b6c8a0, globals=<value optimized out>, locals=<value optimized out>, 
    args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2968
#18 0x00000000004a4762 in PyEval_EvalCode (co=0xd, globals=0x7fae61eabb20, locals=0x2000) at ../Python/ceval.c:522
#19 0x00000000004c4c3c in PyRun_FileExFlags (fp=Cannot access memory at address 0x7fff6ab8c038) at ../Python/pythonrun.c:1335
Cannot access memory at address 0x7fff6ab8c128
(gdb) q





Follow ups

References