[Gambas-user] Installing on SuSE 8.1 - segmentation fault

Charlie karl.reinl at ...9...
Sat Aug 16 22:10:10 CEST 2003


Fabien BODARD schrieb:

>Le Samedi 16 Août 2003 01:06, neil lewis a écrit :
>  
>
>>Hi Charlie,
>>
>>Thanks for the suggestion.
>>
>>I ran /opt/gambas/bin/gbx in DDD (which uses gdb) and it said "
>>
>>    
>>
>>>gdb) run
>>>ERROR: #45: File or directory does not exist: /home/neil/.project
>>>
>>>Program exited with code 01.
>>>(gdb)
>>>      
>>>
>>Neil Lewis.
>>
>>Charlie wrote:
>>    
>>
>>>neil lewis schrieb:
>>>      
>>>
>>>>Hi Brian,
>>>>
>>>>Thanks for the suggestion, but that didn't work.
>>>>
>>>>SuSE accepted the instruction "unset ld_preload" ,  but gambas still
>>>>caused a segfault when trying to start immediately afterwards.
>>>>
>>>>Regards,
>>>>        
>>>>
>>>have a look at :http://www.theeasygambasdoku.de/how2use_gdb/index.html
>>>
>>>and you will be able to give more informations
>>>
>>>amicalemant
>>>Charlie
>>>
>>>      
>>>
>>>>Neil Lewis.
>>>>
>>>>Brian Snipes wrote:
>>>>        
>>>>
>>>>>This may be off but it is work a try.  I run Gentoo and have a library
>>>>>called libtrash.so preload (it works like a recycle bin on
>>>>>Windows).  If
>>>>>it is enabled Gambas crashes on startup. If SuSE has a similiar global
>>>>>setting for LD_PRELOAD maybe it is interfering.  Try running:
>>>>>
>>>>>unset LD_PRELOAD
>>>>>gambas
>>>>>
>>>>>Brian
>>>>>
>>>>>On Wed, 2003-08-13 at 16:11, neil lewis wrote:
>>>>>          
>>>>>
>>>>>>I'm trying to compile/install Gambas 0.64a on a SuSE 8.1 system.
>>>>>>
>>>>>>The system is fully patched with all SuSE updates. I have some
>>>>>>other non-SuSE apps installed, but have made no changes to system
>>>>>>libraries etc.
>>>>>>
>>>>>>Previously, I found tha last few versions would compile okay, but
>>>>>>stop with an error when installing.
>>>>>>
>>>>>>I have now compiled with --disable-preloading as suggested and the
>>>>>>compile/install seems fine, but Gambas won't start. When I try to
>>>>>>run it from a Konsole, it reports simply "segmentation fault" and
>>>>>>stops.
>>>>>>
>>>>>>Any thoughts?
>>>>>>
>>>>>>Neil Lewis.
>>>>>>            
>>>>>>
>>>-------------------------------------------------------
>>>This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>>>Data Reports, E-commerce, Portals, and Forums are available now.
>>>Download today and enter to win an XBOX or Visual Studio .NET.
>>>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/
>>>01 _______________________________________________
>>>Gambas-user mailing list
>>>Gambas-user at lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>      
>>>
>>-------------------------------------------------------
>>This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>>Data Reports, E-commerce, Portals, and Forums are available now.
>>Download today and enter to win an XBOX or Visual Studio .NET.
>>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
>>_______________________________________________
>>Gambas-user mailing list
>>Gambas-user at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/gambas-user
>>    
>>
>
>
>hi
>you must to be in a project directory like /home/neil/gambas-0.64a/app/gambas
>
>then run the gdb process. Becaus in your case gdb said it have not found any 
>roject !
>
>Amicalement, Fabien Bodard  ;°)
>
>  
>
Salut,

like Fabien wrote, change into the directory where you start to install 
gambas-0.64a,
something under /opt/gambas/????? , there you  cd to app/gambas

And once there you start gdb.
Now you debug gambas and not 'only' a gambas project.

Using  gbx is one step later.

amicalement Charlie

Charlie






More information about the User mailing list