Compiz crashes immediately if run with memory checker

Bug #1061540 reported by Jussi Pakkanen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
New
Undecided
Unassigned

Bug Description

Running this:

MALLOC_CHECK_=3 G_SLICE=always-malloc /usr/bin/unity --replace

crashes immediately. This crash is not detected by the bug reporter, so I made it create a core file. The backtrace is this:

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `compiz --replace'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f3701dc869c in g_type_check_instance_is_a (type_instance=type_instance@entry=0x196e4f0, iface_type=iface_type@entry=80)
    at /build/buildd/glib2.0-2.34.0/./gobject/gtype.c:3964
3964 /build/buildd/glib2.0-2.34.0/./gobject/gtype.c: No such file or directory.
(gdb) bt
#0 0x00007f3701dc869c in g_type_check_instance_is_a (type_instance=type_instance@entry=0x196e4f0, iface_type=iface_type@entry=80)
    at /build/buildd/glib2.0-2.34.0/./gobject/gtype.c:3964
#1 0x00007f3701dabef6 in g_object_unref (_object=0x196e4f0) at /build/buildd/glib2.0-2.34.0/./gobject/gobject.c:2915
#2 0x00007f36feb08ec6 in _g_file_attribute_value_clear (attr=attr@entry=0x187b718) at /build/buildd/glib2.0-2.34.0/./gio/gfileattribute.c:252
#3 0x00007f36feb0cf10 in g_file_info_finalize (object=0x22f0970) at /build/buildd/glib2.0-2.34.0/./gio/gfileinfo.c:325
#4 0x00007f3701dac0a8 in g_object_unref (_object=0x22f0970) at /build/buildd/glib2.0-2.34.0/./gobject/gobject.c:3023
#5 0x00007f36feb2c128 in clear_op_res (simple=0x1e3c330) at /build/buildd/glib2.0-2.34.0/./gio/gsimpleasyncresult.c:257
#6 g_simple_async_result_finalize (object=0x1e3c330) at /build/buildd/glib2.0-2.34.0/./gio/gsimpleasyncresult.c:277
#7 0x00007f3701dac0a8 in g_object_unref (_object=0x1e3c330) at /build/buildd/glib2.0-2.34.0/./gobject/gobject.c:3023
#8 0x00007f36eb209422 in query_info_async_cb (proxy=<optimized out>, res=<optimized out>, user_data=0x1e3c110) at gdaemonfile.c:906
#9 0x00007f36feb2cf57 in g_simple_async_result_complete (simple=0x22ec2e0) at /build/buildd/glib2.0-2.34.0/./gio/gsimpleasyncresult.c:775
#10 0x00007f36feb872ea in reply_cb (connection=<optimized out>, res=<optimized out>, user_data=0x22ec2e0)
    at /build/buildd/glib2.0-2.34.0/./gio/gdbusproxy.c:2632
#11 0x00007f36feb2cf57 in g_simple_async_result_complete (simple=0x22deb20) at /build/buildd/glib2.0-2.34.0/./gio/gsimpleasyncresult.c:775
#12 0x00007f36feb7d772 in g_dbus_connection_call_done (source=<optimized out>, result=<optimized out>, user_data=0x19c3350)
    at /build/buildd/glib2.0-2.34.0/./gio/gdbusconnection.c:5339
#13 0x00007f36feb2cf57 in g_simple_async_result_complete (simple=0x22de990) at /build/buildd/glib2.0-2.34.0/./gio/gsimpleasyncresult.c:775
#14 0x00007f36feb2d059 in complete_in_idle_cb (data=<optimized out>) at /build/buildd/glib2.0-2.34.0/./gio/gsimpleasyncresult.c:787
#15 0x00007f3702d64ab5 in g_main_dispatch (context=0x1726ff0) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:2715
#16 g_main_context_dispatch (context=context@entry=0x1726ff0) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3219
#17 0x00007f3702d64de8 in g_main_context_iterate (context=0x1726ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3290
#18 0x00007f3702d651e2 in g_main_loop_run (loop=0x1727f30) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3484
#19 0x000000000040270b in main (argc=2, argv=<optimized out>) at /build/buildd/compiz-0.9.8.4/src/main.cpp:262

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1061510, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.