Using TOpenDialog results in SIGESGV when program closed
Original Reporter info from Mantis: photor
-
Reporter name: Karsten Rothemund
Original Reporter info from Mantis: photor
- Reporter name: Karsten Rothemund
Description:
Using TOpenDialog to select a file to load causes SIGSEGV at the end when closing the program. This does not happen, if the TOpenDialog is NOT used. It makes no difference how often the TOpenDialog is used - 1 use triggers the bug. The program itself seems to run without any problems until the main window/form is closed.
This is always the case. I added a minimal project which reproduces the behaviour (ocured on bigger project, could not identify a reason or point when it started - e.g. update of Lazarus or Archlinux).
Steps to reproduce:
start program -> click "load file" button -> select file (no matter which one) -> click "close" button
Additional information:
could not be reproduced on other platforms (only some tested).
stack trace from GDB:
Thread 1 "OpenFileTest" received signal SIGSEGV, Segmentation fault.
0x00007ffff033cee3 in ?? () from /usr/lib/librsvg-2.so.2
(gdb) bt
#0 0x00007ffff033cee3 in () at /usr/lib/librsvg-2.so.2
#1 0x00007ffff7454dff in __call_tls_dtors () at /usr/lib/libc.so.6
#2 0x00007ffff745469d in __run_exit_handlers () at /usr/lib/libc.so.6
#3 0x00007ffff74546ee in () at /usr/lib/libc.so.6
#4 0x00007ffff743d02a in __libc_start_main () at /usr/lib/libc.so.6
#5 0x0000000000000000 in ()
(gdb)
looks like a problem with librsvg
Mantis conversion info:
- Mantis ID: 37029
- OS: Archlinux
- OS Build: (rolling releas)
- Platform: x86 64-linux-gtk2
- Version: 2.0.8