GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/dave/ardour3/ardour3/build/gtk2_ardour/ardour-3.0...done. (gdb) break Note.cpp:80 No source file named Note.cpp. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (Note.cpp:80) pending. (gdb) run Starting program: /home/dave/ardour3/ardour3/build/gtk2_ardour/ardour-3.0 [Thread debugging using libthread_db enabled] error: /usr/lib/lv2/units.lv2/units.ttl:100:5: expected `.', not `^' Ardour3.0beta1a (built using ['11128'] and GCC version 4.4.3) Cannot xinstall SIGPIPE error handler ardour: [INFO]: Loading default ui configuration file gtk2_ardour/../gtk2_ardour/ardour3_ui_default.conf Loading user ui configuration file /home/dave/.config/ardour3/ardour3_ui.conf ardour: [INFO]: Loading ui configuration file gtk2_ardour/../build/gtk2_ardour/ardour3_ui_dark.rc ardour: [INFO]: Ardour will be limited to 1024 open files [New Thread 0xb3d6db70 (LWP 5581)] ardour: [INFO]: Loading system configuration file /usr/local/etc/ardour3/ardour_system.rc Loading user configuration file /home/dave/.config/ardour3/ardour.rc Using SSE optimized routines [New Thread 0xb356cb70 (LWP 5582)] [New Thread 0xb2d6bb70 (LWP 5583)] [New Thread 0xb256ab70 (LWP 5584)] ardour: [INFO]: looking for panners in /home/dave/.config/ardour3/panners:/usr/local/lib/ardour3/panners:gtk2_ardour/../build/libs/panners/2in2out:gtk2_ardour/../build/libs/panners/1in2out:gtk2_ardour/../build/libs/panners/vbap ardour: [INFO]: Panner discovered: "Mono to Stereo Panner" in /usr/local/lib/ardour3/panners/libpan1in2out.so ardour: [INFO]: Panner discovered: "Equal Power Stereo" in /usr/local/lib/ardour3/panners/libpan2in2out.so ardour: [INFO]: Panner discovered: "VBAP 2D panner" in /usr/local/lib/ardour3/panners/libpanvbap.so [New Thread 0x9d65cb70 (LWP 5585)] [New Thread 0x9ce5bb70 (LWP 5586)] [New Thread 0x9c65ab70 (LWP 5587)] [New Thread 0x9be59b70 (LWP 5588)] [New Thread 0x9bdd8b70 (LWP 5589)] [Thread 0x9bdd8b70 (LWP 5589) exited] [Thread 0x9be59b70 (LWP 5588) exited] [Thread 0x9ce5bb70 (LWP 5586) exited] [Thread 0x9d65cb70 (LWP 5585) exited] [New Thread 0x9be59b70 (LWP 5590)] [New Thread 0x9bdd8b70 (LWP 5591)] LV2: Discovering 190 plugins Failed to expand qname `foaf:name' Attempt to add quad with NULL field. Failed to expand qname `foaf:homepage' Attempt to add quad with NULL field. Failed to expand qname `foaf:mbox' Attempt to add quad with NULL field. Done LV2 discovery [Thread 0x9c65ab70 (LWP 5587) exited] [New Thread 0x9a0b9b70 (LWP 5592)] [New Thread 0x9848fc90 (LWP 5593)] [New Thread 0x9c65ab70 (LWP 5594)] [New Thread 0x9839fc90 (LWP 5595)] [New Thread 0x9d65cb70 (LWP 5596)] [Thread 0x9d65cb70 (LWP 5596) exited] Breakpoint 1, Note (this=0x8ec76ec8, copy=...) at ../libs/evoral/src/Note.cpp:80 80 assert(length() == copy.length()); (gdb) list 75 if (length() != copy.length()) 76 { 77 buffer = (char *)std::malloc(1000); 78 std::sprintf(buffer, "%e %f", length() - copy.length(), length() - copy.length()); 79 } 80 assert(length() == copy.length()); 81 assert(_on_event.channel() == _off_event.channel()); 82 assert(channel() == copy.channel()); 83 } 84 (gdb) print buffer $1 = 0x8ec85a70 "8.881784e-16 0.000000" ----------------------------------------- disassembled output 75 if (length() != copy.length()) 0xb6800695 <+525>: mov 0x8(%ebp),%eax 0xb6800698 <+528>: mov %eax,(%esp) 0xb680069b <+531>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt> 0xb68006a0 <+536>: fstpl -0x50(%ebp) 0xb68006a3 <+539>: mov 0xc(%ebp),%eax 0xb68006a6 <+542>: mov %eax,(%esp) 0xb68006a9 <+545>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt> 0xb68006ae <+550>: fldl -0x50(%ebp) 0xb68006b1 <+553>: fucomip %st(1),%st 0xb68006b3 <+555>: fstp %st(0) 0xb68006b5 <+557>: setne %al 0xb68006b8 <+560>: setp %dl 0xb68006bb <+563>: or %edx,%eax 0xb68006bd <+565>: test %al,%al 0xb68006bf <+567>: je 0xb680072d 76 { 77 buffer = (char *)std::malloc(1000); 0xb68006c1 <+569>: movl $0x3e8,(%esp) 0xb68006c8 <+576>: call 0xb67d2da4 0xb68006cd <+581>: mov %eax,-0x1c(%ebp) 78 std::sprintf(buffer, "%e %f", length() - copy.length(), length() - copy.length()); 0xb68006d0 <+584>: mov 0x8(%ebp),%eax 0xb68006d3 <+587>: mov %eax,(%esp) 0xb68006d6 <+590>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt> 0xb68006db <+595>: fstpl -0x48(%ebp) 0xb68006de <+598>: mov 0xc(%ebp),%eax 0xb68006e1 <+601>: mov %eax,(%esp) 0xb68006e4 <+604>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt> 0xb68006e9 <+609>: fldl -0x48(%ebp) 0xb68006ec <+612>: fsubp %st,%st(1) 0xb68006ee <+614>: fstpl -0x40(%ebp) 0xb68006f1 <+617>: mov 0x8(%ebp),%eax 0xb68006f4 <+620>: mov %eax,(%esp) 0xb68006f7 <+623>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt> ---Type to continue, or q to quit--- 0xb68006fc <+628>: fstpl -0x38(%ebp) 0xb68006ff <+631>: mov 0xc(%ebp),%eax 0xb6800702 <+634>: mov %eax,(%esp) 0xb6800705 <+637>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt> 0xb680070a <+642>: fsubrl -0x38(%ebp) 0xb680070d <+645>: fldl -0x40(%ebp) 0xb6800710 <+648>: fstpl 0x10(%esp) 0xb6800714 <+652>: fstpl 0x8(%esp) 0xb6800718 <+656>: lea -0x21413(%ebx),%eax 0xb680071e <+662>: mov %eax,0x4(%esp) 0xb6800722 <+666>: mov -0x1c(%ebp),%eax 0xb6800725 <+669>: mov %eax,(%esp) 0xb6800728 <+672>: call 0xb67d3634 79 } 80 assert(length() == copy.length()); => 0xb680072d <+677>: mov 0x8(%ebp),%eax 0xb6800730 <+680>: mov %eax,(%esp) 0xb6800733 <+683>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt> 0xb6800738 <+688>: fstpl -0x30(%ebp) 0xb680073b <+691>: mov 0xc(%ebp),%eax 0xb680073e <+694>: mov %eax,(%esp) 0xb6800741 <+697>: call 0xb67d2324 <_ZNK6Evoral4NoteIdE6lengthEv@plt> 0xb6800746 <+702>: fldl -0x30(%ebp) 0xb6800749 <+705>: fucomip %st(1),%st 0xb680074b <+707>: fstp %st(0) 0xb680074d <+709>: jne 0xb680076e 0xb680074f <+711>: jp 0xb680076e 0xb680076e <+742>: lea -0x211f4(%ebx),%eax 0xb6800774 <+748>: mov %eax,0xc(%esp) 0xb6800778 <+752>: movl $0x50,0x8(%esp) 0xb6800780 <+760>: lea -0x21554(%ebx),%eax 0xb6800786 <+766>: mov %eax,0x4(%esp) 0xb680078a <+770>: lea -0x2140d(%ebx),%eax 0xb6800790 <+776>: mov %eax,(%esp) 0xb6800793 <+779>: call 0xb67d9da4 <__assert_fail@plt>