Project

General

Profile

Bug #1616

Zrythm crashes on create new project from Project menu

Added by Andrzej Kilijański 9 days ago. Updated 4 days ago.

Status:
Closed
Priority:
Normal
Category:
Saving/Loading
Target version:
Start date:
05/13/2020
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)

Description

Steps to reproduce

  1. Start Zrythm
  2. Create new project
  3. Go to Project menu
  4. Click on New icon
  5. "Any unsaved changes will be lost, Continue?" -> click Yes
  6. In Select Project window, check New Project
  7. Click Apply
  8. Sometimes crash in this moment, sometimes you need enter new project name and click OK.

What happens?

Crash.

What is expected?

Create new project

Version

Zrythm 0.8.535-65-gf6f92e02 (debugoptimized)
built with gcc 7.5.0
+jack

Other info

Linux mint

Backtrace

Error: Naruszenie ochrony pamięci - Backtrace:
/usr/local/bin/zrythm(+0x4ab09) [0x555a8dc3db09]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fc468f3bf20]
/usr/local/bin/zrythm(channel_get_balance_control+0x9) [0x555a8dc4e209]
/usr/local/bin/zrythm(+0x1128ff) [0x555a8dd058ff]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x2318f7) [0x7fc46cb8a8f7]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x376f8b) [0x7fc46cccff8b]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x10346) [0x7fc46b6e5346]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x72d) [0x7fc46b7003cd]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x8f) [0x7fc46b70112f]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x383ada) [0x7fc46ccdcada]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16a4b2) [0x7fc46cac34b2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x11dcf4) [0x7fc46ca76cf4]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x120601) [0x7fc46ca79601]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16a4b2) [0x7fc46cac34b2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1ecfc4) [0x7fc46cb45fc4]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1ee031) [0x7fc46cb47031]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16a4b2) [0x7fc46cac34b2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x11dcf4) [0x7fc46ca76cf4]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x120601) [0x7fc46ca79601]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16a4b2) [0x7fc46cac34b2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x2adfd7) [0x7fc46cc06fd7]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16a4b2) [0x7fc46cac34b2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x11dcf4) [0x7fc46ca76cf4]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x120601) [0x7fc46ca79601]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16a4b2) [0x7fc46cac34b2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x11dcf4) [0x7fc46ca76cf4]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x120601) [0x7fc46ca79601]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16a4b2) [0x7fc46cac34b2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x11dcf4) [0x7fc46ca76cf4]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x120601) [0x7fc46ca79601]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16a4b2) [0x7fc46cac34b2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x28c2df) [0x7fc46cbe52df]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x374a1f) [0x7fc46cccda1f]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x37573d) [0x7fc46ccce73d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16a4b2) [0x7fc46cac34b2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x2b9b9b) [0x7fc46cc12b9b]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x2b7e91) [0x7fc46cc10e91]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x25c7e2) [0x7fc46cbb57e2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x121ddc) [0x7fc46ca7addc]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x25efcc) [0x7fc46cbb7fcc]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16a4b2) [0x7fc46cac34b2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x11dcf4) [0x7fc46ca76cf4]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x120601) [0x7fc46ca79601]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x26b8b0) [0x7fc46cbc48b0]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x26b6c1) [0x7fc46cbc46c1]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16a4b2) [0x7fc46cac34b2]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x11dcf4) [0x7fc46ca76cf4]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x16f40d) [0x7fc46cac840d]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x174063) [0x7fc46cacd063]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x120601) [0x7fc46ca79601]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3838db) [0x7fc46ccdc8db]
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_container_propagate_draw+0x1ea) [0x7fc46cac33ca]

Log

** (zrythm:14059): WARNING **: 20:05:34.138: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.155: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.172: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.188: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.205: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.222: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.238: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.255: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.272: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.288: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.305: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.322: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.338: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.355: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.372: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.388: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.405: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.423: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.438: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.455: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.472: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.488: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.505: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.522: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.538: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.555: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.572: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.588: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.605: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)

** (zrythm:14059): WARNING **: 20:05:34.622: (../src/gui/widgets/fader_controls_grid.c:54):update_meter_reading: runtime check failed: (channel)
backtrace.txt (18.1 KB) backtrace.txt Andrzej Kilijański, 06/30/2020 07:25 PM

Subtasks

Bug #1517: created a new project. then from that project I create a new project -> crashRejected

History

#1 Updated by Alexandros Theodotou 9 days ago

  • Category set to Saving/Loading
  • Target version set to 1.0.0

#2 Updated by Andrzej Kilijański 5 days ago

Still crashes gdb says:

Thread 1 "zrythm" received signal SIGSEGV, Segmentation fault.
0x00005555555b2959 in channel_get_balance_control (_channel=0x555558025e50)
at ../src/audio/channel.c:1348
1348 port_get_control_value (

Backtrace in attachment. Strange is that it asking for project name two times. After first question new project is loaded. After second question -> crash.

#3 Updated by Alexandros Theodotou 4 days ago

  • Status changed from New to In Progress
  • Assignee set to Alexandros Theodotou

#4 Updated by Alexandros Theodotou 4 days ago

  • Status changed from In Progress to Closed

fixed with 1bb015c711c2d1e875113c622e7b12cad4d979b9

seems to work here but im not too confident about it, more testing welcome

#5 Updated by Andrzej Kilijański 4 days ago

Alexandros Theodotou wrote:

fixed with 1bb015c711c2d1e875113c622e7b12cad4d979b9

seems to work here but im not too confident about it, more testing welcome

Not crashing now so it's a lot better. I think project select window should not be showed.

Now when you click on New project, first you need click Cancel to close "Project select window". After that "Create project" window appears and works good.

But if you click 'Apply' on "Project select window" then you will create first new project and after that next create project window appears.

Also available in: Atom PDF