i-score-old / i-score

an interactive intermedia sequencer
www.i-score.org
23 stars 5 forks source link

i-score crash on Ubuntu 14.04 64bit #8

Closed avilleret closed 10 years ago

avilleret commented 10 years ago

i-score has been build today from the feature/linux branch of JamomaCore, Score and this repo, with :

clang++ --version 
Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4)
Target: x86_64-pc-linux-gnu
Thread model: posix

it crash at lauching with this message :

./i-score
*** Error in `./i-score': realloc(): invalid pointer: 0x00007fd385330d80 ***
Abandon

here is a gdb backtrace :

*** Error in `/media/antoine/Charles-Henry/lib-src/i-score/i-score': realloc(): invalid pointer: 0x00007ffff3c10d80 ***

Program received signal SIGABRT, Aborted.
0x00007ffff2529f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56  ../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
(gdb) thread apply all bt

Thread 1 (Thread 0x7ffff7fa2900 (LWP 4350)):
#0  0x00007ffff2529f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff252d388 in __GI_abort () at abort.c:89
#2  0x00007ffff25671d4 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ffff2675a10 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff2571f37 in malloc_printerr (action=<optimized out>, str=0x7ffff2671c47 "realloc(): invalid pointer", ptr=<optimized out>) at malloc.c:4996
#4  0x00007ffff2576fd2 in __GI___libc_realloc (oldmem=0x7ffff3c10d80 <QListData::shared_null>, bytes=32) at malloc.c:2986
#5  0x00007ffff364c016 in QListData::realloc(int) () from /opt/Qt5/5.2.1/gcc_64/lib/libQt5Core.so.5
#6  0x00007ffff364c0d5 in QListData::append(int) () from /opt/Qt5/5.2.1/gcc_64/lib/libQt5Core.so.5
#7  0x00007ffff374c01c in ?? () from /opt/Qt5/5.2.1/gcc_64/lib/libQt5Core.so.5
#8  0x00007ffff3749a30 in qRegisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*) ()
   from /opt/Qt5/5.2.1/gcc_64/lib/libQt5Core.so.5
#9  0x00007fffed867f43 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007ffff7dea13a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffdf08, env=env@entry=0x7fffffffdf18) at dl-init.c:78
#11 0x00007ffff7dea223 in call_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:36
#12 _dl_init (main_map=0x7ffff7ffe1c8, argc=1, argv=0x7fffffffdf08, env=0x7fffffffdf18) at dl-init.c:126
#13 0x00007ffff7ddb30a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#14 0x0000000000000001 in ?? ()
#15 0x00007fffffffe273 in ?? ()
#16 0x0000000000000000 in ?? ()
jcelerier commented 10 years ago

Hello,

I should delete the branch feature/linux, it was a first work in progress and has been continued in feature/cmake.

Please try running this script: https://github.com/i-score/i-score/blob/feature/cmake/FullBuild.sh

With the following arguments :

./FullBuild.sh jamoma iscore --clone

Thanks!

avilleret commented 10 years ago

thanks, this works

but I tried to build i-score 0.3 with : ./FullBuild.sh iscore-recast or ./FullBuild.sh iscore-recast --clone and the script claims that some Qt5 dependencies are not found after installing some packages : sudo apt-get install qt5-default qt5-qmake` it works fine

I have a i-score binary which works, at least it loads and I can add some boxes on the scenario I have no Minuit device yet on Linux, so it's quite useless for now :-)

jcelerier commented 10 years ago

Okay, I'm going to add them to the script.

Also, there is a minuit implementation with puredata. Please try minuit.device.testing :) works fine for me (you have to set MinuitDevice1 as a name, since it's fixed in the pd patch).


Jean-Michaël Celerier Élève-ingénieur spécialisé en informatique ENSEIRB-MATMECA, Université Bordeaux 1 http://www.jcelerier.name

On Mon, May 19, 2014 at 2:29 PM, Antoine Villeret notifications@github.comwrote:

thanks, this works

but I tried to build i-score 0.3 with : ./FullBuild.sh iscore-recast or ./FullBuild.sh iscore-recast --clone and the script claims that some Qt5 dependencies are not found after installing some packages : sudo apt-get install qt5-default qt5-qmake` it works fine

I have a i-score binary which works, at least it loads and I can add some boxes on the scenario I have no Minuit device yet on Linux, so it's quite useless for now :-)

— Reply to this email directly or view it on GitHubhttps://github.com/i-score/i-score/issues/8#issuecomment-43495445 .

bltzr commented 10 years ago

can we close the issue, then ?

Just FYI, i-score 0.3 (a.k.a. Recast) is much less than useable as is... it's a refoundation of the way boxes are managed in the timeline, and there is still a lot to do before it can be used in production, or even tested in an artistic context... hopefully this will happen next year