Lazarus crashes after “Rescan FPC dir sources” lazarus / 9-Editor ---------------------------------------------------------------------- and4977 · 2012-05-19 20:00 Hi! I have: VMware 8.0, “uname –a: Linux 2.4.32 athlon i386 GNU/Linux”,” gcc –v: 2.95.4” I installed fpc 2.4.2 and lazarus 0.9.30 as presented http://wiki.free pascal.org/Installing_Lazarus#Installing_Free_Pascal_under_Linux from sources.  The command “ppc386 -i” give me total info about fpc, because I think installing of fpc finished good. Lazarus was installed without error. After command “./startlazarus” I made “Environment>Options>fpc sources  -> /usr/local/share/src/fpc-2.4.2/fpc” and   “Environment>Rescan dir fpc sources ”. I got message “Failed to create new thread. …”.  Empty project was compiled without error. If I put button to form and want to write event (double click), I got message  “…/lazarus/lcl/classes.pp(32, 10) Erorr: unit not found: Classes.”  What is this and what I need to do? Thanks.  Postscript: I tried variants: fpc 2.4.4 and lazarus 0.9.30, fpc 2.6.0 and lazarus 0.9.30. Result is same. ---------------------------------------------------------------------- marcov · 2012-05-20 09:16 I notice two things Quote from: and4977 on May 19, 2012, 10:00:43 pmI have: VMware 8.0, “uname –a: Linux 2.4.32 athlon i386 GNU/Linux”,” gcc –v: 2.95.4” gcc -v =2.95 That is prehistoric. >I got message “Failed to create new thread. …”.  Could indicate old thread implementation. What Linux are you using? Is it 2.4.0 or newer? ---------------------------------------------------------------------- and4977 · 2012-05-20 21:26 I have modified  Red Hat Linux 6.2 I see to console: [root@and4977 lazarus]# ./startlazarus TLazarusManager.Run starting /usr/lazarus/lazarus ... TMainIDE.ParseCmdLineOptions:   PrimaryConfigPath="/root/.lazarus"   SecondaryConfigPath="/etc/lazarus" TMainIDE.DoLoadLFM Creating designer for hidden component of /root/tmp/1/unit1.pas TMainIDE.DoOpenProjectFile Form1:TForm1 TDesigner TBuildManager.RescanCompilerDefines clear caches TApplication.HandleException Failed to create new thread   Stack trace:   $0810AB42  TTHREAD__CREATE,  line 186 of /root/tmp/fpc-2.4.2/rtl/unix/tthread.inc   $087B890B  TFPCSRCSCANS__SCAN,  line 195 of fpcsrcscan.pas   $08657C3C  TBUILDMANAGER__RESCANCOMPILERDEFINES,  line 643 of buildmanager.pas   $080C1638  TMAINIDE__MNUENVRESCANFPCSRCDIRCLICKED,  line 4839 of main.pp   $085143E8  TIDEMENUITEM__MENUITEMCLICK,  line 552 of menuintf.pas   $0851763A  TIDEMENUCOMMAND__MENUITEMCLICK,  line 1623 of menuintf.pas   $081E539E  TMENUITEM__CLICK,  line 75 of ./include/menuitem.inc   $081E59D8  TMENUITEM__DOCLICKED,  line 269 of ./include/menuitem.inc   $0806C3EA  TOBJECT__DISPATCH,  line 472 of /root/tmp/fpc-2.4.2/rtl/inc/objpas.inc   $082858C9  DELIVERMESSAGE,  line 3528 of gtk2proc.inc   $082FDE82  GTK2MENUITEMACTIVATE,  line 138 of gtk2wsmenus.pp   $4061134A   $40600394   $40610EF9   $40610092   $406102EA   $40446E7C