Return-Path: Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by casper.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lH5xG-00HG0X-2S for linux-um@lists.infradead.org; Tue, 02 Mar 2021 14:24:56 +0000 Received: by mail-pf1-x42f.google.com with SMTP id o188so7269697pfg.2 for ; Tue, 02 Mar 2021 06:24:51 -0800 (PST) Message-ID: <02e348bbb13f0fac92f2147309fb1c006b4583b2.camel@debian.org> Subject: Re: linux uml segfault From: Ritesh Raj Sarraf Date: Tue, 02 Mar 2021 19:53:43 +0530 In-Reply-To: <6370b92a-84fa-aa21-4270-fcaf1bf42407@kot-begemot.co.uk> References: <3448a70e7a39b9c3202aeefa7858ace265b8a978.camel@debian.org> <6d37b5aa-36f2-1fce-b70b-8faa0ff882e0@kot-begemot.co.uk> <529cd4e2f39efffb18125dffab3058aeec3351ce.camel@debian.org> <573e256a-990b-ddf6-7965-367bb8b21229@kot-begemot.co.uk> <1bdedf3c60058e1ae242a2a7f16eee256b0be3e0.camel@debian.org> <6370b92a-84fa-aa21-4270-fcaf1bf42407@kot-begemot.co.uk> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rrs@debian.org Content-Type: multipart/mixed; boundary="===============1897149726768577272==" Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Anton Ivanov , Christopher Obbard , "linux-um@lists.infradead.org" Cc: 983379@bugs.debian.org --===============1897149726768577272== Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-cF6MIZJYPurqYnBdGxFp" --=-cF6MIZJYPurqYnBdGxFp Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2021-03-02 at 11:34 +0000, Anton Ivanov wrote: > If gdb gives you the exact lines, that may be helpful. It doesn't. But it does show drawbacks in my packaging. The debug symbols packaged are not read/honored by gdb at all. ``` Reading symbols from /usr/bin/linux.uml... Reading symbols from /usr/lib/debug/.build- id/6f/ea141539149074c72e80fb8004de124fda115b.debug... (No debugging symbols found in /usr/lib/debug/.build- id/6f/ea141539149074c72e80fb8004de124fda115b.debug) warning: Can't open file /dev/shm/#20817 (deleted) during file-backed mapping note processing [New LWP 18788] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux- gnu/libthread_db.so.1". Core was generated by `linux ubd0=3Dqemu-linux-image.img'. Program terminated with signal SIGABRT, Aborted. #0 0x00007f51842c0087 in kill () at ../sysdeps/unix/syscall- template.S:120 120 ../sysdeps/unix/syscall-template.S: No such file or directory. (gdb) bt #0 0x00007f51842c0087 in kill () at ../sysdeps/unix/syscall- template.S:120 #1 0x000000006049dc20 in uml_abort () #2 0x000000006049de7a in os_dump_core () #3 0x0000000060486e47 in panic_exit () #4 0x00000000604c0a03 in notifier_call_chain () #5 0x00000000604c0a98 in atomic_notifier_call_chain () #6 0x0000000060a26b85 in panic () #7 0x00000000604869e1 in segv () #8 0x0000000060486ba9 in segv_handler () #9 0x000000006049ccc0 in sig_handler_common () #10 0x000000006049d1ec in sig_handler () #11 0x000000006049cdc6 in hard_handler () #12 #13 0x00000000604d45b4 in vprintk_store () #14 0x00000000604d4aa8 in vprintk_emit () #15 0x00000000604d4d86 in vprintk_deferred () #16 0x0000000060a27a02 in printk_deferred () #17 0x00000000609031b2 in get_random_u32 () #18 0x000000006088ff65 in bucket_table_alloc.isra () #19 0x0000000060890740 in rhashtable_init () #20 0x00000000607efaa2 in ipc_init_ids () #21 0x00000000600153c9 in sem_init () ``` So the best I can extract for you is to compile the kernel with as much information as possible. Thanks, Ritesh --=20 Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System --=-cF6MIZJYPurqYnBdGxFp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAmA+Sm8ACgkQpjpYo/Lh dWlA7RAAtuFHzBCw2eCzysXLDq7P36ZCFepco/Je4LWrf3KW2oe1KwB/O9As6vuU dOkoWbSXG2u+0SkBQbY+wVk01MuVpMxwbryBbEqPKnZoRKMWPzC9UmjtYR8z2mcl 2Z/7ShnwnAKRu4H5uPtt1suMhTtUpSPDbDJUxMOwGS4KqRuepXNrD4pAYkb769/s 8aggP327icbyDxWDcogGE0ObyWz4lmThDUvS+WXvlm3wwTN+ir6ebjt9A94l8Spq 3GV/gc7J50dbN7/rn1pdPiTGIOS3GKGMbCuHDtct1NfALhBpUnkR+KTIjPyIOjGz S3q/CeuqsBV/SiGuUvYcNfXbsHaaVDsNxKYxB4VKKhjpsk6hxklAtWMQX7ScUbFa 3sOHk2HopHTkm4NZnvdHhP5PwVPqhwD3t0yl6nTRY3X9Z27pAB1MC/NoIDzb4ryX q5bBeKkRe1dBpy1yu9GoYAewdt8dVRKB0u8TZ7cotToHrhdDI8asgbbR19pOuHv8 PzZgq+m93H/V5wpEu2VOeCVVQ4WU2CT3F6hjHd5DCnLsbxs4+LMOaIhT3od7Wd2H 028UGFmGFevF4x3FHv6FEAr50yAtEW8ORF2fS8VofnM7lzPSpqQBCjfeWnQio8tw 7vJxsofO88/zgfM+q6ID2aaAyeO7xLN46tS7wIm8vsSlqSsuUyo= =pIAS -----END PGP SIGNATURE----- --=-cF6MIZJYPurqYnBdGxFp-- --===============1897149726768577272== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um --===============1897149726768577272==--