FS#78740 - [plocate] Aborted (core dumped)

Attached to Project: Community Packages
Opened by Munzir Taha (munzirtaha) - Thursday, 08 June 2023, 21:17 GMT
Last edited by Toolybird (Toolybird) - Friday, 09 June 2023, 20:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Leonidas Spyropoulos (inglor)
Felix Yan (felixonmars)
Morten Linderud (Foxboron)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
$ plocate whatever
free(): invalid pointer
Aborted (core dumped)

Additional info:
* package version(s): 1.1.18-1
* log files:

Jun 09 00:12:23 lenovo systemd[1]: Started Process Core Dump (PID 15487/UID 0).
Jun 09 00:12:23 lenovo systemd-coredump[15488]: [🡕] Process 15485 (plocate) of user 1000 dumped core.

Stack trace of thread 15485:
#0 0x00007f85e929f26c n/a (libc.so.6 + 0x8926c)
#1 0x00007f85e924fa08 raise (libc.so.6 + 0x39a08)
#2 0x00007f85e9238538 abort (libc.so.6 + 0x22538)
#3 0x00007f85e92392db n/a (libc.so.6 + 0x232db)
#4 0x00007f85e92a91b7 n/a (libc.so.6 + 0x931b7)
#5 0x00007f85e92ab048 n/a (libc.so.6 + 0x95048)
#6 0x00007f85e92adcb3 __libc_free (libc.so.6 + 0x97cb3)
#7 0x0000558f37bf75cb n/a (plocate + 0x2f5cb)
#8 0x0000558f37bcc813 n/a (plocate + 0x4813)
#9 0x00007f85e9239850 n/a (libc.so.6 + 0x23850)
#10 0x00007f85e923990a __libc_start_main (libc.so.6 + 0x2390a)
#11 0x0000558f37bcccf5 n/a (plocate + 0x4cf5)
ELF object binary architecture: AMD x86-64
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 09 June 2023, 20:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  plocate 1.1.19-1
Comment by Toolybird (Toolybird) - Friday, 09 June 2023, 00:03 GMT
> Aborted (core dumped)

Your backtrace is missing debug symbols [1] and is therefore useless.

But don't worry, I can repro and have attached a proper backtrace. This needs to be fixed upstream...but maybe it already has [2]. Please rebuild the pkg with that patch and see if it works.

[1] https://wiki.archlinux.org/title/Debugging/Getting_traces
[2] https://git.sesse.net/?p=plocate;a=commit;h=7f39444852308224240ebfb75e0bf8f39403afa0
   gdb.txt (1.1 KiB)
Comment by Toolybird (Toolybird) - Friday, 09 June 2023, 02:29 GMT
Dupe  FS#78744 
Comment by Daniel Micay (thestinger) - Friday, 09 June 2023, 02:29 GMT
Sorry, I thought this was resolved already and misinterpreted the issue. Didn't realize this was tracking the current issue. Quite tired.
Comment by Toolybird (Toolybird) - Friday, 09 June 2023, 02:34 GMT
@thestinger, no biggie...all good :)
Comment by Toolybird (Toolybird) - Friday, 09 June 2023, 07:47 GMT
plocate 1.1.19 (just released) fixes it.
Comment by Leonidas Spyropoulos (inglor) - Friday, 09 June 2023, 09:10 GMT
1.1.19 in testing please sign off.
Comment by Munzir Taha (munzirtaha) - Friday, 09 June 2023, 12:44 GMT
Thanks. It's fixed now

Loading...