Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 14 Dec 2018, 03:50
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Random crashes from gtkdialog
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message

Joined: 04 Feb 2014
Posts: 10

PostPosted: Mon 10 Mar 2014, 17:02    Post subject:  Random crashes from gtkdialog  

I've started to get these weird crashes from gtkdialog when opening another dialog, dunno why. I'm getting a lot of these:

[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.

with a following SIGABRT, but also recently these crashes:

gtkdialog: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
dc: could not write output file: Broken pipe

This is the my code:

<window title="'$NICETITLE' Setup" name="MAIN" decorated="true" allow-shrink="false" allow-grow="false" width-request="660" height-request="400" image-name="'$PIXMAPBKG'/icon.png" border-width="10">

     <vbox space-fill="false" height-request="380">

        <vbox space-fill="false" space-exand="false">

          <vbox space-fill="false" space-exand="false" border-width="10">
      <text use-markup="true"><label>"<span size='"'x-large'"'>Installing... please wait.</span>"</label></text>

       <vbox width-request="642" height-request="182" space-fill="false" space-expand="false">
         <pixmap><input file>gui_res/ad.png</input><variable export="false">ADVERTISMENT</variable></pixmap>

         <hbox space-fill="false" space-expand="false"><text><label>""</label></text></hbox>

         <hbox space-fill="false" space-expand="true" height-request="32">
           <button name="LAUNCH" height-request="32" width-request="106">
             <action>exec $SHELL -c open_ad</action>

         <hbox space-fill="false" space-expand="false" width-request="290"><text><label>""</label></text></hbox>

      <timer milliseconds="false" interval="4" visible="false">
        <action>exec $SHELL -c cycle_ad</action>


          <hbox space-fill="true" space-expand="true" homogeneous="true" border-width="10">
            <hbox space-expand="false" space-fill="false" homogeneous="true">
              <progressbar name="PROGRESS" width-request="300">

                <input>exec $SHELL -c begininstall & echo $! > '"$TMPDIR"'/PID; P=0; while [ "$P" != "100" ]; do P=`cat '"$TMPDIR"'/PERCENTAGE 2>&1`; echo $P; done</input>



It's being opened through

if [ "$EXIT" = "Install" ]; then
    $GTKDIALOG --space-fill="true" --space-expand="true" -c --program=INSTALL_WINDOW

after user has hit "Install" button on main dialog.

Is there something in my code which produces these hiccups? The program runs as it should when gtkdialog doesn't crash.
Please help!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0564s ][ Queries: 14 (0.0096s) ][ GZIP on ]