Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
QT
»
SIGSEGV on exiting application under QT5.6
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
how to tweek fpmake to co...
by
marcov
[
Today
at 08:29:16 pm]
A fairly simple sound sol...
by
VisualLab
[
Today
at 07:46:18 pm]
Quirky windows
by
ASerge
[
Today
at 07:07:16 pm]
Parameter passing odditie...
by
ASerge
[
Today
at 06:59:05 pm]
add new targets to make
by
Key-Real
[
Today
at 06:44:32 pm]
[Request] Demo Scene Sub ...
by
Gigatron
[
Today
at 06:29:39 pm]
Unlocking Files
by
KodeZwerg
[
Today
at 06:03:08 pm]
[SOLVED] trunk bug for mi...
by
Key-Real
[
Today
at 05:56:32 pm]
Demo Scene Bitmap Font Sc...
by
Gigatron
[
Today
at 05:56:27 pm]
Compile/Convert Delphi pr...
by
Martin_fr
[
Today
at 05:43:11 pm]
Generics - correct syntax
by
Thaddy
[
Today
at 05:40:59 pm]
Lazarus for Windows on aa...
by
msintle
[
Today
at 05:32:42 pm]
InstallAware Using Lazaru...
by
msintle
[
Today
at 05:26:36 pm]
Xcode Command Line Tools ...
by
Joseph
[
Today
at 05:16:39 pm]
Offical launch of the 1 B...
by
Hartmut
[
Today
at 04:49:29 pm]
what to do if my target M...
by
nickysn
[
Today
at 04:16:02 pm]
compiler error in unit
by
paule32
[
Today
at 03:49:50 pm]
Can function be used for ...
by
VisualLab
[
Today
at 02:15:30 pm]
Multithreading - synchron...
by
mika
[
Today
at 01:48:51 pm]
May be useful to somebody
by
KodeZwerg
[
Today
at 12:38:22 pm]
match automatic highlight...
by
Чебурашка
[
Today
at 11:35:14 am]
Tchart with dual numbers ...
by
wp
[
Today
at 10:48:18 am]
Debugger crashes with App...
by
Martin_fr
[
Today
at 09:29:46 am]
Copyrights Q
by
BrassGear
[
Today
at 09:13:14 am]
[SOLVED] how to build the...
by
Key-Real
[
Today
at 09:12:33 am]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: SIGSEGV on exiting application under QT5.6 (Read 13732 times)
zeljko
Hero Member
Posts: 1596
Re: SIGSEGV on exiting application under QT5.6
«
Reply #15 on:
January 27, 2018, 07:28:34 pm »
That's same thing:
#0 0x00007ffff6eca979 in _dl_catch_error () at /lib64/libc.so.6
#1 0x00007ffff79b45c5 in _dlerror_run () at /lib64/libdl.so.2
#2 0x00007ffff79b3fff in dlclose () at /lib64/libdl.so.2
Crash comes from glibc (or from wrong Qt implementation when unloading library)
Logged
baldzhang
New Member
Posts: 33
Re: SIGSEGV on exiting application under QT5.6
«
Reply #16 on:
January 28, 2018, 03:52:15 am »
http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html
downloaded demo from here, change qt4 -> qt5, 2 program compile passed.
SIGSEGV is the same...
Logged
baldzhang
New Member
Posts: 33
Re: SIGSEGV on exiting application under QT5.6
«
Reply #17 on:
January 29, 2018, 06:22:53 am »
tested at slackware 14.2 x86-64, glibc-2.23
upgraded qt5 5.9.3 from here:
https://slackware.pkgs.org/14.2/slackel-x86_64/qt5-5.9.3-x86_64-1dj.txz.html
it's ok, so looks like this issue is related to glibc for 90%...
but arch is running with glibc 2.26 also and it's ok there.
Logged
zeljko
Hero Member
Posts: 1596
Re: SIGSEGV on exiting application under QT5.6
«
Reply #18 on:
January 29, 2018, 11:44:35 am »
Probably arch uses some custom glibc patch, or different could be distro combination of glibc and gcc. Really don't know. Maybe one must write pure simple Qt c++ app to see if crash occurs.
Logged
baldzhang
New Member
Posts: 33
Re: SIGSEGV on exiting application under QT5.6
«
Reply #19 on:
January 29, 2018, 04:08:50 pm »
tested ok on ubuntu and arch, detail version info:
ubuntu 17.10
qt 5.9.1
glibc 2.26
gcc 7.2.0
arch
qt 5.10.0
glibc 2.26
gcc 7.3.0
will try to rebuild glibc and test.
Logged
baldzhang
New Member
Posts: 33
Re: SIGSEGV on exiting application under QT5.6
«
Reply #20 on:
January 29, 2018, 09:15:02 pm »
ok, I give up, after build glibc 3 times, I totally no idea how to do now.
Logged
zeljko
Hero Member
Posts: 1596
Re: SIGSEGV on exiting application under QT5.6
«
Reply #21 on:
January 30, 2018, 09:39:12 am »
Fedora 26 uses glibc 2.25 and there we have problem. glibc 2.23, 2.24 works fine on fedoras.
If you don't have problems with 2.26 then it's obvious where bug is.
Logged
baldzhang
New Member
Posts: 33
Re: SIGSEGV on exiting application under QT5.6
«
Reply #22 on:
February 02, 2018, 04:16:53 pm »
build and upgrade glibc 2.27, it's ok now
Logged
Print
Pages:
1
[
2
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
QT
»
SIGSEGV on exiting application under QT5.6
TinyPortal
© 2005-2018