Tracker: Bugs

7 lives crashes on startup with realtime plugins - ID: 1743701
Last Update: Settings changed ( gfinch )

Hello,

I had this issue with lives 0.9.8.2 and with current 0.9.8.5 (haven't teste
the ones in between).

lives crashes on startup when 1 ore more realtime plugins are located in
the path /usr/share/lives/plugins/effects/realtime/weed

I'll attach a compile log and an strace log.

I'm running Sourcemage linux 64bit with an amd64 bit cpu.


Jack Rabbiz ( scachi ) - 2007-06-26 16:10

7

Closed

Invalid

Salsaman

plugins

None

Public


Comments ( 9 )

Date: 2008-04-24 17:06
Sender: scachiProject Donor


Hello,

with the version 0.9.8.10 everything runs fine,
but I am using archlinux 64bit now and no longer sourcemage.

Thank you for this great program. It is easy to understand/use and quite
fast and
fun to work with. I really love it.


Date: 2008-03-30 16:49
Sender: gfinchProject AdminAccepting Donations


Please re-test this with the current CVS version.

The method of passing function pointers has been changed.



Date: 2007-06-27 15:58
Sender: gfinchProject AdminAccepting Donations


Marking "invalid" as it appears to be specific to Sourcemage 64 bit
packages.



Date: 2007-06-27 15:54
Sender: gfinchProject AdminAccepting Donations


Nope. Without these flags, I cannot build on my own (or other) AMD64 bit
system (I get the error: relocation R_X86_64_32 against `a local symbol'
can not be used when making a shared object; recompile with -fPIC).

Sourcemage must be doing something strange with their 64 bit builds...I
can only suggest that you log this issue with them.

Cheers,
Gabriel.



Date: 2007-06-27 15:26
Sender: scachiProject Donor


I am using gcc (GCC) 4.1.2.

Maybe this flags are only optimizations and are not really needed ?
Let me know if you need additional informations.



Date: 2007-06-27 13:10
Sender: gfinchProject AdminAccepting Donations


Thanks for the report.

The flags -DPIC -fPIC are normally needed for compilation on 64 bit
systems.

It`s strange that it works on your system without these flags and not with
them.

What version of gcc are you using ?



Date: 2007-06-26 23:39
Sender: scachiProject Donor


Here it is:
Program received signal SIGSEGV, Segmentation fault.
0x00002b8ed6bf8269 in weed_plugin_info_init () from
/usr/share/lives/plugins/effects/realtime/weed/alien_overlay.wo
(gdb) bt
#0 0x00002b8ed6bf8269 in weed_plugin_info_init () from
/usr/share/lives/plugins/effects/realtime/weed/alien_overlay.wo
#1 0x00002b8ed6bf9807 in weed_setup () from
/usr/share/lives/plugins/effects/realtime/weed/alien_overlay.wo
#2 0x0000000000439319 in load_weed_plugin ()
#3 0x000000000043a54b in weed_load_all ()
#4 0x000000000042124f in main ()

I compiled it manualy (without using the Sourcemage distibutions scripts)
and it seems to run, only the automaticaly builded version segfault.
After removing -fPIC and -DPIC flags in the sourcemages lives build script
it now is starting without any problems.
I don't know where this -fPIC and -DPIC flags comes from or what it is
supposed to do, just noticed that some other scripts are disabling there
flags for a working build for other programs too.



Date: 2007-06-26 17:14
Sender: gfinchProject AdminAccepting Donations


Hi, please can you try running lives under gdb:

e.g.:

gdb lives

(gdb) run


<hit enter a few times>

(gdb) bt




Date: 2007-06-26 16:13
Sender: scachiProject Donor


the strace log
File Added: lives-0.9.8.5-strace.log.bz2


Attached Files ( 2 )

Filename Description Download
lives-0.9.8.5.bz2 lives compile log Download
lives-0.9.8.5-strace.log.bz2 strace log Download

Changes ( 9 )

Field Old Value Date By
allow_comments 1 2009-07-10 19:34 gfinch
status_id Open 2009-07-10 19:34 gfinch
close_date - 2009-07-10 19:34 gfinch
resolution_id None 2007-06-27 15:58 gfinch
assigned_to nobody 2007-06-26 17:14 gfinch
category_id None 2007-06-26 17:14 gfinch
priority 5 2007-06-26 17:14 gfinch
File Added 234625: lives-0.9.8.5-strace.log.bz2 2007-06-26 16:13 scachi
File Added 234624: lives-0.9.8.5.bz2 2007-06-26 16:10 scachi