[Lazarus] IDE unstable - Online Package manager bug

Michael Van Canneyt michael at freepascal.org
Sun Feb 24 15:11:56 CET 2019



On Sun, 24 Feb 2019, Martin Frb via lazarus wrote:

> On 24/02/2019 14:06, Michael Van Canneyt via lazarus wrote:
>>
>>
>>> Can you attach a list of all threads, and traces of other threads 
>>> please?
>>
>> How am I supposed to do that ?
>
> once attached
>
> info threads
>
> and for each thread
> t 1
> bt
>
> t 2
> bt

Threads 1 and 4 are interesting:

One is Main thread. 
4 is package manager thread.

Seems that the thread is waiting for result of an HTTPS request

Michael.

----------------------------

t 1
bt

Reading in symbols for lazarus.pp...const value length mismatch for 'REVISIONSTR', got 6, expected 256...done.
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x000000000044f306 in INTRTLEVENTWAITFORTIMEOUT (AEVENT=0x7fa3160ea040, TIMEOUT=100) at ../unix/cthreads.pp:973
#2  0x000000000043f66f in RTLEVENTWAITFOR (STATE=0x7fa3160ea040, TIMEOUT=100) at ../inc/thread.inc:325
#3  0x000000000052fc3c in CHECKSYNCHRONIZE (TIMEOUT=100) at ../objpas/classes/classes.inc:395
#4  0x0000000001995f6a in DOONIDECLOSE (this=0x7fa307742a80, SENDER=0x7fa30a0fc630) at opkman_intf.pas:125
#5  0x00000000006a30c7 in CALLNOTIFYEVENTS (this=0x7fa2fc650100, SENDER=0x7fa30a0fc630) at lazmethodlist.pas:315
#6  0x00000000009749f5 in DOCALLNOTIFYHANDLER (this=0x7fa30a0fc630, HANDLERTYPE=LIHTIDECLOSE) at lazideintf.pas:659
#7  0x00000000004ad026 in MAINIDEFORMCLOSE (this=0x7fa30a0fc630, SENDER=0x7fa3064e6df0, CLOSEACTION=CAFREE) at main.pp:2058
#8  0x0000000000487698 in DOCLOSE (this=0x7fa3064e6df0, CLOSEACTION=CAFREE) at include/customform.inc:959
#9  0x000000000048af81 in CLOSE (this=0x7fa3064e6df0) at include/customform.inc:2196
#10 0x000000000048b1ed in WMCLOSEQUERY (this=0x7fa3064e6df0, MESSAGE=...) at include/customform.inc:2276
#11 0x0000000000436812 in DISPATCH (this=0x7fa3064e6df0, MESSAGE=0) at ../inc/objpas.inc:602
#12 0x00000000005bfe9d in WNDPROC (this=0x7fa3064e6df0, THEMESSAGE=...) at include/control.inc:2242
#13 0x00000000005b2a2c in WNDPROC (this=0x7fa3064e6df0, MESSAGE=...) at include/wincontrol.inc:5419
#14 0x0000000000488bde in WNDPROC (this=0x7fa3064e6df0, THEMESSAGE=...) at include/customform.inc:1477
#15 0x0000000000c8ea41 in WNDPROC (this=0x7fa3064e6df0, MESSAGE=...) at mainbar.pas:551
#16 0x000000000078bf6c in DELIVERMESSAGE (TARGET=0x7fa3064e6df0, AMESSAGE=0) at lclmessageglue.pas:112
#17 0x000000000067f271 in DELIVERMESSAGE (TARGET=0x7fa3064e6df0, AMESSAGE=0) at gtk2/gtk2proc.inc:3780
#18 0x000000000068c604 in GTKDELETECB (WIDGET=0x4b87380, EVENT=0x5413590, DATA=0x7fa3064e6df0) at gtk2/gtk2callback.inc:1230
#19 0x00007fa314e05aec in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007fa314a8ffa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007fa314aa1fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007fa314aaa7f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007fa314aab08f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007fa314f1d93c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#25 0x00007fa314e0484d in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x00007fa3158d4c8c in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#27 0x00007fa3147b9197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fa3147b93f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fa3147b949c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00000000004fbf81 in APPWAITMESSAGE (this=0x7fa3160f3230) at gtk2/gtk2widgetset.inc:2431
#31 0x0000000000492a0a in IDLE (this=0x7fa3160f2bf0, WAIT=true) at include/application.inc:414
#32 0x0000000000494d38 in HANDLEMESSAGE (this=0x7fa3160f2bf0) at include/application.inc:1283
#33 0x000000000049526c in RUNLOOP (this=0x7fa3160f2bf0) at include/application.inc:1419
#34 0x000000000066a826 in APPRUN (this=0x7fa3160f3230, ALOOP=...) at include/interfacebase.inc:54
#35 0x0000000000495210 in RUN (this=0x7fa3160f2bf0) at include/application.inc:1407
#36 0x00000000004203d3 in main () at lazarus.pp:153

(gdb)  t 2
[Switching to thread 2 (Thread 0x7fa30512d700 (LWP 9831))]
incomplete CFI data; unspecified registers (e.g., rax) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., rdx) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., rcx) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., rbx) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., rsi) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., rdi) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., rbp) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., r8) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., r9) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., r10) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., r11) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., r12) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., r13) at 0x7fa313708760...incomplete CFI data; unsp
 ecified registers (e.g., r14) at 0x7fa313708760...incomplete CFI data; unspecified registers (e.g., r15) at 0x7fa313708760...#0  0x00007fa31370874d in poll () at ../sysdeps/unix/syscall-template.S:84
84	../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
incomplete CFI data; unspecified registers (e.g., rax) at 0x7fa3147b9288...incomplete CFI data; unspecified registers (e.g., rdx) at 0x7fa3147b9288...incomplete CFI data; unspecified registers (e.g., rcx) at 0x7fa3147b9288...incomplete CFI data; unspecified registers (e.g., rsi) at 0x7fa3147b9288...incomplete CFI data; unspecified registers (e.g., rdi) at 0x7fa3147b9288...incomplete CFI data; unspecified registers (e.g., r8) at 0x7fa3147b9288...incomplete CFI data; unspecified registers (e.g., r9) at 0x7fa3147b9288...incomplete CFI data; unspecified registers (e.g., r10) at 0x7fa3147b9288...incomplete CFI data; unspecified registers (e.g., r11) at 0x7fa3147b9288...incomplete CFI data; unspecified registers (e.g., rax) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., rdx) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., rcx) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., rsi) at 0x7fa3147b94aa...incomplete CFI data; unsp
 ecified registers (e.g., rdi) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., r8) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., r9) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., r10) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., r11) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., r12) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., r13) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., r14) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., r15) at 0x7fa3147b94aa...incomplete CFI data; unspecified registers (e.g., rax) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., rdx) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., rcx) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., rbx) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g.,
  rsi) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., rdi) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., rbp) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., r8) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., r9) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., r10) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., r11) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., r12) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., r13) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., r14) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., r15) at 0x7fa3147b94c4...incomplete CFI data; unspecified registers (e.g., rax) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., rdx) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., rcx) at 0x7fa3147dfc5c.
 ..incomplete CFI data; unspecified registers (e.g., rsi) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., rdi) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., rbp) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., r8) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., r9) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., r10) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., r11) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., r12) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., r13) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., r14) at 0x7fa3147dfc5c...incomplete CFI data; unspecified registers (e.g., r15) at 0x7fa3147dfc5c...Reading in symbols for pthread_create.c...cannot get low and high bounds for subprogram DIE at 35255...cannot get low and high bounds for subprogram DIE at 35263...cannot g
 et low and high bounds for subprogram DIE at 35438...cannot get low and high bounds for subprogram DIE at 35468...cannot get low and high bounds for subprogram DIE at 35503...cannot get low and high bounds for subprogram DIE at 35655...cannot get low and high bounds for subprogram DIE at 35714...cannot get low and high bounds for subprogram DIE at 35885...cannot get low and high bounds for subprogram DIE at 35932...cannot get low and high bounds for subprogram DIE at 35979...cannot get low and high bounds for subprogram DIE at 36014...cannot get low and high bounds for subprogram DIE at 36038...cannot get low and high bounds for subprogram DIE at 36064...cannot get low and high bounds for subprogram DIE at 36099...cannot get low and high bounds for subprogram DIE at 36438...cannot get low and high bounds for subprogram DIE at 36514...cannot get low and high bounds for subprogram DIE at 36597...Child DIE 0x949a and its abstract origin 0x8b82 have different parents...Child DIE 0x9572 
 and its abstract origin 0x8b47 have different parents...Child DIE 0x9862 and its abstract origin 0x8a6e have different parents...Child DIE 0x996d and its abstract origin 0x8a6e have different parents...Child DIE 0x99da and its abstract origin 0x8a8c have different parents...Child DIE 0x9a84 and its abstract origin 0x8a6e have different parents...Child DIE 0x99b0 and its abstract origin 0x8c8b have different parents...Child DIE 0x9a05 and its abstract origin 0x97bd have different parents...Child DIE 0x994c and its abstract origin 0x8cae have different parents...Child DIE 0x998f and its abstract origin 0x8cc6 have different parents...cannot get low and high bounds for subprogram DIE at 39704...Child DIE 0x9e5a and its abstract origin 0x8a6e have different parents...Child DIE 0xadd5 and its abstract origin 0x8a6e have different parents...Child DIE 0xae42 and its abstract origin 0x8a8c have different parents...Child DIE 0xaeec and its abstract origin 0x8a6e have different parents...Chil
 d DIE 0xae18 and its abstract origin 0x8c8b have different parents...Child DIE 0xae6d and its abstract origin 0x97bd have different parents...Child DIE 0xadb4 and its abstract origin 0x8cae have different parents...Child DIE 0xadf7 and its abstract origin 0x8cc6 have different parents...cannot get low and high bounds for subprogram DIE at 46673...cannot get low and high bounds for subprogram DIE at 46859...Child DIE 0xba1e and its abstract origin 0x8a6e have different parents...Child DIE 0xba6d and its abstract origin 0x8a8c have different parents...Child DIE 0xbb95 and its abstract origin 0x8a8c have different parents...Child DIE 0xbccd and its abstract origin 0x8a6e have different parents...DW_AT_GNU_call_site_target target DIE has invalid low pc, for referencing DIE 0xc430 [in module /usr/lib/debug/.build-id/ce/17e023542265fc11d9bc8f534bb4f070493d30.debug]...done.
incomplete CFI data; unspecified registers (e.g., rax) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., rdx) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., rcx) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., rsi) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., rdi) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., rbp) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., r8) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., r9) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., r10) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., r11) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., r12) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., r13) at 0x7fa315d3a830...incomplete CFI data; unspecified registers (e.g., r14) at 0x7fa315d3a830...incomplete CFI data; unsp
 ecified registers (e.g., r15) at 0x7fa315d3a830...Reading in symbols for ../sysdeps/unix/sysv/linux/x86_64/clone.S...done.
incomplete CFI data; unspecified registers (e.g., rax) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., rdx) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., rcx) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., rbx) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., rsi) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., rdi) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., rbp) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., r8) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., r9) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., r10) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., r11) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., r12) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., r13) at 0x7fa3137143e9...incomplete CFI data; unsp
 ecified registers (e.g., r14) at 0x7fa3137143e9...incomplete CFI data; unspecified registers (e.g., r15) at 0x7fa3137143e9...#0  0x00007fa31370874d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa3147b938c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa3147b949c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa3147b94d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa3147dfc55 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa315d3a6ba in start_thread (arg=0x7fa30512d700) at pthread_create.c:333
#6  0x00007fa31371441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb)  t 3
  #1  0x00007fa3147b938c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa3147b9712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa3133699d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fa3147dfc55 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa315d3a6ba in start_thread (arg=0x7fa30492c700) at pthread_create.c:333
#6  0x00007fa31371441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

(gdb) t 4

#1  0x00007fa2f1d47c3c in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so
#2  0x00007fa2f1d45bdc in BIO_read () from /usr/lib/x86_64-linux-gnu/libcrypto.so
#3  0x00007fa2f19f180a in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so
#4  0x00007fa2f19f30ad in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so
#5  0x00007fa2f19efc64 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so
#6  0x000000000192107c in SSLREAD (SSL=0x7fa2e403ac30, BUF=0x7fa2fc104dc8, NUM=4096) at openssl/src/openssl.pas:2156
#7  0x0000000001929618 in READ (this=0x7fa2f2332e20, BUF=0x7fa2fc104dc8, NUM=4096) at openssl/src/fpopenssl.pp:475
#8  0x000000000192033f in RECV (this=0x7fa2f2139280, BUFFER=0, COUNT=4096) at fcl-net/src/sslsockets.pp:436
#9  0x00000000019175c4 in READ (this=0x7fa2f214b6e0, BUFFER=0, COUNT=4096) at fcl-net/src/ssockets.pp:449
#10 0x000000000199bcdd in FILLBUFFER (parentfp=0x7fa2fc603230) at fpcmod/opkman_httpclient.pas:708
#11 0x000000000199ba31 in READSTRING (this=0x7fa3058e08e0, S=0x0) at fpcmod/opkman_httpclient.pas:730
#12 0x000000000199c165 in READRESPONSEHEADERS (this=0x7fa3058e08e0) at fpcmod/opkman_httpclient.pas:835
#13 0x000000000199cb9f in READRESPONSE (this=0x7fa3058e08e0, STREAM=0x7fa2f22efbc0, ALLOWEDRESPONSECODES=..., highALLOWEDRESPONSECODES=-1, HEADERSONLY=false) at fpcmod/opkman_httpclient.pas:1110
#14 0x000000000199d7e8 in DONORMALREQUEST (this=0x7fa3058e08e0, AURI=..., AMETHOD=0x1d62410 'GET', ASTREAM=0x7fa2f22efbc0, AALLOWEDRESPONSECODES=..., highAALLOWEDRESPONSECODES=-1, AHEADERSONLY=false,
     AISHTTPS=true) at fpcmod/opkman_httpclient.pas:1205
#15 0x000000000199dc6e in DOMETHOD (this=0x7fa3058e08e0, AMETHOD=0x1d62410 'GET', AURL=0x7fa2f215a6d8 'https://excellmedia.dl.sourceforge.net/project/lazarus-ccr/ColorPalette/OPM/update_ColorPalette.json',
     STREAM=0x7fa2f22efbc0, ALLOWEDRESPONSECODES=..., highALLOWEDRESPONSECODES=-1) at fpcmod/opkman_httpclient.pas:1263
#16 0x000000000199e4a1 in HTTPMETHOD (this=0x7fa3058e08e0, AMETHOD=0x1d62410 'GET',
     AURL=0x7fa2f215aef8 'https://sourceforge.net/projects/lazarus-ccr/files/ColorPalette/OPM/update_ColorPalette.json/download', STREAM=0x7fa2f22efbc0, ALLOWEDRESPONSECODES=..., highALLOWEDRESPONSECODES=-1)
     at fpcmod/opkman_httpclient.pas:1372
#17 0x000000000198d025 in GETUPDATEINFO (this=0x7fa2ffce81c0, AURL=0x7fa2f215aef8 'https://sourceforge.net/projects/lazarus-ccr/files/ColorPalette/OPM/update_ColorPalette.json/download', AJSON=0x0)
     at opkman_updates.pas:386
#18 0x000000000198d3e3 in CHECKFORUPDATES (this=0x7fa2ffce81c0) at opkman_updates.pas:438
#19 0x000000000198d9a4 in EXECUTE (this=0x7fa2ffce81c0) at opkman_updates.pas:527
#20 0x000000000052eee2 in THREADFUNC (PARAMETER=0x7fa2ffce81c0) at ../unix/tthread.inc:94
#21 0x000000000044e61d in THREADMAIN (PARAM=0x7fa30561f160) at ../unix/cthreads.pp:300
#22 0x00007fa315d3a6ba in start_thread (arg=0x7fa2fc604700) at pthread_create.c:333
#23 0x00007fa31371441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

>
> ...
> -- 
> _______________________________________________
> lazarus mailing list
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>


More information about the lazarus mailing list