Opened 12 months ago

Closed 4 months ago

#14129 closed bug (fixed)

TLS/pthread crash

Reported by: miqlas Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/libroot.so Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86-64

Description

Since some days i experience strange crashes with "ag" (the silver searcher) on the new laptop.

It worked very well with the old one and except the hardware nothing changed (but maybe i updated some Haiku revision without noticing this)

It is possible that it is a bug in Ag, which got not triggered on the earlier slow hardware but happens on the new wich much faster.

Tried to build it with -g and using with LD_PRELOAD=libroot_debug.so, even with Ag's own -D debug flag.

See the attached crashlogs.

Attachments (4)

ag-12176-debug-08-05-2018-06-33-37.report (10.2 KB) - added by miqlas 12 months ago.
Crashlog - DynamicThreadVector
ag-12218-debug-08-05-2018-06-34-24.report (29.8 KB) - added by miqlas 12 months ago.
Crashlog - _kern_mutex_lock
ag-11952-debug-08-05-2018-06-28-53.report (12.9 KB) - added by miqlas 12 months ago.
Crashlog - get_tls_address
ag-12096-debug-08-05-2018-06-32-38.report (23.2 KB) - added by miqlas 12 months ago.
Crashlog - FreeChunk::Size

Download all attachments as: .zip

Change History (14)

Changed 12 months ago by miqlas

Crashlog - DynamicThreadVector

Changed 12 months ago by miqlas

Crashlog - _kern_mutex_lock

Changed 12 months ago by miqlas

Crashlog - get_tls_address

Changed 12 months ago by miqlas

Crashlog - FreeChunk::Size

comment:1 Changed 12 months ago by miqlas

Btw: Ag is in Haikuports, that is the one wich is crashing. Tested with earlier version, they are crashing too. Never ever happend this before, i'm sure, as it is one of my main productivity-tool i use it really extensively and used every earlier version from the HaikuPorts repo on x86_64 so no arch change happend.

comment:2 Changed 12 months ago by korli

which hpkgs are installed?

comment:3 Changed 12 months ago by miqlas

I created an issue at "Ag" github too: https://github.com/ggreer/the_silver_searcher/issues/1235

comment:5 Changed 12 months ago by miqlas

I'm not well educated in reading backtraces, so maybe it is normal, but my gut says something wrong happens here as i see backtrace output mixed with freebsd sources. (I searched for something in the freebsd source tree as it happend)

comment:6 Changed 12 months ago by korli

I mean the list of hpkgs, or a syslog.

Last edited 12 months ago by korli (previous) (diff)

comment:7 in reply to:  6 Changed 12 months ago by miqlas

Replying to korli:

I mean the list of hpkgs, or a syslog.

Can't provide it right now. Will do later.

Is it possible to tell from this backtraces if it is a bug in Ag or in Haiku?

comment:8 Changed 12 months ago by korli

Not exactly, you could try an older version of Haiku to check if a Haiku update triggered these crash.

comment:9 Changed 12 months ago by miqlas

Tested with earlier Haiku nightly: crashes. Maybe the newer hardware triggers something somewhere.

comment:10 Changed 4 months ago by waddlesplash

Resolution: fixed
Status: newclosed

Fixed in hrev52662 (and fix merged into r1beta1 also.)

Note: See TracTickets for help on using tickets.