View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000253 | ardour | bugs | public | 2004-02-12 09:16 | 2008-11-20 23:36 |
| Reporter | timbyr | Assigned To | paul | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0000253: Creating only one automation point and clicking on it causes crash | ||||
| Description | Creating one automation point in an automation track and clicking on it causes ardour to crash. | ||||
| Additional Information | I've noticed this for quite some time. | ||||
| Tags | No tags attached. | ||||
|
2004-02-12 09:16
|
automation.txt (5,436 bytes)
Ardour/GTK 0.440.0 running with libardour 0.722.1
Loading UI configuration file /usr/local/etc/ardour/ardour_ui.rc
Loading system configuration file /usr/local/etc/ardour/ardour_system.rc
Loading user configuration file /root/.ardour/ardour.rc
MIDI: MTC on port hw:0 MMC on port hw:0
[New Thread 32771 (LWP 12046)]
[New Thread 49156 (LWP 12047)]
Loading session /home/ardour/sndfiletest/ using snapshot sndfiletest
[New Thread 65541 (LWP 12048)]
[New Thread 81926 (LWP 12049)]
** CRITICAL **: file gtk-canvas-util.c: line 46 (gtk_canvas_points_new): assertion `num_points > 1' failed.
** CRITICAL **: file gtk-canvas-util.c: line 83 (gtk_canvas_points_free): assertion `points != NULL' failed.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 12043)]
0x0826033c in AutomationLine::reset_line_coords(ControlPoint&) (this=0x42b79430, cp=@0x42b6c890)
at automation_line.cc:431
431 point_coords->coords[cp.view_index*2] = cp.get_x();
(gdb) thread apply all bt
Thread 7 (Thread 81926 (LWP 12049)):
#0 0x406c381a in poll () from /lib/libc.so.6
#1 0x085800a3 in ARDOUR::Session::midi_thread_work() (this=0x88cf0b0) at session_midi.cc:858
#2 0x0858000b in ARDOUR::Session::_midi_thread_work(void*) (arg=0x88cf0b0) at session_midi.cc:832
#3 0x40287e51 in pthread_start_thread () from /lib/libpthread.so.0
#4 0x40287ecf in pthread_start_thread_event () from /lib/libpthread.so.0
#5 0x406cc64a in clone () from /lib/libc.so.6
Thread 6 (Thread 65541 (LWP 12048)):
#0 0x4028a5f4 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1 0x4028a3b8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2 0x00000020 in ?? ()
Thread 5 (Thread 49156 (LWP 12047)):
#0 0x406c381a in poll () from /lib/libc.so.6
#1 0x40279ffd in jack_client_thread (arg=0x8765118) at client.c:807
#2 0x40287e51 in pthread_start_thread () from /lib/libpthread.so.0
#3 0x40287ecf in pthread_start_thread_event () from /lib/libpthread.so.0
#4 0x406cc64a in clone () from /lib/libc.so.6
Thread 4 (Thread 32771 (LWP 12046)):
#0 0x4028a5f4 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1 0x4028a3b8 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2 0x00000020 in ?? ()
Thread 3 (Thread 16386 (LWP 12045)):
#0 0x4061e65b in sigsuspend () from /lib/libc.so.6
#1 0x4028a9d7 in sigwait () from /lib/libpthread.so.0
#2 0x08357ef4 in signal_thread (arg=0x0) at main.cc:118
#3 0x40287e51 in pthread_start_thread () from /lib/libpthread.so.0
#4 0x40287ecf in pthread_start_thread_event () from /lib/libpthread.so.0
#5 0x406cc64a in clone () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
Thread 2 (Thread 32769 (LWP 12044)):
#0 0x406c381a in poll () from /lib/libc.so.6
#1 0x40287b50 in __pthread_manager () from /lib/libpthread.so.0
#2 0x40287d57 in __pthread_manager_event () from /lib/libpthread.so.0
#3 0x406cc64a in clone () from /lib/libc.so.6
Thread 1 (Thread 16384 (LWP 12043)):
#0 0x0826033c in AutomationLine::reset_line_coords(ControlPoint&) (this=0x42b79430, cp=@0x42b6c890)
at automation_line.cc:431
#1 0x08260265 in AutomationLine::modify_view_point(ControlPoint&, double, double, bool) (this=0x42b79430,
cp=@0x42b6c890, x=38, y=28.999999791383743, with_push=true) at automation_line.cc:410
#2 0x0825ff7c in AutomationLine::modify_view(ControlPoint&, double, double, bool) (this=0x42b79430,
cp=@0x42b6c890, x=5619136, y=0.43137255311012268, with_push=true) at automation_line.cc:320
#3 0x082614b8 in AutomationLine::point_drag(ControlPoint&, unsigned, float, bool) (this=0x42b79430,
cp=@0x42b6c890, x=5619136, fraction=0.431372553, with_push=true) at automation_line.cc:862
#4 0x082d0155 in Editor::control_point_drag_motion_callback(_GtkCanvasItem*, _GdkEvent*) (this=0x87ef350,
item=0x42b5be20, event=0xbffff3c0) at editor_mouse.cc:1773
#5 0x082d01ed in Editor::control_point_drag_finished_callback(_GtkCanvasItem*, _GdkEvent*) (this=0x87ef350,
item=0x42b5be20, event=0xbffff3c0) at editor_mouse.cc:1782
#6 0x082ce982 in Editor::end_grab(_GtkCanvasItem*, _GdkEvent*) (this=0x87ef350, item=0x42b5be20,
event=0xbffff3c0) at editor_mouse.cc:1325
#7 0x082cd519 in Editor::button_release_handler(_GtkCanvasItem*, _GdkEvent*, Editor::ItemType) (
this=0x87ef350, item=0x42b5be20, event=0xbffff3c0, item_type=GainAutomationControlPointItem)
at editor_mouse.cc:814
#8 0x082b9f54 in Editor::typed_event(_GtkCanvasItem*, _GdkEvent*, Editor::ItemType) (this=0x87ef350,
item=0x42b5be20, event=0xbffff3c0, type=GainAutomationControlPointItem) at editor_canvas_events.cc:266
#9 0x082ba57b in Editor::canvas_control_point_event(_GtkCanvasItem*, _GdkEvent*) (this=0x87ef350,
item=0x42b5be20, event=0xbffff3c0) at editor_canvas_events.cc:449
#10 0x082b9a0b in Editor::_canvas_control_point_event(_GtkCanvasItem*, _GdkEvent*, void*) (this=0x87ef350,
item=0x42b5be20, event=0xbffff3c0, data=0x42b6c890) at editor_canvas_events.cc:113
#11 0x083b5949 in PublicEditor::canvas_control_point_event(_GtkCanvasItem*, _GdkEvent*, void*) (
item=0x42b5be20, event=0xbffff3c0, data=0x42b6c890) at public_editor.cc:62
#12 0x0845e656 in gtk_canvas_item_marshal_signal_1 (object=0x0,
func=0x83b5918 <PublicEditor::canvas_control_point_event(_GtkCanvasItem*, _GdkEvent*, void*)>,
---Type <return> to continue, or q <return> to quit---
func_data=0x0, args=0x0) at gtk-canvas.c:542
|
|
|
fixed in paul's code 2/15. we were trying to update line coordinates when the data structure for the line didn't exist (yet). |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-02-12 09:16 | timbyr | New Issue | |
| 2004-02-12 09:16 | timbyr | File Added: automation.txt | |
| 2004-02-13 21:08 | paul | Status | new => assigned |
| 2004-02-13 21:08 | paul | Assigned To | => paul |
| 2004-02-16 04:13 | paul | Status | assigned => resolved |
| 2004-02-16 04:13 | paul | Resolution | open => fixed |
| 2004-02-16 04:13 | paul | Note Added: 0000437 | |
| 2008-11-20 23:36 | seablade | Status | resolved => closed |