[Lazarus] TCustomForm.ShowModal impossible

Luis R. Hilario B. luisdigital at gmail.com
Tue Aug 17 01:45:36 CEST 2010


I have more information about the problem:

I eliminated a TListBox component of my program and the error
"TCustomForm.ShowModal impossible" disappeared.

I tried to put the component again, but I get the following error:
TControlSelection.AssignPersistent Form7:TForm7
AddComponent TListBox Parent=Form7:TForm7 137,332,0,0
Parent is 'Form7:TForm7'
Access violation
  Stack trace:
  $B7440DBE
...

And a window that says:
"Error moving component ListBox1:TListBox"

I found something in the Gnome bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=608439

libgtk-x11-2.0.so.0.1800.3 (Mandriva 2010.0) Good
libgtk-x11-2.0.so.0.2000.1 (Mandriva 2010.1) Bad


2010/8/12 Luis R. Hilario B. <luisdigital at gmail.com>:
> What's common in the windows:
>
> View ->Units....
> View ->Forms....
> Project ->Project Options
> Project ->Compiler Options
>
> I have a nice "Access violation".
> Does anyone else here with Mandriva 2010.1?
>
> 2010/8/10 Luis R. Hilario B. <luisdigital at gmail.com>:
>> Hello everyone,
>>
>> ---
>> FPC: 2.4.0 [2010/01/25] for i386
>> Lazarus: Lazarus fixes ( lazarus-0.9.28.3-27057-20100811)
>> ---
>>
>> I upgraded to Mandriva 2010.1, and now I have an error when I open some windows:
>> "Access violation" in Lazarus (View->Units.../View->Forms... etc.)
>>
>> In my application (Run time):
>> "TCustomForm.ShowModal impossible"  and "Access violation".
>>
>> The same program works fine in Windows.
>>
>> Could it be a problem with the new libraries in Mandriva? Which?
>>
>> Here some suspicious information:
>>
>> /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?
>> INPUT(
>> -lX11
>> -lgdk_pixbuf-2.0
>> -lgtk-x11-2.0
>> -lgdk-x11-2.0
>> -lgobject-2.0
>> -lglib-2.0
>> -lgthread-2.0
>> -lgmodule-2.0
>> -lpango-1.0
>> -lpthread
>> -latk-1.0
>> -lcairo
>> -ldl
>> )
>> GROUP(
>> -lc
>> )
>> INPUT(
>> /usr/lib/gcc/i586-manbo-linux-gnu/4.4.3/crtend.o
>> /usr/lib/crtn.o
>> )
>> ENTRY(_start)
>> SECTIONS
>> {
>>  PROVIDE (__executable_start = 0x010000); . = 0x010000 + SIZEOF_HEADERS;
>>  .interp         : { *(.interp) }
>>  .hash           : { *(.hash) }
>>  .dynsym         : { *(.dynsym) }
>>  .dynstr         : { *(.dynstr) }
>>  .gnu.version    : { *(.gnu.version) }
>>  .gnu.version_d  : { *(.gnu.version_d) }
>>  .gnu.version_r  : { *(.gnu.version_r) }
>>  .rel.dyn        :
>>    {
>>      *(.rel.init)
>>      *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
>>      *(.rel.fini)
>>      *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
>>      *(.rel.data.rel.ro*)
>>      *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
>>      *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*)
>>      *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*)
>>      *(.rel.got)
>>      *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)
>>    }
>>  .rela.dyn       :
>>    {
>>      *(.rela.init)
>>      *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
>>      *(.rela.fini)
>>      *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
>>      *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
>>      *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
>>      *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
>>      *(.rela.got)
>>      *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
>>    }
>>  .rel.plt        : { *(.rel.plt) }
>>  .rela.plt       : { *(.rela.plt) }
>>  .init           :
>>  {
>>    KEEP (*(.init))
>>  } =0x90909090
>>  .plt            : { *(.plt) }
>>  .text           :
>>  {
>>    *(.text .stub .text.* .gnu.linkonce.t.*)
>>    KEEP (*(.text.*personality*))
>>    *(.gnu.warning)
>>  } =0x90909090
>>  .fini           :
>>  {
>>    KEEP (*(.fini))
>>  } =0x90909090
>>  PROVIDE (_etext = .);
>>  .rodata         :
>>  {
>>    *(.rodata .rodata.* .gnu.linkonce.r.*)
>>  }
>>  . = ALIGN (0x1000) - ((0x1000 - .) & (0x1000 - 1));
>>  .dynamic        : { *(.dynamic) }
>>  .got            : { *(.got) }
>>  .got.plt        : { *(.got.plt) }
>>  .data           :
>>  {
>>    *(.data .data.* .gnu.linkonce.d.*)
>>    KEEP (*(.fpc .fpc.n_version .fpc.n_links))
>>    KEEP (*(.gnu.linkonce.d.*personality*))
>>  }
>>  PROVIDE (_edata = .);
>>  PROVIDE (edata = .);
>>  .threadvar : { *(.threadvar .threadvar.* .gnu.linkonce.tv.*) }
>>  __bss_start = .;
>>  .bss            :
>>  {
>>   *(.dynbss)
>>   *(.bss .bss.* .gnu.linkonce.b.*)
>>   *(COMMON)
>>   . = ALIGN(32 / 8);
>>  }
>>  . = ALIGN(32 / 8);
>>  PROVIDE (_end = .);
>>  PROVIDE (end = .);
>>  .stab          0 : { *(.stab) }
>>  .stabstr       0 : { *(.stabstr) }
>> }
>>
>> --
>> http://luisdigital.com
>>
>
>
>
> --
> http://luisdigital.com
>



-- 
http://luisdigital.com




More information about the Lazarus mailing list