==4340== Memcheck, a memory error detector
==4340== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==4340== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==4340== Command: /home/debian/programming/c/gparted/src/gpartedbin
==4340== Parent PID: 2482
==4340== 
==4340== Conditional jump or move depends on uninitialised value(s)
==4340==    at 0x808B72B: GParted::DrawingAreaVisualDisk::on_size_allocate(Gdk::Rectangle&) (DrawingAreaVisualDisk.cc:390)
==4340==    by 0x43209ED: Gtk::Widget_Class::size_allocate_callback(_GtkWidget*, _GdkRectangle*) (widget.cc:4159)
==4340==    by 0x4CCE317: g_cclosure_marshal_VOID__BOXED (gmarshal.c:566)
==4340==    by 0x4CBF7A8: g_type_class_meta_marshal (gclosure.c:878)
==4340==    by 0x4CC1067: g_closure_invoke (gclosure.c:767)
==4340==    by 0x4CD6EB9: signal_emit_unlocked_R (gsignal.c:3178)
==4340==    by 0x4CD8BFB: g_signal_emit_valist (gsignal.c:2981)
==4340==    by 0x4CD9075: g_signal_emit (gsignal.c:3038)
==4340==    by 0x47D6023: gtk_widget_size_allocate (gtkwidget.c:4061)
==4340==    by 0x45DFDC5: gtk_box_size_allocate (gtkbox.c:500)
==4340==    by 0x4320A33: Gtk::Widget_Class::size_allocate_callback(_GtkWidget*, _GdkRectangle*) (widget.cc:4177)
==4340==    by 0x4CCE317: g_cclosure_marshal_VOID__BOXED (gmarshal.c:566)
==4340== 
==4340== Conditional jump or move depends on uninitialised value(s)
==4340==    at 0x808B73C: GParted::DrawingAreaVisualDisk::on_size_allocate(Gdk::Rectangle&) (DrawingAreaVisualDisk.cc:386)
==4340==    by 0x43209ED: Gtk::Widget_Class::size_allocate_callback(_GtkWidget*, _GdkRectangle*) (widget.cc:4159)
==4340==    by 0x4CCE317: g_cclosure_marshal_VOID__BOXED (gmarshal.c:566)
==4340==    by 0x4CBF7A8: g_type_class_meta_marshal (gclosure.c:878)
==4340==    by 0x4CC1067: g_closure_invoke (gclosure.c:767)
==4340==    by 0x4CD6EB9: signal_emit_unlocked_R (gsignal.c:3178)
==4340==    by 0x4CD8BFB: g_signal_emit_valist (gsignal.c:2981)
==4340==    by 0x4CD9075: g_signal_emit (gsignal.c:3038)
==4340==    by 0x47D6023: gtk_widget_size_allocate (gtkwidget.c:4061)
==4340==    by 0x45DFDC5: gtk_box_size_allocate (gtkbox.c:500)
==4340==    by 0x4320A33: Gtk::Widget_Class::size_allocate_callback(_GtkWidget*, _GdkRectangle*) (widget.cc:4177)
==4340==    by 0x4CCE317: g_cclosure_marshal_VOID__BOXED (gmarshal.c:566)
==4340== 
==4340== Warning: noted but unhandled ioctl 0x5382 with no size/direction hints
==4340==    This could cause spurious value errors to appear.
==4340==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==4340== Warning: noted but unhandled ioctl 0x127a with no size/direction hints
==4340==    This could cause spurious value errors to appear.
==4340==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==4340== Warning: noted but unhandled ioctl 0x1278 with no size/direction hints
==4340==    This could cause spurious value errors to appear.
==4340==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==4340== Syscall param ioctl(arg) contains uninitialised byte(s)
==4340==    at 0x4FF0379: ioctl (syscall-template.S:82)
==4340==    by 0x40582B5: ??? (in /lib/libparted.so.0.0.1)
==4340==    by 0x404B587: ped_device_sync (in /lib/libparted.so.0.0.1)
==4340==    by 0x40856C7: ??? (in /lib/libparted.so.0.0.1)
==4340==    by 0x405399A: ped_disk_commit_to_dev (in /lib/libparted.so.0.0.1)
==4340==    by 0x809E506: GParted::GParted_Core::commit(_PedDisk*) (GParted_Core.cc:3398)
==4340==    by 0x80A5AD9: GParted::GParted_Core::create_partition(GParted::Partition&, GParted::OperationDetail&, long long) (GParted_Core.cc:1781)
==4340==    by 0x80A9F9F: GParted::GParted_Core::copy(GParted::Partition const&, GParted::Partition&, long long, GParted::OperationDetail&) (GParted_Core.cc:2599)
==4340==    by 0x80B0032: GParted::GParted_Core::apply_operation_to_disk(GParted::Operation*) (GParted_Core.cc:716)
==4340==    by 0x807EC3C: GParted::Dialog_Progress::on_signal_show() (signal.h:921)
==4340==    by 0x497A48A: Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) (slot.h:440)
==4340==    by 0x4CCECAB: g_cclosure_marshal_VOID__VOID (gmarshal.c:77)
==4340== 
==4340== Thread 3:
==4340== Syscall param ioctl(arg) contains uninitialised byte(s)
==4340==    at 0x4FF0379: ioctl (syscall-template.S:82)
==4340==    by 0x40582B5: ??? (in /lib/libparted.so.0.0.1)
==4340==    by 0x404B587: ped_device_sync (in /lib/libparted.so.0.0.1)
==4340==    by 0x8103FED: GParted::copy_blocks::copy_thread() (Copy_Blocks.cc:118)
==4340==    by 0x49700C1: call_thread_entry_slot (slot.h:440)
==4340==    by 0x4D6C6CE: g_thread_create_proxy (gthread.c:1893)
==4340==    by 0x4F17954: start_thread (pthread_create.c:300)
==4340==    by 0x4FF81DD: clone (clone.S:130)
==4340== 
==4340== Invalid write of size 4
==4340==    at 0x4975DD3: Glib::SignalIdle::connect(sigc::slot<bool, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, int) (main.cc:92)
==4340==    by 0x810427D: GParted::copy_blocks::copy_thread() (Copy_Blocks.cc:137)
==4340==    by 0x49700C1: call_thread_entry_slot (slot.h:440)
==4340==    by 0x4D6C6CE: g_thread_create_proxy (gthread.c:1893)
==4340==    by 0x4F17954: start_thread (pthread_create.c:300)
==4340==    by 0x4FF81DD: clone (clone.S:130)
==4340==  Address 0x61615e8 is 8 bytes inside a block of size 12 free'd
==4340==    at 0x4023881: operator delete(void*) (vg_replace_malloc.c:387)
==4340==    by 0x4974814: (anonymous namespace)::SourceConnectionNode::destroy_notify_callback(void*) (main.cc:85)
==4340==    by 0x4D41913: g_source_callback_unref (gmain.c:1077)
==4340==    by 0x4D41F26: g_source_destroy_internal (gmain.c:856)
==4340==    by 0x4D42355: g_main_context_dispatch (gmain.c:1985)
==4340==    by 0x4D45FE7: g_main_context_iterate (gmain.c:2591)
==4340==    by 0x4D46526: g_main_loop_run (gmain.c:2799)
==4340==    by 0x469EE18: gtk_main (gtkmain.c:1219)
==4340==    by 0x428FE86: Gtk::Main::run_impl() (main.cc:536)
==4340==    by 0x428FC81: Gtk::Main::run() (main.cc:483)
==4340==    by 0x8104590: GParted::copy_blocks::copy() (Copy_Blocks.cc:187)
==4340==    by 0x80A87AF: GParted::GParted_Core::copy_filesystem(Glib::ustring const&, Glib::ustring const&, long long, long long, long long, long long, long long, GParted::OperationDetail&, bool, long long&, bool) (GParted_Core.cc:2755)
==4340== 
==4340== Syscall param ioctl(arg) contains uninitialised byte(s)
==4340==    at 0x4FF0379: ioctl (syscall-template.S:82)
==4340==    by 0x405840E: ??? (in /lib/libparted.so.0.0.1)
==4340==    by 0x404BAF5: ped_device_close (in /lib/libparted.so.0.0.1)
==4340==    by 0x8104081: GParted::copy_blocks::copy_thread() (Copy_Blocks.cc:144)
==4340==    by 0x49700C1: call_thread_entry_slot (slot.h:440)
==4340==    by 0x4D6C6CE: g_thread_create_proxy (gthread.c:1893)
==4340==    by 0x4F17954: start_thread (pthread_create.c:300)
==4340==    by 0x4FF81DD: clone (clone.S:130)
==4340== 
==4340== Invalid write of size 4
==4340==    at 0x4975DD3: Glib::SignalIdle::connect(sigc::slot<bool, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> const&, int) (main.cc:92)
==4340==    by 0x8104143: GParted::copy_blocks::copy_thread() (Copy_Blocks.cc:156)
==4340==    by 0x49700C1: call_thread_entry_slot (slot.h:440)
==4340==    by 0x4D6C6CE: g_thread_create_proxy (gthread.c:1893)
==4340==    by 0x4F17954: start_thread (pthread_create.c:300)
==4340==    by 0x4FF81DD: clone (clone.S:130)
==4340==  Address 0x61334c8 is 8 bytes inside a block of size 12 free'd
==4340==    at 0x4023881: operator delete(void*) (vg_replace_malloc.c:387)
==4340==    by 0x4974814: (anonymous namespace)::SourceConnectionNode::destroy_notify_callback(void*) (main.cc:85)
==4340==    by 0x4D41913: g_source_callback_unref (gmain.c:1077)
==4340==    by 0x4D41F26: g_source_destroy_internal (gmain.c:856)
==4340==    by 0x4D42355: g_main_context_dispatch (gmain.c:1985)
==4340==    by 0x4D45FE7: g_main_context_iterate (gmain.c:2591)
==4340==    by 0x4D46526: g_main_loop_run (gmain.c:2799)
==4340==    by 0x469EE18: gtk_main (gtkmain.c:1219)
==4340==    by 0x428FE86: Gtk::Main::run_impl() (main.cc:536)
==4340==    by 0x428FC81: Gtk::Main::run() (main.cc:483)
==4340==    by 0x8104590: GParted::copy_blocks::copy() (Copy_Blocks.cc:187)
==4340==    by 0x80A87AF: GParted::GParted_Core::copy_filesystem(Glib::ustring const&, Glib::ustring const&, long long, long long, long long, long long, long long, GParted::OperationDetail&, bool, long long&, bool) (GParted_Core.cc:2755)
==4340== 
==4340== 
==4340== HEAP SUMMARY:
==4340==     in use at exit: 1,458,146 bytes in 15,532 blocks
==4340==   total heap usage: 602,374 allocs, 586,842 frees, 8,745,193,602 bytes allocated
==4340== 
==4340== LEAK SUMMARY:
==4340==    definitely lost: 6,392 bytes in 37 blocks
==4340==    indirectly lost: 23,395 bytes in 827 blocks
==4340==      possibly lost: 994,645 bytes in 7,668 blocks
==4340==    still reachable: 433,714 bytes in 7,000 blocks
==4340==         suppressed: 0 bytes in 0 blocks
==4340== Rerun with --leak-check=full to see details of leaked memory
==4340== 
==4340== For counts of detected and suppressed errors, rerun with: -v
==4340== Use --track-origins=yes to see where uninitialised values come from
==4340== ERROR SUMMARY: 506 errors from 7 contexts (suppressed: 240 from 16)
