[FIXED] 0.8.0 midi-fader causes crashes sometimes (ubuntu)

Errors, malfunctions, website typos.
Post Reply
danh
F5 - Eucalyptus
Posts: 7
Joined: Tue Jan 22, 2013 8:32 pm

[FIXED] 0.8.0 midi-fader causes crashes sometimes (ubuntu)

Post by danh » Fri Nov 15, 2013 10:58 pm

Hello,
I really like the new midi input feature but unfortunately it crashes sometimes in my ubuntu environment (I use a bit old fashioned ubuntu studio distribution because I also use a soundcart that makes problems with newer kernel versions).

Background: I use a korg nanoKontrol2 and a nanoPad2, I connected both with the jack midi through port that is connected to giada.
I was able to reproduce the crash when I loaded a sample to the channel first, then assign a pad to the "key-press" event of that channel and later on assign a fader to the volumen event.
Giada then (often, not always!) crashes if I move the volume fader several times up and down.
When running without superuser rights it says "memory acces violation" in the terminal and giada closes.

I run giada with superuser rights then and I thought it might be helpful to post the terminal output here:

Code: Select all

[KM] MIDI received - 0xB9005700 (chan 9) >>>  volume ch=0 (pure=0xB9000000, value=87, float=0.685039)
*** glibc detected *** giada_lin: double free or corruption (!prev): 0x08a68a38 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x721a2)[0xa601a2]
/lib/i386-linux-gnu/libc.so.6(+0x72e42)[0xa60e42]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0xa63f2d]
/usr/lib/i386-linux-gnu/libX11.so.6(+0x2fd18)[0x33cd18]
/usr/lib/i386-linux-gnu/libX11.so.6(XUnionRegion+0xb6)[0x33d426]
/usr/lib/i386-linux-gnu/libX11.so.6(XUnionRectWithRegion+0xa3)[0x33d823]
giada_lin[0x808b9b6]
giada_lin[0x808ba4a]
giada_lin[0x80a609e]
giada_lin[0x80a5cc5]
giada_lin[0x80888fd]
giada_lin(alsaMidiHandler+0x4e2)[0x80d4a02]
/lib/i386-linux-gnu/libpthread.so.0(+0x6d31)[0x509d31]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xac587e]
======= Memory map: ========
00110000-0011f000 r-xp 00000000 08:05 4607145    /usr/lib/libXpm.so.4.11.0
0011f000-00120000 r-xp 0000e000 08:05 4607145    /usr/lib/libXpm.so.4.11.0
00120000-00121000 rwxp 0000f000 08:05 4607145    /usr/lib/libXpm.so.4.11.0
00121000-00124000 r-xp 00000000 08:05 662600     /lib/i386-linux-gnu/libdl-2.13.so
00124000-00125000 r-xp 00002000 08:05 662600     /lib/i386-linux-gnu/libdl-2.13.so
00125000-00126000 rwxp 00003000 08:05 662600     /lib/i386-linux-gnu/libdl-2.13.so
00126000-00290000 r-xp 00000000 08:05 4608053    /usr/lib/i386-linux-gnu/libsamplerate.so.0.1.7
00290000-00291000 r-xp 00169000 08:05 4608053    /usr/lib/i386-linux-gnu/libsamplerate.so.0.1.7
00291000-00292000 rwxp 0016a000 08:05 4608053    /usr/lib/i386-linux-gnu/libsamplerate.so.0.1.7
00292000-00293000 rwxp 00000000 00:00 0
00293000-002af000 r-xp 00000000 08:05 656684     /lib/i386-linux-gnu/libgcc_s.so.1
002af000-002b0000 r-xp 0001b000 08:05 656684     /lib/i386-linux-gnu/libgcc_s.so.1
002b0000-002b1000 rwxp 0001c000 08:05 656684     /lib/i386-linux-gnu/libgcc_s.so.1
002b1000-002b7000 r-xp 00000000 08:05 4608001    /usr/lib/i386-linux-gnu/libogg.so.0.7.1
002b7000-002b8000 r-xp 00005000 08:05 4608001    /usr/lib/i386-linux-gnu/libogg.so.0.7.1
002b8000-002b9000 rwxp 00006000 08:05 4608001    /usr/lib/i386-linux-gnu/libogg.so.0.7.1
002b9000-002ba000 rwxp 00000000 00:00 0
002ba000-002bc000 r-xp 00000000 08:05 4606942    /usr/lib/i386-linux-gnu/libXau.so.6.0.0
002bc000-002bd000 r-xp 00001000 08:05 4606942    /usr/lib/i386-linux-gnu/libXau.so.6.0.0
002bd000-002be000 rwxp 00002000 08:05 4606942    /usr/lib/i386-linux-gnu/libXau.so.6.0.0
002be000-0030a000 r-xp 00000000 08:05 4597707    /usr/lib/i386-linux-gnu/libpulse.so.0.13.4
0030a000-0030b000 r-xp 0004b000 08:05 4597707    /usr/lib/i386-linux-gnu/libpulse.so.0.13.4
0030b000-0030c000 rwxp 0004c000 08:05 4597707    /usr/lib/i386-linux-gnu/libpulse.so.0.13.4
0030c000-0030d000 rwxp 00000000 00:00 0
0030d000-0043e000 r-xp 00000000 08:05 4606951    /usr/lib/i386-linux-gnu/libX11.so.6.3.0
0043e000-0043f000 ---p 00131000 08:05 4606951    /usr/lib/i386-linux-gnu/libX11.so.6.3.0
0043f000-00440000 r-xp 00131000 08:05 4606951    /usr/lib/i386-linux-gnu/libX11.so.6.3.0
00440000-00442000 rwxp 00132000 08:05 4606951    /usr/lib/i386-linux-gnu/libX11.so.6.3.0
00442000-00443000 rwxp 00000000 00:00 0
00443000-00475000 r-xp 00000000 08:05 4606938    /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4
00475000-00476000 ---p 00032000 08:05 4606938    /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4
00476000-00477000 r-xp 00032000 08:05 4606938    /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4
00477000-00478000 rwxp 00033000 08:05 4606938    /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4
00478000-004c4000 r-xp 00000000 08:05 4608003    /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
004c4000-004c5000 r-xp 0004b000 08:05 4608003    /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
004c5000-004c6000 rwxp 0004c000 08:05 4608003    /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
004c6000-004cc000 r-xp 00000000 08:05 4608033    /usr/lib/i386-linux-gnu/libjson.so.0.0.1
004cc000-004cd000 r-xp 00005000 08:05 4608033    /usr/lib/i386-linux-gnu/libjson.so.0.0.1
004cd000-004ce000 rwxp 00006000 08:05 4608033    /usr/lib/i386-linux-gnu/libjson.so.0.0.1
004ce000-004cf000 rwxp 00000000 00:00 0
004cf000-004e2000 r-xp 00000000 08:05 4608017    /usr/lib/i386-linux-gnu/libjack.so.0.0.28
004e2000-004e3000 r-xp 00012000 08:05 4608017    /usr/lib/i386-linux-gnu/libjack.so.0.0.28
004e3000-004e4000 rwxp 00013000 08:05 4608017    /usr/lib/i386-linux-gnu/libjack.so.0.0.28
004e4000-004ed000 rwxp 00000000 00:00 0
004ed000-004f6000 r-xp 00000000 08:05 4606957    /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
004f6000-004f7000 r-xp 00008000 08:05 4606957    /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
004f7000-004f8000 rwxp 00009000 08:05 4606957    /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
004f8000-004fd000 r-xp 00000000 08:05 4606944    /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
004fd000-004fe000 r-xp 00004000 08:05 4606944    /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
004fe000-004ff000 rwxp 00005000 08:05 4606944    /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
004ff000-00501000 rwxp 00000000 00:00 0
00501000-00502000 r-xs 80000000 00:05 6908       /dev/snd/pcmC0D0p
00502000-00503000 r-xs 80000000 00:05 6909       /dev/snd/pcmC0D0c
00503000-0051a000 r-xp 00000000 08:05 662598     /lib/i386-linux-gnu/libpthread-2.13.so
0051a000-0051b000 r-xp 00016000 08:05 662598     /lib/i386-linux-gnu/libpthread-2.13.so
0051b000-0051c000 rwxp 00017000 08:05 662598     /lib/i386-linux-gnu/libpthread-2.13.so
0051c000-0051e000 rwxp 00000000 00:00 0
0051e000-00544000 r-xp 00000000 08:05 664777     /lib/i386-linux-gnu/libexpat.so.1.5.2
00544000-00546000 r-xp 00026000 08:05 664777     /lib/i386-linux-gnu/libexpat.so.1.5.2
00546000-00547000 rwxp 00028000 08:05 664777     /lib/i386-linux-gnu/libexpat.so.1.5.2
00547000-0054f000 r-xp 00000000 08:05 660610     /lib/i386-linux-gnu/libwrap.so.0.7.6
0054f000-00550000 r-xp 00007000 08:05 660610     /lib/i386-linux-gnu/libwrap.so.0.7.6
00550000-00551000 rwxp 00008000 08:05 660610     /lib/i386-linux-gnu/libwrap.so.0.7.6
00551000-00552000 rwxs 81000000 00:05 6909       /dev/snd/pcmC0D0c
00552000-00553000 r-xs 00000000 08:05 1052790    /var/cache/fontconfig/0d8c3b2ac0904cb8a57a757ad11a4a08-le32d4.cache-3
00553000-00554000 r-xs 00000000 08:05 1052791    /var/cache/fontconfig/4c73fe0c47614734b17d736dbde7580a-le32d4.cache-3
00554000-00555000 rwxp 00000000 00:00 0
00555000-0055a000 r-xp 00000000 08:05 4607919    /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
0055a000-0055b000 r-xp 00004000 08:05 4607919    /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
0055b000-0055c000 rwxp 00005000 08:05 4607919    /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
0055c000-00560000 r-xp 00000000 08:05 4607863    /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
00560000-00561000 r-xp 00003000 08:05 4607863    /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
00561000-00562000 rwxp 00004000 08:05 4607863    /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
00562000-00576000 r-xp 00000000 08:05 4607818    /usr/lib/i386-linux-gnu/libXft.so.2.2.0
00576000-00577000 r-xp 00013000 08:05 4607818    /usr/lib/i386-linux-gnu/libXft.so.2.2.0
00577000-00578000 rwxp 00014000 08:05 4607818    /usr/lib/i386-linux-gnu/libXft.so.2.2.0
00578000-005bf000 r-xp 00000000 08:05 663797     /lib/i386-linux-gnu/libdbus-1.so.3.5.7
005bf000-005c0000 r-xp 00046000 08:05 663797     /lib/i386-linux-gnu/libdbus-1.so.3.5.7
005c0000-005c1000 rwxp 00047000 08:05 663797     /lib/i386-linux-gnu/libdbus-1.so.3.5.7
005c1000-005c8000 r-xs 00000000 08:05 4598868    /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
005c8000-005cd000 r-xp 00000000 08:05 4733885    /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
005cd000-005ce000 r-xp 00004000 08:05 4733885    /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
005ce000-005cf000 rwxp 00005000 08:05 4733885    /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
005cf000-005d7000 r-xs 00000000 08:05 1061603    /var/cache/fontconfig/e13b20fdb08344e0e664864cc2ede53d-le32d4.cache-3
005d7000-005e4000 r-xs 00000000 08:05 1052776    /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-le32d4.cache-3
005e4000-006c2000 r-xp 00000000 08:05 4601305    /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
006c2000-006c3000 ---p 000de000 08:05 4601305    /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
006c3000-006c7000 r-xp 000de000 08:05 4601305    /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
006c7000-006c8000 rwxp 000e2000 08:05 4601305    /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
006c8000-006cf000 rwxp 00000000 00:00 0
006cf000-006d6000 r-xp 00000000 08:05 4607120    /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0
006d6000-006d7000 r-xp 00006000 08:05 4607120    /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0
006d7000-006d8000 rwxp 00007000 08:05 4607120    /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0
006d8000-006d9000 r-xs 00000000 08:05 1061604    /var/cache/fontconfig/e3fa16a14183b06aa45b3e009278fd14-le32d4.cache-3
006d9000-006da000 r-xs 00000000 08:05 1059254    /var/cache/fontconfig/c05880de57d1f5e948fdfacc138775d9-le32d4.cache-3
006da000-006dd000 r-xp 00000000 08:05 4597708    /usr/lib/i386-linux-gnu/libpulse-simple.so.0.0.3
006dd000-006de000 r-xp 00002000 08:05 4597708    /usr/lib/i386-linux-gnu/libpulse-simple.so.0.0.3
006de000-006df000 rwxp 00003000 08:05 4597708    /usr/lib/i386-linux-gnu/libpulse-simple.so.0.0.3
006df000-00771000 r-xp 00000000 08:05 4597898    /usr/lib/i386-linux-gnu/libfreetype.so.6.6.2
00771000-00775000 r-xp 00091000 08:05 4597898    /usr/lib/i386-linux-gnu/libfreetype.so.6.6.2
00775000-00776000 rwxp 00095000 08:05 4597898    /usr/lib/i386-linux-gnu/libfreetype.so.6.6.2
00776000-00789000 r-xp 00000000 08:05 656868     /lib/i386-linux-gnu/libz.so.1.2.3.4
00789000-0078a000 r-xp 00012000 08:05 656868     /lib/i386-linux-gnu/libz.so.1.2.3.4
0078a000-0078b000 rwxp 00013000 08:05 656868     /lib/i386-linux-gnu/libz.so.1.2.3.4
0078b000-007a0000 r-xp 00000000 08:05 662589     /lib/i386-linux-gnu/libnsl-2.13.so
007a0000-007a1000 r-xp 00015000 08:05 662589     /lib/i386-linux-gnu/libnsl-2.13.so
007a1000-007a2000 rwxp 00016000 08:05 662589     /lib/i386-linux-gnu/libnsl-2.13.so
007a2000-007a4000 rwxp 00000000 00:00 0
007a4000-007b7000 r-xp 00000000 08:05 656866     /lib/i386-linux-gnu/libresolv-2.13.so
007b7000-007b8000 r-xp 00012000 08:05 656866     /lib/i386-linux-gnu/libresolv-2.13.so
007b8000-007b9000 rwxp 00013000 08:05 656866     /lib/i386-linux-gnu/libresolv-2.13.so
007b9000-007bb000 rwxp 00000000 00:00 0
007bb000-007c4000 r-xp 00000000 08:05 4607865    /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
007c4000-007c5000 r-xp 00008000 08:05 4607865    /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
007c5000-007c6000 rwxp 00009000 08:05 4607865    /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
007c6000-007ca000 r-xs 00000000 08:05 1052788    /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-le32d4.cache-3
007ca000-007ce000 r-xs 00000000 08:05 1052792    /var/cache/fontconfig/6eb3985aa4124903f6ff08ba781cd364-le32d4.cache-3
007cf000-007e0000 r-xp 00000000 08:05 4607102    /usr/lib/i386-linux-gnu/libXext.so.6.4.0
007e0000-007e1000 r-xp 00010000 08:05 4607102    /usr/lib/i386-linux-gnu/libXext.so.6.4.0
007e1000-007e2000 rwxp 00011000 08:05 4607102    /usr/lib/i386-linux-gnu/libXext.so.6.4.0
007e2000-00845000 r-xp 00000000 08:05 4597709    /usr/lib/i386-linux-gnu/libpulsecommon-1.0.so
00845000-00846000 r-xp 00062000 08:05 4597709    /usr/lib/i386-linux-gnu/libpulsecommon-1.0.so
00846000-00847000 rwxp 00063000 08:05 4597709    /usr/lib/i386-linux-gnu/libpulsecommon-1.0.so
00847000-00852000 r-xs 00000000 08:05 1052786    /var/cache/fontconfig/0f34bcd4b6ee430af32735b75db7f02b-le32d4.cache-3
00852000-00854000 r-xs 00000000 08:05 1061605    /var/cache/fontconfig/ea47318ec9849e1a71e80a5d69d13859-le32d4.cache-3
00855000-008c0000 r-xp 00000000 08:05 4608040    /usr/lib/i386-linux-gnu/libsndfile.so.1.0.24
008c0000-008c1000 r-xp 0006b000 08:05 4608040    /usr/lib/i386-linux-gnu/libsndfile.so.1.0.24
008c1000-008c2000 rwxp 0006c000 08:05 4608040    /usr/lib/i386-linux-gnu/libsndfile.so.1.0.24
008c2000-008c6000 rwxp 00000000 00:00 0
008c6000-008c9000 r-xs 00000000 08:05 1052794    /var/cache/fontconfig/2cd17615ca594fa2959ae173292e504c-le32d4.cache-3
008c9000-008cc000 r-xs 00000000 08:05 1052795    /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-le32d4.cache-3
008cc000-008ce000 r-xs 00000000 08:05 1052796    /var/cache/fontconfig/99e8ed0e538f840c565b6ed5dad60d56-le32d4.cache-3
008ce000-008d4000 r-xs 00000000 08:05 1052777    /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-le32d4.cache-3
008fd000-009e9000 r-xp 00000000 08:05 4607917    /usr/lib/i386-linux-gnu/libasound.so.2.0.0
009e9000-009ed000 r-xp 000eb000 08:05 4607917    /usr/lib/i386-linux-gnu/libasound.so.2.0.0
009ed000-009ee000 rwxp 000ef000 08:05 4607917    /usr/lib/i386-linux-gnu/libasound.so.2.0.0
009ee000-00b6a000 r-xp 00000000 08:05 656923     /lib/i386-linux-gnu/libc-2.13.so
00b6a000-00b6c000 r-xp 0017c000 08:05 656923     /lib/i386-linux-gnu/libc-2.13.so
00b6c000-00b6d000 rwxp 0017e000 08:05 656923     /lib/i386-linux-gnu/libc-2.13.so
00b6d000-00b70000 rwxp 00000000 00:00 0
00b75000-00b78000 r-xs 00000000 08:05 1052785    /var/cache/fontconfig/d60319d88cac85ba9e1a07bd06cfbb8c-le32d4.cache-3
00b92000-00b99000 r-xp 00000000 08:05 662586     /lib/i386-linux-gnu/librt-2.13.so
00b99000-00b9a000 r-xp 00006000 08:05 662586     /lib/i386-linux-gnu/librt-2.13.so
00b9a000-00b9b000 rwxp 00007000 08:05 662586     /lib/i386-linux-gnu/librt-2.13.so
00b9e000-00b9f000 rwxp 00000000 00:00 0
00bad000-00bd6000 r-xp 00000000 08:05 4601740    /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
00bd6000-00bd7000 r-xp 00028000 08:05 4601740    /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
00bd7000-00bd8000 rwxp 00029000 08:05 4601740    /usr/lib/i386-linux-gnu/libvorbis.so.0.4.5
00c01000-00c02000 r-xp 00000000 08:05 3818553    /opt/giada_lin/giada_lin
00c02000-00c3c000 rwxp 00000000 00:00 0
00c57000-00c5b000 r-xp 00000000 08:05 4733884    /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_ctl_pulse.so
00c5b000-00c5c000 r-xp 00003000 08:05 4733884    /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_ctl_pulse.so
00c5c000-00c5d000 rwxp 00004000 08:05 4733884    /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_ctl_pulse.so
00c5f000-00c61000 rwxp 00000000 00:00 0
00c6f000-00c70000 rwxp 00000000 00:00 0
00c7a000-00d28000 rwxp 00000000 00:00 0
00d2d000-00d2e000 r-xs 00000000 08:05 1052588    /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-le32d4.cache-3[KM] MIDI received - 0xB9005600 (chan 9) >

User avatar
FFT
F14 - Syrian Rue
Posts: 538
Joined: Thu Mar 08, 2012 6:51 pm

Re: 0.8.0 midi-fader causes crashes sometimes (ubuntu)

Post by FFT » Sun Nov 17, 2013 4:31 pm

Bug confirmed. It's almost definitely related to X11 (window system): the GUI has received too many updates. I guess it doesn't happen with kepress/keyrelease or if you move the volume fader gently...

We will fix it in one of the upcoming releases. Thanks for reporting!

User avatar
FFT
F14 - Syrian Rue
Posts: 538
Joined: Thu Mar 08, 2012 6:51 pm

Re: 0.8.0 midi-fader causes crashes sometimes (ubuntu)

Post by FFT » Mon Dec 23, 2013 8:59 pm

Fixed in development version 0.8.2.

Post Reply