[bt-devel] Updates on print bug with current cvs from 30 minutes ago

Joachim Ansorg bt-devel@crosswire.org
Wed, 23 May 2001 16:21:47 +0200


Hi Brook!

I think I found this bug now. I made the mistake to use all the time a style 
with frames enabled in the module text part. If the frame was disabled for 
the module text part, it crashed.

Thank you again for your patience with us developers :)


Joachim


> This is from debug when i press preview:
>
> (BibleTime 1.0) Debug: CGroupManagerItem::update()
> (BibleTime 1.0) Debug: CGroupManagerItem::update()
> (BibleTime 1.0) Debug: BibleTime::readSettings()
> (BibleTime 1.0) Debug: CPrintItem::setStyle( CStyle* newStyle )
> (BibleTime 1.0) Debug: CPrintItem::setStartKey( CKey* newKey )
> (BibleTime 1.0) WARNING: finished
> (BibleTime 1.0) Debug: CPrintItem::setStopKey( CKey* newKey )
> (BibleTime 1.0) Debug: CPrintItem::setStartKey( CKey* newKey )
> (BibleTime 1.0) WARNING: finished
> (BibleTime 1.0) Debug: CPrintItem::setStopKey( CKey* newKey )
> (BibleTime 1.0) Debug: CPrinter::addItemToQueue(CPrintItem* newItem)
> (BibleTime 1.0) Debug: CPrintItem::setStyle( CStyle* newStyle )
> (BibleTime 1.0) Debug: Constructor of CPrinItemList
> (BibleTime 1.0) Debug: CPrintItemList::insertItems( printItemList* itemList
> ) (BibleTime 1.0) Debug: CPrintItem::updateListViewItem()
> (BibleTime 1.0) Debug: CPrinter::printQueue()
> (BibleTime 1.0) Debug: CPrinter: set filename for preview
> (BibleTime 1.0) Debug: emit printingStarted
> (BibleTime 1.0) Debug: begin new page
> (BibleTime 1.0) Debug: inner loop
> (BibleTime 1.0) Debug: call now m_queue->current()->draw(&p,this);
> (BibleTime 1.0) Debug: CPrintItem::draw(QPainter* p, CPrinter* printer)
> (BibleTime 1.0) Debug: draw: now go into loop
> (BibleTime 1.0) Debug: 0
> (BibleTime 1.0) Debug: type == 0
> (BibleTime 1.0) WARNING: ASSERT: "frame" in cprintitem.cpp (306)
> (BibleTime 1.0) Debug: draw: enabled?
> (BibleTime 1.0) Debug: draw: type is Header || deacription
> (BibleTime 1.0) Debug: 1
> (BibleTime 1.0) Debug: type == 1
> (BibleTime 1.0) WARNING: ASSERT: "frame" in cprintitem.cpp (306)
> (BibleTime 1.0) Debug: draw: enabled?
> (BibleTime 1.0) Debug: draw: type is Header || deacription
> (BibleTime 1.0) Debug: 2
> (BibleTime 1.0) Debug: type == 2
> (BibleTime 1.0) WARNING: ASSERT: "frame" in cprintitem.cpp (306)
> (BibleTime 1.0) Debug: const QString CPrintItem::getModuleText()
> (BibleTime 1.0) Debug: fisnihed getModuleText
> (BibleTime 1.0) Debug: draw: enabled?
> (BibleTime 1.0) Debug: draw: type is ModuleText
> (BibleTime 1.0) Debug: create richtext now
> KCrash: crashing.... crashRecursionCounter = 2
> KCrash: Application Name = bibletime path = <unknown>
>
> this is kde crash backtrace from pressing print:
>
> [New Thread 1024 (LWP 25645)]
> 0x407ab689 in wait4 () from /lib/libc.so.6
> #0  0x407ab689 in wait4 () from /lib/libc.so.6
> #1  0x4081c6ec in __check_rhosts_file () from /lib/libc.so.6
> #2  0x40035aa6 in waitpid (pid=25648, stat_loc=0x0, options=0)
>     at wrapsyscall.c:172
> #3  0x086e809d in KCrash::defaultCrashHandler ()
> #4  0x4003347b in pthread_sighandler (signo=11, ctx=
>
>       {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43,
> __dsh = 0, edi = 142498751, esi = 119, ebp = 3221215816, esp = 3221215036,
> ebx = 144611704, edx = 3221196544, ecx = 0, eax = 0, trapno = 14, err = 4,
> eip = 135186295, cs = 35, __csh = 0, eflags = 66054, esp_at_signal =
> 3221215036, ss = 43, __ssh = 0, fpstate = 0xbfffd4c0, oldmask = 2147483648,
> cr2 = 12}) at signals.c:97
>
> #5  0x40720128 in killpg () from /lib/libc.so.6
> #6  0x080e295f in CPrinter::printQueue ()
> #7  0x080eb690 in CPrinterDialog::slotUser2 ()
> #8  0x0825aa7b in QObject::activate_signal ()
>
>
> this is the debug output from pressing print:
>
> (BibleTime 1.0) Debug: BibleTime::readSettings()
> (BibleTime 1.0) Debug: CPrintItem::setStyle( CStyle* newStyle )
> (BibleTime 1.0) Debug: CPrintItem::setStartKey( CKey* newKey )
> (BibleTime 1.0) WARNING: finished
> (BibleTime 1.0) Debug: CPrintItem::setStopKey( CKey* newKey )
> (BibleTime 1.0) Debug: CPrintItem::setStartKey( CKey* newKey )
> (BibleTime 1.0) WARNING: finished
> (BibleTime 1.0) Debug: CPrintItem::setStopKey( CKey* newKey )
> (BibleTime 1.0) Debug: CPrinter::addItemToQueue(CPrintItem* newItem)
> (BibleTime 1.0) Debug: CPrintItem::setStyle( CStyle* newStyle )
> (BibleTime 1.0) Debug: Constructor of CPrinItemList
> (BibleTime 1.0) Debug: CPrintItemList::insertItems( printItemList* itemList
> ) (BibleTime 1.0) Debug: CPrintItem::updateListViewItem()
> (BibleTime 1.0) Debug: CPrinter::printQueue()
> (BibleTime 1.0) Debug: emit printingStarted
> (BibleTime 1.0) Debug: begin new page
> (BibleTime 1.0) Debug: inner loop
> (BibleTime 1.0) Debug: call now m_queue->current()->draw(&p,this);
> (BibleTime 1.0) Debug: CPrintItem::draw(QPainter* p, CPrinter* printer)
> (BibleTime 1.0) Debug: draw: now go into loop
> (BibleTime 1.0) Debug: 0
> (BibleTime 1.0) Debug: type == 0
> (BibleTime 1.0) WARNING: ASSERT: "frame" in cprintitem.cpp (306)
> (BibleTime 1.0) Debug: draw: enabled?
> (BibleTime 1.0) Debug: draw: type is Header || deacription
> (BibleTime 1.0) Debug: 1
> (BibleTime 1.0) Debug: type == 1
> (BibleTime 1.0) WARNING: ASSERT: "frame" in cprintitem.cpp (306)
> (BibleTime 1.0) Debug: draw: enabled?
> (BibleTime 1.0) Debug: draw: type is Header || deacription
> (BibleTime 1.0) Debug: 2
> (BibleTime 1.0) Debug: type == 2
> (BibleTime 1.0) WARNING: ASSERT: "frame" in cprintitem.cpp (306)
> (BibleTime 1.0) Debug: const QString CPrintItem::getModuleText()
> (BibleTime 1.0) Debug: fisnihed getModuleText
> (BibleTime 1.0) Debug: draw: enabled?
> (BibleTime 1.0) Debug: draw: type is ModuleText
> (BibleTime 1.0) Debug: create richtext now
> KCrash: crashing.... crashRecursionCounter = 2
> KCrash: Application Name = bibletime path = <unknown>
>
> thought I would list both in case they are different but they look the
> same.