Bug 111433 - kdeprint craches when selecting printer Properties dialogue
Summary: kdeprint craches when selecting printer Properties dialogue
Status: CLOSED DUPLICATE of bug 105438
Alias: None
Product: kdeprint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-24 18:28 UTC by Georg von Hippel
Modified: 2008-12-31 18:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
PPD file of printer whose Properties dialogue crashes (24.18 KB, text/plain)
2005-08-24 19:32 UTC, Georg von Hippel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georg von Hippel 2005-08-24 18:28:23 UTC
Version:           0.0.1 ? (using KDE KDE 3.4.2)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
OS:                Linux

When clicking the "Properties" button on the print dialogue box, kdeprint crashes.

The backtrace follows:

[New Thread 1095057248 (LWP 17148)]
[KCrash handler]
#3  0x40ee67ed in QGListIterator::QGListIterator(QGList const&) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#4  0x400736d8 in DrListOption::findChoice(QString const&) ()
   from /opt/kde3.4.2/lib/libkdeprint.so.4
#5  0x4009a0bd in KPGeneralPage::setOptions(QMap<QString, QString> const&) ()
   from /opt/kde3.4.2/lib/libkdeprint.so.4
#6  0x4009617f in KPrinterPropertyDialog::slotCurrentChanged(QWidget*) ()
   from /opt/kde3.4.2/lib/libkdeprint.so.4
#7  0x40096af3 in KPrinterPropertyDialog::qt_invoke(int, QUObject*) ()
   from /opt/kde3.4.2/lib/libkdeprint.so.4
#8  0x40c85fae in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#9  0x40f6b89a in QTabWidget::currentChanged(QWidget*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#10 0x40d8d65b in QTabWidget::showTab(int) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#11 0x40f6b97c in QTabWidget::qt_invoke(int, QUObject*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#12 0x40c85fae in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#13 0x40c860e1 in QObject::activate_signal(int, int) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#14 0x40f6b331 in QTabBar::selected(int) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#15 0x40d8a5d5 in QTabBar::show() () from /opt/kde3.4.2/lib/libqt-mt.so.3
#16 0x40cb3989 in QWidget::showChildren(bool) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#17 0x40cb34c1 in QWidget::show() () from /opt/kde3.4.2/lib/libqt-mt.so.3
#18 0x40cb3989 in QWidget::showChildren(bool) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#19 0x40cb34c1 in QWidget::show() () from /opt/kde3.4.2/lib/libqt-mt.so.3
#20 0x40dde533 in QDialog::show() () from /opt/kde3.4.2/lib/libqt-mt.so.3
#21 0x40ddde00 in QDialog::exec() () from /opt/kde3.4.2/lib/libqt-mt.so.3
#22 0x400968c2 in KPrinterPropertyDialog::setupPrinter(KMPrinter*, QWidget*) ()
   from /opt/kde3.4.2/lib/libkdeprint.so.4
#23 0x400824ac in KPrintDialog::slotProperties() ()
   from /opt/kde3.4.2/lib/libkdeprint.so.4
#24 0x40084a0b in KPrintDialog::qt_invoke(int, QUObject*) ()
   from /opt/kde3.4.2/lib/libkdeprint.so.4
#25 0x40c85fae in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#26 0x40c85e0c in QObject::activate_signal(int) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#27 0x40f5b4d8 in QButton::clicked() () from /opt/kde3.4.2/lib/libqt-mt.so.3
#28 0x40d05b8f in QButton::mouseReleaseEvent(QMouseEvent*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#29 0x40cb44ef in QWidget::event(QEvent*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#30 0x40c33e05 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#31 0x40c3361d in QApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#32 0x407e6108 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3.4.2/lib/libkdecore.so.4
#33 0x40bd374b in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#34 0x40bd1556 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#35 0x40be668e in QEventLoop::processEvents(unsigned) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#36 0x40c43943 in QEventLoop::enterLoop() ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#37 0x40c34074 in QApplication::enter_loop() ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#38 0x40ddde12 in QDialog::exec() () from /opt/kde3.4.2/lib/libqt-mt.so.3
#39 0x4001e26f in PrintWrapper::slotPrint() ()
   from /opt/kde3.4.2/lib/libkdeinit_kprinter.so
#40 0x4001f89d in PrintWrapper::qt_invoke(int, QUObject*) ()
   from /opt/kde3.4.2/lib/libkdeinit_kprinter.so
#41 0x40c85fae in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#42 0x40f566a2 in QSignal::signal(QVariant const&) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#43 0x40c9c44c in QSignal::activate() () from /opt/kde3.4.2/lib/libqt-mt.so.3
#44 0x40ca2cdf in QSingleShotTimer::event(QEvent*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#45 0x40c33e05 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#46 0x40c33548 in QApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#47 0x407e6108 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3.4.2/lib/libkdecore.so.4
#48 0x40c24c88 in QEventLoop::activateTimers() ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#49 0x40be6176 in QEventLoop::processEvents(unsigned) ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#50 0x40c43943 in QEventLoop::enterLoop() ()
   from /opt/kde3.4.2/lib/libqt-mt.so.3
#51 0x40c43800 in QEventLoop::exec() () from /opt/kde3.4.2/lib/libqt-mt.so.3
#52 0x40c34020 in QApplication::exec() () from /opt/kde3.4.2/lib/libqt-mt.so.3
#53 0x4001cea2 in kdemain () from /opt/kde3.4.2/lib/libkdeinit_kprinter.so
#54 0x0804865f in main ()
#55 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
Comment 1 Cristian Tibirna 2005-08-24 19:20:13 UTC
On 24 August 2005 12:28, Georg von Hippel wrote:
[bugs.kde.org quoted mail]

For any printer (including the special ones i.e. "print to PDF"  etc.) ?

If only a specific printer has this problem, could you please indicate what 
printing system are you using? If it's CUPS, could you please provide the PPD 
of the printer whose selection triggers the crash?

Thank you.
Comment 2 Georg von Hippel 2005-08-24 19:32:07 UTC
Created attachment 12360 [details]
PPD file of printer whose Properties dialogue crashes
Comment 3 Georg von Hippel 2005-08-24 19:33:41 UTC
The "special" printer don't crash.

The printing system used is CUPS.

The PPD file is attached.
Comment 4 Cristian Tibirna 2005-08-24 20:48:53 UTC
Yes, Michael, I remembered that I already saw this kind of report. The I saw your "just to notify" message. Thanks a lot! Dunno why I didn't get it by mail yet.

Georg, I can't reproduce your crash. As Michael seems to have tracked it a few months ago, it seems to be some weird gcc bug. I have gcc-3.3.5. It is yet strange that so many different compiler versions are exposing this.

*** This bug has been marked as a duplicate of 105438 ***
Comment 5 Michael Goffioul 2005-08-25 08:45:34 UTC
Either a gcc-bug, or a bug in kdeprint that hasn't been triggered since now. I designed kdeprint with a lot of object referencing (printer/job objects, driver option items...) using direct pointers. Part of all this should be rewritten using a more robust shared pointer mechanism, when porting to Qt4.

Michael.
Comment 6 carlo cancellieri 2007-02-10 13:01:31 UTC
Same here:
Only sometimes, usually it say:
Can't load ppd ... stack overflow.
or
Parse error in ppd file...

It happens for every ppd files.


NOTE: kdelibs was compiled using CFLAGS="-O2"

Qt: 3.3.6
KDE: 3.5.6
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 10 Feb 2007 09:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -mtune=pentium-m -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium-m -pipe -mtune=pentium-m -msse2  -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://mirror.bih.net.ba/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common"
LINGUAS="it_IT"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/portage-xgl /usr/local/portage /usr/local/portage/xeffects /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/xeffects /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amd aotuv apache2 arts artswrappersuid asf asm async atm audiofile authdaemond avi bcmath berkdb bidi bl blas bootsplash bzip2 bzlib c++ cairo caps cardbus cdda cddb cdio cdparanoia cdrom cg cgi clearcase cracklib crypt css ctype cups dbase dbi dbm dbus dbx devfs26 devmap dga dhcp dict dio directfb disk-cache distcache divx4linux djbfft dlloader dlopen doc dpms dts dv dvd dvdr dvdread ecc elf elibc_glibc encode enscript erandom exif extraengine extraicons extramodules f2c fame fastcgi fb fbcon fbdev ffmpeg fftw flac fltk font-server foomaticdb fortran fping fpx freetype ftp gcj gd geometry gif gimp gimpprint glade glibc glitz glut gsm gtk gtk2 hal howl html http iconv id3 ieee1394 image imlib2 immqt-bc innkeywords innodb inode input_devices_keyboard input_devices_mouse irc irda irmc j2ee jack java javacomm javadoc javascript jce jikes jp2 jpeg jpeg2k justify kde kdepim kernel_linux kig-scripting koffice-plugin kqemu ladcca lame lcd lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lcms ldap lesstif libcaca libclamav libsamplerate lids lingerd linguas_it_IT lirc lm_sensors logitech-mouse lzo lzw-tiff mad math md5sum mem-cache messages mgetty mhash mime ming mixer mjpeg mls mmx mmxext mng mozp3p mp3 mp4live mpeg mpeg2 mpeg4 mpi mplayer mpm-prefork msn multicall multipleip multislot mysqli network nfs nptl nptlonly ntlm nvidia oav objc octave odbc ode ofx ogdi ogg oggvorbis openal opengl openssl osc pam pcmcia pcntl pcre pda pdf pdfkit php player png pnp posix postgres povray ppds prelude priority qemu-fast qt qt3 quicktime rar rdesktop readline real recode reiserfs roundrobin rrdtool rsh samba sasl savedconfig session sftp sharedext sharedmem shorten simplexml slp smartcard sms sndfile snmp sockets source sox speex spell spl sql sse sse2 ssl subtitles svg svga svgz sysfs sysvipc szip tcpmd5 tga theora threads threadsonly thumbnail tiff timidity tokenizer tools tos transcode truetype truetype-fonts type1-fonts unicode usb userland userland_GNU utf8 v4l v4l2 vcd vcdimager video_cards_nvidia vidix visualization vlm vnc voice vorbis wifi win32codecs winbind wma123 wmf wsconvert wxwindows xcomposite xine xml xmlrpc xorg xpm xprint xsl xvid xvmc yv12 zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 John Layt 2008-12-31 18:56:51 UTC
Closing old Resolved status bug.