LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-01-2012, 10:59 AM   #1
hj1967
LQ Newbie
 
Registered: Jun 2011
Location: Nunspeet, The Netherlands
Distribution: Slackware x64
Posts: 28

Rep: Reputation: Disabled
current: qt-documentation tool assistant crashes


running slackware current - 29-06-2012 64bit on core i5 2500.

Assistant crashes on startup

hjp1:~> /usr/bin/assistant
QGtkStyle was unable to detect the current GTK+ theme.
Segmentation fault

From the debugger:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3b7392b in __memcpy_sse2 () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff3b7392b in __memcpy_sse2 () from /lib64/libc.so.6
#1 0x000000000044edfd in ?? ()
#2 0x000000000044cc52 in ?? ()
#3 0x000000000044daf8 in ?? ()
#4 0x0000000000426918 in ?? ()
#5 0x00007ffff3b05a95 in __libc_start_main () from /lib64/libc.so.6
#6 0x00000000004276e9 in ?? ()
#7 0x00007fffffffdfa8 in ?? ()
#8 0x000000000000001c in ?? ()
#9 0x0000000000000001 in ?? ()
#10 0x00007fffffffe2df in ?? ()
#11 0x0000000000000000 in ?? ()

It seems the same bug as here.
https://bugreports.qt-project.org/browse/QTBUG-25324

The fix in the bugreport fixes in the problem in my local QT 4.8.2 version.
 
Old 07-01-2012, 11:59 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,434

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
FYI, the qt-4.8.1 in 64-current doesn't seem affected.
 
Old 07-01-2012, 12:35 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 861

Rep: Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685
It runs once, and then crashes the next time. Unfortunately, I tried the patch here and now I get this:

assistant
*** glibc detected *** assistant: corrupted double-linked list: 0x0000000000b63910 ***

And assistant hangs presenting a blank window.
 
Old 07-01-2012, 01:04 PM   #4
hj1967
LQ Newbie
 
Registered: Jun 2011
Location: Nunspeet, The Netherlands
Distribution: Slackware x64
Posts: 28

Original Poster
Rep: Reputation: Disabled
I applied the patch to the Digia Qt 4.8.2 version and there it fixed the problem. I have not tested it with the Slackware but
because both the assistant had the same crash I assumed it might fix the problem.

Anyway I guess you can leave this a known issue.
 
Old 07-01-2012, 01:25 PM   #5
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,434

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
Quote:
Originally Posted by volkerdi View Post
It runs once, and then crashes the next time.
ops, I can confirm this
sorry for the too fast and wrong report.

Last edited by ponce; 07-01-2012 at 01:30 PM.
 
Old 07-01-2012, 03:02 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,233

Rep: Reputation: Disabled
The segfault does not occur when you remove the sqlite database ${HOME}/.local/share/data/Trolltech/Assistant/qthelpcollection_4.8.1.qhc prior to starting assistant. That is why assistant will run the first time you start it - it has not created that database yet.

But this is of course not a real solution.

Eric
 
Old 07-02-2012, 08:27 AM   #7
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,434

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
I've tried upgrading qt to 4.8.2 (as suggested by hj1967) using the slackbuild in -current (commented out two patches that got in in the meantime) and using the patch and assistant seems to work fine (kde and other qt apps I tested too -obviously I'm speaking about the stuff I tested), but really don't know if moving to the .2 qt is an option...

Last edited by ponce; 07-02-2012 at 08:42 AM.
 
Old 07-02-2012, 09:17 AM   #8
hj1967
LQ Newbie
 
Registered: Jun 2011
Location: Nunspeet, The Netherlands
Distribution: Slackware x64
Posts: 28

Original Poster
Rep: Reputation: Disabled
I use Qt in projects at my work have mixed experiences with upgrade of Qt. In our case moving from 4.8.1 to 4.8.2 went without problems and
solved some memory leaks as well.
In Slackware the Qt 4.8.1 is a patched version for certain KDE apps if I am right. I have no idea if these fixes are
in the official Qt 4.8.2. Maybe the KDE developers know if it is save to upgrade to 4.8.2
 
Old 07-02-2012, 10:44 AM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,434

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
in the meantime, I had a rapid look at the kde bugtracker looking for "qt-4.8.2": this here seems to apply.
 
Old 07-02-2012, 11:25 PM   #10
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,434

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
seems like the akonadiconsole crash on start is solved with just rebuilding it over qt-4.8.2.

Quote:
In Slackware the Qt 4.8.1 is a patched version for certain KDE apps if I am right.
If I don't got it wrong, it was like this in the past when the qt version used was the one in the kde repository, now the standard qt sources as released by upstream qt devs are used.

Last edited by ponce; 07-02-2012 at 11:34 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
x crashes after update to -current max_arbit Slackware 3 12-19-2010 12:00 PM
[SOLVED] Krusader compile crashes in current mdynac Slackware 3 05-03-2010 11:48 PM
[SOLVED] X crashes with current (3/1/10) Daedra Slackware 9 03-06-2010 10:28 AM
mplayerplug-in crashes in current Petri Kaukasoina Slackware 1 06-03-2009 04:19 PM
XSL documentation tool(Opinions) mrcheeks Programming 0 06-16-2006 03:10 PM


All times are GMT -5. The time now is 09:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration