Summary: | Crash when adding "Printer Class" | ||
---|---|---|---|
Product: | [Frameworks and Libraries] print-manager | Reporter: | Richard Llom <richard.llom> |
Component: | general | Assignee: | Daniel Nicoletti <dantti12> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cfeck, richard.llom |
Priority: | NOR | Keywords: | drkonqi |
Version: | 4.10.2 | ||
Target Milestone: | --- | ||
Platform: | Chakra | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/print-manager/e0e0871c0f43c967151dc7c4b4b2a480ad893141 | Version Fixed In: | |
Attachments: | New crash information added by DrKonqi |
Description
Richard Llom
2013-04-15 14:12:35 UTC
> system-config-printer-kde
You should not be using this. Since KDE 4.10, the new "print-manager" should be used (C++ based, not Python based). Please check with your distribution, if they are indeed shipping the unmaintained system-config-printer-kde.
(In reply to comment #1) > > system-config-printer-kde > > You should not be using this. Since KDE 4.10, the new "print-manager" should > be used (C++ based, not Python based). Please check with your distribution, > if they are indeed shipping the unmaintained system-config-printer-kde. How can I find out, which one I'm using? > #17 0x00007f1cc59984b6 in ClassListWidget::reload(QString const&, QStringList const&) () from /usr/lib/libkcupslib.so
Actually, from looking at the backtrace, you are indeed using print-manager. Reassigning.
Can you please install debug symbols? Tho I have an idea on where it's crashing it's hard to tell why According to Dr.Konqi I have all debug symbols installed... which one do you miss? Print-manager ones, a few questions: is CUPS running? can you add a printer class using http://localhost:631 how many printers do you have configured? thanks (In reply to comment #6) > Print-manager ones Ok, I installed it, bugtrace follows. > a few questions: is CUPS running? Yes. > can you add a printer class using http://localhost:631 Yes. > how many printers do you have configured? At first try one, now three (crash all times). > thanks You are welcome :-) Created attachment 79473 [details]
New crash information added by DrKonqi
add-printer (0.3.0) on KDE Platform 4.10.2 using Qt 4.8.4
- What I was doing when the application crashed:
See above.
Now bugtrace with kdeadmin-print-manager-debug 4.10.2-1 installed.
-- Backtrace (Reduced):
#11 0x00007ffb1df58084 in QCoreApplicationPrivate::checkReceiverThread (this=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:524
#12 0x00007ffb1ebe7f0d in QApplication::notify (this=0x7fffa41fe000, receiver=0x1e053e0, e=0x7fffa41fce90) at kernel/qapplication.cpp:3841
#13 0x00007ffb203d36e6 in KApplication::notify (this=0x7fffa41fe000, receiver=0x1e053e0, event=0x7fffa41fce90) at /chakra/desktop-testing/kdelibs/src/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:311
#14 0x00007ffb1df587ee in QCoreApplication::notifyInternal (this=0x7fffa41fe000, receiver=0x1e053e0, event=0x7fffa41fce90) at kernel/qcoreapplication.cpp:946
#15 0x00007ffb1df746eb in sendEvent (event=0x7fffa41fce90, receiver=0x1e053e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
Ok, now I know where it crashes and I also think I know why, can you compile from git or a patch to so I can be sure this was the issue? Sorry, I don't know how. you could grab the source here http://anongit.kde.org/print-manager/print-manager-latest.tar.gz and I tell you what else you would need to do, but if you are not comfortable with this I'd do what I think should be done so this issue is fixed and then close as fixed. Git commit d43b3b182674807e2207ff230771deb875f361e3 by Daniel Nicoletti. Committed on 26/04/2013 at 22:28. Pushed by dantti into branch 'master'. Fix storing request properties before the object change threads M +2 -2 libkcups/ClassListWidget.cpp http://commits.kde.org/print-manager/d43b3b182674807e2207ff230771deb875f361e3 Thanks for the fix! Can you also push it to 4.10 branch? It's there already :) Hey Daniel, I tried now in 4.10.3 and the crash is indeed fixed, but it still doesn't work. On the "Please describe you printer" page, when I hit next I get the error: "Failed to add class: 'The printer or class does not exist.'" PS: I just noticed, although there is this error message, when you cancel the printer is created. (I didn't test printing thou, but I guess it will work) Git commit e0e0871c0f43c967151dc7c4b4b2a480ad893141 by Daniel Nicoletti. Committed on 22/05/2013 at 00:25. Pushed by dantti into branch 'KDE/4.10'. Fix typo which prevented printer classes to be properly added/modified M +1 -1 libkcups/KCupsConnection.h http://commits.kde.org/print-manager/e0e0871c0f43c967151dc7c4b4b2a480ad893141 Thanks |