My octopi is broken

Hi there. With this update everyhing went smoothly except my octopi is broken.

eden@sunce:[~]: /usr/bin/octopi                                                                                                                                       
Using a variable-width font in the terminal.  This may cause performance degradation and display/alignment errors.
Using a variable-width font in the terminal.  This may cause performance degradation and display/alignment errors.
zsh: segmentation fault (core dumped)  /usr/bin/octopi

Reinstalling octopi didn’t help.

Use a monospace font .

Can’t reproduce. Are you sure you’re fully up to date?

Where? How? I am and it still complains. It doesn’t seem to affect anything.

Either way, that’s not the cause of the segfault.

By the way, @Aragorn uses Octopi and hasn’t made a peep. He would let me know if there was an actual issue.

I got the same but that’s not the way I usually open Octopi, I use a desktop symbol.

This does not happen on my side, Octopi works perfectly fine, even if started from console.

Usually I’m not starting Octopi from terminal, this was just to show that seg fault is reported. When I start it from launcher, window just briefly opens and closes afterwards.

I’ll glady provide more details about the error, just let me know what additional info you need.

If youve got core dumps they could tell more:

https://wiki.archlinux.org/title/Core_dump#Making_a_core_dump

Thanks for the pointers.

Here’s coredumpctl info [PID]

           PID: 98406 (octopi)
           UID: 1000 (eden)
           GID: 1000 (eden)
        Signal: 11 (SEGV)
     Timestamp: Tue 2023-11-14 23:57:00 CET (55s ago)
  Command Line: /usr/bin/octopi
    Executable: /usr/bin/octopi
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-octopi-6d23631ce9044ce2a5f87fbe5bde6aea.scope
          Unit: user@1000.service
     User Unit: app-octopi-6d23631ce9044ce2a5f87fbe5bde6aea.scope
         Slice: user-1000.slice
     Owner UID: 1000 (eden)
       Boot ID: 74ac7fb703fc4f6187ab40a9f392d2cf
    Machine ID: 7b2d9653c5124687bc59fc8d11fc8338
      Hostname: sunce
       Storage: /var/lib/systemd/coredump/core.octopi.1000.74ac7fb703fc4f6187ab40a9f392d2cf.98406.1700002620000000.zst (present)
  Size on Disk: 4.5M
       Message: Process 98406 (octopi) of user 1000 dumped core.
                
                Stack trace of thread 98406:
                #0  0x00007ff4c08299df _ZN11QTermWidget15getTerminalFontEv (libqtermwidget5.so.1 + 0x2b9df)
                #1  0x00007ff4c082aef1 _ZN11QTermWidget7setZoomEi (libqtermwidget5.so.1 + 0x2cef1)
                #2  0x000055d9ecc18899 n/a (octopi + 0xbb899)
                #3  0x000055d9ecbe4c53 n/a (octopi + 0x87c53)
                #4  0x000055d9ecb9f384 n/a (octopi + 0x42384)
                #5  0x00007ff4bec45cd0 n/a (libc.so.6 + 0x27cd0)
                #6  0x00007ff4bec45d8a __libc_start_main (libc.so.6 + 0x27d8a)
                #7  0x000055d9ecbd1675 n/a (octopi + 0x74675)
                
                Stack trace of thread 98408:
                #0  0x00007ff4bed20f6f __poll (libc.so.6 + 0x102f6f)
                #1  0x00007ff4bd12e20b n/a (libxcb.so.1 + 0xd20b)
                #2  0x00007ff4bd12ff3d xcb_wait_for_event (libxcb.so.1 + 0xef3d)
                #3  0x00007ff4bae300d2 n/a (libQt5XcbQpa.so.5 + 0x630d2)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98413:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98410:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98411:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98415:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98419:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98417:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98407:
                #0  0x00007ff4bed20f6f __poll (libc.so.6 + 0x102f6f)
                #1  0x00007ff4bf16c276 n/a (libglib-2.0.so.0 + 0xb8276)
                #2  0x00007ff4bf10c162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
                #3  0x00007ff4bf4eaf7c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2eaf7c)
                #4  0x00007ff4bf49ae74 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29ae74)
                #5  0x00007ff4bf2f74f6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf74f6)
                #6  0x00007ff4ba748a9a n/a (libQt5DBus.so.5 + 0x18a9a)
                #7  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #8  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #9  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98421:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98418:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98412:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98414:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98416:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                
                Stack trace of thread 98420:
                #0  0x00007ff4beca74ae n/a (libc.so.6 + 0x894ae)
                #1  0x00007ff4becaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
                #2  0x00007ff4bf2fb434 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xfb434)
                #3  0x00007ff4bf2f856a n/a (libQt5Core.so.5 + 0xf856a)
                #4  0x00007ff4bf2f371a n/a (libQt5Core.so.5 + 0xf371a)
                #5  0x00007ff4becaa9eb n/a (libc.so.6 + 0x8c9eb)
                #6  0x00007ff4bed2e7cc n/a (libc.so.6 + 0x1107cc)
                ELF object binary architecture: AMD x86-64

After some more testing and deleting Octopi configuration from ~/.config/octopi, now starts normally. Well, I guess configuration was corrupted for some reason, but it happened during the last update.

Anyway, it works now.

possibly - suffice to say the update itself is not causing it … as no update touches files inside your home.

I’m somewhat late to this thread but there was a user reporting the same problem (and fix!) some days ago:

2 Likes

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.