LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-05-2021, 06:30 PM   #1
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 233

Rep: Reputation: 45
qt5-5.15.2-i586-10 /usr/lib/qt5/bin/uic -h = Segfault .


Hello All , While trying to SlackBuild.wireshark (both 3.4.4 & 3.4.7) .
this is running a , Not recently updated on 32bit -current . To small of data download available most of the time .

From the Changelog.txt , This is the latest version of qt .

I am uncertain if there has been an update to a *Lib that may be effecting this Segfault . If there is please inform me of such .

Looknig around further , Taken from the strace file , I find ...

4 drwxr-xr-x 3 root root 4096 Apr 1 15:45 /usr/lib/locale/en_US.utf8/

While the uic was looking for a captialized ... /usr/lib/locale/en_US.UTF-8

I linked en_US.utf8 to en_US.UTF-8 & uic -h still segfaults .

Tia , JimL

ps: Attached is a strace run dumped to txt file ...



Code:
 * ILBC, iLBC decoder, <https://github.com/TimothyGu/libilbc>
   Support for iLBC codec in RTP player

We are on tag v3.4.4.
version.h has been updated.
-- Configuring done
CMake Error: AUTOUIC for target qtui: Test run of "uic" executable "/usr/lib/qt5/bin/uic" failed.
/usr/lib/qt5/bin/uic -h

Segmentation fault
CMake Generate step failed.  Build files cannot be regenerated correctly.

Code:
[Aug 5 15:13] uic[20591]: segfault at b7dd4674 ip b7b397f3 sp bf8f57d0 error 7 in libQt5Core.so.5.15.2[b7a66000+366000]
[  +0.000057] Code: 8b 74 24 04 8b 7c 24 08 83 c4 0c c3 8d 76 00 8d 41 10 39 f0 77 09 89 c1 eb c6 8d 74 26 00 90 89 c8 89 f2 29 c2 83 fa 06 7e 21 <f3> 0f 7e 08 66 0f 75 c1 66 0f d7 d0 84 d2 74 0a 0f bc d2 83 e2 fe
Code:
# /usr/src/linux/scripts/ver_linux 
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux jimlabs.baby-dragons.com 5.13.2-smp #1 SMP Wed Jul 14 11:33:44 CDT 2021 i686 Intel(R) Pentium(R) III Mobile CPU      1133MHz GenuineIntel GNU/Linux

GNU C                   10.3.0
GNU Make                4.3
Binutils                2.36.1
Util-linux              2.37
Mount                   2.37
Module-init-tools       29
E2fsprogs               1.46.2
Jfsutils                1.1.15
Reiserfsprogs           3.6.27
Xfsprogs                5.12.0
Pcmciautils             018
Quota-tools             4.06
PPP                     2.4.9
Nfs-utils               2.5.4
Bison                   3.7.6
Flex                    2.6.4
Linux C++ Library       6.0.28
Linux C++ Library       5.0.7
Linux C Library         2.33
Dynamic linker (ldd)    2.33
Procps                  3.3.17
Net-tools               2.10
Kbd                     1.15.3
Console-tools           1.15.3
Sh-utils                8.32
Udev                    243
Wireless-tools          30
Modules Loaded          3c59x ac ac97_bus acpi_cpufreq agpgart ath ath5k battery button cfg80211 ch7006 dcdbas dell_laptop dell_smbios dell_smm_hwmon dell_wmi_descriptor drm drm_kms_helper drm_ttm_helper ehci_hcd ehci_pci evdev fb_sys_fops firewire_core firewire_ohci hid hid_generic i2c_algo_bit i2c_core intel_agp intel_gtt ipv6 joydev ledtrig_audio loop lpc_ich mac80211 mii mxm_wmi nouveau parport parport_pc pcmcia pcmcia_core pcmcia_rsrc ppdev psmouse rfkill serio_raw snd snd_ac97_codec snd_maestro3 snd_pcm snd_timer soundcore syscopyarea sysfillrect sysimgblt thermal ttm uas uhci_hcd usb_storage usbhid video wmi yenta_socket
Attached Files
File Type: txt qt5-uic-SegFault-202108051727.log.txt (25.0 KB, 17 views)

Last edited by babydr; 08-07-2021 at 02:04 AM. Reason: Further info ... Forget to report this is on 32bit -current ...
 
Old 08-07-2021, 05:57 PM   #2
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,348

Rep: Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948
uic -h works perfectly here , -current up-to-date 64bit
 
Old 08-08-2021, 04:55 PM   #3
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 233

Original Poster
Rep: Reputation: 45
@USUARIONUEVO , Thank You ...

Sorry I didn't update the posting until a couple of days ago that this is on 32Bit .

Yes , I concur that on my other 64bit systems the 'uic -h' works without Segfault or any other error .
And of course I have critical things in process on the 32bit system atm .
And no other true 32bit systems left in running condition to reload 32bit -current onto .
 
Old 08-08-2021, 06:21 PM   #4
chris.willing
Member
 
Registered: Jun 2014
Location: Sydney, Australia
Distribution: Slackware,LFS
Posts: 919

Rep: Reputation: 620Reputation: 620Reputation: 620Reputation: 620Reputation: 620Reputation: 620
This probably won't help you much except to confirm that the SlackBuild itself is OK.

I don't have a physical 32bit machine but I use a VM to test 32bit builds. In that 32bit VM, uic -h works as expected at the command line. When building wireshark 3.4.7, I see:
Code:
 * ILBC, iLBC decoder, <https://github.com/TimothyGu/libilbc>
   Support for iLBC codec in RTP player

We are on tag v3.4.7.
version.h has been updated.
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    LIB_SUFFIX


-- Build files have been written to: /var/tmp/SBo/wireshark-3.4.7/build
[  0%] Generating taps_wslua.c, taps.txt
[  0%] Generating declare_wslua.h, register_wslua.c
[  0%] Building C object CMakeFiles/shark_common.dir/cfile.c.o
etc., and the build continues successfully to produce a wireshark package.

The VM is fully up to date. If your system is not, it could be an issue since the updates in -current are quite frequent and one (some) of uic's dependent libraries could be out of date. If you're reluctant to do a complete update, I suggest you run 'ldd /usr/lib/qt5/bin/uic' and then, for each of the libraries mentioned, check that it it the most recent version available i.e. check which package each library is installed from and try to upgrade it (slackpkg upgrade ...).

Also, I don't think the locale thing you mentioned matters since my 32bit VM also has (uncapitalized) /usr/lib/locale/en_US.utf8/

chris

Last edited by chris.willing; 08-08-2021 at 06:27 PM. Reason: locale
 
1 members found this post helpful.
Old 09-01-2021, 07:39 PM   #5
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 233

Original Poster
Rep: Reputation: 45
It's still segfaulting on -current of 20210827 32bit .

A complete reformat of all partitions and install of -currect for 32bit .

The date of download was 2021-08-27 .

I see since then a completely is a new qt5-* version because the previous version had security problems .

I'll try once more with just a slackpkg update & see how it works after that .

Just making noise atm . JimL
 
Old 09-01-2021, 09:39 PM   #6
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 233

Original Poster
Rep: Reputation: 45
Same exact error as before .

All packages are updated as of today , except KDE & kernel .

Code:
# cat /etc/slackpkg/blacklist | egrep -v '^(#|$|[[:space:]]$)'
kde/
kernel-generic.*
kernel-huge.*
kernel-modules.*
kernel-source
Any thing else that would be helpful in getting this problem solved is greatly appreciated .

Again , it is 32bit slackware-current . Everything installed . Except /extra/ .

Code:
We are on tag v3.4.7.
version.h has been updated.
-- Configuring done
CMake Error: AUTOUIC for target wireshark: Test run of "uic" executable "/usr/lib/qt5/bin/uic" failed.
/usr/lib/qt5/bin/uic -h

Segmentation fault
CMake Generate step failed.  Build files cannot be regenerated correctly.
...

Last edited by babydr; 09-01-2021 at 10:05 PM. Reason: changes noted after posting .
 
Old 09-02-2021, 01:32 PM   #7
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,548

Rep: Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557
Quote:
Originally Posted by babydr View Post
Any thing else that would be helpful in getting this problem solved is greatly appreciated.
It's working here on 32-bit -current. What type of processor does your machine have? I'm thinking maybe uic has started to use opcodes that aren't present in older CPUs.
 
Old 09-02-2021, 06:23 PM   #8
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 233

Original Poster
Rep: Reputation: 45
@volkerdi , It's definately older . Dell Latitude C810 , the Service Tag can't be found on Dell's support site anymore ...

Code:
# cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 11
model name      : Intel(R) Pentium(R) III Mobile CPU      1133MHz
stepping        : 1
microcode       : 0x1d
cpu MHz         : 733.000
cache size      : 512 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse cpuid pti
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips        : 2259.00
clflush size    : 32
cache_alignment : 32
address sizes   : 36 bits physical, 32 bits virtual
power management:
 
Old 09-02-2021, 06:34 PM   #9
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,548

Rep: Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557
Quote:
Originally Posted by babydr View Post
@volkerdi , It's definately older . Dell Latitude C810 , the Service Tag can't be found on Dell's support site anymore ...
Yeah... I'm afraid that with such an old 32-bit CPU we really can't go out of our way to fix this issue. If it's any consolation (which I sincerely doubt), 32-bit is circling the drain anyway.

If someone does come up with a patch, I'd take it.
 
Old 09-02-2021, 07:08 PM   #10
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 233

Original Poster
Rep: Reputation: 45
This is the only laptop in residence .
I guess I deed to go look for a decent one that still had cardbus slots & serial port .
Thank you for the research .
Would be nice to know of a work around for compiling wireshark ?
Twyal , JimL
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin' venu.navat Linux - Software 3 03-08-2012 04:00 AM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 08:33 AM
oops, I stripped /usr/lib and /usr/X11R6/lib ! H_TeXMeX_H Slackware 2 02-08-2007 09:27 PM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM
/usr/lib and /usr/local/lib doxxan Slackware 5 06-15-2004 12:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration