View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002805 | ardour | bugs | public | 2009-08-01 01:32 | 2020-04-19 20:14 |
| Reporter | drmoore | Assigned To | paul | ||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Target Version | 3.0-beta1 | ||||
| Summary | 0002805: session gui fails to initialise properly and causes segfault | ||||
| Description | Seemingly caused when the editor tries to change mouse cursor. segfault from here: 0000001 0x083e54fa in Editor::leave_handler (this=0x93fe4f8, item=0x98c3c70, item_type=MarkerBarItem) at ../gtk2_ardour/editor_mouse.cc:1594 | ||||
| Additional Information | Possible patch attached. Very limited testing. | ||||
| Tags | No tags attached. | ||||
|
2009-08-01 01:32
|
fix_cursors.patch (1,188 bytes)
Index: editor_mouse.cc
===================================================================
--- editor_mouse.cc (revision 5448)
+++ editor_mouse.cc (working copy)
@@ -1591,7 +1591,12 @@
case TempoBarItem:
case MarkerBarItem:
if (is_drawable()) {
- track_canvas->get_window()->set_cursor (*current_canvas_cursor);
+ //std::cout << track_canvas << " " << current_canvas_cursor << std::endl;
+ if(current_canvas_cursor){
+ track_canvas->get_window()->set_cursor (*current_canvas_cursor);
+ } else {
+ std::cout << "current_canvas_cursor null" <<std::endl;
+ }
}
break;
Index: editor.cc
===================================================================
--- editor.cc (revision 5448)
+++ editor.cc (working copy)
@@ -361,6 +361,7 @@
_edit_point = EditAtMouse;
_internal_editing = false;
current_canvas_cursor = 0;
+
frames_per_unit = 2048; /* too early to use reset_zoom () */
reset_hscrollbar_stepping ();
@@ -470,6 +471,9 @@
edit_hscrollbar.set_name ("EditorHScrollbar");
build_cursors ();
+ // since cursors have now been built set the current
+ current_canvas_cursor = selector_cursor;
+
setup_toolbar ();
setup_midi_toolbar ();
|
|
|
Assigned to paul to take a look at the patch. |
|
|
I'm pretty sure the issues that this patch fixes have been resolved. Please re-open this bug if not. |
|
|
Issue has been closed automatically, by Trigger Close Plugin. Feel free to re-open with additional information if you think the issue is not resolved. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2009-08-01 01:32 | drmoore | New Issue | |
| 2009-08-01 01:32 | drmoore | File Added: fix_cursors.patch | |
| 2009-08-01 01:36 | seablade | Status | new => assigned |
| 2009-08-01 01:36 | seablade | Assigned To | => paul |
| 2009-08-01 01:37 | seablade | Note Added: 0006477 | |
| 2010-04-24 10:28 | cth103 | Category | bugs => bugs2 |
| 2010-04-24 10:31 | cth103 | Category | bugs2 => bugs |
| 2010-07-21 15:30 | cth103 | cost | => 0.00 |
| 2010-07-21 15:30 | cth103 | Target Version | => 3.0-beta1 |
| 2010-07-25 23:25 | cth103 | Note Added: 0008643 | |
| 2010-07-25 23:25 | cth103 | Status | assigned => resolved |
| 2010-07-25 23:25 | cth103 | Resolution | open => fixed |
| 2020-04-19 20:14 | system | Note Added: 0021966 | |
| 2020-04-19 20:14 | system | Status | resolved => closed |