<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>81522</bug_id>
          
          <creation_ts>2004-05-13 18:52:58 +0000</creation_ts>
          <short_desc>starting with --profile and --notabbar crashes</short_desc>
          <delta_ts>2004-12-20 14:38:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konsole</product>
          <component>general</component>
          <version>1.3.2</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Timo Veith">tv</reporter>
          <assigned_to name="Konsole Bugs">konsole-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>232452</commentid>
    <comment_count>0</comment_count>
    <who name="Timo Veith">tv</who>
    <bug_when>2004-05-13 18:52:58 +0000</bug_when>
    <thetext>Version:           1.3.2 (using KDE KDE 3.2.2)
Installed from:    Gentoo Packages
Compiler:          gcc-3.3.2-r5 CFLAGS=&quot;-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -mfpma
th=sse&quot;
OS:                Linux

I deleted all file in every dir under ~/.kde*/share/apps/konsole/profiles/ with rm. I am not sure if this would have happened without deleting them before. I deleted them because I had 2 or 3 in every subdir (.kde3.1, .kde3 etc) and I wanted to start over cleanly because I never got it working that konsole looked like I wanted it to only by starting the appropriate profile with --profile

However I created a new profile after I set up everything to my linking (font size, menubar hidden, tabbar hidden, size of the window, background transparent to mc) and called it &quot;small&quot;. Then I started it with konsole --profile small, but it came up bigger as I set it and the tabbar was visible also. So I decided to add --notabbar and some more options (--noresize, --vt_sz 80x25 etc) and tried again. I got SIGSEGV then (that crash message)

Then I left out options, trying these and those alternating, here is some output:

----8&lt;----------
tv@gareth [~] konsole --profile small --notabbar --vt_sz 80x25 --noresize
Alarm clock
----8&lt;----------

As you can see, this command line responded with &quot;Alarm Clock&quot; and nothing else. Another time I got this:

----8&lt;----------
tv@gareth [~] konsole --profile small --notabbar
kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event.
kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed.
kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event.
kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed.
kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event.
kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed.
kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event.
kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed.
kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event.
kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed.
----8&lt;----------

A console opened but the background wasn&apos;t updated correctly. I saw my desktop AND the windows on it. Normally I only see the background color of the desktop in a little darker tone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240404</commentid>
    <comment_count>1</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2004-06-10 17:10:02 +0000</bug_when>
    <thetext>konsole --profile small --notabbar --vt_sz 80x25 --noresize 
konsole --profile small --notabbar 

Both work fine with CVS (pre-3.3.0/qt-3.3.x).  Other profiles and command-line options also worked fine.  However, I don&apos;t have your small profile...

Attach your small profile....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240506</commentid>
    <comment_count>2</comment_count>
      <attachid>6314</attachid>
    <who name="Timo Veith">tv</who>
    <bug_when>2004-06-10 23:03:28 +0000</bug_when>
    <thetext>Created attachment 6314
my profile called &quot;small&quot;

Here is my &quot;small&quot; profile for which you asked.

TIA

Timo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240516</commentid>
    <comment_count>3</comment_count>
    <who name="Timo Veith">tv</who>
    <bug_when>2004-06-10 23:18:39 +0000</bug_when>
    <thetext>It wasn&apos;t easy to reproduce the crash, but finally I did it. The &quot;trick&quot; was to add --noresize not only the other options. It crashed then. Well, I tried it again just right now but it didn&apos;t crash ...
and once again ... no crash, everything seems ok
and once again ... not I get the alarm clock message
[1]-  Alarm clock             konsole --profile small --notabbar --vt_sz 80x25 --noresize
and once again ... no crash
and once again ... I get those kdeui messages
kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event.
kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed.
kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event.
kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed.
kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event.
kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed.
kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event.
kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed.
kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event.
kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed.

and the konsole windows is here but the background is broken.

and once again ... it works ... 

Oh well I cannot tell you when it is crashing and when not. I think I will just leave off the --noresize option and it should work. Or please tell me how else I can help in finding this bug.

regards

Timo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296029</commentid>
    <comment_count>4</comment_count>
    <who name="Waldo Bastian">bastian</who>
    <bug_when>2004-12-20 14:38:38 +0000</bug_when>
    <thetext>CVS commit by waba: 

Fix crash with --noresize
BUG: 81522


  M +5 -0      TEWidget.cpp   1.219


--- kdebase/konsole/konsole/TEWidget.cpp  #1.218:1.219
@@ -1945,4 +1945,9 @@ void TEWidget::setFixedSize(int cols, in
   columns = cols;
   lines = lins;
+  if (image)
+  {
+     free(image);
+     makeImage();
+  }
   setSize(cols, lins);
   QFrame::setFixedSize(m_size);


</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>6314</attachid>
            <date>2004-06-10 23:03:28 +0000</date>
            <delta_ts>2004-06-10 23:03:28 +0000</delta_ts>
            <desc>my profile called &quot;small&quot;</desc>
            <filename>small</filename>
            <type>text/plain</type>
            <size>681</size>
            <attacher name="Timo Veith">tv</attacher>
            
              <data encoding="base64">W0Rlc2t0b3AgRW50cnldCkFjdGl2ZVNlc3Npb249MApBcmdzMD0vYmluL2Jhc2gKQ3dkMD0kSE9N
RQpEZWZhdWx0U2Vzc2lvbj1zaGVsbC5kZXNrdG9wCkR5bmFtaWNUYWJIaWRlPXRydWUKRm9udDA9
MwpGdWxsc2NyZWVuPWZhbHNlCkhlaWdodCAxMjAwPTM4NApJY29uMD1vcGVudGVybQpLZXlUYWIw
PWRlZmF1bHQKTWFzdGVyTW9kZTA9ZmFsc2UKTWVudUJhcj1EaXNhYmxlZApNb25pdG9yQWN0aXZp
dHkwPWZhbHNlCk1vbml0b3JTaWxlbmNlMD1mYWxzZQpQZ20wPS9iaW4vYmFzaApTY2hlbWEwPVRy
YW5zcGFyZW50X01DLnNjaGVtYQpUYWJWaWV3TW9kZT0yClRlcm0wPXh0ZXJtClRpdGxlMD1CZWZl
aGxzZmVuc3RlcgpXaWR0aCAxNjAwPTY2MgpiZWxsbW9kZT0xCmNsYXNzPWtvbnNvbGUtbWFpbndp
bmRvdyMxCmRlZmF1bHRmb250PURpbmdiYXRzLDEwLC0xLDUsNTAsMCwwLDAsMCwwCmZvbnQ9Mwpo
aXN0b3J5PTIwMDAKaGlzdG9yeWVuYWJsZWQ9dHJ1ZQprZXl0YWI9ZGVmYXVsdApudW1TZXM9MQpz
Y2hlbWE9VHJhbnNwYXJlbnRfTUMuc2NoZW1hCnNjcm9sbGJhcj0yCnRhYmJhcj0xCgpbV2luZG93
UHJvcGVydGllczFdCkNsYXNzTmFtZT1Lb25zb2xlCkhlaWdodCAxMjAwPTM4NApNZW51QmFyPURp
c2FibGVkCk9iamVjdE5hbWU9a29uc29sZS1tYWlud2luZG93IzEKV2lkdGggMTYwMD02NjIK
</data>

          </attachment>
      

    </bug>

</bugzilla>